Remove unused Sass/SCSS setup
- Remove sass and concurrently dependencies (31 packages) - Remove SCSS files and src/styles directory - Remove Sass-related npm scripts (build-css, watch-css, dev-with-css) - Remove CSS source map file - Keep hand-crafted style.css which is actually being used
This commit is contained in:
parent
7daced0cea
commit
8d5ac00bc8
8 changed files with 1001 additions and 44 deletions
370
public/style-backup.css
Normal file
370
public/style-backup.css
Normal file
|
@ -0,0 +1,370 @@
|
|||
:root {
|
||||
--primary-color: #2563eb;
|
||||
--secondary-color: #64748b;
|
||||
--accent-color: #3b82f6;
|
||||
--danger-color: #ef4444;
|
||||
--warning-color: #f59e0b;
|
||||
--success-color: #10b981;
|
||||
--text-color: #1f2937;
|
||||
--text-secondary: #6b7280;
|
||||
--text-tertiary: #9ca3af;
|
||||
--text-muted: #d1d5db;
|
||||
--bg-color: #ffffff;
|
||||
--bg-secondary: #f9fafb;
|
||||
--bg-tertiary: #f3f4f6;
|
||||
--bg-hover: #f1f5f9;
|
||||
--border-color: #e5e7eb;
|
||||
--border-secondary: #d1d5db;
|
||||
--status-active: #10b981;
|
||||
--status-warning: #f59e0b;
|
||||
--status-danger: #ef4444;
|
||||
--status-info: #3b82f6;
|
||||
}
|
||||
|
||||
[data-theme=dark] {
|
||||
--text-color: #f9fafb;
|
||||
--text-secondary: #d1d5db;
|
||||
--text-tertiary: #9ca3af;
|
||||
--text-muted: #6b7280;
|
||||
--bg-color: #111827;
|
||||
--bg-secondary: #1f2937;
|
||||
--bg-tertiary: #374151;
|
||||
--bg-hover: #4b5563;
|
||||
--border-color: #374151;
|
||||
--border-secondary: #4b5563;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
margin-bottom: 1.5rem;
|
||||
background-color: var(--bg-color);
|
||||
border-radius: 0.75rem;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.table {
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.table th, .table td {
|
||||
min-width: 120px;
|
||||
}
|
||||
}
|
||||
.table th {
|
||||
background-color: var(--bg-secondary);
|
||||
color: var(--text-color);
|
||||
font-weight: 600;
|
||||
text-align: left;
|
||||
padding: 1rem;
|
||||
border-bottom: 2px solid var(--border-color);
|
||||
}
|
||||
.table th:first-child {
|
||||
border-top-left-radius: 0.75rem;
|
||||
}
|
||||
.table th:last-child {
|
||||
border-top-right-radius: 0.75rem;
|
||||
}
|
||||
.table td {
|
||||
padding: 1rem;
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
color: var(--text-color);
|
||||
vertical-align: top;
|
||||
}
|
||||
.table td:first-child {
|
||||
padding-left: 1.5rem;
|
||||
}
|
||||
.table td:last-child {
|
||||
padding-right: 1.5rem;
|
||||
}
|
||||
.table tbody tr {
|
||||
transition: background-color 0.2s ease;
|
||||
}
|
||||
.table tbody tr:hover {
|
||||
background-color: var(--bg-hover);
|
||||
}
|
||||
.table tbody tr:last-child td {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.reports-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
margin-bottom: 1.5rem;
|
||||
background-color: var(--bg-color);
|
||||
border-radius: 0.75rem;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.reports-table {
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.reports-table th, .reports-table td {
|
||||
min-width: 120px;
|
||||
}
|
||||
}
|
||||
.reports-table th {
|
||||
background-color: var(--bg-secondary);
|
||||
color: var(--text-color);
|
||||
font-weight: 600;
|
||||
text-align: left;
|
||||
padding: 1rem;
|
||||
border-bottom: 2px solid var(--border-color);
|
||||
}
|
||||
.reports-table th:first-child {
|
||||
border-top-left-radius: 0.75rem;
|
||||
}
|
||||
.reports-table th:last-child {
|
||||
border-top-right-radius: 0.75rem;
|
||||
}
|
||||
.reports-table td {
|
||||
padding: 1rem;
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
color: var(--text-color);
|
||||
vertical-align: top;
|
||||
}
|
||||
.reports-table td:first-child {
|
||||
padding-left: 1.5rem;
|
||||
}
|
||||
.reports-table td:last-child {
|
||||
padding-right: 1.5rem;
|
||||
}
|
||||
.reports-table tbody tr {
|
||||
transition: background-color 0.2s ease;
|
||||
}
|
||||
.reports-table tbody tr:hover {
|
||||
background-color: var(--bg-hover);
|
||||
}
|
||||
.reports-table tbody tr:last-child td {
|
||||
border-bottom: none;
|
||||
}
|
||||
.reports-table .location-cell {
|
||||
color: var(--text-color);
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
max-width: 250px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.reports-table .details-cell {
|
||||
color: var(--text-color);
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
max-width: 200px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-style: italic;
|
||||
}
|
||||
.reports-table .time-cell {
|
||||
color: var(--text-color);
|
||||
font-size: 12px;
|
||||
font-weight: 400;
|
||||
}
|
||||
.reports-table .remaining-cell {
|
||||
color: var(--text-color);
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
}
|
||||
.reports-table .remaining-cell.urgent {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 0.25rem 0.5rem;
|
||||
border-radius: 0.5rem;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
background-color: var(--danger-color);
|
||||
color: white;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.025em;
|
||||
}
|
||||
.reports-table .remaining-cell.warning {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 0.25rem 0.5rem;
|
||||
border-radius: 0.5rem;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
background-color: var(--warning-color);
|
||||
color: white;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.025em;
|
||||
}
|
||||
.reports-table .remaining-cell.normal {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 0.25rem 0.5rem;
|
||||
border-radius: 0.5rem;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
background-color: var(--success-color);
|
||||
color: white;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.025em;
|
||||
}
|
||||
|
||||
.admin-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
margin-bottom: 1.5rem;
|
||||
background-color: var(--bg-color);
|
||||
border-radius: 0.75rem;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.admin-table {
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.admin-table th, .admin-table td {
|
||||
min-width: 120px;
|
||||
}
|
||||
}
|
||||
.admin-table th {
|
||||
background-color: var(--bg-secondary);
|
||||
color: var(--text-color);
|
||||
font-weight: 600;
|
||||
text-align: left;
|
||||
padding: 1rem;
|
||||
border-bottom: 2px solid var(--border-color);
|
||||
}
|
||||
.admin-table th:first-child {
|
||||
border-top-left-radius: 0.75rem;
|
||||
}
|
||||
.admin-table th:last-child {
|
||||
border-top-right-radius: 0.75rem;
|
||||
}
|
||||
.admin-table td {
|
||||
padding: 1rem;
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
color: var(--text-color);
|
||||
vertical-align: top;
|
||||
}
|
||||
.admin-table td:first-child {
|
||||
padding-left: 1.5rem;
|
||||
}
|
||||
.admin-table td:last-child {
|
||||
padding-right: 1.5rem;
|
||||
}
|
||||
.admin-table tbody tr {
|
||||
transition: background-color 0.2s ease;
|
||||
}
|
||||
.admin-table tbody tr:hover {
|
||||
background-color: var(--bg-hover);
|
||||
}
|
||||
.admin-table tbody tr:last-child td {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.location-cell {
|
||||
color: var(--text-color);
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
max-width: 250px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.details-cell {
|
||||
color: var(--text-secondary);
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
max-width: 200px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.time-cell {
|
||||
color: var(--text-tertiary);
|
||||
font-size: 12px;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.remaining-cell {
|
||||
color: var(--text-color);
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
}
|
||||
.remaining-cell.urgent {
|
||||
color: var(--danger-color);
|
||||
font-weight: 600;
|
||||
}
|
||||
.remaining-cell.warning {
|
||||
color: var(--warning-color);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.reports-table .location-cell,
|
||||
.admin-table .location-cell {
|
||||
max-width: 150px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.reports-table .details-cell,
|
||||
.admin-table .details-cell {
|
||||
max-width: 120px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
||||
background-color: var(--bg-color);
|
||||
color: var(--text-color);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 0.5rem 1rem;
|
||||
border: none;
|
||||
border-radius: 0.5rem;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
.btn.btn-primary {
|
||||
background-color: var(--primary-color);
|
||||
color: white;
|
||||
}
|
||||
.btn.btn-primary:hover {
|
||||
background-color: rgb(18.5714285714, 76.1428571429, 202.4285714286);
|
||||
}
|
||||
.btn.btn-secondary {
|
||||
background-color: var(--secondary-color);
|
||||
color: white;
|
||||
}
|
||||
.btn.btn-secondary:hover {
|
||||
background-color: rgb(78.6610878661, 91.2468619247, 109.3389121339);
|
||||
}
|
||||
.btn.btn-danger {
|
||||
background-color: var(--danger-color);
|
||||
color: white;
|
||||
}
|
||||
.btn.btn-danger:hover {
|
||||
background-color: rgb(234.9802955665, 21.0197044335, 21.0197044335);
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=style.css.map */
|
Loading…
Add table
Add a link
Reference in a new issue