291 lines
4.5 KiB
CSS
291 lines
4.5 KiB
CSS
.cc-page {
|
|
padding-top: 1.4rem;
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.cc-alert {
|
|
padding: 0.85rem 1rem;
|
|
margin-bottom: 1rem;
|
|
border-radius: 10px;
|
|
border: 1px solid #854d0e;
|
|
background: #2b1907;
|
|
color: #fcd34d;
|
|
}
|
|
|
|
.cc-page-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
margin-bottom: 1.2rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.cc-page-title {
|
|
margin: 0;
|
|
font-size: 1.65rem;
|
|
letter-spacing: -0.02em;
|
|
color: #f8fafc !important;
|
|
text-shadow: 0 1px 0 rgba(15, 23, 42, 0.3);
|
|
}
|
|
|
|
.cc-page h2 {
|
|
color: #f8fafc;
|
|
}
|
|
|
|
.cc-controls {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.cc-pill-toggle {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.5rem 0.75rem;
|
|
border: 1px solid #334155;
|
|
border-radius: 999px;
|
|
background: #111827;
|
|
color: #f1f5f9;
|
|
font-size: 0.82rem;
|
|
}
|
|
|
|
.cc-pill-toggle input {
|
|
accent-color: #3b82f6;
|
|
}
|
|
|
|
.cc-pill-toggle:focus-within,
|
|
.cc-input-sm:focus,
|
|
.cc-select-sm:focus {
|
|
outline: 2px solid #60a5fa;
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.cc-surface {
|
|
background: #0f172a;
|
|
border: 1px solid #334155;
|
|
border-radius: 12px;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.cc-kpi-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
|
|
gap: 0.65rem;
|
|
}
|
|
|
|
.cc-kpi {
|
|
background: #0b1325;
|
|
border: 1px solid #334155;
|
|
border-radius: 10px;
|
|
padding: 0.75rem;
|
|
}
|
|
|
|
.cc-kpi-label {
|
|
margin: 0;
|
|
font-size: 0.7rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.07em;
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
.cc-kpi-value {
|
|
margin: 0.35rem 0 0;
|
|
color: #f8fafc;
|
|
font-size: 1.45rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.cc-table-wrap {
|
|
overflow: auto;
|
|
border: 1px solid #334155;
|
|
border-radius: 12px;
|
|
background: #0b1325;
|
|
}
|
|
|
|
.cc-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.cc-table thead tr {
|
|
background: #0f172a;
|
|
}
|
|
|
|
.cc-table th {
|
|
text-align: left;
|
|
padding: 0.75rem;
|
|
color: #e2e8f0;
|
|
font-size: 0.78rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.07em;
|
|
border-bottom: 1px solid #334155;
|
|
}
|
|
|
|
.cc-table td {
|
|
padding: 0.75rem;
|
|
border-bottom: 1px solid #1f2937;
|
|
color: #f1f5f9;
|
|
}
|
|
|
|
.cc-table tbody tr:hover {
|
|
background: #1e293b;
|
|
}
|
|
|
|
.cc-pagination {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
margin-top: 1rem;
|
|
padding: 1rem;
|
|
background: #111827;
|
|
border: 1px solid #334155;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.cc-input-sm {
|
|
width: 56px;
|
|
padding: 0.45rem;
|
|
border: 1px solid #334155;
|
|
border-radius: 8px;
|
|
text-align: center;
|
|
background: #111827;
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.cc-select-sm {
|
|
padding: 0.45rem;
|
|
border: 1px solid #334155;
|
|
border-radius: 8px;
|
|
background: #111827;
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.cc-empty {
|
|
text-align: center;
|
|
color: #cbd5e1;
|
|
padding: 2.2rem 1rem;
|
|
}
|
|
|
|
.history-resource-card {
|
|
margin-bottom: 1.4rem;
|
|
}
|
|
|
|
.history-resource-title {
|
|
margin: 0 0 0.45rem;
|
|
color: #dbeafe;
|
|
}
|
|
|
|
.history-resource-meta {
|
|
margin: 0 0 1rem;
|
|
color: #e2e8f0;
|
|
display: flex;
|
|
gap: 1rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.history-resource-meta strong {
|
|
color: #f8fafc;
|
|
}
|
|
|
|
.history-chart-box {
|
|
height: 400px;
|
|
margin-bottom: 1rem;
|
|
background: #111827;
|
|
padding: 1rem;
|
|
border-radius: 10px;
|
|
border: 1px solid #334155;
|
|
}
|
|
|
|
.history-trend-row {
|
|
display: flex;
|
|
gap: 1rem;
|
|
margin-bottom: 0.8rem;
|
|
color: #e2e8f0;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.notifications-list {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.notification-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
gap: 1rem;
|
|
padding: 1rem;
|
|
border-radius: 10px;
|
|
border: 1px solid #334155;
|
|
background: #0b1325;
|
|
}
|
|
|
|
.notification-row.is-unread {
|
|
border-color: #1d4ed8;
|
|
box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.35);
|
|
}
|
|
|
|
.notification-content {
|
|
flex: 1;
|
|
}
|
|
|
|
.notification-title {
|
|
margin: 0 0 0.4rem;
|
|
color: #f8fafc;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.notification-message {
|
|
margin: 0 0 0.5rem;
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.notification-meta {
|
|
display: flex;
|
|
gap: 0.65rem;
|
|
flex-wrap: wrap;
|
|
color: #cbd5e1;
|
|
font-size: 0.84rem;
|
|
}
|
|
|
|
.notification-chip {
|
|
background: #111827;
|
|
border: 1px solid #334155;
|
|
border-radius: 999px;
|
|
padding: 0.2rem 0.55rem;
|
|
color: #f1f5f9;
|
|
}
|
|
|
|
.notification-actions {
|
|
display: flex;
|
|
gap: 0.4rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.notification-actions .btn:focus-visible {
|
|
outline: 2px solid #60a5fa;
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.cc-controls {
|
|
width: 100%;
|
|
}
|
|
|
|
.cc-controls .btn,
|
|
.cc-controls .tag-filter-input,
|
|
.cc-controls .cc-pill-toggle {
|
|
width: 100%;
|
|
}
|
|
|
|
.cc-pagination {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
}
|