696 lines
10 KiB
CSS
696 lines
10 KiB
CSS
:root {
|
|
color-scheme: dark;
|
|
font-family:
|
|
Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
background: #111318;
|
|
color: #edf0f7;
|
|
font-synthesis: none;
|
|
text-rendering: optimizeLegibility;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
min-width: 320px;
|
|
min-height: 100vh;
|
|
background:
|
|
linear-gradient(180deg, rgba(38, 44, 54, 0.98), rgba(16, 18, 24, 1) 45%),
|
|
#111318;
|
|
}
|
|
|
|
.badge-html,
|
|
.badge-html body,
|
|
.badge-html #badge-root {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
background: transparent !important;
|
|
}
|
|
|
|
button,
|
|
input {
|
|
font: inherit;
|
|
}
|
|
|
|
button {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.app-shell {
|
|
display: grid;
|
|
grid-template-columns: 280px minmax(0, 1fr);
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
padding: 22px;
|
|
border-right: 1px solid rgba(255, 255, 255, 0.08);
|
|
background: rgba(11, 13, 18, 0.72);
|
|
}
|
|
|
|
.brand-block {
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: center;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.brand-mark {
|
|
display: grid;
|
|
width: 44px;
|
|
height: 44px;
|
|
place-items: center;
|
|
border-radius: 8px;
|
|
background: #e9f6ff;
|
|
color: #101318;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.brand-block h1,
|
|
.topbar h2,
|
|
.panel h3,
|
|
.limit-panel h3,
|
|
.settings-panel h3 {
|
|
margin: 0;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
.brand-block h1 {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.brand-block p,
|
|
.eyebrow,
|
|
.panel-header span,
|
|
.metric span,
|
|
.thread-row span,
|
|
.sidebar-note span {
|
|
color: #9ea7b8;
|
|
}
|
|
|
|
.brand-block p {
|
|
margin: 2px 0 0;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.status-pill,
|
|
.connection {
|
|
width: fit-content;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 999px;
|
|
padding: 7px 11px;
|
|
color: #cdd5e3;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.status-pill.online,
|
|
.connection.online {
|
|
border-color: rgba(34, 197, 94, 0.35);
|
|
color: #a7f3d0;
|
|
}
|
|
|
|
.status-pill.fallback,
|
|
.connection.fallback {
|
|
border-color: rgba(245, 158, 11, 0.42);
|
|
color: #fde68a;
|
|
}
|
|
|
|
.status-pill.offline,
|
|
.connection.offline {
|
|
border-color: rgba(239, 68, 68, 0.42);
|
|
color: #fecaca;
|
|
}
|
|
|
|
.primary-action,
|
|
.secondary-action {
|
|
min-height: 40px;
|
|
border: 0;
|
|
border-radius: 8px;
|
|
padding: 0 13px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.primary-action {
|
|
background: #f4f7fb;
|
|
color: #111318;
|
|
}
|
|
|
|
.primary-action:disabled {
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.secondary-action {
|
|
border: 1px solid rgba(255, 255, 255, 0.11);
|
|
background: rgba(255, 255, 255, 0.07);
|
|
color: #edf0f7;
|
|
}
|
|
|
|
.sidebar-note {
|
|
display: grid;
|
|
gap: 4px;
|
|
margin-top: auto;
|
|
padding: 12px;
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.055);
|
|
}
|
|
|
|
.sidebar-note strong {
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 18px;
|
|
padding: 26px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.topbar {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
}
|
|
|
|
.eyebrow {
|
|
margin: 0 0 5px;
|
|
font-size: 12px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.topbar h2 {
|
|
font-size: 28px;
|
|
}
|
|
|
|
.connection {
|
|
max-width: 460px;
|
|
text-transform: none;
|
|
text-align: right;
|
|
}
|
|
|
|
.alert {
|
|
border: 1px solid rgba(245, 158, 11, 0.28);
|
|
border-radius: 8px;
|
|
padding: 11px 13px;
|
|
background: rgba(245, 158, 11, 0.09);
|
|
color: #fde68a;
|
|
}
|
|
|
|
.alert.danger {
|
|
border-color: rgba(239, 68, 68, 0.32);
|
|
background: rgba(239, 68, 68, 0.09);
|
|
color: #fecaca;
|
|
}
|
|
|
|
.overview-grid,
|
|
.work-grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(320px, 0.92fr) minmax(340px, 1fr);
|
|
gap: 18px;
|
|
}
|
|
|
|
.work-grid.lower {
|
|
grid-template-columns: minmax(420px, 1.1fr) minmax(320px, 0.9fr);
|
|
}
|
|
|
|
.limit-panel,
|
|
.metric-panel,
|
|
.panel,
|
|
.settings-panel {
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.055);
|
|
box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
|
|
}
|
|
|
|
.limit-panel,
|
|
.panel,
|
|
.settings-panel {
|
|
padding: 18px;
|
|
}
|
|
|
|
.metric-panel {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 1px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.metric-panel .metric {
|
|
padding: 18px;
|
|
background: rgba(255, 255, 255, 0.025);
|
|
}
|
|
|
|
.panel-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.tone-dot {
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 999px;
|
|
background: #6b7280;
|
|
}
|
|
|
|
.tone-dot.ok {
|
|
background: #22c55e;
|
|
}
|
|
|
|
.tone-dot.warn {
|
|
background: #f59e0b;
|
|
}
|
|
|
|
.tone-dot.danger {
|
|
background: #ef4444;
|
|
}
|
|
|
|
.gauge {
|
|
display: grid;
|
|
place-items: center;
|
|
margin: 8px auto 18px;
|
|
width: 220px;
|
|
aspect-ratio: 1;
|
|
border-radius: 50%;
|
|
background:
|
|
radial-gradient(circle at 50% 50%, #151922 0 57%, transparent 58%),
|
|
conic-gradient(var(--accent) calc(var(--value) * 1%), rgba(255, 255, 255, 0.08) 0);
|
|
}
|
|
|
|
.gauge.ok {
|
|
--accent: #22c55e;
|
|
}
|
|
|
|
.gauge.warn {
|
|
--accent: #f59e0b;
|
|
}
|
|
|
|
.gauge.danger {
|
|
--accent: #ef4444;
|
|
}
|
|
|
|
.gauge.muted {
|
|
--accent: #64748b;
|
|
}
|
|
|
|
.gauge strong {
|
|
display: block;
|
|
font-size: 42px;
|
|
}
|
|
|
|
.gauge span {
|
|
color: #9ea7b8;
|
|
}
|
|
|
|
.limit-gauge-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 14px;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.limit-gauge-card {
|
|
display: grid;
|
|
justify-items: center;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
padding: 14px 10px;
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.035);
|
|
}
|
|
|
|
.limit-gauge-card .gauge {
|
|
width: 132px;
|
|
margin: 0;
|
|
}
|
|
|
|
.limit-gauge-card .gauge strong {
|
|
font-size: 28px;
|
|
}
|
|
|
|
.limit-gauge-card > div:last-child {
|
|
display: grid;
|
|
gap: 2px;
|
|
text-align: center;
|
|
}
|
|
|
|
.limit-gauge-card > div:last-child span {
|
|
color: #9ea7b8;
|
|
}
|
|
|
|
.limit-meta,
|
|
.thread-current {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 10px;
|
|
}
|
|
|
|
.metric {
|
|
display: grid;
|
|
gap: 4px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.metric strong {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 24px;
|
|
}
|
|
|
|
.metric em {
|
|
color: #b6c0cf;
|
|
font-style: normal;
|
|
}
|
|
|
|
.bars {
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.bar-row {
|
|
display: grid;
|
|
grid-template-columns: 86px minmax(0, 1fr) 70px;
|
|
gap: 10px;
|
|
align-items: center;
|
|
}
|
|
|
|
.bar-row > span {
|
|
color: #b6c0cf;
|
|
}
|
|
|
|
.bar-row > div {
|
|
height: 10px;
|
|
border-radius: 999px;
|
|
overflow: hidden;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.bar-row i {
|
|
display: block;
|
|
height: 100%;
|
|
border-radius: inherit;
|
|
background: #67e8f9;
|
|
}
|
|
|
|
.bar-row strong {
|
|
text-align: right;
|
|
}
|
|
|
|
.thread-list {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.thread-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
align-items: center;
|
|
padding: 11px;
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.045);
|
|
min-width: 0;
|
|
}
|
|
|
|
.thread-row div {
|
|
min-width: 0;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.thread-row strong,
|
|
.thread-row span {
|
|
display: block;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.thread-row em {
|
|
color: #e0f2fe;
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.trend {
|
|
display: grid;
|
|
grid-auto-flow: column;
|
|
grid-auto-columns: minmax(28px, 1fr);
|
|
gap: 8px;
|
|
height: 210px;
|
|
align-items: end;
|
|
}
|
|
|
|
.trend-column {
|
|
display: grid;
|
|
grid-template-rows: 1fr 18px;
|
|
gap: 7px;
|
|
height: 100%;
|
|
align-items: end;
|
|
}
|
|
|
|
.trend-column i {
|
|
display: block;
|
|
min-height: 8px;
|
|
border-radius: 5px 5px 2px 2px;
|
|
background: linear-gradient(180deg, #a7f3d0, #22c55e);
|
|
}
|
|
|
|
.trend-column span {
|
|
color: #9ea7b8;
|
|
font-size: 11px;
|
|
text-align: center;
|
|
}
|
|
|
|
.empty-state {
|
|
display: grid;
|
|
min-height: 160px;
|
|
place-items: center;
|
|
color: #9ea7b8;
|
|
}
|
|
|
|
.settings-grid {
|
|
display: grid;
|
|
grid-template-columns: 1.2fr 1.2fr 0.6fr 0.6fr auto;
|
|
gap: 12px;
|
|
align-items: end;
|
|
}
|
|
|
|
.settings-grid label {
|
|
display: grid;
|
|
gap: 7px;
|
|
color: #b6c0cf;
|
|
}
|
|
|
|
.settings-grid input {
|
|
width: 100%;
|
|
min-height: 40px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 8px;
|
|
padding: 0 11px;
|
|
background: rgba(0, 0, 0, 0.22);
|
|
color: #edf0f7;
|
|
}
|
|
|
|
.toggle-row {
|
|
grid-template-columns: 1fr auto;
|
|
align-items: center;
|
|
}
|
|
|
|
.toggle-row input {
|
|
width: 20px;
|
|
}
|
|
|
|
.badge-body {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
background: transparent;
|
|
}
|
|
|
|
.badge-shell {
|
|
display: grid;
|
|
grid-template-rows: 5px minmax(0, 1fr);
|
|
align-items: stretch;
|
|
gap: 6px;
|
|
position: relative;
|
|
width: 164px;
|
|
height: 82px;
|
|
margin: 0;
|
|
border: 1px solid rgba(34, 197, 94, 0.48);
|
|
border-radius: 8px;
|
|
padding: 10px 10px 12px;
|
|
color: white;
|
|
background: rgba(17, 19, 24, 0.92);
|
|
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
|
|
cursor: move;
|
|
user-select: none;
|
|
}
|
|
|
|
.badge-shell.ok {
|
|
border-color: rgba(34, 197, 94, 0.48);
|
|
}
|
|
|
|
.badge-shell.warn {
|
|
border-color: rgba(245, 158, 11, 0.55);
|
|
}
|
|
|
|
.badge-shell.danger {
|
|
border-color: rgba(239, 68, 68, 0.62);
|
|
}
|
|
|
|
.badge-shell span {
|
|
color: #cbd5e1;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.badge-charts {
|
|
display: grid;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.badge-chart {
|
|
display: grid;
|
|
grid-template-rows: 12px 8px;
|
|
gap: 3px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.badge-chart header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.badge-chart span,
|
|
.badge-chart strong {
|
|
color: #9ea7b8;
|
|
font-size: 10px;
|
|
font-weight: 800;
|
|
line-height: 1;
|
|
}
|
|
|
|
.badge-chart strong {
|
|
color: #edf0f7;
|
|
text-align: right;
|
|
}
|
|
|
|
.badge-chart-track {
|
|
height: 8px;
|
|
overflow: hidden;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.13);
|
|
}
|
|
|
|
.badge-chart i {
|
|
display: block;
|
|
height: 100%;
|
|
min-width: 3px;
|
|
border-radius: inherit;
|
|
background: #22c55e;
|
|
}
|
|
|
|
.badge-shell.warn .badge-chart i {
|
|
background: #f59e0b;
|
|
}
|
|
|
|
.badge-shell.danger .badge-chart i {
|
|
background: #ef4444;
|
|
}
|
|
|
|
.badge-activity {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 8px;
|
|
right: 8px;
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 5px;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.badge-activity.active {
|
|
opacity: 1;
|
|
}
|
|
|
|
.badge-activity i {
|
|
display: block;
|
|
height: 3px;
|
|
border-radius: 0 0 999px 999px;
|
|
background: #67e8f9;
|
|
animation: badge-pulse 0.8s ease-in-out infinite;
|
|
}
|
|
|
|
.badge-reset {
|
|
align-self: end;
|
|
height: 5px;
|
|
overflow: hidden;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
.badge-reset i {
|
|
display: block;
|
|
min-width: 3px;
|
|
height: 100%;
|
|
border-radius: inherit;
|
|
background: #67e8f9;
|
|
}
|
|
|
|
.badge-activity i:nth-child(2) {
|
|
animation-delay: 0.12s;
|
|
}
|
|
|
|
.badge-activity i:nth-child(3) {
|
|
animation-delay: 0.24s;
|
|
}
|
|
|
|
@keyframes badge-pulse {
|
|
0%,
|
|
100% {
|
|
opacity: 0.25;
|
|
transform: scaleX(0.72);
|
|
}
|
|
|
|
50% {
|
|
opacity: 1;
|
|
transform: scaleX(1);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 980px) {
|
|
.app-shell,
|
|
.overview-grid,
|
|
.work-grid,
|
|
.work-grid.lower {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.sidebar {
|
|
border-right: 0;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.settings-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|