69 lines
5.8 KiB
CSS
69 lines
5.8 KiB
CSS
.quick-actions { display: flex; gap: 9px; flex-wrap: wrap; justify-content: flex-end; }
|
|
.sidebar-foot.admin-account { display: block; }
|
|
.admin-identity { display: flex; gap: 9px; align-items: center; min-width: 0; }
|
|
.admin-identity > div { min-width: 0; }
|
|
.admin-identity strong, .admin-identity small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.admin-account form { margin-top: 12px; }
|
|
.admin-account button { width: 100%; border: 1px solid #365047; border-radius: 7px; background: transparent; color: #9fb2ab; padding: 8px; font: 600 11px "DM Sans"; cursor: pointer; }
|
|
.admin-account button:hover { color: white; border-color: #698078; }
|
|
.button.subtle { background: #fff; color: #365348; border: 1px solid #dce4e0; }
|
|
.admin-stats .stat-card { min-height: 156px; }
|
|
.stock-card-button { text-align:left; font-family:inherit; color:inherit; cursor:pointer; }
|
|
.stock-card-button:hover { transform:translateY(-2px); border-color:#a7c8ba; }
|
|
.stock-chart-dialog { width:min(920px,calc(100% - 32px)); max-height:85vh; border:1px solid var(--line); border-radius:16px; padding:24px; background:var(--card); color:var(--ink); box-shadow:0 28px 80px rgba(0,0,0,.28); }
|
|
.stock-chart-dialog::backdrop { background:rgba(6,16,12,.65); backdrop-filter:blur(3px); }
|
|
.chart-dialog-head { display:flex; justify-content:space-between; gap:20px; border-bottom:1px solid var(--line); padding-bottom:17px; }
|
|
.chart-dialog-head h2 { margin:0; font:800 23px Manrope; }.chart-dialog-head p{margin:5px 0 0;color:var(--muted);font-size:12px}
|
|
.chart-dialog-head>button { width:34px;height:34px;border:1px solid var(--line);border-radius:9px;background:transparent;color:var(--ink);font-size:20px;cursor:pointer }
|
|
.chart-legend { display:flex;gap:18px;margin:17px 0;font-size:10px;color:var(--muted) }.chart-legend i{display:inline-block;width:9px;height:9px;border-radius:3px;margin-right:5px}
|
|
.stock-chart { display:grid;gap:14px;overflow:auto;max-height:50vh;padding-right:6px }.stock-chart-row{display:grid;grid-template-columns:185px 1fr 40px;gap:13px;align-items:center}.chart-label strong,.chart-label small{display:block}.chart-label strong{font-size:11px}.chart-label small{font-size:9px;color:var(--muted);margin-top:2px}.chart-bar-area{height:20px;background:#e8eeeb;border-radius:5px;overflow:hidden}.chart-bar{height:100%;display:flex;min-width:3px}.chart-new{background:#3d8d70}.chart-returned{background:#d2a14e}.stock-chart-row>b{font:800 12px Manrope;text-align:right}.chart-dialog-foot{display:flex;justify-content:flex-end;gap:9px;border-top:1px solid var(--line);padding-top:17px;margin-top:20px}
|
|
html[data-theme="dark"] .chart-bar-area{background:#293730}
|
|
.stat-note { color: #87928e; font-size: 11px; }
|
|
.admin-summary-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 20px; margin-bottom: 20px; }
|
|
.health-score { font: 800 25px Manrope; color: var(--green); }
|
|
.progress-track, .bar-track { height: 8px; border-radius: 99px; overflow: hidden; background: #e9eeeb; }
|
|
.progress-track span { display: block; height: 100%; background: linear-gradient(90deg, #1a7058, #69b98e); border-radius: inherit; }
|
|
.health-legend { display: flex; flex-wrap: wrap; gap: 18px; margin: 11px 0 19px; color: var(--muted); font-size: 10px; }
|
|
.health-legend i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; margin-right: 5px; }
|
|
.good-dot { background: #4caf7b; }
|
|
.warn-dot { background: #d7983e; }
|
|
.mini-metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); padding-top: 17px; }
|
|
.mini-metrics div { padding: 0 18px; border-right: 1px solid var(--line); }
|
|
.mini-metrics div:first-child { padding-left: 0; }
|
|
.mini-metrics div:last-child { border: 0; }
|
|
.mini-metrics small { display: block; color: var(--muted); font-size: 10px; }
|
|
.mini-metrics strong { display: block; font: 800 21px Manrope; margin-top: 4px; }
|
|
.monthly-metric { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-top: 1px solid #edf0ee; font-size: 12px; color: var(--muted); }
|
|
.monthly-metric strong { font: 800 17px Manrope; color: var(--ink); }
|
|
.monthly-metric.danger-text strong { color: var(--rose); }
|
|
.dashboard-main-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
|
|
.person-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #e1ede7; color: var(--green); font-weight: 800; font-size: 12px; flex: none; }
|
|
.dashboard-insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
|
|
.bar-row { padding: 9px 0; }
|
|
.bar-row > div:first-child { display: flex; justify-content: space-between; margin-bottom: 7px; font-size: 11px; }
|
|
.bar-row strong { color: var(--green); }
|
|
.bar-track { height: 6px; }
|
|
.bar-track i { display: block; height: 100%; background: #579c7c; border-radius: inherit; min-width: 4px; }
|
|
.rank-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #edf0ee; }
|
|
.rank-row .rank { width: 25px; height: 25px; border-radius: 7px; display: grid; place-items: center; background: #edf3f0; color: #3e5f53; font-size: 10px; font-weight: 800; }
|
|
.rank-row strong { display: block; font-size: 12px; }
|
|
.rank-row small { display: block; color: var(--muted); font-size: 10px; margin-top: 2px; }
|
|
.rank-row b { font: 800 15px Manrope; }
|
|
|
|
@media (max-width: 1150px) {
|
|
.dashboard-insights-grid { grid-template-columns: 1fr 1fr; }
|
|
.dashboard-insights-grid > :last-child { grid-column: 1 / -1; }
|
|
}
|
|
|
|
@media (max-width: 850px) {
|
|
.admin-summary-grid, .dashboard-main-grid, .dashboard-insights-grid { grid-template-columns: 1fr; }
|
|
.dashboard-insights-grid > :last-child { grid-column: auto; }
|
|
.admin-intro { align-items: flex-start; }
|
|
.quick-actions { justify-content: flex-start; }
|
|
}
|
|
|
|
@media (max-width: 520px) {
|
|
.quick-actions { display: grid; width: 100%; }
|
|
.mini-metrics div { padding: 0 8px; }
|
|
}
|