1
0
mirror of git://f0xx.org/ac/ac-platform-web synced 2026-07-29 03:59:28 +03:00
Files
ac-platform-web/assets/css/app.css
2026-07-08 14:55:26 +02:00

2455 lines
53 KiB
CSS

:root,
[data-theme="dark"] {
--bg: #0f1419;
--surface: #1a2332;
--surface2: #0a0e14;
--border: #2d3a4f;
--text: #e7ecf3;
--muted: #8b9cb3;
--accent: #3d8bfd;
--accent2: #5eead4;
--danger: #f87171;
--row-hover: rgba(61, 139, 253, .12);
--row-open: rgba(61, 139, 253, .08);
}
[data-theme="light"] {
--bg: #f0f2f6;
--surface: #ffffff;
--surface2: #e8ecf2;
--border: #c5d0e0;
--text: #1a2332;
--muted: #5a6b82;
--accent: #2563eb;
--accent2: #0d9488;
--danger: #dc2626;
--row-hover: rgba(37, 99, 235, .1);
--row-open: rgba(37, 99, 235, .06);
}
* { box-sizing: border-box; }
html {
width: 100%;
max-width: 100%;
overflow-x: clip;
}
[hidden] {
display: none !important;
pointer-events: none !important;
}
dialog:not([open]) {
display: none !important;
}
dialog:not([open])::backdrop {
display: none !important;
pointer-events: none !important;
}
dialog::backdrop {
pointer-events: auto;
}
body {
margin: 0;
font-family: "Segoe UI", system-ui, sans-serif;
background: var(--bg);
color: var(--text);
min-height: 100vh;
min-height: 100dvh;
width: 100%;
max-width: 100%;
overflow-x: clip;
}
body:has(.shell) {
display: block;
overflow: hidden;
height: 100vh;
height: 100dvh;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.shell {
display: flex;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: var(--footer-h, 40px);
width: 100%;
max-width: 100%;
min-height: 0;
overflow: hidden;
z-index: 1;
}
.shell.single .main-pane { max-width: 1100px; margin: 0 auto; padding: 24px; }
.shell.shell--graphs-full .main-pane {
max-width: none;
width: 100%;
min-width: 0;
padding: 20px 24px 32px;
box-sizing: border-box;
}
.shell.shell--graphs-full .graphs-app,
.shell.shell--graphs-full .graphs-grid {
max-width: 100%;
min-width: 0;
}
.shell.shell--graphs-full .graph-detail-body {
max-width: none;
}
.shell.shell--graphs-full .graph-detail-table {
max-width: none;
}
.nav-pane {
width: 56px;
height: 100%;
max-height: 100%;
align-self: stretch;
background: var(--surface);
border-right: 1px solid var(--border);
transition: width .22s ease;
overflow: hidden;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: column;
}
.nav-pane.open { width: 240px; }
.nav-handle {
position: absolute;
top: 8px;
left: 50%;
transform: translateX(-50%);
width: 40px;
height: 40px;
transition: left .22s ease, transform .22s ease;
padding: 0;
border: none;
border-radius: 10px;
cursor: pointer;
background: transparent;
color: var(--muted);
display: flex;
align-items: center;
justify-content: center;
transition: background .15s ease, color .15s ease;
}
.nav-handle:hover,
.nav-handle:focus-visible {
background: rgba(61, 139, 253, .15);
color: var(--text);
outline: none;
}
.nav-pane.open .nav-handle {
left: 8px;
transform: none;
}
.nav-list {
list-style: none;
margin: 56px 0 0;
padding: 0 8px;
flex: 1 1 auto;
min-height: 0;
overflow-y: auto;
}
.nav-list li { margin: 6px 0; }
.nav-link {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
margin: 0 auto;
padding: 0;
border-radius: 10px;
color: var(--muted);
text-decoration: none;
transition: background .15s ease, color .15s ease, width .22s ease, padding .22s ease;
}
.nav-pane.open .nav-link {
width: 100%;
height: auto;
min-height: 40px;
margin: 0;
padding: 8px 12px;
justify-content: flex-start;
align-items: flex-start;
gap: 10px;
}
.nav-pane.open .nav-link > .nav-icon {
flex-shrink: 0;
margin-top: 2px;
}
.nav-link.active,
.nav-link:hover {
background: rgba(61, 139, 253, .22);
color: var(--accent);
text-decoration: none;
}
.nav-text {
display: flex;
flex-direction: column;
gap: 2px;
min-width: 0;
flex: 1 1 auto;
opacity: 0;
max-width: 0;
overflow: hidden;
transition: opacity .18s ease, max-width .22s ease;
}
.nav-pane.open .nav-text {
opacity: 1;
max-width: 11rem;
transition-delay: .06s;
}
.nav-label {
flex: 0 1 auto;
min-width: 0;
font-size: 14px;
font-weight: 500;
line-height: 1.2;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.nav-desc {
display: none;
font-size: 11px;
font-weight: 400;
line-height: 1.25;
color: var(--muted);
white-space: normal;
overflow: hidden;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.nav-pane.open .nav-desc {
display: -webkit-box;
}
.nav-link > .nav-label {
opacity: 0;
max-width: 0;
transition: opacity .18s ease, max-width .22s ease;
}
.nav-pane.open .nav-link > .nav-label {
opacity: 1;
max-width: 9rem;
transition-delay: .06s;
}
.nav-text .nav-label {
opacity: 1;
max-width: none;
transition: none;
}
.nav-handle.is-dragging {
cursor: grabbing;
}
@media (prefers-reduced-motion: reduce) {
.nav-pane,
.nav-link,
.nav-label,
.nav-text,
.locale-code {
transition: none;
}
.nav-pane.open .nav-link > .nav-label,
.nav-pane.open .nav-text,
.nav-pane.open .locale-code {
transition-delay: 0s;
}
}
.nav-icon {
display: block;
flex-shrink: 0;
position: relative;
box-sizing: border-box;
}
/* Hamburger (nav handle) */
.nav-icon--menu {
width: 18px;
height: 2px;
background: currentColor;
border-radius: 1px;
box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}
/* House */
.nav-icon--home {
width: 18px;
height: 16px;
}
.nav-icon--home::before {
content: "";
position: absolute;
left: 50%;
top: 0;
transform: translateX(-50%);
border-left: 9px solid transparent;
border-right: 9px solid transparent;
border-bottom: 7px solid currentColor;
}
.nav-icon--home::after {
content: "";
position: absolute;
left: 3px;
bottom: 0;
width: 12px;
height: 9px;
border: 2px solid currentColor;
border-top: none;
border-radius: 0 0 2px 2px;
box-sizing: border-box;
}
/* Stacked reports */
.nav-icon--reports {
width: 16px;
height: 18px;
border: 2px solid currentColor;
border-radius: 3px;
}
.nav-icon--reports::before,
.nav-icon--reports::after {
content: "";
position: absolute;
left: 3px;
right: 3px;
height: 2px;
background: currentColor;
border-radius: 1px;
}
.nav-icon--reports::before { top: 5px; }
.nav-icon--reports::after { top: 10px; width: 70%; }
/* Task ticket — clipboard + check (distinct from stacked “reports” document) */
.nav-icon--tickets {
width: 14px;
height: 16px;
margin-top: 2px;
border: 2px solid currentColor;
border-top: none;
border-radius: 0 0 4px 4px;
box-sizing: border-box;
}
.nav-icon--tickets::before {
content: "";
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 9px;
height: 5px;
border: 2px solid currentColor;
border-bottom: none;
border-radius: 3px 3px 0 0;
box-sizing: border-box;
background: var(--surface);
}
.nav-icon--tickets::after {
content: "";
position: absolute;
left: 3px;
bottom: 3px;
width: 6px;
height: 4px;
border-left: 2px solid currentColor;
border-bottom: 2px solid currentColor;
transform: rotate(-45deg);
transform-origin: left bottom;
box-sizing: border-box;
}
.nav-icon--graphs {
width: 16px;
height: 16px;
border-left: 2px solid currentColor;
border-bottom: 2px solid currentColor;
}
.nav-icon--graphs::before,
.nav-icon--graphs::after {
content: "";
position: absolute;
bottom: 0;
width: 3px;
background: currentColor;
border-radius: 1px 1px 0 0;
}
.nav-icon--graphs::before {
left: 4px;
height: 8px;
}
.nav-icon--graphs::after {
left: 10px;
height: 12px;
}
.nav-icon--monitor {
width: 16px;
height: 16px;
border: 2px solid currentColor;
border-radius: 50%;
}
.nav-icon--monitor::before {
content: "";
position: absolute;
left: 50%;
top: 50%;
width: 2px;
height: 5px;
margin-left: -1px;
margin-top: -5px;
background: currentColor;
transform-origin: bottom center;
transform: rotate(-45deg);
border-radius: 1px;
}
.nav-icon--monitor::after {
content: "";
position: absolute;
left: 50%;
bottom: 2px;
width: 3px;
height: 3px;
margin-left: -1.5px;
background: currentColor;
border-radius: 50%;
}
.ticket-col-issue { min-width: 200px; max-width: 420px; }
.ticket-issue-title { font-weight: 600; }
.ticket-issue-brief { font-size: 0.88em; margin-top: 4px; }
.ticket-col-env { font-size: 0.9em; max-width: 220px; }
.assignee-editor { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.assignee-pill {
display: inline-flex; align-items: center; gap: 6px;
padding: 4px 10px; border-radius: 999px; background: var(--surface-2, #2a3344);
font-size: 0.9rem;
}
.assignee-remove {
border: none; background: transparent; color: var(--muted, #94a3b8);
cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 0 2px;
}
.assignee-add-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ticket-attachments { margin-top: 24px; }
.ticket-attachment-list { list-style: none; padding: 0; margin: 0 0 16px; }
.ticket-attachment {
display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
padding: 10px 12px; margin-bottom: 8px; border-radius: 8px;
background: var(--surface-2, #1e293b);
}
.attachment-provider {
font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em;
color: var(--muted, #94a3b8);
}
.ticket-attachment-add {
display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
@media (max-width: 720px) {
.ticket-attachment-add { grid-template-columns: 1fr; }
}
.btn-small { padding: 2px 8px; font-size: 0.85rem; min-height: auto; }
.ticket-comments { margin-top: 24px; }
.ticket-comment-list { list-style: none; padding: 0; margin: 0 0 16px; }
.ticket-comment {
padding: 12px 14px; margin-bottom: 10px; border-radius: 8px;
background: var(--surface-2, #1e293b);
}
.ticket-comment-meta { margin-bottom: 8px; display: flex; gap: 10px; flex-wrap: wrap; }
.ticket-comment-body {
margin: 0; white-space: pre-wrap; font-family: inherit; font-size: 0.95rem;
background: transparent; border: none; padding: 0;
}
.ticket-edit-form { display: grid; grid-template-columns: 1fr min(320px, 100%); gap: 16px; align-items: start; }
.ticket-edit-form .card--wide { grid-column: 1 / -1; }
@media (min-width: 900px) {
.ticket-edit-form { grid-template-columns: 1fr 280px; }
.ticket-edit-form .card--wide { grid-column: 1; grid-row: 1 / span 2; }
}
.ticket-field { display: block; margin-bottom: 12px; }
.ticket-field span { display: block; font-size: 0.85em; color: var(--muted); margin-bottom: 4px; }
.ticket-field input,
.ticket-field textarea,
.ticket-field select {
width: 100%;
box-sizing: border-box;
padding: 8px 10px;
border-radius: 6px;
border: 1px solid var(--border);
background: var(--surface);
color: var(--text);
}
.ticket-body { white-space: pre-wrap; word-break: break-word; }
/* User */
.nav-icon--user {
width: 18px;
height: 18px;
}
.nav-icon--user::before {
content: "";
position: absolute;
top: 1px;
left: 50%;
transform: translateX(-50%);
width: 8px;
height: 8px;
border: 2px solid currentColor;
border-radius: 50%;
box-sizing: border-box;
}
.nav-icon--user::after {
content: "";
position: absolute;
left: 2px;
right: 2px;
bottom: 0;
height: 7px;
border: 2px solid currentColor;
border-top: none;
border-radius: 8px 8px 3px 3px;
box-sizing: border-box;
}
/* Logout — door + arrow */
.nav-icon--logout {
width: 18px;
height: 16px;
}
.nav-icon--logout::before {
content: "";
position: absolute;
left: 0;
top: 1px;
width: 10px;
height: 14px;
border: 2px solid currentColor;
border-right: none;
border-radius: 2px 0 0 2px;
box-sizing: border-box;
}
.nav-icon--logout::after {
content: "";
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
width: 0;
height: 0;
border-top: 4px solid transparent;
border-bottom: 4px solid transparent;
border-left: 7px solid currentColor;
}
.nav-user {
position: static;
flex-shrink: 0;
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
color: var(--muted);
padding: 8px 8px 10px;
box-sizing: border-box;
}
.nav-pane.open .nav-user {
align-items: stretch;
padding: 0 10px;
}
.nav-user-name {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
color: var(--muted);
gap: 10px;
}
.nav-pane.open .nav-user-name {
width: 100%;
padding: 0 12px;
justify-content: flex-start;
box-sizing: border-box;
}
.nav-pane.open .nav-link--logout {
width: 100%;
margin: 0;
padding: 0 12px;
justify-content: flex-start;
gap: 10px;
}
.nav-link--logout { color: var(--muted); }
.nav-link--logout:hover { color: var(--danger); background: rgba(248, 113, 113, .12); }
.main-pane {
flex: 1 1 auto;
min-height: 0;
min-width: 0;
max-width: 100%;
height: 100%;
overflow-x: hidden;
overflow-y: auto;
padding: 24px 28px;
box-sizing: border-box;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
-ms-overflow-style: none;
}
.main-pane::-webkit-scrollbar {
display: none;
width: 0;
height: 0;
}
body { --footer-h: 40px; }
.bottom-bar {
position: fixed;
left: 0;
right: 0;
bottom: 0;
flex-shrink: 0;
height: var(--footer-h);
border-top: 1px solid var(--border);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 16px;
font-size: 12px;
color: var(--muted);
background: var(--surface);
z-index: 40;
pointer-events: none;
}
.bottom-bar a,
.bottom-bar button,
.bottom-bar input,
.bottom-bar select,
.bottom-bar textarea {
pointer-events: auto;
}
.bottom-bar.platform-footer {
height: var(--footer-h);
min-height: var(--footer-h);
max-height: var(--footer-h);
overflow: hidden;
}
.platform-footer {
flex-direction: column;
align-items: stretch;
justify-content: center;
min-height: var(--footer-h);
padding: 6px 16px;
gap: 4px;
}
.platform-footer__top,
.platform-footer__bottom {
width: 100%;
text-align: center;
line-height: 1.35;
}
.platform-footer__main {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
width: 100%;
min-height: 24px;
}
.platform-footer--single-row .platform-footer__main {
justify-content: flex-start;
}
.platform-footer__left {
flex: 1 1 auto;
min-width: 0;
}
.platform-footer__right {
flex: 0 0 auto;
text-align: right;
max-width: 50%;
}
.login-page {
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
min-height: 100dvh;
padding: 3rem 16px calc(var(--footer-h, 40px) + 1.5rem);
box-sizing: border-box;
position: relative;
isolation: isolate;
z-index: 0;
}
.login-page .login-card {
position: relative;
z-index: 100;
pointer-events: auto;
}
.login-page .login-locale {
z-index: 101;
pointer-events: auto;
}
.login-page .bottom-bar {
z-index: 50;
}
.login-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 12px;
padding: 32px;
width: min(400px, 92vw);
display: flex;
flex-direction: column;
gap: 12px;
}
.login-card input {
width: 100%;
padding: 10px;
border-radius: 8px;
border: 1px solid var(--border);
background: var(--bg);
color: var(--text);
}
.login-card button {
padding: 12px;
border: 1px solid var(--accent);
border-radius: 8px;
background: var(--accent);
color: #fff;
font-weight: 600;
cursor: pointer;
box-shadow:
0 0 0 1px rgba(61, 139, 253, .25),
0 4px 14px rgba(0, 0, 0, .3),
0 0 20px rgba(61, 139, 253, .35);
transition: box-shadow .18s ease, filter .18s ease, transform .12s ease;
}
.login-card button:hover,
.login-card button:focus-visible {
filter: brightness(1.08);
box-shadow:
0 0 0 1px rgba(61, 139, 253, .55),
0 6px 18px rgba(0, 0, 0, .34),
0 0 28px rgba(61, 139, 253, .48);
outline: none;
}
.toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.btn {
display: inline-block;
padding: 8px 14px;
border-radius: 8px;
border: 1px solid var(--border);
margin-left: 8px;
cursor: pointer;
background: var(--surface);
color: var(--text);
text-decoration: none;
font: inherit;
line-height: 1.25;
box-shadow:
0 0 0 1px rgba(61, 139, 253, .12),
0 2px 10px rgba(0, 0, 0, .28),
0 0 18px rgba(61, 139, 253, .08);
transition:
border-color .18s ease,
box-shadow .18s ease,
transform .12s ease,
filter .18s ease,
background .18s ease;
}
[data-theme="light"] .btn {
box-shadow:
0 0 0 1px rgba(37, 99, 235, .14),
0 2px 8px rgba(15, 23, 42, .12),
0 0 16px rgba(37, 99, 235, .1);
}
.btn:hover,
.btn:focus-visible {
border-color: var(--accent);
text-decoration: none;
box-shadow:
0 0 0 1px rgba(61, 139, 253, .45),
0 4px 16px rgba(0, 0, 0, .32),
0 0 22px rgba(61, 139, 253, .38);
outline: none;
}
[data-theme="light"] .btn:hover,
[data-theme="light"] .btn:focus-visible {
box-shadow:
0 0 0 1px rgba(37, 99, 235, .5),
0 4px 14px rgba(15, 23, 42, .16),
0 0 20px rgba(37, 99, 235, .28);
}
.btn:active {
transform: translateY(1px);
}
.btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn:disabled,
.btn[aria-disabled="true"] {
opacity: .55;
cursor: not-allowed;
box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}
.data-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14px; }
.data-table th, .data-table td { border-bottom: 1px solid var(--border); padding: 10px 8px; text-align: left; }
.reports-tree .report-tree-head { width: 2.5rem; padding: 0; }
.reports-tree .report-tree-cell {
width: 2.5rem;
padding: 6px 4px;
vertical-align: middle;
}
.report-tree-toggle {
display: flex;
align-items: center;
justify-content: center;
width: 2rem;
height: 2rem;
margin: 0;
padding: 0;
border: none;
border-radius: 6px;
background: transparent;
color: var(--muted);
cursor: pointer;
transition: background .12s ease, color .12s ease;
}
.report-tree-toggle:hover,
.report-tree-toggle:focus-visible {
background: rgba(61, 139, 253, .18);
color: var(--accent);
outline: none;
}
.report-tree-arrow {
display: block;
width: 0;
height: 0;
border-top: 5px solid transparent;
border-bottom: 5px solid transparent;
border-left: 7px solid currentColor;
transition: transform .18s ease;
}
.report-tree-toggle[aria-expanded="true"] .report-tree-arrow {
transform: rotate(90deg);
}
.report-row {
transition: background .12s ease;
}
.report-row--nav { cursor: pointer; }
.report-row:hover,
.report-row:focus-within,
.report-brief-panel--nav:hover,
.report-brief-panel--nav:focus-within {
background: var(--row-hover);
}
.report-row.report-row--open {
background: var(--row-open);
}
.report-brief-panel--nav {
cursor: pointer;
border-radius: 0 8px 8px 0;
margin: 0;
padding: 0;
}
.report-brief-panel--nav:focus {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.report-brief-row[hidden] { display: none; }
.report-brief-cell {
padding: 0 12px 12px 2.75rem !important;
border-bottom: 1px solid var(--border);
background: var(--surface2);
}
.report-brief {
margin: 0;
padding: 10px 14px;
border-left: 3px solid var(--accent);
border-radius: 0 8px 8px 0;
font-size: 13px;
line-height: 1.45;
}
.report-brief p { margin: 0 0 6px; }
.report-brief p:last-child { margin-bottom: 0; }
.report-brief-hint { font-size: 12px; margin-top: 8px !important; }
.badge { background: var(--accent2); color: #042; padding: 2px 8px; border-radius: 999px; font-weight: 700; }
.stack { background: var(--surface2); padding: 16px; border-radius: 8px; overflow-x: auto; font-size: 13px; line-height: 1.5; }
.reports-toolbar .toolbar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.toolbar-select { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.nav-locale {
flex-shrink: 0;
margin-top: auto;
padding: 8px 10px 6px;
border-top: 1px solid var(--border);
}
.nav-locale .locale-toolbar-select {
width: 100%;
justify-content: center;
margin: 0;
}
.nav-pane.open .nav-locale .locale-toolbar-select {
justify-content: flex-start;
}
.locale-toolbar-select {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 13px;
color: var(--muted);
cursor: pointer;
}
.locale-toolbar-select .locale-flag {
flex-shrink: 0;
font-size: 1rem;
line-height: 1;
width: 1.25rem;
text-align: center;
user-select: none;
pointer-events: none;
}
.locale-toolbar-select select {
padding: 6px 8px;
border-radius: 6px;
border: 1px solid var(--border);
background: var(--bg);
color: var(--text);
font-size: 13px;
font-weight: 600;
cursor: pointer;
min-width: 4.5rem;
}
.nav-locale .locale-toolbar-select select {
flex: 1 1 auto;
min-width: 0;
max-width: 100%;
}
.login-locale {
position: fixed;
top: 12px;
right: 12px;
z-index: 5;
}
.login-page .login-card { margin-top: 2.5rem; }
.login-card input,
.login-card button,
.login-card textarea,
.login-card select {
pointer-events: auto;
}
.toolbar-select select {
padding: 6px 8px;
border-radius: 6px;
border: 1px solid var(--border);
background: var(--bg);
color: var(--text);
}
.reports-mode-btn { margin-left: 0; }
.reports-mode-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.reports-status { margin: 8px 0 0; min-height: 1.2em; }
.reports-table-wrap { overflow-x: auto; }
.reports-table--cols {
table-layout: fixed;
width: 100%;
}
.reports-table--cols th,
.reports-table--cols td {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
position: relative;
vertical-align: middle;
}
.reports-table--cols .col-tags,
.reports-table--cols .report-tags {
white-space: normal;
}
.th-inner {
display: flex;
align-items: center;
gap: 4px;
padding-right: 8px;
min-height: 1.5rem;
}
.data-table th.th-draggable {
cursor: grab;
user-select: none;
}
.data-table th.th-draggable:active {
cursor: grabbing;
}
.th-drag {
color: var(--muted);
font-size: 11px;
letter-spacing: -2px;
user-select: none;
flex-shrink: 0;
}
.th-label { flex: 1; min-width: 0; }
.th-draggable.th-dragging { opacity: .45; }
.th-draggable.th-dragging .th-label {
color: var(--accent);
font-weight: 600;
}
.data-table th.th-drop-target {
box-shadow: inset 0 -3px 0 var(--accent);
background: var(--row-hover);
}
.col-drag-ghost {
position: fixed;
top: -1000px;
left: -1000px;
z-index: 9999;
padding: 6px 12px;
border-radius: 8px;
background: var(--accent);
color: #fff;
font-size: 13px;
font-weight: 600;
box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
pointer-events: none;
white-space: nowrap;
}
.col-resizer {
position: absolute;
top: 0;
right: 0;
width: 7px;
height: 100%;
cursor: col-resize;
user-select: none;
z-index: 2;
}
.col-resizer:hover,
.col-resizer:active {
background: rgba(61, 139, 253, .35);
}
.report-tree-head .col-resizer { display: none; }
.reports-pagination { margin-top: 16px; }
.pagination-inner {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.page-btn:disabled { opacity: .45; cursor: not-allowed; }
.page-info { font-size: 13px; color: var(--muted); }
.data-table th.sortable {
cursor: pointer;
user-select: none;
white-space: nowrap;
}
.data-table th.sortable:hover { color: var(--accent); }
.data-table th.sortable--active { color: var(--accent); }
.sort-ind { display: inline-block; min-width: 1em; font-size: 11px; opacity: .85; }
.sort-idle { opacity: .35; }
.col-tags {
min-width: 6rem;
max-width: 11rem;
text-align: right;
vertical-align: middle;
}
.col-tags .report-tags {
display: flex;
flex-wrap: wrap;
gap: 4px;
justify-content: flex-end;
}
.data-table th.col-tags { text-align: right; }
.report-tag {
display: inline-block;
padding: 2px 8px;
border-radius: 999px;
font-size: 11px;
font-weight: 600;
line-height: 1.4;
color: #fff;
background: var(--tag-bg, #5c6b82);
}
button.report-tag--filter {
border: none;
cursor: pointer;
font: inherit;
color: inherit;
line-height: 1.3;
}
button.report-tag--filter:hover {
filter: brightness(1.12);
}
.reports-filter-banner {
margin: 8px 0 0;
padding: 10px 12px;
border-radius: 8px;
background: var(--surface2);
border: 1px solid var(--border);
}
.reports-filter-banner a { font-weight: 600; }
.reports-search-row {
display: flex;
flex-wrap: nowrap;
align-items: center;
justify-content: flex-end;
gap: 10px 12px;
width: 100%;
margin: 12px 0 8px;
box-sizing: border-box;
}
.reports-search-label {
font-size: 13px;
color: var(--muted);
flex: 0 0 auto;
margin: 0;
line-height: 1.2;
align-self: center;
}
.reports-search-field {
position: relative;
flex: 0 0 40%;
width: 40%;
max-width: 40%;
align-self: center;
}
.reports-search-row .btn {
flex: 0 0 auto;
align-self: center;
margin-left: 0;
}
.reports-search-input {
width: 100%;
padding: 10px 12px;
border-radius: 8px;
border: 1px solid var(--border);
background: var(--bg);
color: var(--text);
font-size: 14px;
}
.reports-search-input:focus {
outline: 2px solid var(--accent);
outline-offset: 1px;
}
.reports-search-suggest {
position: absolute;
z-index: 20;
left: 0;
right: 0;
top: calc(100% + 4px);
margin: 0;
padding: 4px 0;
list-style: none;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 8px;
box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
max-height: 240px;
overflow-y: auto;
}
.reports-search-suggest[hidden] { display: none; }
.suggest-item {
display: block;
width: 100%;
text-align: left;
padding: 8px 12px;
border: none;
background: transparent;
color: var(--text);
font-size: 13px;
cursor: pointer;
}
.suggest-item:hover,
.suggest-item:focus-visible {
background: var(--row-hover);
outline: none;
}
.stack-block-head {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 10px;
}
.stack-block-head h2 { margin: 0; }
.btn-similar {
margin-left: 0;
white-space: nowrap;
font-size: 13px;
}
.detail-filter-link {
color: var(--text);
text-decoration: none;
border-radius: 6px;
padding: 2px 4px;
margin: -2px -4px;
transition: background .12s ease, color .12s ease;
}
.detail-filter-link:hover,
.detail-filter-link:focus-visible {
background: var(--row-hover);
color: var(--accent);
outline: none;
}
.detail-filter-link--tag {
display: inline-block;
padding: 2px 8px;
margin: 0;
border-radius: 999px;
border: none;
font-size: 11px;
font-weight: 600;
line-height: 1.4;
color: #fff;
background: var(--tag-bg, #5c6b82);
}
.detail-filter-link--tag:hover,
.detail-filter-link--tag:focus-visible {
color: #fff;
background: var(--tag-bg, #5c6b82);
filter: brightness(1.12);
outline: none;
}
.detail-abi-row,
.detail-meta-row {
line-height: 1.8;
}
.detail-meta-row {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 6px;
}
.exc { color: var(--danger); font-weight: 600; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 20px 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 16px; }
.card canvas {
width: 100%;
max-width: 100%;
height: 180px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--surface2);
}
.cards--lift .card--lift {
transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cards--lift .card--lift:hover {
transform: translateY(-4px);
box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
border-color: var(--accent);
}
[data-theme="light"] .cards--lift .card--lift:hover {
box-shadow: 0 10px 22px rgba(26, 35, 50, .14);
}
.detail-header {
display: flex;
align-items: flex-start;
gap: 14px;
margin-bottom: 8px;
}
.back-link {
display: flex;
align-items: center;
justify-content: center;
width: 2.5rem;
height: 2.5rem;
border-radius: 10px;
border: 1px solid var(--border);
color: var(--text);
text-decoration: none;
flex-shrink: 0;
transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.back-link:hover {
background: var(--row-hover);
border-color: var(--accent);
color: var(--accent);
text-decoration: none;
}
.back-icon {
display: block;
width: 10px;
height: 10px;
margin-left: 3px;
border-left: 2px solid currentColor;
border-bottom: 2px solid currentColor;
transform: rotate(45deg);
}
.detail-tree {
margin-top: 20px;
border: 1px solid var(--border);
border-radius: 10px;
overflow: hidden;
}
.detail-tree-item + .detail-tree-item {
border-top: 1px solid var(--border);
}
.detail-tree-row {
display: flex;
align-items: stretch;
width: 100%;
cursor: pointer;
transition: background .12s ease;
}
.detail-tree-row:hover,
.detail-tree-row:focus-within,
.detail-tree-row.report-row--open {
background: var(--row-hover);
}
.detail-tree-caption {
flex: 1;
display: flex;
align-items: center;
padding: 10px 12px;
font-weight: 600;
}
.detail-tree-body {
padding: 0 14px 14px 2.75rem;
background: var(--surface2);
border-top: 1px solid var(--border);
}
.detail-tree-body[hidden] { display: none; }
.star-rating { display: inline-flex; gap: 2px; line-height: 1; }
.star {
width: 14px;
height: 14px;
clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
background: var(--border);
}
.star--on { background: #f59e0b; }
[data-theme="light"] .star--on { background: #d97706; }
.muted { color: var(--muted); }
.alert { background: rgba(248,113,113,.15); color: var(--danger); padding: 10px; border-radius: 8px; }
.alert--ok { background: rgba(52,211,153,.15); color: var(--ok, #34d399); }
.btn-primary {
background: var(--accent);
border-color: var(--accent);
color: #fff;
box-shadow:
0 0 0 1px rgba(61, 139, 253, .35),
0 3px 12px rgba(0, 0, 0, .3),
0 0 22px rgba(61, 139, 253, .32);
}
.btn-primary:hover,
.btn-primary:focus-visible {
filter: brightness(1.08);
box-shadow:
0 0 0 1px rgba(61, 139, 253, .6),
0 5px 18px rgba(0, 0, 0, .34),
0 0 30px rgba(61, 139, 253, .5);
}
.btn-danger {
background: rgba(248, 113, 113, .14);
border-color: var(--danger);
color: var(--danger);
box-shadow:
0 0 0 1px rgba(248, 113, 113, .28),
0 3px 12px rgba(0, 0, 0, .28),
0 0 18px rgba(248, 113, 113, .22);
}
[data-theme="light"] .btn-danger {
background: rgba(220, 38, 38, .08);
box-shadow:
0 0 0 1px rgba(220, 38, 38, .3),
0 3px 10px rgba(15, 23, 42, .12),
0 0 16px rgba(220, 38, 38, .18);
}
.btn-danger:hover,
.btn-danger:focus-visible {
background: rgba(248, 113, 113, .22);
box-shadow:
0 0 0 1px rgba(248, 113, 113, .55),
0 5px 16px rgba(0, 0, 0, .32),
0 0 26px rgba(248, 113, 113, .42);
}
.build-actions .toolbar-actions .btn,
.build-actions .toolbar-actions a.btn,
.build-log-actions .btn,
.build-log-actions a.btn {
margin-left: 0;
}
.build-ssh-panel {
margin-top: 12px;
padding: 12px 14px;
border-radius: 8px;
border: 1px solid var(--accent);
background: rgba(61, 139, 253, .08);
box-shadow: 0 0 18px rgba(61, 139, 253, .15);
}
.build-ssh-panel pre {
margin: 8px 0 0;
padding: 10px 12px;
background: var(--surface2);
border-radius: 6px;
overflow-x: auto;
font-size: 13px;
}
/* Builder status glyphs (list + detail) */
.build-status-line,
.build-status-cell-inner {
display: inline-flex;
align-items: center;
gap: 8px;
vertical-align: middle;
}
.build-status-icon {
flex-shrink: 0;
display: inline-flex;
align-items: center;
justify-content: center;
}
.build-status-spinner {
display: block;
width: 15px;
height: 15px;
border: 2px solid rgba(61, 139, 253, .22);
border-top-color: var(--accent);
border-radius: 50%;
animation: build-status-spin .85s linear infinite;
box-shadow: 0 0 10px rgba(61, 139, 253, .35);
}
[data-theme="light"] .build-status-spinner {
border-color: rgba(37, 99, 235, .18);
border-top-color: var(--accent);
box-shadow: 0 0 8px rgba(37, 99, 235, .28);
}
@keyframes build-status-spin {
to { transform: rotate(360deg); }
}
.build-status-icon--passed {
width: 17px;
height: 17px;
border-radius: 50%;
background: linear-gradient(145deg, #34d399, #16a34a);
box-shadow:
0 0 0 1px rgba(34, 197, 94, .45),
0 0 12px rgba(34, 197, 94, .4);
position: relative;
}
.build-status-icon--passed::after {
content: '';
position: absolute;
left: 5px;
top: 3px;
width: 4px;
height: 7px;
border: solid #fff;
border-width: 0 2px 2px 0;
transform: rotate(45deg);
}
.build-status-icon--failed {
width: 18px;
height: 16px;
position: relative;
clip-path: polygon(50% 0%, 6% 92%, 94% 92%);
background: linear-gradient(180deg, #fb7185, var(--danger));
box-shadow: 0 0 12px rgba(248, 113, 113, .45);
}
.build-status-fail-mark {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
padding-top: 5px;
font-size: 11px;
font-weight: 800;
line-height: 1;
color: #fff;
text-shadow: 0 1px 0 rgba(0, 0, 0, .25);
pointer-events: none;
}
.build-col-controls { width: 4.5rem; }
.build-row-controls { vertical-align: middle; }
.build-transport-actions {
display: inline-flex;
align-items: center;
gap: 6px;
}
.build-transport-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 30px;
height: 30px;
padding: 0;
border-radius: 50%;
border: 1px solid var(--border);
background: var(--surface);
cursor: pointer;
box-shadow:
0 0 0 1px rgba(61, 139, 253, .12),
0 2px 8px rgba(0, 0, 0, .25),
0 0 14px rgba(61, 139, 253, .1);
transition: box-shadow .18s ease, border-color .18s ease, transform .12s ease;
}
.build-transport-btn:hover:not(:disabled),
.build-transport-btn:focus-visible:not(:disabled) {
border-color: var(--accent);
box-shadow:
0 0 0 1px rgba(61, 139, 253, .45),
0 0 18px rgba(61, 139, 253, .35);
outline: none;
}
.build-transport-btn:active:not(:disabled) { transform: translateY(1px); }
.build-transport-btn:disabled {
opacity: .35;
cursor: not-allowed;
box-shadow: none;
}
.build-transport-play::before {
content: '';
display: block;
width: 0;
height: 0;
margin-left: 3px;
border-top: 6px solid transparent;
border-bottom: 6px solid transparent;
border-left: 10px solid var(--accent);
filter: drop-shadow(0 0 4px rgba(61, 139, 253, .45));
}
.build-transport-stop {
border-color: rgba(248, 113, 113, .55);
box-shadow:
0 0 0 1px rgba(248, 113, 113, .25),
0 2px 8px rgba(0, 0, 0, .25),
0 0 12px rgba(248, 113, 113, .18);
}
.build-transport-stop::before {
content: '';
display: block;
width: 9px;
height: 9px;
border-radius: 2px;
background: var(--danger);
box-shadow: 0 0 8px rgba(248, 113, 113, .55);
}
.tag-edit-btn {
flex-shrink: 0;
margin-left: 2px;
padding: 0 5px;
border: none;
border-radius: 6px;
background: transparent;
color: var(--muted);
font-size: 13px;
line-height: 1.2;
cursor: pointer;
vertical-align: middle;
}
.tag-edit-btn:hover,
.tag-edit-btn:focus-visible {
background: rgba(61, 139, 253, .2);
color: var(--accent);
outline: none;
}
.tag-editor {
margin: 20px 0 24px;
padding: 16px 18px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 10px;
}
.tag-editor-head h2 { margin: 0 0 4px; font-size: 1.1rem; }
.tag-editor-hint { margin: 0 0 12px; font-size: 13px; }
.tag-editor-preview {
display: flex;
flex-wrap: wrap;
gap: 6px;
min-height: 1.5rem;
margin-bottom: 12px;
}
.tag-editor-list {
list-style: none;
margin: 0 0 12px;
padding: 0;
}
.tag-editor-item {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 10px;
padding: 8px 0;
border-bottom: 1px solid var(--border);
}
.tag-editor-item:last-child { border-bottom: none; }
.tag-color-edit {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 12px;
color: var(--muted);
}
.tag-color-edit input[type="color"] {
width: 2rem;
height: 1.6rem;
padding: 0;
border: 1px solid var(--border);
border-radius: 4px;
cursor: pointer;
}
.tag-editor-add {
display: flex;
flex-wrap: wrap;
align-items: flex-end;
gap: 10px 14px;
margin-bottom: 12px;
}
.tag-field {
display: flex;
flex-direction: column;
gap: 4px;
font-size: 12px;
color: var(--muted);
}
.tag-field input[type="text"] {
padding: 8px 10px;
border-radius: 6px;
border: 1px solid var(--border);
background: var(--bg);
color: var(--text);
min-width: 10rem;
}
.tag-editor-actions {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 12px;
}
.tag-editor-status--err { color: var(--danger); }
.tag-preset-bar {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
margin-bottom: 12px;
font-size: 13px;
}
.tag-preset-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-preset-chip {
padding: 4px 10px;
border: 1px solid var(--border);
border-radius: 999px;
font-size: 12px;
font-weight: 600;
color: #fff;
background: var(--tag-bg, #5c6b82);
cursor: pointer;
}
.tag-preset-chip:hover { filter: brightness(1.12); }
.tag-preset-group {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
margin-bottom: 8px;
}
.tag-preset-group:last-child { margin-bottom: 0; }
.tag-preset-group-label { font-size: 12px; min-width: 5.5rem; }
.tag-filter-bar {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 10px;
margin: 0 0 12px;
padding: 10px 12px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--surface-2, rgba(255, 255, 255, .03));
}
.tag-filter-label { font-size: 13px; }
.tag-filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-filter-chip {
display: inline-block;
padding: 4px 12px;
border-radius: 999px;
font-size: 12px;
font-weight: 600;
color: #fff;
background: var(--tag-bg, #5c6b82);
text-decoration: none;
border: 2px solid transparent;
opacity: 0.72;
}
.tag-filter-chip:hover { filter: brightness(1.1); opacity: 1; }
.tag-filter-chip--active {
opacity: 1;
border-color: var(--accent, #3d8bfd);
box-shadow: 0 0 0 1px var(--accent, #3d8bfd);
}
.tag-mode-select-wrap { margin-left: auto; }
.report-tag {
position: relative;
padding-right: 8px;
}
.report-tag .tag-remove {
margin-left: 4px;
padding: 0 3px;
border: none;
border-radius: 4px;
background: rgba(0, 0, 0, .25);
color: #fff;
font-size: 14px;
line-height: 1;
cursor: pointer;
vertical-align: middle;
}
.report-tag .tag-remove:hover { background: rgba(0, 0, 0, .45); }
.tag-modal {
position: fixed;
inset: 0;
z-index: 1000;
display: flex;
align-items: center;
justify-content: center;
padding: 16px;
}
.tag-modal[hidden] {
display: none !important;
pointer-events: none !important;
}
.tag-modal-backdrop {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, .55);
pointer-events: auto;
}
.tag-modal[hidden] .tag-modal-backdrop {
pointer-events: none;
}
.tag-modal-panel {
position: relative;
width: min(420px, 100%);
max-height: 90vh;
overflow-y: auto;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 12px;
box-shadow: 0 16px 48px rgba(0, 0, 0, .4);
}
.tag-modal-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 16px;
border-bottom: 1px solid var(--border);
}
.tag-modal-header h2 { margin: 0; font-size: 1.05rem; }
.tag-modal-close {
border: none;
background: transparent;
color: var(--muted);
font-size: 1.4rem;
line-height: 1;
cursor: pointer;
padding: 4px 8px;
border-radius: 6px;
}
.tag-modal-close:hover { color: var(--text); background: var(--row-hover); }
.tag-editor--modal { margin: 0; border: none; border-radius: 0; }
.console-home-intro {
margin: 0 0 20px;
color: var(--muted);
max-width: 42rem;
line-height: 1.5;
}
.console-home-cards {
margin: 0 0 28px;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.console-home-card {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 8px;
text-decoration: none;
color: var(--text);
cursor: pointer;
font: inherit;
text-align: left;
width: 100%;
}
.console-home-card--btn {
border: 1px solid var(--border);
background: var(--surface);
}
.console-home-card h2 {
margin: 0;
font-size: 1.05rem;
font-weight: 600;
}
.console-home-card p {
margin: 0;
font-size: 0.88rem;
line-height: 1.45;
}
.console-home-card .nav-icon {
opacity: 0.9;
}
.console-home-more {
margin: 8px 0 12px;
font-size: 0.95rem;
font-weight: 600;
color: var(--muted);
}
.graphs-app .graphs-quick-links,
.console-quick-links {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin: 0 0 12px;
align-items: center;
}
.console-quick-link {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 6px 12px;
border-radius: 8px;
text-decoration: none;
color: var(--text);
background: var(--surface-2, rgba(255, 255, 255, 0.06));
font-size: 0.9rem;
line-height: 1.2;
border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}
.console-quick-link:hover {
background: var(--row-hover, rgba(255, 255, 255, 0.1));
color: var(--text);
}
.console-quick-link .nav-icon {
flex-shrink: 0;
}
.nav-icon--git {
width: 18px;
height: 18px;
}
.nav-icon--git::before {
content: "";
position: absolute;
left: 2px;
top: 2px;
width: 7px;
height: 7px;
border: 2px solid currentColor;
border-radius: 50%;
box-sizing: border-box;
}
.nav-icon--git::after {
content: "";
position: absolute;
left: 8px;
top: 5px;
width: 10px;
height: 10px;
border: 2px solid currentColor;
border-left: none;
border-bottom: none;
border-radius: 0 6px 0 0;
box-sizing: border-box;
}
.nav-icon--builder {
width: 18px;
height: 18px;
border: 2px solid currentColor;
border-radius: 3px;
box-sizing: border-box;
position: relative;
}
.nav-icon--builder::before {
content: "";
position: absolute;
left: 3px;
top: 7px;
width: 10px;
height: 2px;
background: currentColor;
box-shadow: 0 -4px 0 currentColor, 0 4px 0 currentColor;
}
.nav-icon--remote {
width: 18px;
height: 18px;
}
.nav-icon--remote::before {
content: "";
position: absolute;
left: 2px;
top: 8px;
width: 14px;
height: 2px;
background: currentColor;
border-radius: 1px;
}
.nav-icon--remote::after {
content: "";
position: absolute;
left: 5px;
top: 3px;
width: 8px;
height: 8px;
border: 2px solid currentColor;
border-radius: 2px;
box-sizing: border-box;
}
.nav-icon--link {
width: 18px;
height: 18px;
}
.nav-icon--link::before {
content: "";
position: absolute;
left: 1px;
top: 9px;
width: 10px;
height: 10px;
border: 2px solid currentColor;
border-radius: 3px;
transform: rotate(-45deg);
box-sizing: border-box;
}
.nav-icon--link::after {
content: "";
position: absolute;
left: 8px;
top: 2px;
width: 10px;
height: 10px;
border: 2px solid currentColor;
border-radius: 3px;
transform: rotate(-45deg);
box-sizing: border-box;
}
.tag-field--wide {
flex: 1 1 280px;
min-width: 200px;
}
.tag-field--wide input {
width: 100%;
}
.tag-field--check span {
display: flex;
align-items: center;
gap: 0.35rem;
white-space: nowrap;
}
.tag-field--check input[type="checkbox"] {
width: auto;
margin: 0;
}
.graph-quick-link { font-size: 0.9rem; }
.graphs-scope { margin-top: 20px; }
.graphs-scope-title {
margin: 0 0 12px;
font-size: 1.05rem;
font-weight: 600;
color: var(--text);
}
.graphs-app .graphs-grid {
display: grid;
grid-template-columns: repeat(var(--graphs-columns, 2), minmax(0, 1fr));
gap: 16px;
width: 100%;
}
.graphs-grid .card.card--lift.graph-brick--clickable {
cursor: pointer;
min-height: 12rem;
transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.graphs-grid .card.card--lift.graph-brick--clickable:hover,
.graphs-grid .card.card--lift.graph-brick--clickable:focus-visible {
box-shadow: 0 0 0 1px var(--accent, #3d8bfd);
outline: none;
}
.graphs-grid .card.card--lift.graph-brick--clickable h3::after {
content: " ↗";
font-size: 0.75em;
color: var(--muted, #94a3b8);
font-weight: 400;
}
.graphs-grid .card.card--lift.graph-brick--empty {
display: none;
}
.graphs-grid .card.card--lift.graph-brick--dragging {
opacity: 0.55;
outline: 2px dashed var(--accent);
}
.graphs-grid .card.card--lift h3.graph-brick-head {
display: flex;
align-items: center;
gap: 8px;
}
.graphs-session-notice {
margin: 0 0 12px;
padding: 10px 14px;
border-radius: 8px;
border: 1px solid rgba(245, 158, 11, 0.45);
background: rgba(245, 158, 11, 0.12);
color: var(--text);
font-size: 0.9rem;
line-height: 1.45;
}
.graphs-session-notice[hidden] {
display: none;
}
.graph-brick-drag-handle {
flex-shrink: 0;
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
margin: -2px 0;
padding: 0;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--surface2);
color: var(--text);
font: inherit;
line-height: 1;
cursor: grab;
user-select: none;
touch-action: none;
}
.graph-brick-drag-handle:hover {
border-color: var(--accent);
color: var(--accent);
background: var(--row-hover);
}
.graph-brick-drag-handle:active {
cursor: grabbing;
}
.graph-brick-drag-grip {
font-size: 12px;
letter-spacing: -2px;
pointer-events: none;
}
.graph-brick-tip {
position: absolute;
z-index: 2;
margin: 0;
padding: 4px 8px;
border-radius: 6px;
background: var(--surface2);
border: 1px solid var(--border);
font-size: 0.8rem;
pointer-events: none;
white-space: nowrap;
}
.ticket-create-dialog {
border: 1px solid var(--border);
border-radius: 12px;
padding: 0;
margin: auto;
max-width: 36rem;
width: calc(100% - 32px);
background: var(--surface);
color: var(--text);
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}
.ticket-create-dialog::backdrop {
background: rgba(8, 12, 20, 0.72);
}
.ticket-create-form {
display: flex;
flex-direction: column;
margin: 0;
}
.ticket-create-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 14px 18px;
border-bottom: 1px solid var(--border);
}
.ticket-create-header h2 {
margin: 0;
font-size: 1.05rem;
font-weight: 600;
}
.ticket-create-close {
border: none;
background: transparent;
color: var(--muted);
font-size: 1.4rem;
line-height: 1;
padding: 4px 8px;
border-radius: 8px;
cursor: pointer;
}
.ticket-create-close:hover {
color: var(--text);
background: var(--row-hover);
}
.ticket-create-body {
display: flex;
flex-direction: column;
gap: 12px;
padding: 16px 18px;
}
.ticket-create-body label {
display: flex;
flex-direction: column;
gap: 6px;
font-size: 0.9rem;
color: var(--muted);
}
.ticket-create-body input,
.ticket-create-body textarea {
width: 100%;
padding: 10px 12px;
border-radius: 8px;
border: 1px solid var(--border);
background: var(--bg);
color: var(--text);
font: inherit;
}
.ticket-create-footer {
padding: 12px 18px 16px;
border-top: 1px solid var(--border);
}
.ticket-create-actions {
display: flex;
gap: 8px;
justify-content: flex-end;
margin-top: 8px;
}
.graphs-grid canvas { width: 100%; height: auto; max-width: 100%; min-height: 120px; }
.graph-detail-overlay {
position: fixed;
inset: 0;
z-index: 2000;
background: rgba(8, 12, 20, 0.92);
display: flex;
flex-direction: column;
pointer-events: auto;
}
.graph-detail-overlay[hidden] {
display: none !important;
pointer-events: none !important;
}
.graph-detail-panel {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
max-height: 100vh;
background: var(--bg, #0f1419);
}
.graph-detail-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 12px 20px;
border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.1));
flex-shrink: 0;
}
.graph-detail-header-text {
flex: 1;
min-width: 0;
}
.graph-detail-header h2 {
margin: 0;
font-size: 1.15rem;
font-weight: 600;
}
.graph-detail-stats {
margin: 4px 0 0;
font-size: 0.88rem;
}
.graph-detail-canvas-wrap {
position: relative;
flex: 1;
overflow: auto;
padding: 16px 20px 24px;
}
.graph-detail-canvas-wrap canvas {
display: block;
width: 100%;
max-width: 100%;
height: auto;
}
.graph-detail-body {
max-width: 960px;
}
.graph-detail-kpi {
font-size: 3rem;
}
.graph-detail-tooltip {
position: absolute;
z-index: 3;
margin: 0;
padding: 6px 10px;
border-radius: 6px;
background: var(--surface-2, #1e293b);
border: 1px solid var(--border, rgba(255, 255, 255, 0.15));
color: var(--text);
font-size: 0.85rem;
pointer-events: none;
white-space: nowrap;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.graph-detail-table {
font-size: 1rem;
max-width: 720px;
}
.graph-kpi {
font-size: 2rem;
font-weight: 700;
margin: 12px 0 0;
color: var(--accent, #3d8bfd);
}
.graph-breakdown { font-size: 0.92rem; }
.graph-breakdown-row {
display: flex;
justify-content: space-between;
gap: 12px;
padding: 6px 0;
border-bottom: 1px solid var(--border, rgba(255,255,255,0.08));
}
.graph-breakdown-row a { color: var(--accent, #3d8bfd); text-decoration: none; }
.graph-breakdown-row a:hover { text-decoration: underline; }
.graphs-footnote { margin-top: 20px; font-size: 0.88rem; }
.tag-pill {
display: inline-block;
padding: 2px 8px;
border-radius: 999px;
font-size: 0.78rem;
font-weight: 600;
background: rgba(61, 139, 253, .18);
color: var(--accent);
}
.tag-pill--warn {
background: rgba(245, 158, 11, .18);
color: #fbbf24;
}
[data-theme="light"] .tag-pill--warn {
color: #b45309;
}
.ra-device-row--needs-wl {
background: rgba(245, 158, 11, .06);
}
#ra-devices-table .report-row[data-device-id] {
cursor: pointer;
}
#ra-devices-table .col-actions,
#ra-devices-table .ra-device-actions {
white-space: nowrap;
}
.reports-table--cols .col-actions {
min-width: 160px;
}
.ra-device-actions {
white-space: nowrap;
}
.ra-detail-links {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 10px;
}
.ra-whitelist-hint {
max-width: 72ch;
line-height: 1.5;
}
/* Live cast pages */
.live-page {
min-height: 100vh;
background: var(--bg-shell, #0f1419);
}
.live-shell {
max-width: 880px;
margin: 0 auto;
padding: 24px 16px 48px;
}
.live-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 16px;
}
.live-brand {
font-weight: 600;
color: var(--text-primary, #e2e8f0);
text-decoration: none;
}
.live-card h1 {
margin-top: 0;
}
.live-meta-list {
list-style: none;
padding: 0;
margin: 12px 0;
}
.live-meta-list li {
padding: 4px 0;
color: var(--text-muted, #94a3b8);
}
.live-player-wrap,
.live-player-shell {
margin-top: 16px;
min-height: 200px;
border-radius: 12px;
background: rgba(15, 23, 42, 0.55);
padding: 16px;
}
.live-player-placeholder {
font-size: 1.1rem;
margin: 0 0 8px;
}
.live-preview {
width: 100%;
max-height: 360px;
border-radius: 10px;
background: #000;
margin: 12px 0;
}
.live-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 12px;
}
.live-timer-label {
font-variant-numeric: tabular-nums;
}
/* Cookie consent */
.cookie-consent {
position: fixed;
left: 0;
right: 0;
bottom: 0;
z-index: 1200;
padding: 12px;
pointer-events: none;
}
.cookie-consent-inner {
pointer-events: auto;
max-width: 720px;
margin: 0 auto;
padding: 16px 18px;
border-radius: 14px;
background: var(--card-bg, rgba(30, 41, 59, 0.96));
border: 1px solid rgba(148, 163, 184, 0.25);
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.cookie-consent-title {
margin: 0 0 6px;
font-weight: 600;
}
.cookie-consent-text {
margin: 0 0 12px;
font-size: 0.92rem;
line-height: 1.45;
}
.cookie-consent-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
/* Nav icons: live + education */
.nav-icon--live {
width: 18px;
height: 16px;
}
.nav-icon--education {
width: 18px;
height: 16px;
}
.nav-icon--live::before {
content: '';
position: absolute;
inset: 7px 11px 11px 7px;
border: 2px solid currentColor;
border-radius: 4px;
}
.nav-icon--live::after {
content: '';
position: absolute;
width: 8px;
height: 8px;
border-radius: 50%;
background: #34d399;
top: 6px;
right: 6px;
box-shadow: 0 0 0 2px var(--nav-bg, #111827);
}
.nav-icon--education::before {
content: '';
position: absolute;
left: 8px;
right: 8px;
bottom: 8px;
height: 10px;
border: 2px solid currentColor;
border-top: none;
border-radius: 0 0 4px 4px;
}
.nav-icon--education::after {
content: '';
position: absolute;
left: 10px;
right: 10px;
top: 8px;
height: 8px;
border: 2px solid currentColor;
border-radius: 8px 8px 0 0;
}
.tag-pill--ok {
background: rgba(52, 211, 153, 0.15);
color: #6ee7b7;
}
.twofa-qr-wrap {
margin: 12px 0 16px;
text-align: center;
}
.twofa-qr {
border-radius: 8px;
background: #fff;
padding: 6px;
}
.twofa-qr-wrap figcaption {
margin-top: 8px;
font-size: 0.88rem;
}
.live-share {
margin-top: 16px;
padding: 16px;
}
.live-share h2 {
margin: 0 0 8px;
font-size: 1.05rem;
}
.live-stats-nerds {
margin-top: 12px;
padding: 10px 12px;
border-radius: 8px;
background: rgba(15, 23, 42, 0.72);
border: 1px solid rgba(148, 163, 184, 0.25);
font-size: 0.78rem;
line-height: 1.45;
white-space: pre-wrap;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
[data-theme="light"] .live-stats-nerds {
background: rgba(241, 245, 249, 0.95);
border-color: rgba(100, 116, 139, 0.35);
}
.live-player-wrap video.live-preview {
width: 100%;
max-height: 60vh;
background: #000;
border-radius: 8px;
}
.platform-footer__left a {
color: var(--accent, #5b8def);
text-decoration: none;
}
.platform-footer__left a:hover,
.platform-footer__left a:focus-visible {
text-decoration: underline;
}