1 parent
639362fbf5
commit
bdd69f0aad
101 files changed
+22691
-531
No files matched your search
@@ -186,6 +186,8 @@ select:focus:not(:focus-visible) { outline: none; }
|
||||
.btn-ghost:hover { color: var(--text-2); background: rgba(255, 255, 255, 0.04); }
|
||||
.btn-danger-ghost { background: transparent; border-color: rgba(255, 92, 92, 0.3); color: var(--red-text); }
|
||||
.btn-danger-ghost:hover { background: rgba(255, 92, 92, 0.1); }
|
||||
.btn-danger { background: #c8434b; color: #fff; }
|
||||
.btn-danger:hover { background: #dc5059; }
|
||||
/* Leave-room button: prominent but not alarming; pushed to the right of the
|
||||
room header so it reads as the primary in-room action. */
|
||||
.btn-leave {
|
||||
@@ -685,3 +687,241 @@ select:focus:not(:focus-visible) { outline: none; }
|
||||
}
|
||||
.ts-markup details { margin: 0.4em 0; }
|
||||
.ts-markup summary { cursor: pointer; font-weight: 600; }
|
||||
|
||||
/* ── Updates control plane ──────────────────────────────────────────────
|
||||
The update surface keeps the dashboard's violet language, but uses a
|
||||
denser instrument-panel rhythm: version rails, status lamps, and a faint
|
||||
technical grid make trust and activation state scannable at a glance. */
|
||||
.updates-view {
|
||||
position: relative;
|
||||
}
|
||||
.updates-view::before {
|
||||
content: ''; position: absolute; inset: -8px 0 auto; height: 250px;
|
||||
pointer-events: none; opacity: .18;
|
||||
background-image:
|
||||
linear-gradient(rgba(124, 92, 255, .12) 1px, transparent 1px),
|
||||
linear-gradient(90deg, rgba(124, 92, 255, .12) 1px, transparent 1px);
|
||||
background-size: 28px 28px;
|
||||
mask-image: linear-gradient(to bottom, #000, transparent);
|
||||
}
|
||||
.update-command-bar {
|
||||
position: relative; display: flex; align-items: center;
|
||||
justify-content: space-between; gap: 16px; margin-bottom: 16px;
|
||||
padding: 14px 16px; border: 1px solid rgba(124, 92, 255, .23);
|
||||
border-radius: 13px;
|
||||
background: linear-gradient(110deg, rgba(124, 92, 255, .11), rgba(255, 255, 255, .025) 58%);
|
||||
}
|
||||
.update-command-state { display: flex; align-items: center; gap: 12px; min-width: 0; }
|
||||
.update-command-state p { margin-top: 2px; font-size: 12px; }
|
||||
.update-beacon {
|
||||
width: 11px; height: 11px; border-radius: 50%; flex: none;
|
||||
background: var(--faint); box-shadow: 0 0 0 6px rgba(106, 106, 120, .1);
|
||||
}
|
||||
.update-beacon.active {
|
||||
background: var(--green);
|
||||
box-shadow: 0 0 0 6px rgba(63, 208, 122, .1), 0 0 18px rgba(63, 208, 122, .4);
|
||||
}
|
||||
.update-live-region { min-height: 18px; color: var(--muted-2); font-size: 12px; }
|
||||
.update-component-grid {
|
||||
position: relative; display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 12px; margin: 2px 0 18px;
|
||||
}
|
||||
.update-component-card {
|
||||
position: relative; overflow: hidden; display: flex; flex-direction: column;
|
||||
min-height: 260px; padding: 16px; border: 1px solid var(--line);
|
||||
border-radius: var(--radius); background: rgba(14, 14, 21, .93);
|
||||
}
|
||||
.update-component-card::after {
|
||||
content: ''; position: absolute; right: -32px; top: -32px;
|
||||
width: 110px; height: 110px; border-radius: 50%;
|
||||
background: rgba(124, 92, 255, .08); filter: blur(4px);
|
||||
}
|
||||
.update-component-head {
|
||||
position: relative; z-index: 1; display: grid;
|
||||
grid-template-columns: auto 1fr auto; align-items: center; gap: 10px;
|
||||
}
|
||||
.update-component-head h2 { font-size: 15px; }
|
||||
.update-component-head p { margin-top: 2px; font-size: 10px; }
|
||||
.update-component-mark {
|
||||
width: 35px; height: 35px; border-radius: 10px;
|
||||
display: grid; place-items: center; font: 700 13px var(--font-mono);
|
||||
color: #d7d0ff; border: 1px solid rgba(124, 92, 255, .28);
|
||||
background: rgba(124, 92, 255, .13);
|
||||
}
|
||||
.update-component-mark.core { color: #8fe8b4; border-color: rgba(63, 208, 122, .25); background: rgba(63, 208, 122, .1); }
|
||||
.update-component-mark.plugins { color: #ffe08d; border-color: rgba(255, 207, 74, .25); background: rgba(255, 207, 74, .1); }
|
||||
.update-version-line {
|
||||
display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
|
||||
align-items: center; gap: 10px; margin: 20px 0 12px;
|
||||
}
|
||||
.update-version-line > div { min-width: 0; }
|
||||
.update-version-line span {
|
||||
display: block; color: var(--faint); font-size: 9px; font-weight: 700;
|
||||
letter-spacing: .09em; text-transform: uppercase;
|
||||
}
|
||||
.update-version-line strong {
|
||||
display: block; overflow: hidden; margin-top: 3px;
|
||||
font: 700 14px var(--font-mono); text-overflow: ellipsis;
|
||||
}
|
||||
.update-version-arrow { color: var(--accent-text) !important; font-size: 16px !important; }
|
||||
.update-badges { display: flex; flex-wrap: wrap; gap: 5px; }
|
||||
.update-badge {
|
||||
display: inline-flex; align-items: center; width: fit-content;
|
||||
padding: 3px 7px; border-radius: 999px;
|
||||
font: 700 9px var(--font-mono); letter-spacing: .03em;
|
||||
text-transform: uppercase; white-space: nowrap;
|
||||
color: var(--muted); border: 1px solid rgba(255, 255, 255, .08);
|
||||
background: rgba(255, 255, 255, .04);
|
||||
}
|
||||
.update-badge.success { color: var(--green-text); border-color: rgba(63, 208, 122, .22); background: rgba(63, 208, 122, .09); }
|
||||
.update-badge.warning { color: var(--yellow-text); border-color: rgba(255, 207, 74, .22); background: rgba(255, 207, 74, .09); }
|
||||
.update-badge.danger { color: var(--red-text); border-color: rgba(255, 92, 92, .24); background: rgba(255, 92, 92, .09); }
|
||||
.update-card-message { margin-top: 10px; color: var(--muted-2); font-size: 12px; line-height: 1.45; }
|
||||
.update-card-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 18px; }
|
||||
.update-card-actions .btn { padding: 7px 10px; font-size: 11px; }
|
||||
.updates-two-column {
|
||||
display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
||||
gap: 18px; align-items: start;
|
||||
}
|
||||
.update-plugin-list { display: flex; flex-direction: column; }
|
||||
.update-plugin-row {
|
||||
display: grid; grid-template-columns: minmax(120px, 1.2fr) auto minmax(105px, .7fr) auto;
|
||||
align-items: center; gap: 10px; padding: 9px 2px;
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
.update-plugin-row:last-child { border-bottom: 0; }
|
||||
.update-plugin-main { display: flex; flex-direction: column; min-width: 0; }
|
||||
.update-plugin-main strong, .update-plugin-main span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.update-plugin-main span { font-size: 10px; margin-top: 2px; }
|
||||
.update-plugin-version { color: var(--muted); font-size: 11px; }
|
||||
.update-plugin-actions { display: flex; gap: 5px; }
|
||||
.update-plugin-actions .btn { padding: 5px 8px; font-size: 10px; }
|
||||
.update-history-scroll { max-height: 350px; overflow: auto; }
|
||||
.update-history-table { width: 100%; border-collapse: collapse; font-size: 11px; }
|
||||
.update-history-table th {
|
||||
position: sticky; top: 0; z-index: 1; padding: 7px 8px;
|
||||
text-align: left; color: var(--faint); background: #111119;
|
||||
font-size: 9px; letter-spacing: .08em; text-transform: uppercase;
|
||||
}
|
||||
.update-history-table td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
|
||||
.update-history-table td:first-child { white-space: nowrap; color: var(--muted-2); }
|
||||
.update-history-table td small { display: block; margin-top: 2px; color: var(--faint); font: 9px var(--font-mono); }
|
||||
.update-config { margin-top: 8px; }
|
||||
.update-config-title, .update-sources-head {
|
||||
display: flex; align-items: flex-end; justify-content: space-between;
|
||||
gap: 16px; margin: 27px 0 13px;
|
||||
}
|
||||
.update-config-title h2 { font-size: 22px; margin: 2px 0 3px; }
|
||||
.update-kicker {
|
||||
color: var(--accent-text); font: 700 9px var(--font-mono);
|
||||
letter-spacing: .16em;
|
||||
}
|
||||
.update-automation-card { border-color: rgba(124, 92, 255, .18); }
|
||||
.update-automation-grid {
|
||||
display: grid; grid-template-columns: repeat(6, minmax(100px, 1fr));
|
||||
gap: 12px; align-items: end;
|
||||
}
|
||||
.update-master-switch { grid-column: span 2; align-self: center; }
|
||||
.update-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
|
||||
.update-field > span {
|
||||
color: var(--muted-2); font-size: 10px; font-weight: 700;
|
||||
letter-spacing: .035em;
|
||||
}
|
||||
.update-field input, .update-field select, .update-override-row input,
|
||||
.update-override-row select {
|
||||
width: 100%; min-width: 0; color: var(--text);
|
||||
background: rgba(255, 255, 255, .045); border: 1px solid var(--line);
|
||||
border-radius: 9px; padding: 9px 10px; outline: none; font: inherit;
|
||||
font-size: 12px;
|
||||
}
|
||||
.update-field input:focus, .update-field select:focus,
|
||||
.update-override-row input:focus, .update-override-row select:focus {
|
||||
border-color: rgba(124, 92, 255, .48);
|
||||
}
|
||||
.update-field select option, .update-override-row select option { color: #111; }
|
||||
.update-field small { color: var(--faint); font-size: 10px; line-height: 1.35; }
|
||||
.update-switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--muted); font-size: 11px; }
|
||||
.update-switch input { width: 15px; height: 15px; accent-color: var(--accent); }
|
||||
.update-policy-list { display: flex; flex-direction: column; }
|
||||
.update-policy-row {
|
||||
display: grid; grid-template-columns: minmax(150px, .8fr) minmax(130px, .8fr) minmax(130px, 1fr) auto;
|
||||
align-items: end; gap: 12px; padding: 12px 2px;
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
.update-policy-row:last-child { border-bottom: 0; }
|
||||
.update-policy-name { display: flex; flex-direction: column; gap: 6px; align-self: center; }
|
||||
.update-auto-switch { min-height: 36px; align-self: end; }
|
||||
.update-managed-only { margin-top: 12px; }
|
||||
.update-override-list { display: flex; flex-direction: column; }
|
||||
.update-override-row {
|
||||
display: grid; grid-template-columns: minmax(140px, 1fr) minmax(120px, .7fr) minmax(120px, .8fr) auto auto;
|
||||
align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px solid var(--line);
|
||||
}
|
||||
.update-override-id { overflow: hidden; text-overflow: ellipsis; }
|
||||
.update-empty-inline { padding: 10px 2px; font-size: 12px; }
|
||||
.update-source-list { display: flex; flex-direction: column; gap: 13px; }
|
||||
.update-source-card {
|
||||
min-width: 0; padding: 16px; border: 1px solid var(--line);
|
||||
border-radius: var(--radius); background: var(--panel);
|
||||
}
|
||||
.update-source-card legend {
|
||||
display: flex; align-items: center; gap: 8px; padding: 0 8px;
|
||||
font-weight: 700;
|
||||
}
|
||||
.update-source-grid {
|
||||
display: grid; grid-template-columns: minmax(240px, 1.4fr) minmax(220px, 1fr) auto;
|
||||
align-items: start; gap: 12px; margin-bottom: 17px;
|
||||
}
|
||||
.update-unsigned-switch { min-height: 55px; align-self: end; color: var(--yellow-text); }
|
||||
.update-key-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
|
||||
.update-key-head p { margin-top: 2px; font-size: 11px; }
|
||||
.update-key-list { display: flex; flex-direction: column; }
|
||||
.update-key-row {
|
||||
display: grid; grid-template-columns: minmax(130px, .45fr) minmax(220px, 1.55fr) auto;
|
||||
align-items: end; gap: 8px; padding: 7px 0;
|
||||
}
|
||||
.update-key-remove { margin-bottom: 1px; }
|
||||
.update-source-foot { display: flex; justify-content: flex-end; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
|
||||
|
||||
@media (max-width: 1200px) {
|
||||
.update-component-grid { grid-template-columns: 1fr; }
|
||||
.update-component-card { min-height: 0; }
|
||||
.update-automation-grid { grid-template-columns: repeat(3, minmax(120px, 1fr)); }
|
||||
.update-master-switch { grid-column: span 1; }
|
||||
}
|
||||
|
||||
@media (max-width: 1000px) {
|
||||
.updates-two-column { grid-template-columns: 1fr; }
|
||||
.update-source-grid { grid-template-columns: 1fr 1fr; }
|
||||
.update-unsigned-switch { grid-column: 1 / -1; min-height: auto; }
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.update-command-bar, .update-config-title, .update-sources-head {
|
||||
align-items: stretch; flex-direction: column;
|
||||
}
|
||||
.update-command-bar .row-gap, .update-config-title .row-gap { justify-content: flex-end; }
|
||||
.update-automation-grid, .update-source-grid { grid-template-columns: 1fr; }
|
||||
.update-policy-row { grid-template-columns: 1fr 1fr; }
|
||||
.update-policy-name { grid-column: 1 / -1; }
|
||||
.update-override-row { grid-template-columns: 1fr 1fr; }
|
||||
.update-override-id { grid-column: 1 / -1; }
|
||||
.update-key-row { grid-template-columns: 1fr; padding: 11px 0; }
|
||||
.update-key-remove { justify-self: start; }
|
||||
.update-plugin-row { grid-template-columns: minmax(0, 1fr) auto; }
|
||||
.update-plugin-version { grid-column: 1; }
|
||||
.update-plugin-actions { grid-column: 2; grid-row: 2; }
|
||||
}
|
||||
|
||||
@media (max-width: 460px) {
|
||||
.update-policy-row, .update-override-row { grid-template-columns: 1fr; }
|
||||
.update-policy-name, .update-override-id { grid-column: auto; }
|
||||
.update-version-line { grid-template-columns: 1fr; }
|
||||
.update-version-arrow { transform: rotate(90deg); width: fit-content; }
|
||||
.update-history-table th:nth-child(3), .update-history-table td:nth-child(3) { display: none; }
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.update-beacon { box-shadow: none; }
|
||||
}
|
||||
Reference in new issue
Block a user