This commit is contained in:
Basilosaurusrex
2025-12-29 22:28:43 +01:00
parent 7fb446c53a
commit 0e19df6895
73 changed files with 7907 additions and 32290 deletions

View File

@@ -4,31 +4,67 @@
box-sizing: border-box;
}
:root {
--dark-bg: #1a202c;
--dark-card-bg: rgba(45, 55, 72, 0.95);
--dark-text: #e2e8f0;
--green-primary: #10b981;
--green-secondary: #059669;
--gray-700: #374151;
--gray-800: #1f2937;
--gray-900: #111827;
}
body {
font-family: 'Lato', sans-serif;
background-color: #fff;
color: #000;
background-color: var(--dark-bg);
color: var(--dark-text);
overflow: hidden;
}
/* Scrollbar Styling */
::-webkit-scrollbar {
width: 12px;
}
::-webkit-scrollbar-track {
background: rgba(26, 32, 44, 0.5);
}
::-webkit-scrollbar-thumb {
background: var(--green-primary);
border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--green-secondary);
}
/* Text Selection */
::selection {
background: rgba(16, 185, 129, 0.3);
color: white;
}
/* Color Classes */
.bg-dark-grey { background-color: #616161; }
.bg-light-grey { background-color: #f1f1f1; }
.bg-white { background-color: #fff; }
.bg-black { background-color: #000; }
.bg-green { background-color: #4CAF50; }
.bg-teal { background-color: #009688; }
.bg-blue { background-color: #2196F3; }
.bg-blue-grey { background-color: #607D8B; }
.bg-red { background-color: #f44336; }
.bg-yellow { background-color: #ffeb3b; }
.bg-amber { background-color: #ffc107; }
.bg-orange { background-color: #ff9800; }
.bg-dark-grey { background-color: #616161 !important; }
.bg-light-grey { background-color: #f1f1f1 !important; }
.bg-white { background-color: #fff !important; }
.bg-black { background-color: #000 !important; }
.bg-green { background-color: #4CAF50 !important; }
.bg-teal { background-color: #009688 !important; }
.bg-blue { background-color: #2196F3 !important; }
.bg-blue-grey { background-color: #607D8B !important; }
.bg-red { background-color: #f44336 !important; }
.bg-yellow { background-color: #ffeb3b !important; }
.bg-amber { background-color: #ffc107 !important; }
.bg-orange { background-color: #ff9800 !important; }
.text-white { color: #fff; }
.text-black { color: #000; }
.text-grey { color: #9e9e9e; }
.text-green { color: #4CAF50; }
.text-red { color: #f44336; }
.text-white { color: #fff !important; }
.text-black { color: #000 !important; }
.text-grey { color: #9e9e9e !important; }
.text-green { color: #4CAF50 !important; }
.text-red { color: #f44336 !important; }
/* Layout */
.container {
@@ -48,7 +84,8 @@ body {
top: 0;
left: 0;
right: 0;
background: #000;
background: linear-gradient(135deg, rgba(26, 32, 44, 0.98) 0%, rgba(17, 24, 39, 0.98) 100%);
border-bottom: 1px solid rgba(16, 185, 129, 0.2);
z-index: 199;
display: flex;
align-items: center;
@@ -61,6 +98,7 @@ body {
display: flex;
align-items: center;
gap: 8px;
font-weight: bold;
}
.navbar-nav {
@@ -70,13 +108,15 @@ body {
.nav-link {
padding: 16px 24px;
color: #fff;
color: var(--dark-text);
text-decoration: none;
transition: background 0.3s;
transition: all 0.2s ease;
border-radius: 6px;
}
.nav-link:hover {
background: #4CAF50;
background: rgba(16, 185, 129, 0.2);
color: var(--green-primary);
}
.nav-right {
@@ -85,80 +125,147 @@ body {
/* Buttons */
.btn {
padding: 8px 16px;
padding: 10px 20px;
border: none;
cursor: pointer;
font-size: 14px;
transition: all 0.3s;
border-radius: 8px;
font-weight: 600;
transition: all 0.2s ease;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.btn-dark {
background: #616161;
background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
color: #fff;
}
.btn-dark:hover {
background: #4CAF50;
background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(74, 85, 104, 0.5);
}
.btn-green {
background: #4CAF50;
color: #fff;
.btn-green,
.btn-primary {
background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
color: #fff !important;
border: none !important;
}
.btn-green:hover,
.btn-primary:hover {
background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(16, 185, 129, 0.5);
}
.btn-teal {
background: #009688;
background: linear-gradient(135deg, #10b981 0%, #059669 100%);
color: #fff;
}
.btn-secondary {
background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%) !important;
color: #fff !important;
border: none !important;
}
/* Table */
.table {
width: 100%;
border-collapse: collapse;
border-collapse: separate;
border-spacing: 0;
color: var(--dark-text) !important;
background: transparent !important;
}
.table th,
.table td {
padding: 8px 12px;
text-align: left;
border: 1px solid #ddd;
border: 1px solid rgba(16, 185, 129, 0.2);
background: transparent;
}
/* Remove borders between rowspan cells */
.table td[rowspan] {
border-top: 1px solid rgba(16, 185, 129, 0.2);
border-bottom: 1px solid rgba(16, 185, 129, 0.2);
border-left: 1px solid rgba(16, 185, 129, 0.2);
border-right: 1px solid rgba(16, 185, 129, 0.2);
}
.table th {
background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
color: var(--dark-text);
font-weight: bold;
}
.table tbody {
background: transparent;
}
.table-hover tbody tr {
background: transparent;
}
.table-hover tbody tr:hover {
background: #f5f5f5;
background: transparent !important;
}
/* Spacer rows between tickets */
.spacer,
.spacer td {
background: transparent !important;
border: none !important;
}
/* Cards */
.card {
background: #fff;
border: 1px solid #ddd;
border-radius: 4px;
background: rgba(45, 55, 72, 0.95) !important;
border: 1px solid rgba(16, 185, 129, 0.2) !important;
border-radius: 8px;
margin-bottom: 16px;
color: var(--dark-text) !important;
}
.card-header {
padding: 12px 16px;
background: #616161;
background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
color: #fff;
font-weight: bold;
border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}
.card-body {
padding: 16px;
color: var(--dark-text);
}
/* Forms */
.form-control {
.form-control,
.form-select {
width: 100%;
padding: 8px 12px;
border: 1px solid #ccc;
border-radius: 4px;
padding: 10px 14px;
border: 1px solid rgba(16, 185, 129, 0.3);
border-radius: 8px;
font-size: 14px;
background: rgba(31, 41, 55, 0.6) !important;
color: var(--dark-text) !important;
transition: all 0.2s ease;
}
.form-control:focus {
.form-control::placeholder {
color: rgba(226, 232, 240, 0.5);
}
.form-control:focus,
.form-select:focus {
outline: none;
border-color: #4CAF50;
border-color: var(--green-primary) !important;
box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15) !important;
background: rgba(31, 41, 55, 0.8) !important;
}
.form-group {
@@ -169,11 +276,17 @@ body {
display: block;
margin-bottom: 4px;
font-weight: 500;
color: var(--dark-text);
}
select.form-control {
background: #616161;
color: #fff;
background: rgba(31, 41, 55, 0.6) !important;
color: var(--dark-text) !important;
}
textarea.form-control {
resize: vertical;
min-height: 100px;
}
/* Grid */
@@ -209,42 +322,64 @@ select.form-control {
/* Ticket Row */
.ticket-row {
border: 1px solid #ddd;
border: none !important;
background: transparent !important;
}
.ticket-row td {
background: rgba(45, 55, 72, 0.95);
border: 1px solid rgba(16, 185, 129, 0.2);
}
/* Second row of ticket (no top border to avoid line in rowspan cells) */
.ticket-row + .ticket-row td {
border-top: none;
}
.ticket-row:hover td {
background: rgba(45, 55, 72, 0.95);
}
.ticket-row:hover {
border: none;
box-shadow: none;
}
.ticket-id {
background: #616161;
background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%) !important;
color: #fff;
text-align: center;
vertical-align: middle;
font-size: 18px;
font-weight: bold;
padding: 16px;
border: 1px solid rgba(16, 185, 129, 0.2) !important;
}
.ticket-time {
font-size: 11px;
color: #ccc;
color: #a0aec0;
}
.ticket-info {
background: #f1f1f1;
background: rgba(31, 41, 55, 0.6) !important;
font-size: 13px;
color: var(--dark-text);
}
/* Status Colors */
.status-open { background: #4CAF50; color: #fff; }
.status-occupied { background: #607D8B; color: #fff; }
.status-assigned { background: #009688; color: #fff; }
.status-awaiting { background: #ff9800; color: #fff; }
.status-closed { background: #9e9e9e; color: #fff; }
.status-open { background: #4CAF50 !important; color: #fff !important; }
.status-occupied { background: #607D8B !important; color: #fff !important; }
.status-assigned { background: #009688 !important; color: #fff !important; }
.status-awaiting { background: #ff9800 !important; color: #fff !important; }
.status-closed { background: #9e9e9e !important; color: #fff !important; }
/* Priority Colors */
.priority-none { background: #2196F3; color: #fff; }
.priority-low { background: #4CAF50; color: #fff; }
.priority-medium { background: #ffc107; color: #000; }
.priority-high { background: #ff9800; color: #fff; }
.priority-critical { background: #f44336; color: #fff; }
.priority-none { background: #2196F3 !important; color: #fff !important; }
.priority-low { background: #4CAF50 !important; color: #fff !important; }
.priority-medium { background: #ffc107 !important; color: #000 !important; }
.priority-high { background: #ff9800 !important; color: #fff !important; }
.priority-critical { background: #f44336 !important; color: #fff !important; }
/* Dropdown */
.dropdown {
@@ -255,9 +390,11 @@ select.form-control {
.dropdown-content {
display: none;
position: absolute;
background: #616161;
background: rgba(45, 55, 72, 0.98);
min-width: 160px;
box-shadow: 0 8px 16px rgba(0,0,0,0.2);
box-shadow: 0 8px 16px rgba(0,0,0,0.4);
border: 1px solid rgba(16, 185, 129, 0.3);
border-radius: 6px;
z-index: 100;
}
@@ -267,13 +404,15 @@ select.form-control {
.dropdown-item {
padding: 8px 16px;
color: #fff;
color: var(--dark-text);
cursor: pointer;
display: block;
transition: background 0.2s ease;
}
.dropdown-item:hover {
background: #4CAF50;
background: rgba(16, 185, 129, 0.2);
color: var(--green-primary);
}
/* Modal/Overlay */
@@ -283,7 +422,7 @@ select.form-control {
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.9);
background: rgba(0,0,0,0.95);
z-index: 200;
overflow-y: auto;
padding: 60px 20px;
@@ -296,6 +435,12 @@ select.form-control {
font-size: 48px;
color: #fff;
cursor: pointer;
transition: all 0.2s ease;
}
.overlay-close:hover {
color: var(--green-primary);
transform: rotate(90deg);
}
.overlay-content {
@@ -304,32 +449,62 @@ select.form-control {
color: #fff;
}
.modal-content {
background: rgba(45, 55, 72, 0.98) !important;
border: 1px solid rgba(16, 185, 129, 0.3) !important;
color: var(--dark-text) !important;
}
/* Slider */
.slider-container {
width: 100%;
padding: 16px 0;
padding: 8px 0;
}
.slider {
width: 100%;
height: 10px;
background: #d3d3d3;
height: 8px;
background: rgba(31, 41, 55, 0.6);
border-radius: 8px;
outline: none;
opacity: 0.7;
transition: opacity 0.2s;
transition: all 0.2s;
-webkit-appearance: none;
}
.slider:hover {
opacity: 1;
background: rgba(31, 41, 55, 0.8);
}
.slider::-webkit-slider-thumb {
-webkit-appearance: none;
width: 10px;
height: 25px;
background: #4CAF50;
width: 20px;
height: 20px;
border-radius: 50%;
background: linear-gradient(135deg, #10b981 0%, #059669 100%);
cursor: pointer;
box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
transition: all 0.2s;
}
.slider::-webkit-slider-thumb:hover {
transform: scale(1.1);
box-shadow: 0 4px 12px rgba(16, 185, 129, 0.6);
}
.slider::-moz-range-thumb {
width: 20px;
height: 20px;
border-radius: 50%;
background: linear-gradient(135deg, #10b981 0%, #059669 100%);
cursor: pointer;
box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
border: none;
transition: all 0.2s;
}
.slider::-moz-range-thumb:hover {
transform: scale(1.1);
box-shadow: 0 4px 12px rgba(16, 185, 129, 0.6);
}
/* File Upload */
@@ -348,7 +523,13 @@ select.form-control {
/* Spinner */
.spinner {
border: 4px solid rgba(16, 185, 129, 0.2);
border-top: 4px solid var(--green-primary);
border-radius: 50%;
width: 40px;
height: 40px;
animation: spin 1s linear infinite;
margin: 0 auto;
}
@keyframes spin {
@@ -356,10 +537,68 @@ select.form-control {
to { transform: rotate(360deg); }
}
/* Modern Card Style */
.modern-card {
background: rgba(45, 55, 72, 0.95);
border-radius: 12px;
border: 1px solid rgba(16, 185, 129, 0.2);
padding: 16px;
margin-bottom: 16px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
transition: all 0.2s ease;
}
.modern-card:hover {
border-color: rgba(16, 185, 129, 0.4);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
/* Unified Control Panel - No internal rounded corners */
.control-panel-section {
padding: 16px;
border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}
.control-panel-section:last-child {
border-bottom: none;
}
/* Animations */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes slideIn {
from {
opacity: 0;
transform: translateX(-20px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
.fade-in {
animation: fadeIn 0.3s ease-in-out;
}
.slide-in {
animation: slideIn 0.3s ease-out;
}
/* Footer */
.footer {
background: #000;
color: #fff;
background: linear-gradient(135deg, rgba(26, 32, 44, 0.98) 0%, rgba(17, 24, 39, 0.98) 100%);
border-top: 1px solid rgba(16, 185, 129, 0.2);
color: var(--dark-text);
text-align: center;
padding: 24px;
margin-top: 32px;