changes
This commit is contained in:
@@ -14,16 +14,12 @@
|
||||
.tech-stats-bar {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
overflow-x: auto;
|
||||
padding-bottom: 0.5rem;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
.tech-stats-bar::-webkit-scrollbar { display: none; }
|
||||
|
||||
.tech-stat-card {
|
||||
flex: 0 0 auto;
|
||||
min-width: 100px;
|
||||
padding: 0.75rem 1rem;
|
||||
flex: 1 1 0;
|
||||
min-width: 0;
|
||||
padding: 0.75rem 0.5rem;
|
||||
border-radius: 12px;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
@@ -42,7 +38,145 @@
|
||||
.tech-stat-total { background: linear-gradient(135deg, #5ba848, #3a8fb7); }
|
||||
.tech-stat-remaining { background: linear-gradient(135deg, #3498db, #2980b9); }
|
||||
.tech-stat-completed { background: linear-gradient(135deg, #27ae60, #219a52); }
|
||||
.tech-stat-travel { background: linear-gradient(135deg, #8e44ad, #7d3c98); }
|
||||
|
||||
/* ---- Clock In/Out Card ---- */
|
||||
.tech-clock-card {
|
||||
background: var(--o-main-card-bg, #fff);
|
||||
border: 1px solid var(--o-main-border-color, #e9ecef);
|
||||
border-radius: 14px;
|
||||
padding: 0.875rem 1rem;
|
||||
}
|
||||
.tech-clock-dot {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 50%;
|
||||
background: #adb5bd;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.tech-clock-dot--active {
|
||||
background: #10b981;
|
||||
box-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
|
||||
animation: tech-clock-pulse 2s ease-in-out infinite;
|
||||
}
|
||||
@keyframes tech-clock-pulse {
|
||||
0%, 100% { box-shadow: 0 0 6px rgba(16, 185, 129, 0.5); }
|
||||
50% { box-shadow: 0 0 12px rgba(16, 185, 129, 0.8); }
|
||||
}
|
||||
.tech-clock-status {
|
||||
font-size: 0.85rem;
|
||||
font-weight: 600;
|
||||
color: var(--o-main-text-color, #212529);
|
||||
line-height: 1.2;
|
||||
}
|
||||
.tech-clock-timer {
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
font-variant-numeric: tabular-nums;
|
||||
color: #6c757d;
|
||||
}
|
||||
.tech-clock-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.4rem;
|
||||
padding: 0.5rem 1rem;
|
||||
border-radius: 10px;
|
||||
border: none;
|
||||
font-weight: 600;
|
||||
font-size: 0.85rem;
|
||||
cursor: pointer;
|
||||
transition: all 0.15s;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.tech-clock-btn:active { transform: scale(0.96); }
|
||||
.tech-clock-btn--in {
|
||||
background: #10b981;
|
||||
color: #fff;
|
||||
}
|
||||
.tech-clock-btn--in:hover { background: #059669; }
|
||||
.tech-clock-btn--out {
|
||||
background: #ef4444;
|
||||
color: #fff;
|
||||
}
|
||||
.tech-clock-btn--out:hover { background: #dc2626; }
|
||||
.tech-clock-btn:disabled {
|
||||
opacity: 0.6;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.tech-clock-error {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.4rem;
|
||||
margin-top: 0.5rem;
|
||||
padding: 0.4rem 0.75rem;
|
||||
border-radius: 8px;
|
||||
background: #fef2f2;
|
||||
color: #dc2626;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
/* ---- Quick Links (All Tasks / Tomorrow / Repair Form) ---- */
|
||||
.tech-quick-links {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.tech-quick-link {
|
||||
flex: 1 1 0;
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.35rem;
|
||||
padding: 0.875rem 0.5rem;
|
||||
border-radius: 12px;
|
||||
border: 1.5px solid;
|
||||
text-decoration: none !important;
|
||||
font-weight: 600;
|
||||
font-size: 0.8rem;
|
||||
transition: all 0.15s;
|
||||
position: relative;
|
||||
}
|
||||
.tech-quick-link:active { transform: scale(0.97); }
|
||||
.tech-quick-link i { font-size: 1.1rem; }
|
||||
|
||||
.tech-quick-link-primary {
|
||||
border-color: #3498db;
|
||||
color: #3498db !important;
|
||||
background: rgba(52, 152, 219, 0.04);
|
||||
}
|
||||
.tech-quick-link-primary:hover { background: rgba(52, 152, 219, 0.1); }
|
||||
|
||||
.tech-quick-link-secondary {
|
||||
border-color: #6c757d;
|
||||
color: #6c757d !important;
|
||||
background: rgba(108, 117, 125, 0.04);
|
||||
}
|
||||
.tech-quick-link-secondary:hover { background: rgba(108, 117, 125, 0.1); }
|
||||
|
||||
.tech-quick-link-warning {
|
||||
border-color: #e67e22;
|
||||
color: #e67e22 !important;
|
||||
background: rgba(230, 126, 34, 0.04);
|
||||
}
|
||||
.tech-quick-link-warning:hover { background: rgba(230, 126, 34, 0.1); }
|
||||
|
||||
.tech-quick-link-badge {
|
||||
position: absolute;
|
||||
top: -6px;
|
||||
right: -6px;
|
||||
background: #3498db;
|
||||
color: #fff;
|
||||
font-size: 0.65rem;
|
||||
font-weight: 700;
|
||||
min-width: 18px;
|
||||
height: 18px;
|
||||
line-height: 18px;
|
||||
text-align: center;
|
||||
border-radius: 9px;
|
||||
padding: 0 4px;
|
||||
}
|
||||
|
||||
/* ---- Hero Card (Dashboard Current Task) ---- */
|
||||
.tech-hero-card {
|
||||
@@ -475,12 +609,18 @@
|
||||
gap: 1rem;
|
||||
}
|
||||
.tech-stat-card {
|
||||
min-width: 130px;
|
||||
padding: 1rem 1.5rem;
|
||||
}
|
||||
.tech-stat-card .stat-number {
|
||||
font-size: 2rem;
|
||||
}
|
||||
.tech-quick-links {
|
||||
gap: 1rem;
|
||||
}
|
||||
.tech-quick-link {
|
||||
padding: 1rem 0.75rem;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
.tech-bottom-bar {
|
||||
position: static;
|
||||
box-shadow: none;
|
||||
|
||||
Reference in New Issue
Block a user