1764 lines
132 KiB
CSS
1764 lines
132 KiB
CSS
/* TeamsPeach — TeamSpeak 6 (6.0.0.5163) interface parity.
|
||
Every value below is taken from the installed official client: theme tokens from the webpack
|
||
theme modules in main.js (@92422 dark, @201685 light), scale tokens and component geometry
|
||
from main.css. The extracted map with offsets lives in docs/evidence/official-parity/.
|
||
Token names follow the official --tsv-* vocabulary so the two can be compared one to one.
|
||
Stock tokens stay at (0,1,0) specificity so local theme files can override them by order. */
|
||
|
||
@font-face {
|
||
font-family: "Noto Sans";
|
||
src: url("../assets/fonts/NotoSans-VF.ttf") format("truetype");
|
||
font-style: normal;
|
||
}
|
||
@font-face {
|
||
font-family: "Noto Sans";
|
||
src: url("../assets/fonts/NotoSans-Italic-VF.ttf") format("truetype");
|
||
font-style: italic;
|
||
}
|
||
@font-face {
|
||
font-family: "Noto Sans";
|
||
src: url("../assets/fonts/NotoSans-Italic-VF.ttf") format("truetype");
|
||
font-style: oblique;
|
||
}
|
||
|
||
/* ---------- tokens: scale (main.css :root, Medium window scale) ---------- */
|
||
:root {
|
||
color-scheme: dark;
|
||
--tsv-font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Fixed", "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
||
--tsv-font-family-monospace: Consolas, ui-monospace, monospace;
|
||
--tsv-font-size-title: 28px;
|
||
--tsv-font-size-title-small: 24px;
|
||
--tsv-font-size-large: 16px;
|
||
--tsv-font-size: 15px;
|
||
--tsv-font-size-content: 14px;
|
||
--tsv-font-size-small: 13px;
|
||
--tsv-font-size-minimal: 13px;
|
||
--tsv-line-height-title-small: 28px;
|
||
--tsv-line-height-large: 19px;
|
||
--tsv-line-height: 19px;
|
||
--tsv-line-height-content: 18px;
|
||
--tsv-line-height-small: 15px;
|
||
--tsv-line-height-minimal: 14px;
|
||
--tsv-font-weight-normal: 450;
|
||
--tsv-font-weight-semibold: 600;
|
||
--tsv-font-weight-bold: 700;
|
||
--tsv-row-height-xlarge: 52px;
|
||
--tsv-row-height-large: 44px;
|
||
--tsv-row-height: 24px;
|
||
--tsv-row-height-small: 20px;
|
||
--tsv-padding-h-large: 40px;
|
||
--tsv-padding-h: 20px;
|
||
--tsv-padding-h-small: 10px;
|
||
--tsv-padding-h-minimal: 5px;
|
||
--tsv-padding-v-large: 16px;
|
||
--tsv-padding-v: 8px;
|
||
--tsv-padding-v-small: 4px;
|
||
--tsv-padding-v-minimal: 2px;
|
||
--tsv-bar-height: 36px;
|
||
--tsv-bar-element-height: 26px;
|
||
--tsv-control-element-height: 22px;
|
||
--tsv-border-radius-xxxlarge: 20px;
|
||
--tsv-border-radius-xxlarge: 15px;
|
||
--tsv-border-radius-xlarge: 10px;
|
||
--tsv-border-radius-large: 8px;
|
||
--tsv-border-radius: 4px;
|
||
--tsv-border-radius-small: 2px;
|
||
--tsv-border-radius-pill: 100px;
|
||
--tsv-icon-size: 22px;
|
||
--tsv-icon-size-small: 16px;
|
||
--tsv-icon-size-large: 33px;
|
||
--tsv-icon-size-xlarge: 55px;
|
||
--tsv-readability-width: 640px;
|
||
/* pane slots (main.js windowSlots @1273206) */
|
||
--tsv-window-bar-height: 44px;
|
||
--sidebar-width: 270px;
|
||
--server-width: 500px;
|
||
--sidebar-rail-width: 62px;
|
||
--detail-min-width: 295px;
|
||
/* tree (theme :root overrides) */
|
||
--channel-height: 30px;
|
||
--channel-spacing: 14px;
|
||
--ts-tree-channel-height-default: calc(var(--channel-height) + var(--channel-spacing));
|
||
--ts-tree-client-height-default: calc(var(--tsv-row-height-large) - 4px);
|
||
--ts-tree-badges-height-default: calc(var(--tsv-row-height) - 1px);
|
||
}
|
||
|
||
/* Official scale modules 53225/68865: token overrides, never page zoom. */
|
||
html[data-display-size="large"] {
|
||
--tsv-font-size-large: 18px;
|
||
--tsv-font-size: 16px;
|
||
--tsv-font-size-content: 15px;
|
||
--tsv-font-size-small: 14px;
|
||
--tsv-font-size-minimal: 13px;
|
||
--tsv-line-height-large: 22px;
|
||
--tsv-line-height: 19px;
|
||
--tsv-line-height-content: 19px;
|
||
--tsv-line-height-small: 18px;
|
||
--tsv-line-height-minimal: 14px;
|
||
--tsv-icon-size-xxlarge: 120px;
|
||
--tsv-icon-size-xlarge: 60px;
|
||
--tsv-icon-size-large: 36px;
|
||
--tsv-icon-size: 24px;
|
||
--tsv-icon-size-small: 18px;
|
||
--tsv-icon-portrait-size-xxlarge: 200px;
|
||
--tsv-icon-portrait-size-xlarge: 100px;
|
||
--tsv-icon-portrait-size-large: 60px;
|
||
--tsv-icon-portrait-size: 40px;
|
||
--tsv-icon-portrait-size-small: 31px;
|
||
--tsv-row-height-xlarge: 56px;
|
||
--tsv-row-height-large: 48px;
|
||
--tsv-row-height: 26px;
|
||
--tsv-row-height-small: 22px;
|
||
--tsv-row-height-minimal: 18px;
|
||
--tsv-padding-h-large: 48px;
|
||
--tsv-padding-h: 24px;
|
||
--tsv-padding-h-small: 12px;
|
||
--tsv-padding-h-minimal: 6px;
|
||
--tsv-padding-v-large: 16px;
|
||
--tsv-padding-v: 8px;
|
||
--tsv-padding-v-small: 4px;
|
||
--tsv-padding-v-minimal: 2px;
|
||
--tsv-bar-height: 38px;
|
||
--tsv-bar-element-height: 28px;
|
||
--tsv-control-element-height: 24px;
|
||
--tsv-separation-border-width: 1px;
|
||
--tsv-border-width: 2px;
|
||
--tsv-border-radius-large: 10px;
|
||
--tsv-border-radius: 5px;
|
||
--tsv-border-radius-small: 2px;
|
||
--tsv-readability-width: 640px;
|
||
--sidebar-rail-width: 72px;
|
||
}
|
||
html[data-display-size="small"] {
|
||
--tsv-font-size-large: 16px;
|
||
--tsv-font-size: 14px;
|
||
--tsv-font-size-content: 13px;
|
||
--tsv-font-size-small: 12px;
|
||
--tsv-font-size-minimal: 11px;
|
||
--tsv-line-height-large: 19px;
|
||
--tsv-line-height: 18px;
|
||
--tsv-line-height-content: 15px;
|
||
--tsv-line-height-small: 14px;
|
||
--tsv-line-height-minimal: 13px;
|
||
--tsv-icon-size-xxlarge: 100px;
|
||
--tsv-icon-size-xlarge: 50px;
|
||
--tsv-icon-size-large: 30px;
|
||
--tsv-icon-size: 20px;
|
||
--tsv-icon-size-small: 14px;
|
||
--tsv-icon-portrait-size-xxlarge: 180px;
|
||
--tsv-icon-portrait-size-xlarge: 90px;
|
||
--tsv-icon-portrait-size-large: 54px;
|
||
--tsv-icon-portrait-size: 36px;
|
||
--tsv-icon-portrait-size-small: 24px;
|
||
--tsv-row-height-xlarge: 48px;
|
||
--tsv-row-height-large: 40px;
|
||
--tsv-row-height: 22px;
|
||
--tsv-row-height-small: 18px;
|
||
--tsv-padding-h-large: 32px;
|
||
--tsv-padding-h: 16px;
|
||
--tsv-padding-h-small: 8px;
|
||
--tsv-padding-h-minimal: 4px;
|
||
--tsv-padding-v-large: 16px;
|
||
--tsv-padding-v: 8px;
|
||
--tsv-padding-v-small: 4px;
|
||
--tsv-padding-v-minimal: 2px;
|
||
--tsv-bar-height: 34px;
|
||
--tsv-bar-element-height: 24px;
|
||
--tsv-control-element-height: 20px;
|
||
--tsv-separation-border-width: 1px;
|
||
--tsv-border-width: 1px;
|
||
--tsv-border-radius-large: 10px;
|
||
--tsv-border-radius: 4px;
|
||
--tsv-border-radius-small: 2px;
|
||
--tsv-readability-width: 640px;
|
||
--sidebar-rail-width: 52px;
|
||
}
|
||
|
||
/* ---------- tokens: dark theme (main.js @92422, merged :root blocks) ---------- */
|
||
:root {
|
||
--tsv-bg: #2b3346;
|
||
--tsv-shaded-bg: #222A3C;
|
||
--tsv-header-bg: #1C2539;
|
||
--ts-new-header-bg: #121A2C;
|
||
--tsv-contrast-bg: #0C1326;
|
||
--tsv-deviant-bg: #1E2538;
|
||
--tsv-side-bar-bg-gradient-bottom: #1D2537;
|
||
--presence-separator-presence: #171C2A;
|
||
--strong-bg: #0B1124;
|
||
--tsv-tint: #1588FA;
|
||
--tsv-tint2: #1588FA;
|
||
--tsv-tint-light: #6fb8ff;
|
||
--tsv-font-color: #FFFFFF;
|
||
--tsv-item-title-color: #E0E0E0;
|
||
--tsv-font-subtitle-color: #697A97;
|
||
--ts-third-font-color: #bbd6f3;
|
||
--ts-muted-font-color: #797878;
|
||
--tsv-separation-border-color: #1D1F20;
|
||
--tsv-error-color: #CC3838;
|
||
--tsv-error-light-color: rgb(255, 130, 130);
|
||
--tsv-away-color: #FF8B04;
|
||
--tsv-online-color: #13F78D;
|
||
--presence-online: #17f78d;
|
||
--tsv-accept-color: #13F78D;
|
||
--ts-brand-color-grn: #25dd85;
|
||
--tsv-item-selection: #222A3C;
|
||
--tsv-shaded-bg-selection: #1A2B50;
|
||
--settings-highlight-bg: #282F40;
|
||
--tsv-main-bg-gradient-start: #252F44;
|
||
--tsv-main-bg-gradient-end: #2E374C;
|
||
--tsv-servertree-bg-gradient: linear-gradient(25deg, var(--tsv-main-bg-gradient-start) 0%, var(--tsv-main-bg-gradient-end) 60%);
|
||
--tsv-view-header-bg: linear-gradient(to bottom, #0B1124, #222C41);
|
||
--ts-tree-channel-bg-start: #192031;
|
||
--ts-tree-channel-bg-end: #1D263A;
|
||
--ts-tree-badges-bg: #222A3B;
|
||
--ts-tree-spacer-bg: linear-gradient(-115deg, #1E2538, #374263);
|
||
--tsv-chat-remote-bg: #697a97;
|
||
--tsv-chat-remote-font-color: #FFFFFF;
|
||
--tsv-chat-self-bg: #0C1326;
|
||
--tsv-chat-self-font-color: #FFFFFF;
|
||
--ts-chat-system-message-bg: #131824;
|
||
--ts-chat-system-message-text-color: #acacac;
|
||
--ts-chat-system-highlight-text-color: rgb(22, 188, 251);
|
||
--tsv-context-menu-backdrop: linear-gradient(to bottom, #0B1124, #222C41);
|
||
--tsv-context-menu-border: none;
|
||
--tsv-context-menu-item-selection: rgba(28, 37, 56, 0.85);
|
||
--tsv-context-menu-disabled-color: #9c9c9c;
|
||
--tsv-context-menu-error-color: rgb(255, 130, 130);
|
||
--tsv-button-filled-bg: linear-gradient(60deg, #0058FF, #1365BB);
|
||
--tsv-button-filled-hover-bg: #1c82cc;
|
||
--tsv-button-filled-destructive-bg: linear-gradient(to top, #f33d3d, #ca3838);
|
||
--ts-menu-action-color: #8ac5fc;
|
||
--tsv-scrollbar-bg: #0B111D;
|
||
--tsv-slider-track-bg: #131824;
|
||
--tsv-slider-vad-color: #13F78D;
|
||
--tsv-preview-bg: #1C2539;
|
||
--tsv-preview-font-color: #FFFFFF;
|
||
--ts-checkbox-bg-color: #0c0d0f;
|
||
--tsv-shadow-color: rgba(29, 31, 32, 0.4);
|
||
--tsv-notification-bg: linear-gradient(to right, #0B1124 0%, #222A3C 100%);
|
||
--tsv-notification-error-bg: linear-gradient(to right, #CC3838, #222A3C);
|
||
--tsv-disabled-color: #595959;
|
||
--tsv-contrast-color: #F5F6F6;
|
||
--tsv-commander-color: #daa520;
|
||
}
|
||
|
||
/* ---------- tokens: light theme (main.js @201685 light :root override) ---------- */
|
||
@media (prefers-color-scheme: light) {
|
||
:root {
|
||
color-scheme: light;
|
||
--tsv-bg: #f5f5f5;
|
||
--tsv-shaded-bg: rgb(235, 235, 235);
|
||
--tsv-header-bg: rgb(235, 235, 235);
|
||
--ts-new-header-bg: rgb(235, 235, 235);
|
||
--tsv-contrast-bg: #C9D9E5;
|
||
--tsv-deviant-bg: #d3d5de;
|
||
--tsv-side-bar-bg-gradient-bottom: #f5f5f5;
|
||
--presence-separator-presence: #d3d5de;
|
||
--strong-bg: #C9D9E5;
|
||
--tsv-tint: #5DA1CB;
|
||
--tsv-tint2: #22658f;
|
||
--tsv-tint-light: #22658f;
|
||
--tsv-font-color: #1a1a1a;
|
||
--tsv-item-title-color: #202020;
|
||
--tsv-font-subtitle-color: #445d77;
|
||
--ts-third-font-color: #445d77;
|
||
--tsv-separation-border-color: rgb(189, 189, 189);
|
||
--tsv-error-color: rgb(223, 15, 15);
|
||
--tsv-error-light-color: rgb(218, 77, 77);
|
||
--tsv-away-color: rgb(247, 84, 19);
|
||
--tsv-online-color: rgb(1, 192, 11);
|
||
--presence-online: rgb(1, 192, 11);
|
||
--tsv-accept-color: rgb(5, 177, 71);
|
||
--ts-brand-color-grn: rgb(5, 177, 71);
|
||
--tsv-item-selection: rgb(235, 235, 235);
|
||
--tsv-shaded-bg-selection: #cccccc;
|
||
--settings-highlight-bg: #d3d5de;
|
||
--tsv-main-bg-gradient-start: #e1e3ed;
|
||
--tsv-main-bg-gradient-end: #f5f5f5;
|
||
--tsv-view-header-bg: linear-gradient(to bottom, #C9D9E5, #d3d5de);
|
||
--ts-tree-channel-bg-start: #a9bee1;
|
||
--ts-tree-channel-bg-end: #8391b3;
|
||
--ts-tree-badges-bg: #C9D9E5;
|
||
--ts-tree-spacer-bg: linear-gradient(-115deg, #d3d5de, #C9D9E5);
|
||
--tsv-chat-remote-bg: rgb(164, 186, 224);
|
||
--tsv-chat-remote-font-color: #333;
|
||
--tsv-chat-self-bg: rgb(138, 206, 204);
|
||
--tsv-chat-self-font-color: #333;
|
||
--ts-chat-system-message-bg: #C9D9E5;
|
||
--ts-chat-system-message-text-color: rgb(100, 100, 100);
|
||
--ts-chat-system-highlight-text-color: rgb(50, 133, 167);
|
||
--tsv-context-menu-backdrop: linear-gradient(to bottom, #C9D9E5, #C9D9E5);
|
||
--tsv-context-menu-border: 1px solid rgb(230, 238, 243);
|
||
--tsv-context-menu-item-selection: #C9D9E5;
|
||
--tsv-context-menu-disabled-color: #888888;
|
||
--tsv-context-menu-error-color: rgb(230, 25, 25);
|
||
--tsv-button-filled-bg: linear-gradient(-45deg, rgb(95, 135, 213) 1%, rgb(142, 166, 255) 100%);
|
||
--tsv-button-filled-hover-bg: rgba(50, 114, 155, 0.3);
|
||
--tsv-button-filled-destructive-bg: linear-gradient(-45deg, rgba(223, 15, 15, 0.5) 1%, rgba(223, 15, 15, 0.3) 100%);
|
||
--tsv-scrollbar-bg: #b3b3b3;
|
||
--tsv-slider-track-bg: #bbbbbb;
|
||
--tsv-slider-vad-color: #30ee17;
|
||
--tsv-preview-bg: #bccbeb;
|
||
--tsv-preview-font-color: #1a1a1a;
|
||
--ts-checkbox-bg-color: #bccbeb;
|
||
--tsv-notification-bg: linear-gradient(to right, #C9D9E5, rgb(235, 235, 235));
|
||
--tsv-notification-error-bg: linear-gradient(to right, rgb(223, 15, 15), rgb(235, 235, 235));
|
||
--tsv-disabled-color: #888888;
|
||
--tsv-contrast-color: #474747;
|
||
}
|
||
}
|
||
|
||
/* ---------- base (main.css html/body/#app, theme scrollbars) ---------- */
|
||
*, *::before, *::after { box-sizing: border-box; }
|
||
* { text-rendering: optimizeLegibility; }
|
||
html, body {
|
||
margin: 0;
|
||
height: 100%;
|
||
overflow: hidden;
|
||
background: var(--tsv-bg);
|
||
color: var(--tsv-font-color);
|
||
font-family: var(--tsv-font-family);
|
||
font-size: var(--tsv-font-size);
|
||
line-height: normal;
|
||
font-weight: var(--tsv-font-weight-normal);
|
||
-webkit-font-smoothing: antialiased;
|
||
}
|
||
html { font-size: 16px; }
|
||
body { user-select: none; }
|
||
:where(input, textarea, [contenteditable]:not([contenteditable="false"]), a[href],
|
||
.chat-log, .diag-list, .form-error, .form-status, .notice, .toast-text,
|
||
.stream-stats, .channel-topic, #fatal-text, .fatal-list, pre, code) { user-select: text; }
|
||
[hidden] { display: none !important; }
|
||
::selection { background: var(--tsv-shaded-bg-selection); color: var(--tsv-font-color); }
|
||
/* Official controls carry a 2px tint ring (main.css@689549); no global browser ring. */
|
||
:focus { outline: none; }
|
||
:focus-visible { outline: 2px solid var(--tsv-tint2); outline-offset: 2px; }
|
||
::-webkit-scrollbar { width: 8px; height: 8px; background: transparent; }
|
||
::-webkit-scrollbar-track { background: transparent; border-radius: 0; }
|
||
::-webkit-scrollbar-thumb { background: var(--tsv-scrollbar-bg); border-radius: 8px; }
|
||
::-webkit-scrollbar-corner { background: transparent; }
|
||
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: var(--tsv-font-weight-bold); }
|
||
h1 { font-size: var(--tsv-font-size-title-small); line-height: var(--tsv-line-height-title-small); }
|
||
h2 { font-size: var(--tsv-font-size-large); line-height: var(--tsv-line-height-large); }
|
||
h3 { font-size: var(--tsv-font-size); line-height: var(--tsv-line-height); }
|
||
p { margin: 0; }
|
||
a { color: var(--tsv-tint2); }
|
||
a:hover { color: var(--tsv-tint); }
|
||
strong { font-weight: var(--tsv-font-weight-bold); }
|
||
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
|
||
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
|
||
.icon {
|
||
width: var(--tsv-icon-size);
|
||
height: var(--tsv-icon-size);
|
||
flex: none;
|
||
}
|
||
.brand-mark { width: 40px; height: 40px; flex: none; object-fit: contain; }
|
||
.brand-mark-large { width: 56px; height: 56px; }
|
||
|
||
/* ---------- buttons (.tsv-button variants, main.css@148161 + theme @47884) ---------- */
|
||
.btn {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 5px;
|
||
min-height: var(--tsv-bar-element-height);
|
||
padding: 4px 20px;
|
||
border: 0;
|
||
border-radius: var(--tsv-border-radius-pill);
|
||
background: var(--tsv-preview-bg);
|
||
color: var(--tsv-font-color);
|
||
font: inherit;
|
||
font-size: var(--tsv-font-size);
|
||
line-height: 22px;
|
||
cursor: pointer;
|
||
white-space: nowrap;
|
||
}
|
||
.btn:hover:not(:disabled) { color: var(--ts-menu-action-color); }
|
||
.btn:disabled { opacity: 0.4; cursor: default; }
|
||
.btn .icon { width: var(--tsv-icon-size-small); height: var(--tsv-icon-size-small); }
|
||
.btn-primary { background: var(--tsv-button-filled-bg); color: #FFFFFF; }
|
||
.btn-primary:hover:not(:disabled) { background: var(--tsv-button-filled-hover-bg); color: #FFFFFF; }
|
||
@media (prefers-color-scheme: light) {
|
||
.btn-primary, .btn-primary:hover:not(:disabled) { color: var(--tsv-font-color); }
|
||
}
|
||
/* .tsv-button-plain: tint text, no fill */
|
||
.btn-ghost { background: transparent; padding-inline: 0; color: var(--tsv-tint2); }
|
||
.btn-ghost:hover:not(:disabled) { color: var(--ts-menu-action-color); }
|
||
.btn-ghost[aria-pressed="true"] { color: var(--tsv-online-color); }
|
||
.btn-wide { width: 100%; }
|
||
.btn-small { min-height: var(--tsv-control-element-height); padding: 4px 14px; font-size: var(--tsv-font-size-content); }
|
||
.btn-danger, .btn-ghost.btn-danger { color: var(--tsv-error-light-color); }
|
||
.btn-primary.btn-danger { background: var(--tsv-button-filled-destructive-bg); color: #FFFFFF; }
|
||
|
||
/* .tsv-action-subtle icon buttons: no fill; hover tints the glyph (main.css@102664) */
|
||
.icon-btn {
|
||
display: inline-grid;
|
||
place-items: center;
|
||
width: 42px;
|
||
height: var(--tsv-bar-element-height);
|
||
padding: 0 10px;
|
||
border: 0;
|
||
border-radius: var(--tsv-border-radius);
|
||
background: transparent;
|
||
color: var(--tsv-icon-base);
|
||
cursor: pointer;
|
||
}
|
||
.icon-btn:hover:not(:disabled) { color: var(--tsv-tint2); }
|
||
.icon-btn:disabled { opacity: 0.5; cursor: default; }
|
||
.icon-btn[aria-pressed="true"] { color: var(--tsv-icon-tint); }
|
||
.icon-btn-accent { color: var(--tsv-tint); }
|
||
|
||
/* ---------- form controls ---------- */
|
||
.field { display: flex; flex-direction: column; gap: 4px; }
|
||
.field-grow { flex: 1; }
|
||
.field-label { font-size: var(--tsv-font-size-content); line-height: var(--tsv-line-height-content); color: var(--tsv-font-color); }
|
||
.optional { color: var(--tsv-font-subtitle-color); }
|
||
/* ts-text-input: 26px, tsv-bg fill, 1.5px transparent border, focus tint ring */
|
||
input:not([type]), input[type="text"], input[type="password"], input[type="number"], input[type="search"], textarea {
|
||
width: 100%;
|
||
min-height: var(--tsv-bar-element-height);
|
||
padding: 2px 10px;
|
||
border: 1.5px solid transparent;
|
||
border-radius: var(--tsv-border-radius);
|
||
background: var(--tsv-bg);
|
||
color: var(--tsv-font-color);
|
||
font: inherit;
|
||
font-size: var(--tsv-font-size-content);
|
||
caret-color: var(--tsv-font-color);
|
||
}
|
||
input::placeholder, textarea::placeholder { color: var(--tsv-font-subtitle-color); }
|
||
input:hover, textarea:hover { border-color: var(--tsv-shaded-bg); }
|
||
input:focus-visible, textarea:focus-visible { outline: none; border-color: var(--tsv-tint); }
|
||
input[aria-invalid="true"] { border-color: var(--tsv-error-color); }
|
||
input:disabled, select:disabled, textarea:disabled { opacity: 0.6; cursor: default; }
|
||
/* .multiselect: tsv-bg, radius 10, padding 2px 10px, 15px, min-height 26 (theme @64432) */
|
||
select {
|
||
width: auto;
|
||
max-width: 100%;
|
||
min-height: var(--tsv-bar-element-height);
|
||
padding: 2px 28px 2px 10px;
|
||
border: 0;
|
||
border-radius: var(--tsv-border-radius-xlarge);
|
||
background: var(--tsv-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%23697A97' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 6px center / 18px;
|
||
color: var(--tsv-font-color);
|
||
font: inherit;
|
||
font-size: var(--tsv-font-size);
|
||
line-height: 15px;
|
||
appearance: none;
|
||
cursor: pointer;
|
||
}
|
||
select:focus-visible { outline: 2px solid var(--tsv-tint); outline-offset: 0; }
|
||
select option { background: var(--tsv-shaded-bg); color: var(--tsv-font-color); }
|
||
select option:checked { color: var(--tsv-tint); }
|
||
/* ts-checkbox: 20px, #0c0d0f fill, radius 4, green check (main.css@166354) */
|
||
input[type="checkbox"] {
|
||
appearance: none;
|
||
flex: none;
|
||
width: 20px;
|
||
height: 20px;
|
||
margin: 0;
|
||
border-radius: var(--tsv-border-radius);
|
||
background: var(--ts-checkbox-bg-color);
|
||
display: inline-grid;
|
||
place-items: center;
|
||
cursor: pointer;
|
||
transition: background 0.1s;
|
||
}
|
||
input[type="checkbox"]::after { content: ""; width: 12px; height: 7px; margin-top: -3px; border: solid var(--presence-online); border-width: 0 0 3px 3px; transform: rotate(-45deg) scale(0); transition: transform 0.1s cubic-bezier(0.4, 0, 0.6, 1); }
|
||
input[type="checkbox"]:checked::after { transform: rotate(-45deg) scale(1); }
|
||
input[type="checkbox"]:disabled { opacity: 0.6; }
|
||
/* The official client has no radio control; exclusive choices are pill segmented controls. */
|
||
input[type="radio"] { accent-color: var(--tsv-tint); width: 16px; height: 16px; margin: 0; }
|
||
/* ts-slider: 10px track in slider-track colour, radius 4 */
|
||
.range, input[type="range"] { width: 100%; height: 36px; margin: 0; appearance: none; background: transparent; cursor: pointer; }
|
||
input[type="range"]::-webkit-slider-runnable-track { height: 10px; border-radius: var(--tsv-border-radius); background: var(--tsv-slider-track-bg); }
|
||
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 16px; height: 16px; margin-top: -3px; border-radius: 50%; background: var(--tsv-tint); border: 2px solid var(--tsv-contrast-bg); }
|
||
input[type="range"]:focus-visible { outline: none; }
|
||
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--tsv-tint2); }
|
||
.range-value { min-width: 4ch; font-variant-numeric: tabular-nums; color: var(--tsv-font-subtitle-color); font-size: var(--tsv-font-size-small); }
|
||
.fieldset { position: relative; min-width: 0; border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
|
||
.fieldset legend { margin-bottom: 8px; padding: 0; }
|
||
.choice { display: flex; align-items: center; gap: 10px; min-height: var(--tsv-row-height); font-size: var(--tsv-font-size-content); cursor: pointer; }
|
||
.hint { font-size: var(--tsv-font-size-small); line-height: var(--tsv-line-height-small); color: var(--tsv-font-subtitle-color); max-width: 75ch; }
|
||
.lede { color: var(--tsv-font-subtitle-color); font-size: var(--tsv-font-size-content); max-width: 60ch; }
|
||
.form-error { min-height: 1em; color: var(--tsv-error-light-color); font-size: var(--tsv-font-size-small); }
|
||
.form-error:empty { display: none; }
|
||
.form-status { color: var(--tsv-font-subtitle-color); font-size: var(--tsv-font-size-small); }
|
||
.form-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
|
||
.form-error, .form-status, .lede, .hint { overflow-wrap: anywhere; }
|
||
.kbd { display: inline-block; min-width: 2.4em; padding: 2px 10px; border-radius: var(--tsv-border-radius); background: var(--tsv-bg); font: var(--tsv-font-size-small) var(--tsv-font-family-monospace); text-align: center; color: var(--tsv-font-subtitle-color); }
|
||
|
||
/* ---------- boot / fatal / onboarding (official loading overlay #1c2537) ---------- */
|
||
.boot, .fatal, .onboarding { height: 100%; display: grid; place-items: center; padding: 32px; overflow-y: auto; }
|
||
.boot { gap: 12px; align-content: center; background: #1c2537; color: var(--tsv-font-subtitle-color); }
|
||
@media (prefers-color-scheme: light) { .boot { background: var(--tsv-bg); } }
|
||
.fatal-inner, .onboarding-form {
|
||
width: min(480px, 100%);
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 12px;
|
||
padding: 20px;
|
||
border: 1px solid var(--tsv-tint2);
|
||
border-radius: var(--tsv-border-radius-large);
|
||
background: var(--tsv-contrast-bg);
|
||
flex-shrink: 0;
|
||
}
|
||
.fatal-inner { width: min(620px, 100%); }
|
||
.onboarding-form h1, .fatal-inner h1 { margin-top: 4px; }
|
||
.fatal-list { margin: 0; padding-left: 18px; font: var(--tsv-font-size-small) var(--tsv-font-family-monospace); color: var(--tsv-font-subtitle-color); word-break: break-all; }
|
||
.fatal-list:empty { display: none; }
|
||
.fatal-actions { display: flex; gap: 10px; flex-wrap: wrap; }
|
||
|
||
/* ---------- window frame: three panes (.tsv-window, render@3035185) ---------- */
|
||
.shell {
|
||
position: fixed;
|
||
inset: 0;
|
||
display: flex;
|
||
min-width: 0;
|
||
background: var(--tsv-bg);
|
||
}
|
||
.pane-bar {
|
||
flex: none;
|
||
display: flex;
|
||
align-items: center;
|
||
height: var(--tsv-window-bar-height);
|
||
min-height: var(--tsv-window-bar-height);
|
||
padding: 0 10px;
|
||
background: var(--ts-new-header-bg);
|
||
-webkit-app-region: drag;
|
||
}
|
||
.pane-bar :is(button, a, input, select, [role="toolbar"]) { -webkit-app-region: no-drag; }
|
||
.pane-bar-spacer { flex: none; width: 42px; }
|
||
|
||
/* resize handles: invisible 9px strip centred on the pane edge; tint at 50% while dragging */
|
||
.layout-splitter { position: relative; flex: 0 0 0; z-index: 100; touch-action: none; }
|
||
.layout-splitter::before { content: ""; position: absolute; top: 0; bottom: 0; left: -5.5px; width: 9px; cursor: col-resize; }
|
||
.layout-splitter:focus-visible { outline: none; }
|
||
.layout-splitter:focus-visible::before, body.is-resizing .layout-splitter:focus::before { background: var(--tsv-icon-tint); opacity: 0.5; }
|
||
.stream-splitter::before { top: -5.5px; bottom: auto; left: 0; right: 0; width: auto; height: 9px; cursor: row-resize; }
|
||
body.is-resizing, body.is-resizing * { user-select: none !important; }
|
||
body.is-resizing[data-resize-axis="x"], body.is-resizing[data-resize-axis="x"] * { cursor: col-resize !important; }
|
||
body.is-resizing[data-resize-axis="y"], body.is-resizing[data-resize-axis="y"] * { cursor: row-resize !important; }
|
||
|
||
/* ---------- pane 1: sidebar (SidebarArea, render@2960759) ---------- */
|
||
.app-sidebar {
|
||
flex: 0 0 var(--sidebar-width);
|
||
min-width: var(--sidebar-rail-width);
|
||
display: flex;
|
||
flex-direction: column;
|
||
overflow: hidden;
|
||
background: linear-gradient(to bottom, var(--ts-new-header-bg), var(--tsv-side-bar-bg-gradient-bottom));
|
||
}
|
||
.sidebar-header { flex: none; background: var(--ts-new-header-bg); -webkit-app-region: drag; }
|
||
.sidebar-title-row { display: flex; align-items: center; justify-content: center; min-height: 71px; padding: 0 10px; }
|
||
.sidebar-brand { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 0 10px; font-size: var(--tsv-font-size-large); font-weight: var(--tsv-font-weight-bold); }
|
||
.sidebar-brand .brand-mark { width: var(--tsv-icon-size); height: var(--tsv-icon-size); }
|
||
.sidebar-brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
.sidebar-search-row { display: flex; align-items: center; min-height: var(--tsv-bar-height); padding: 0 10px; }
|
||
.sidebar-search { display: flex; align-items: center; width: 100%; min-width: 0; height: var(--tsv-bar-element-height); border-radius: var(--tsv-border-radius-pill); background: var(--tsv-deviant-bg); -webkit-app-region: no-drag; }
|
||
.sidebar-search input { width: 100%; min-width: 0; height: calc(var(--tsv-bar-element-height) - 4px); min-height: 0; padding: 0 10px; border: 0; background: transparent; font-size: var(--tsv-font-size-small); }
|
||
.sidebar-search input { font-weight: 400; }
|
||
.shell[data-sidebar-collapsed="true"] .sidebar-search-row { display: none; }
|
||
.sidebar-content { flex: 1; min-height: 0; overflow-x: hidden; overflow-y: auto; padding-bottom: 8px; }
|
||
|
||
/* activity group header (TSSidebarTabHeader): subtitle caption, 10px inset */
|
||
.connections-head, .servers-head { display: flex; align-items: center; min-height: 24px; margin: 4px 0; padding: 0 10px 0 20px; }
|
||
.connections-title, .servers-title { flex: 1; min-width: 0; font-size: var(--tsv-font-size-small); line-height: var(--tsv-line-height); font-weight: var(--tsv-font-weight-normal); color: var(--tsv-font-subtitle-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
/* Servers activity (.tsv-activities, y=120 under the 107px header): caption line box, then the first 44px row at y=143 */
|
||
.connections-panel > .connections-head { min-height: 0; margin: 13px 0 5px; }
|
||
.connections-panel > .connections-head > .connections-title { line-height: 18px; }
|
||
/* New Connection fills the official top-area button slot (.ts-join-community: 8px gap, filled small button, 9px to Bookmarks) */
|
||
.connections-join { display: flex; justify-content: center; margin-top: 8px; padding: 0 10px; }
|
||
/* Bookmarks resources group (y=234): 8px above the 26px slim tab bar (.tsv-tabs-slim, radius 4, inset 10) */
|
||
.servers-panel { margin-top: 9px; padding-top: 8px; }
|
||
.servers-head { margin: 0 10px; min-height: var(--tsv-bar-element-height); padding: 0 10px 0 9px; border-radius: var(--tsv-border-radius); background: var(--tsv-bg); cursor: pointer; }
|
||
.servers-toggle { display: flex; align-items: center; gap: 5px; width: 100%; min-width: 0; padding: 0; border: 0; background: transparent; color: var(--ts-third-font-color); font: inherit; text-align: left; cursor: pointer; }
|
||
/* the official tab title sits 1px below the centred icon */
|
||
.servers-toggle > span { flex: 1; position: relative; top: 1px; }
|
||
.servers-toggle:hover { color: var(--tsv-font-color); }
|
||
/* sub-panel accessories (.tsv-sidebar-header-accessories: tint2, 5px gaps) then the expander */
|
||
.servers-head > .icon-btn { width: 22px; height: 22px; padding: 0; color: var(--tsv-tint2); }
|
||
/* official accessory order: search, New Folder (FolderAction), New Bookmark (Add), 5px apart */
|
||
#bookmarks-search, #bookmarks-new-folder { margin-right: var(--tsv-padding-h-minimal); }
|
||
#bookmarks-search .icon { width: 20px; height: 20px; }
|
||
#servers-save-current { margin-right: 3px; }
|
||
.servers-chevron { width: var(--tsv-icon-size); height: var(--tsv-icon-size); color: var(--tsv-font-subtitle-color); transition: transform 0.1s ease; }
|
||
.servers-head:has(#servers-toggle[aria-expanded="false"]) .servers-chevron { transform: rotate(-90deg); }
|
||
/* resize-area container (8px + 1px transparent border) holding .ts-bookmarks-hidden */
|
||
#servers-content { padding: 9px 0; }
|
||
.servers-empty { max-width: 300px; margin: var(--tsv-padding-v) auto; padding: 0 var(--tsv-padding-h); color: var(--tsv-font-color); text-align: center; }
|
||
.servers-empty p { margin: var(--tsv-padding-v) 0; font-size: var(--tsv-font-size-content); line-height: normal; }
|
||
.servers-empty .bookmarks-empty-title { margin: 0; font-size: var(--tsv-font-size); line-height: var(--tsv-line-height); }
|
||
|
||
/* activity rows: 44px, 4px gap, always-visible 8px-radius deviant pill inset 10px (theme @14046–14691). The official
|
||
.tsv-activities/.tsv-resize-area-container scope paints hover and selection with that same deviant pill, so rows
|
||
keep one fill; state shows in the status bar, icon tint and close action. */
|
||
.connection-list, .servers-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
|
||
.connection-row, .servers-list > li { position: relative; display: flex; align-items: stretch; min-height: var(--tsv-row-height-large); }
|
||
.connection-item, .server-item {
|
||
position: relative;
|
||
flex: 1;
|
||
min-width: 0;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 10px;
|
||
min-height: var(--tsv-row-height-large);
|
||
padding: 0 20px;
|
||
border: 0;
|
||
background: transparent;
|
||
color: var(--tsv-font-color);
|
||
font: inherit;
|
||
text-align: left;
|
||
cursor: pointer;
|
||
isolation: isolate;
|
||
}
|
||
.connection-item::before, .server-item::before {
|
||
content: "";
|
||
position: absolute;
|
||
inset: 2px 10px;
|
||
z-index: -1;
|
||
border-radius: var(--tsv-border-radius-large);
|
||
background: var(--tsv-deviant-bg);
|
||
}
|
||
.connection-item[aria-selected="true"]::after { display: none; }
|
||
.server-item:disabled::after { content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 4px; border-radius: var(--tsv-border-radius-pill); background: var(--tsv-tint); }
|
||
.server-item:disabled { cursor: default; }
|
||
.server-item .icon, .connection-mic { width: var(--tsv-icon-size); height: var(--tsv-icon-size); color: var(--tsv-icon-base); }
|
||
.connection-item[aria-selected="true"] .icon, .server-item:disabled .icon { color: var(--tsv-tint); }
|
||
.connection-dot { position: relative; display: grid; place-items: center; flex: none; width: var(--tsv-icon-size); height: var(--tsv-icon-size); }
|
||
.connection-dot::before { content: ""; position: absolute; left: -2px; top: 7px; width: 2px; height: 8px; border-radius: 2px; background: var(--tsv-font-subtitle-color); }
|
||
.connection-row[data-state="connected"] .connection-dot::before { background: var(--presence-online); }
|
||
.connection-row:is([data-state="connecting"], [data-state="disconnecting"]) .connection-dot::before { background: var(--tsv-away-color); }
|
||
.connection-row[data-state="failed"] .connection-dot::before { background: var(--tsv-error-color); }
|
||
.connection-text, .server-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
|
||
.connection-name, .server-item-name { font-size: var(--tsv-font-size); line-height: var(--tsv-line-height); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
.connection-sub, .server-item-address { font-size: var(--tsv-font-size-minimal); line-height: var(--tsv-line-height-minimal); color: var(--tsv-font-subtitle-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
.connection-sub:empty { display: none; }
|
||
.connection-row:is([data-state="disconnected"], [data-state="failed"]) .connection-name { color: var(--tsv-font-subtitle-color); }
|
||
.connection-row[data-state="failed"] .connection-sub { color: var(--tsv-error-light-color); }
|
||
.connection-row[data-output-muted="true"] .connection-mic { color: var(--tsv-error-color); }
|
||
.connection-mic { position: absolute; right: 46px; top: 9px; padding: 0; }
|
||
.connection-mic:disabled { display: none; }
|
||
.connection-item { padding-right: 42px; }
|
||
/* .tsv-item-badge-count */
|
||
.connection-unread { flex: none; padding: 0 5px; border-radius: 10px; background: var(--tsv-tint); color: var(--tsv-contrast-bg); font-size: var(--tsv-font-size-minimal); font-weight: bolder; line-height: 18px; font-variant-numeric: tabular-nums; }
|
||
/* close: ItemClose tool button (22px glyph box) centred 31px from the row edge */
|
||
.connection-close { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 30px; height: 26px; padding: 0 4px; color: var(--tsv-font-subtitle-color); }
|
||
.connection-close .icon { width: var(--tsv-icon-size); height: var(--tsv-icon-size); }
|
||
.connection-row:is(:hover, :focus-within) .connection-close { opacity: 1; visibility: visible; }
|
||
.server-item-action { flex: none; font-size: var(--tsv-font-size-small); color: var(--tsv-tint2); }
|
||
.server-item:disabled .server-item-action { color: var(--presence-online); }
|
||
/* folders and the folder-up row (ts-bookmark-folder-box): folder glyph and one name line */
|
||
.bookmark-folder-item .server-item-name { line-height: var(--tsv-line-height); }
|
||
/* inline creator / rename (ts-content-item-cell .tsv-editor, observed: 26px pill inset 10px, glyph under the
|
||
input, text after icon + padding-h; tint ring on hover and focus) */
|
||
.servers-list > li.bookmark-editor-row { min-height: 30px; }
|
||
.bookmark-editor { position: relative; flex: 1; min-width: 0; margin: 2px 10px; height: var(--tsv-bar-element-height); }
|
||
.bookmark-editor > .icon { position: absolute; left: 11px; top: 50%; z-index: 1; width: var(--tsv-icon-size); height: var(--tsv-icon-size); transform: translateY(-50%); color: var(--tsv-icon-base); pointer-events: none; }
|
||
.bookmark-editor > .bookmark-editor-input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0 var(--tsv-padding-h-minimal) 0 calc(var(--tsv-icon-size) + var(--tsv-padding-h)); border: 1.5px solid transparent; border-radius: var(--tsv-border-radius-pill); background: var(--tsv-bg); color: var(--tsv-font-color); font-size: var(--tsv-font-size-content); }
|
||
.bookmark-editor > .bookmark-editor-input::placeholder { color: var(--tsv-font-subtitle-color); opacity: 0.5; }
|
||
.bookmark-editor > .bookmark-editor-input:is(:hover, :focus, :focus-visible) { border-color: var(--tsv-tint); outline: none; }
|
||
/* drag and drop (main.css .ts-dnd-bookmarks-border-top/-bottom, .ts-dnd-drag-into) */
|
||
.servers-list > li:is(.ts-dnd-bookmarks-border-top, .ts-dnd-bookmarks-border-bottom, .ts-dnd-drag-into) { position: relative; }
|
||
.servers-list > li.ts-dnd-bookmarks-border-top::before { content: ""; position: absolute; top: -1.4px; left: 0; width: 100%; border-top: 2px solid var(--ts-drag-border, #16bcfb); pointer-events: none; }
|
||
.servers-list > li.ts-dnd-bookmarks-border-bottom::after { content: ""; position: absolute; bottom: -3.4px; left: 0; width: 100%; border-bottom: 2px solid var(--ts-drag-border, #16bcfb); pointer-events: none; }
|
||
.servers-list > li.ts-dnd-drag-into::after { content: ""; position: absolute; inset: 0; z-index: 0; box-sizing: border-box; border: 1px solid rgba(41, 194, 255, 0.5); border-radius: 2px; background-color: rgba(60, 34, 204, 0.1); pointer-events: none; }
|
||
/* delete confirmation (ts-warning-dialog in the context menu: Cancel row, title, pre-line subtitle, filled-warning Confirm) */
|
||
.bookmark-confirm { max-width: 200px; padding: var(--tsv-padding-v-minimal) 0 0; }
|
||
.bookmark-confirm-title { padding: var(--tsv-padding-v) calc(var(--tsv-padding-h-small) + var(--tsv-padding-h-minimal)); font-size: var(--tsv-font-size); }
|
||
.bookmark-confirm-text { margin: 0; padding: 0 calc(var(--tsv-padding-h-small) + var(--tsv-padding-h-minimal)) var(--tsv-padding-v); color: var(--tsv-font-subtitle-color); font-size: var(--tsv-font-size-small); white-space: pre-line; overflow-wrap: anywhere; }
|
||
.bookmark-confirm-action { padding: 0 var(--tsv-padding-h-small) var(--tsv-padding-v); }
|
||
.bookmark-confirm-button { width: 100%; min-height: var(--tsv-bar-element-height); padding: 0 var(--tsv-padding-h); border: 0; border-radius: var(--tsv-border-radius); background: linear-gradient(-45deg, var(--tsv-error-color) 1%, var(--tsv-error-light-color) 100%); color: var(--tsv-font-color); font: inherit; font-size: var(--tsv-font-size-content); cursor: pointer; }
|
||
.bookmark-confirm-button:hover { background: var(--tsv-error-light-color); }
|
||
.bookmark-confirm-button:focus-visible { outline: 2px solid var(--tsv-tint2); outline-offset: 1px; }
|
||
/* edit sub-panel (ts-edit-bookmark-popout: small text, padded cards, outlined tint2 / destructive buttons) */
|
||
.bookmark-edit-panel { display: flex; flex-direction: column; font-size: var(--tsv-font-size-small); }
|
||
.bookmark-edit-card, .bookmark-edit-panel > .bookmark-edit-row { margin: var(--tsv-padding-v-small, 4px) var(--tsv-padding-h-small); }
|
||
.bookmark-edit-card { display: flex; flex-direction: column; gap: var(--tsv-padding-v-small, 4px); padding: var(--tsv-padding-v-small, 4px) var(--tsv-padding-h-small); border-radius: var(--tsv-border-radius-large); background: var(--tsv-deviant-bg); }
|
||
.bookmark-edit-row { display: flex; align-items: center; gap: var(--tsv-padding-h-small); min-height: var(--tsv-bar-element-height); }
|
||
.bookmark-edit-row > label { flex: none; color: var(--tsv-font-subtitle-color); }
|
||
.bookmark-edit-row > :is(input, select) { flex: 1; min-width: 0; }
|
||
.bookmark-edit-name > .icon { flex: none; width: var(--tsv-icon-size); height: var(--tsv-icon-size); }
|
||
.bookmark-edit-button { width: 100%; gap: 5px; min-height: var(--tsv-bar-element-height); padding: 0 var(--tsv-padding-h-small); border: 1px solid var(--tsv-tint2); border-radius: var(--tsv-border-radius-large); background: var(--tsv-header-bg); color: var(--tsv-tint2); }
|
||
.bookmark-edit-button:hover:not(:disabled) { background: var(--tsv-shaded-bg); color: var(--tsv-tint); }
|
||
.bookmark-edit-button.is-destructive { border-color: var(--tsv-error-color); color: var(--tsv-error-color); }
|
||
.bookmark-edit-button.is-destructive:hover:not(:disabled) { border-color: var(--tsv-error-light-color); color: var(--tsv-error-light-color); }
|
||
.bookmark-edit-button .icon { width: var(--tsv-icon-size); height: var(--tsv-icon-size); }
|
||
/* options (ts-option-row caption min-width 65px; ts-toggle + ts-card-subtitle; .ts-card-contents-margin-top) */
|
||
.bookmark-edit-row > label, .bookmark-edit-caption { min-width: 65px; }
|
||
.bookmark-edit-caption { display: block; padding-top: var(--tsv-padding-v-small, 4px); color: var(--tsv-font-subtitle-color); }
|
||
.bookmark-edit-nickname { text-align: right; }
|
||
.bookmark-edit-option[hidden], .bookmark-edit-warning[hidden], .bookmark-secret-note[hidden], .bookmark-secret-action[hidden] { display: none; }
|
||
.bookmark-edit-option.ts-card-contents-margin-top { margin-top: var(--tsv-padding-v); }
|
||
.bookmark-edit-toggle { display: flex; align-items: center; justify-content: space-between; min-height: var(--tsv-bar-element-height); gap: var(--tsv-padding-h-small); cursor: pointer; user-select: none; }
|
||
.bookmark-edit-toggle > .ts-toggle-label { flex: 1 1 auto; min-width: 0; color: var(--tsv-font-color); }
|
||
.bookmark-edit-panel .ts-card-subtitle { margin: 0; color: var(--tsv-font-subtitle-color); font-size: var(--tsv-font-size-small); overflow-wrap: anywhere; }
|
||
/* ts-text-input-box-warning: #db5959, 12px, exclamation icon 14px with 8px gap, 5px vertical margin */
|
||
.bookmark-edit-warning { display: flex; align-items: center; gap: 8px; margin: 5px 0; color: #db5959; font-size: 12px; overflow-wrap: anywhere; }
|
||
.bookmark-edit-warning > .icon { flex: none; width: 14px; height: 14px; }
|
||
/* password / channel input with trailing actions (ts-text-input-box-reveal, -delete, -accept) */
|
||
.bookmark-secret { position: relative; display: flex; flex: 1; align-items: center; min-width: 0; }
|
||
.bookmark-secret > input { flex: 1; min-width: 0; padding-right: 55px; }
|
||
.bookmark-secret > input.bookmark-edit-channel { padding-right: calc(var(--tsv-icon-size) + 10px); }
|
||
.bookmark-secret-action { position: absolute; top: 0; bottom: 0; right: var(--tsv-padding-h-minimal); display: flex; align-items: center; justify-content: center; width: 24px; padding: 0; border: 0; background: transparent; color: var(--ts-menu-action-color, var(--tsv-font-subtitle-color)); cursor: pointer; }
|
||
.bookmark-secret > .bookmark-secret-action:nth-of-type(1):not(.bookmark-channel-current) { right: calc(var(--tsv-padding-h-minimal) + 24px); }
|
||
.bookmark-secret-action:hover:not(:disabled) { color: var(--tsv-tint); }
|
||
.bookmark-secret-action[aria-pressed="true"] { color: var(--tsv-tint); }
|
||
.bookmark-secret-action:disabled { opacity: .4; cursor: default; }
|
||
.bookmark-secret-action:focus-visible { outline: 2px solid var(--tsv-tint); outline-offset: -2px; border-radius: var(--tsv-border-radius); }
|
||
.bookmark-secret-action .icon { width: var(--tsv-icon-size); height: var(--tsv-icon-size); }
|
||
/* default channel drop target (.ts-drag-target-area: dashed subtitle border, tint while a channel hovers) */
|
||
.bookmark-edit-row.ts-drag-target-area { padding: 0 var(--tsv-padding-h-minimal); border: 2px dashed var(--tsv-font-subtitle-color); border-radius: var(--tsv-border-radius-large); }
|
||
.bookmark-edit-row.ts-drag-target-area.ts-drag-target-area-active { border-color: var(--tsv-tint); }
|
||
|
||
/* footer self bar: 55px, 3px separator inset 20px (theme @11881–13578) */
|
||
.self {
|
||
position: relative;
|
||
flex: 0 0 55px;
|
||
display: flex;
|
||
align-items: center;
|
||
min-height: 55px;
|
||
padding: 0 10px;
|
||
background-color: var(--tsv-side-bar-bg-gradient-bottom);
|
||
}
|
||
.self::before { content: ""; position: absolute; top: 0; left: 20px; right: 20px; border-top: 3px solid var(--presence-separator-presence); }
|
||
.self-id { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 10px; }
|
||
.self-avatar { position: relative; flex: none; display: grid; place-items: center; width: var(--tsv-icon-size-large); height: var(--tsv-icon-size-large); border-radius: 50%; background: var(--tsv-contrast-bg); color: var(--tsv-font-subtitle-color); }
|
||
.self-avatar .icon { width: 24px; height: 24px; }
|
||
.self-avatar .status-dot { position: absolute; right: -2px; bottom: -2px; width: 14px; height: 14px; border: 2px solid var(--tsv-side-bar-bg-gradient-bottom); background: var(--tsv-font-subtitle-color); }
|
||
.self-text { min-width: 0; }
|
||
.self-nick { font-size: var(--tsv-font-size); line-height: var(--tsv-line-height); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
.self-sub { font-size: var(--tsv-font-size-small); line-height: var(--tsv-line-height-small); color: var(--tsv-font-subtitle-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
|
||
.self-settings { color: var(--tsv-font-subtitle-color); }
|
||
.self-settings:hover:not(:disabled) { color: var(--tsv-tint2); }
|
||
.shell:has(#settings-view:not([hidden])) .self-settings { color: var(--tsv-tint); }
|
||
.status-dot { width: 10px; height: 10px; flex: none; border-radius: 50%; border: 1px solid var(--tsv-bg); background: var(--tsv-font-subtitle-color); }
|
||
.status-dot[data-talking="true"], [data-talking="true"] > .row-btn .status-dot { background: var(--presence-online); }
|
||
|
||
/* 62px rail (.tsv-sidebar-collapsed): icons only, no settings text */
|
||
.shell[data-sidebar-collapsed="true"] .app-sidebar { flex-basis: var(--sidebar-rail-width); }
|
||
.shell[data-sidebar-collapsed="true"] :is(.sidebar-brand-name, .connections-title, .servers-title, .connection-text, .server-text, .server-item-action, .connection-close, .connection-mic, .connections-join, .servers-empty, #servers-save-current, .servers-chevron, .self-text, .self-settings) { display: none; }
|
||
.shell[data-sidebar-collapsed="true"] :is(.sidebar-title-row, .sidebar-brand, .connections-head, .servers-head, .connection-item, .server-item, .self, .self-id) { justify-content: center; padding-inline: 0; }
|
||
.shell[data-sidebar-collapsed="true"] #bookmarks-search { margin-right: 0; }
|
||
.shell[data-sidebar-collapsed="true"] :is(.connection-item, .server-item)::before { inset: 2px 5px; }
|
||
.shell[data-sidebar-collapsed="true"] :is(.connection-item, .server-item)::after { left: 5px; }
|
||
.shell[data-sidebar-collapsed="true"] .connection-unread { position: absolute; right: 2px; top: 2px; background: transparent; color: var(--tsv-tint); padding: 0; }
|
||
.shell[data-sidebar-collapsed="true"] .self::before { left: 10px; right: 10px; }
|
||
|
||
/* ---------- pane 2: server tree (main pane, .main-pane-layout) ---------- */
|
||
.server-pane {
|
||
flex: 0 0 var(--server-width);
|
||
min-width: 220px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
background: var(--ts-new-header-bg);
|
||
}
|
||
.server-pane:has(> #room-side[hidden]) { position: absolute; top: 0; left: var(--sidebar-width); right: 0; height: var(--tsv-window-bar-height); min-width: 0; z-index: 110; }
|
||
.server-pane:has(> #room-side[hidden]) + .pane-splitter { display: none; }
|
||
.server-pane:has(> #room-side[hidden]) > .server-status-bar { display: none; }
|
||
/* central toolbar pill (CentralToolbarItem, theme @12904–13028, @36026–36775) */
|
||
.central-toolbar { display: flex; align-items: center; min-width: 0; }
|
||
.toolbar-pill { position: relative; display: flex; align-items: center; height: var(--tsv-bar-element-height); padding: 0 5px 0 10px; border-radius: var(--tsv-border-radius-pill); background: var(--tsv-bg); }
|
||
.tool-btn {
|
||
position: relative;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 5px;
|
||
min-width: 0;
|
||
height: 100%;
|
||
padding: 0 10px 0 0;
|
||
border: 0;
|
||
background: transparent;
|
||
color: var(--tsv-icon-base);
|
||
font: inherit;
|
||
font-size: var(--tsv-font-size-small);
|
||
white-space: nowrap;
|
||
cursor: pointer;
|
||
}
|
||
.tool-btn + .tool-btn { padding-left: 0; }
|
||
/* light theme paints tool glyphs with --tsv-icon-base #494949 (main.js light theme module); .shell routes the token through currentColor */
|
||
@media (prefers-color-scheme: light) { .tool-btn { color: #494949; } }
|
||
.toolbar-pill > .tool-btn:not(:last-child)::after { content: ""; position: absolute; right: 4px; top: 2px; bottom: 2px; width: 1px; background: var(--strong-bg); }
|
||
.toolbar-pill > .tool-btn:last-child:not([hidden])::after, .toolbar-pill > .tool-btn:nth-last-child(2):has(+ [hidden])::after { display: none; }
|
||
.toolbar-pill > .tool-btn:has(+ .toolbar-menu-toggle)::after { display: none; }
|
||
.toolbar-pill > .tool-btn { height: var(--tsv-icon-size); }
|
||
.toolbar-pill > .tool-btn:has(+ .toolbar-menu-toggle) { padding-right: 0; }
|
||
/* enabled .tsv-tool-button-context-menu-toggle paints --tsv-contrast-color; hover tint, open tint2; 16×(22+2·2), icon absolute bottom 0 (main.css@184502) */
|
||
.toolbar-menu-toggle { display: grid; place-items: end center; width: 16px; height: calc(var(--tsv-icon-size) + 2 * var(--tsv-padding-v-minimal)); padding: 0; border: 0; background: transparent; color: var(--tsv-contrast-color); cursor: pointer; }
|
||
.toolbar-menu-toggle .icon { width: var(--tsv-icon-size-small); height: var(--tsv-icon-size-small); }
|
||
.toolbar-menu-toggle:hover { color: var(--tsv-tint); }
|
||
.toolbar-menu-toggle[aria-expanded="true"] { color: var(--tsv-tint2); }
|
||
.tool-btn .icon { transition: transform 0.1s ease-out; }
|
||
.tool-btn:hover .icon { transform: scale(1.15); }
|
||
.tool-btn[aria-pressed="true"] { color: var(--tsv-icon-tint); }
|
||
#btn-mute[aria-pressed="true"], #btn-deafen[aria-pressed="true"] { color: var(--tsv-error-color); }
|
||
.btn-ptt { user-select: none; touch-action: none; padding-left: 5px !important; color: var(--tsv-font-subtitle-color); }
|
||
.btn-ptt[aria-pressed="true"] { color: var(--presence-online); }
|
||
.toolbar-away { height: var(--tsv-bar-element-height); padding: 0 5px 0 10px; gap: 0; }
|
||
.toolbar-away .toolbar-away-chevron { align-self: flex-end; width: 16px; height: 16px; color: var(--tsv-contrast-color); }
|
||
.toolbar-away[aria-pressed="true"] { color: var(--tsv-away-color); }
|
||
.server-status-bar .btn-ptt { height: var(--tsv-bar-element-height); padding: 0 10px; border-radius: var(--tsv-border-radius-pill); background: var(--tsv-bg); }
|
||
|
||
.room-side {
|
||
position: relative;
|
||
flex: 1;
|
||
min-height: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
/* the 10px inverse fillet under the window bar (theme @12406) */
|
||
border-top-left-radius: var(--tsv-border-radius-xlarge);
|
||
background: var(--tsv-servertree-bg-gradient);
|
||
}
|
||
/* TSServerHeader: 92px slot, 74px card at 18px, 10px radius, view-header gradient @ .9 */
|
||
/* .ts-server-tree-wrapper is its own will-change:transform layer (css@628172): tree and header text rasterise grayscale */
|
||
.server-head { flex: none; padding: 0 19px 8px; will-change: transform; }
|
||
.server-card {
|
||
--banner-top: calc(var(--tsv-padding-v-large) + var(--tsv-padding-v-minimal));
|
||
--banner-height: calc(var(--banner-top) + var(--tsv-icon-size-xlarge) + 2 * var(--tsv-padding-v) + 3px);
|
||
--banner-content-offset: calc((var(--banner-height) - var(--tsv-icon-size-xlarge)) / 2);
|
||
position: relative;
|
||
isolation: isolate;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0;
|
||
min-height: var(--banner-height);
|
||
padding: 0 20px;
|
||
border-radius: var(--tsv-border-radius-xlarge);
|
||
overflow: hidden;
|
||
background: transparent;
|
||
}
|
||
/* theme D/L@39790: only ::after paints (gradient @ .9 over the tree); ::before is display:none (D/L@40030) */
|
||
.server-card::after { content: ""; position: absolute; inset: var(--banner-top) 0 0; z-index: -1; border-radius: inherit; background: var(--tsv-view-header-bg); opacity: 0.9; }
|
||
.server-card > :not(.host-banner) { position: relative; z-index: 1; }
|
||
.host-banner { position: absolute; inset: var(--banner-top) 0 0; z-index: -2; width: 100%; height: calc(100% - var(--banner-top)); object-fit: cover; object-position: 0 0; border-radius: inherit; pointer-events: none; }
|
||
.server-icon { flex: none; display: grid; place-items: center; width: var(--tsv-icon-size-xlarge); height: var(--tsv-icon-size-xlarge); margin-top: var(--banner-content-offset); color: var(--tsv-font-color); filter: drop-shadow(0 0 2px var(--tsv-shadow-color)); }
|
||
.server-icon .icon { width: var(--tsv-icon-size-xlarge); height: var(--tsv-icon-size-xlarge); }
|
||
.server-title { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; margin-top: var(--banner-content-offset); margin-bottom: 4px; padding: 0 20px; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
|
||
.server-name { max-width: 100%; font-size: var(--tsv-font-size-large); line-height: 28px; font-weight: var(--tsv-font-weight-bold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
.conn-badge { display: inline-flex; align-items: center; gap: 5px; font-size: var(--tsv-font-size-small); line-height: var(--tsv-line-height-small); color: var(--tsv-font-subtitle-color); }
|
||
.conn-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tsv-font-subtitle-color); }
|
||
.conn-badge[data-state="connected"] { display: none; }
|
||
.conn-badge:is([data-state="connecting"], [data-state="disconnecting"])::before { background: var(--tsv-away-color); }
|
||
.server-card .icon-btn { color: var(--tsv-font-subtitle-color); }
|
||
.server-card .icon-btn:hover { color: var(--tsv-tint2); }
|
||
.server-card .icon-btn { width: calc(var(--tsv-icon-size) + 5px); height: var(--tsv-icon-size); padding: 0 5px 0 0; margin-top: var(--banner-content-offset); }
|
||
.server-card .icon-btn:last-child { width: calc(var(--tsv-icon-size) + 10px); padding-right: 10px; }
|
||
#server-current-chat { color: var(--tsv-tint); }
|
||
|
||
.tree-empty { padding: 8px 20px 0; color: var(--tsv-font-subtitle-color); font-size: var(--tsv-font-size-small); text-align: center; }
|
||
/* scroller: 9px left / 1px right + stable 8px gutter (theme @37278) */
|
||
.tree {
|
||
list-style: none;
|
||
flex: 1;
|
||
min-height: 0;
|
||
margin: 0;
|
||
padding: 0 1px 5px 9px;
|
||
overflow-x: hidden;
|
||
overflow-y: auto;
|
||
scrollbar-gutter: stable;
|
||
will-change: transform;
|
||
}
|
||
/* indent(d) = min(d,4)·10px + max(d−4,0)·5px (js@4152551) */
|
||
.tree-row { --indent: calc(min(var(--depth, 0), 4) * 10px + max(var(--depth, 0) - 4, 0) * 5px); position: relative; white-space: nowrap; }
|
||
.row-btn {
|
||
position: relative;
|
||
isolation: isolate;
|
||
width: 100%;
|
||
display: flex;
|
||
align-items: center;
|
||
border: 0;
|
||
background: transparent;
|
||
color: var(--tsv-font-color);
|
||
font: inherit;
|
||
text-align: left;
|
||
cursor: pointer;
|
||
}
|
||
.row-label { min-width: 0; white-space: pre; overflow: hidden; text-overflow: ellipsis; }
|
||
.row-btn:focus-visible { outline: none; }
|
||
.row-btn:focus-visible::after { content: ""; position: absolute; inset: 7px 10px 7px calc(10px + var(--indent)); border-radius: 9px; box-shadow: 0 0 0 2px var(--tsv-tint2); }
|
||
|
||
/* channel row: 44px slot, 30px pill (inset 7/10, radius 9, 1.5px outline), channel background on */
|
||
.channel-row { height: var(--ts-tree-channel-height-default); }
|
||
.channel-row > .row-btn { height: 100%; gap: 5px; padding: 0 42px 0 calc(20px + var(--indent)); }
|
||
.channel-row > .row-btn::before {
|
||
content: "";
|
||
position: absolute;
|
||
inset: 7px 10px 7px calc(10px + var(--indent));
|
||
z-index: -1;
|
||
border: 1.5px solid transparent;
|
||
border-radius: 9px;
|
||
background: linear-gradient(to right, var(--ts-tree-channel-bg-start) 50%, var(--ts-tree-channel-bg-end) 100%);
|
||
transition: inset 0.15s ease-out, border-color 0.15s ease-out;
|
||
}
|
||
.channel-row.has-banner > .row-btn::before {
|
||
background-color: var(--tsv-shaded-bg);
|
||
background-image: linear-gradient(to right, var(--tsv-contrast-bg) 0, color-mix(in srgb, var(--tsv-contrast-bg) 60%, transparent) 150px, transparent 300px), var(--banner);
|
||
background-repeat: no-repeat;
|
||
background-position: 0 0, right center;
|
||
background-size: 100% 100%, min(500px, 100%) auto;
|
||
}
|
||
.channel-row > .row-btn:hover::before, .channel-row[data-current="true"] > .row-btn::before, .channel-row[data-selected="true"] > .row-btn::before { inset: 4px 7px 4px calc(7px + var(--indent)); border-color: var(--tsv-font-subtitle-color); }
|
||
.channel-row > .row-btn:hover::before { transition-duration: 32ms; }
|
||
.channel-row .row-btn > .icon { width: var(--tsv-icon-size); height: var(--tsv-icon-size); color: var(--tsv-font-color); }
|
||
.channel-row .row-label { margin: 2px 0 2px 5px; font-size: var(--tsv-font-size-small); font-weight: var(--tsv-font-weight-normal); }
|
||
.channel-row.has-banner .row-label { text-shadow: 0 0 10px var(--tsv-contrast-bg), 0 0 5px var(--tsv-contrast-bg); }
|
||
.channel-meta { flex: none; margin-left: 5px; font-size: var(--tsv-font-size-small); color: var(--tsv-font-subtitle-color); font-variant-numeric: tabular-nums; }
|
||
.channel-meta:empty { display: none; }
|
||
.channel-icon { display: inline-grid; place-items: center; flex: none; }
|
||
.channel-icon:empty { display: none; }
|
||
.channel-icon img { width: var(--tsv-icon-size-small); height: var(--tsv-icon-size-small); object-fit: contain; }
|
||
.channel-collapse {
|
||
position: absolute;
|
||
right: 15px;
|
||
top: 50%;
|
||
transform: translateY(-50%);
|
||
display: grid;
|
||
place-items: center;
|
||
width: var(--tsv-icon-size);
|
||
height: var(--tsv-icon-size);
|
||
padding: 0;
|
||
border: 0;
|
||
background: transparent;
|
||
color: var(--tsv-font-color);
|
||
cursor: pointer;
|
||
}
|
||
.channel-collapse .icon { transition: transform 0.1s ease; }
|
||
.channel-collapse:hover { color: var(--tsv-tint2); }
|
||
.channel-collapse[aria-expanded="false"] { color: var(--tsv-icon-tint); }
|
||
.channel-collapse[aria-expanded="false"] .icon { transform: rotate(-90deg); }
|
||
/* collapsed-channel avatars: 22px, overlap 33% (css@609161) */
|
||
.channel-preview { display: inline-flex; align-items: center; flex: none; padding: 0 8.63px 0 3.63px; margin-left: 10px; }
|
||
.channel-preview .avatar { width: 22px; height: 22px; margin-left: -7.26px; border: 1px solid var(--tsv-bg); background: var(--tsv-contrast-bg); color: var(--tsv-font-subtitle-color); font-size: 11px; font-weight: var(--tsv-font-weight-semibold); }
|
||
.channel-preview .avatar:first-child { margin-left: 0; }
|
||
.channel-preview .avatar img { width: 100%; height: 100%; }
|
||
.channel-preview-count { margin-left: 4px; font-size: 0.75em; color: var(--tsv-font-subtitle-color); }
|
||
|
||
/* spacer rows: 44px, 14px semibold, pill-shaped hover */
|
||
.spacer-row { height: var(--ts-tree-channel-height-default); display: flex; align-items: center; padding: 0 20px 0 calc(20px + var(--indent)); font-size: var(--tsv-font-size-content); font-weight: var(--tsv-font-weight-semibold); color: var(--tsv-font-color); overflow: hidden; text-overflow: clip; }
|
||
.spacer-row[data-kind="center"] { justify-content: center; }
|
||
.spacer-row[data-kind="right"] { justify-content: flex-end; }
|
||
|
||
/* client row: 40px, 33px avatar, nick 14px in third-font colour (css@623635) */
|
||
.member-row { height: var(--ts-tree-client-height-default); display: flex; align-items: stretch; }
|
||
.member-row .row-btn { height: 100%; gap: 0; padding: 0 10px 0 calc(15px + var(--indent)); }
|
||
.member-row .avatar { margin-right: 5px; }
|
||
.member-row .row-btn::before {
|
||
content: "";
|
||
position: absolute;
|
||
inset: 1px 10px 1px calc(10px + var(--indent));
|
||
z-index: -1;
|
||
border: 1.5px solid transparent;
|
||
border-radius: var(--tsv-border-radius-pill);
|
||
-webkit-mask-image: linear-gradient(to right, #000 5px, transparent 160px);
|
||
mask-image: linear-gradient(to right, #000 5px, transparent 160px);
|
||
}
|
||
.member-row .row-btn:hover:not([aria-expanded="true"])::before { border-color: var(--tsv-font-subtitle-color); }
|
||
.member-row .row-label { flex: 0 1 auto; margin: 2px 0 2px 5px; font-size: var(--tsv-font-size-content); font-weight: var(--tsv-font-weight-normal); color: var(--ts-third-font-color); }
|
||
.member-row[data-self="true"] .row-label { color: var(--tsv-tint); font-weight: 500; }
|
||
.avatar {
|
||
position: relative;
|
||
flex: none;
|
||
display: grid;
|
||
place-items: center;
|
||
width: var(--tsv-icon-size-large);
|
||
height: var(--tsv-icon-size-large);
|
||
}
|
||
/* portrait icon overhangs the square slot by (portrait − size) / 2 each side (css@112135), no fractional centring */
|
||
.avatar > .icon { position: absolute; left: calc((100% - 100% * 51 / 33) / 2); top: 0; width: calc(100% * 51 / 33); height: 100%; }
|
||
.avatar img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; mask: url("../assets/icons/client_detailed_mask.svg") center / 100% 100% no-repeat; }
|
||
.avatar .avatar-talking { z-index: 2; opacity: 0; transition: opacity .15s; }
|
||
.member-row[data-talking="true"] .avatar-talking, .avatar[data-talking="true"] .avatar-talking { opacity: 1; transition-duration: 5ms; }
|
||
/* group-name tags (css@409246, theme @29011) */
|
||
.group-label { flex: 0 1 auto; min-width: 2.5em; max-width: 14ch; margin-left: 4px; padding: 0 5px; border-radius: 6px; background: var(--tsv-header-bg); color: var(--tsv-font-subtitle-color); font-size: var(--tsv-font-size-small); font-weight: var(--tsv-font-weight-normal); line-height: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
.member-tag { margin-right: auto; margin-left: 4px; font-size: var(--tsv-font-size-small); color: var(--tsv-away-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
.member-tag:empty { margin-left: 0; }
|
||
/* status badges: 23px plate, radius 7, 17px icons, separator 1px subtitle (css@407337, theme @28936–31043) */
|
||
.member-flags, .member-badges { flex: none; display: inline-flex; align-items: center; gap: 6px; height: var(--ts-tree-badges-height-default); padding: 0 5px; border-radius: 7px; background: var(--ts-tree-badges-bg); color: var(--tsv-font-color); }
|
||
.member-flags:empty, .member-badges:empty { display: none; }
|
||
.member-badges { margin-left: 5px; max-width: 45%; overflow: hidden; }
|
||
.member-flags .icon, .member-flags > span { width: 17px; height: 17px; }
|
||
.member-flags > span { display: inline-grid; place-items: center; }
|
||
.member-flags .flag-muted { color: var(--tsv-error-color); }
|
||
.member-flags .flag-live { color: var(--tsv-online-color); }
|
||
.member-flags .flag-watching { color: var(--tsv-tint); }
|
||
.member-flags .flag-rec { color: var(--tsv-error-color); }
|
||
.group-icon { display: inline-grid; place-items: center; width: 17px; height: 17px; color: var(--tsv-font-subtitle-color); }
|
||
.group-icon img { width: 17px; height: 17px; object-fit: contain; }
|
||
.group-icon .icon { width: 15px; height: 15px; }
|
||
.country { padding: 0 3px; border-radius: 2px; font-size: 11px; line-height: 14px; color: var(--tsv-font-subtitle-color); font-variant-numeric: tabular-nums; }
|
||
img.country { width: var(--tsv-icon-size); height: var(--tsv-icon-size-small); object-fit: contain; padding: 0; }
|
||
.password-row { display: flex; align-items: center; min-height: var(--ts-tree-client-height-default); padding: 4px 10px 4px calc(25px + var(--indent)); }
|
||
.password-row form { flex: 1; display: flex; gap: 5px; min-width: 0; }
|
||
.password-row input { min-width: 0; }
|
||
|
||
/* ServerStatusBar: constructive buttons left, 40px side padding (theme .ts-server-status-bar) */
|
||
.server-status-bar { flex: none; display: flex; align-items: center; gap: 0; height: 55px; min-height: 55px; padding: 0 40px; background: var(--tsv-bg); }
|
||
.server-status-bar .create-channel-action { flex: none; gap: 10px; height: 30px; min-height: 30px; padding: 4px 10px; margin-right: 5px; font-size: var(--tsv-font-size-small); font-weight: var(--tsv-font-weight-normal); line-height: normal; }
|
||
.server-status-bar .create-channel-action .icon { width: var(--tsv-icon-size); height: var(--tsv-icon-size); }
|
||
.server-disconnect-action { display: none; }
|
||
|
||
/* ---------- pane 3: detail (.tsv-activity-detail, shaded body) ---------- */
|
||
.workspace {
|
||
flex: 1 1 0;
|
||
min-width: var(--detail-min-width);
|
||
min-height: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
background: var(--tsv-shaded-bg);
|
||
}
|
||
.detail-pane-bar { padding: 0; }
|
||
|
||
.connect-view { flex: 1; min-height: 0; overflow-y: auto; display: grid; place-items: center; padding: 8px 20px; }
|
||
.connect-form { width: min(480px, 100%); display: flex; flex-direction: column; gap: 16px; padding: 8px 20px 20px; border-radius: var(--tsv-border-radius-xxlarge); background: var(--tsv-header-bg); }
|
||
.connect-form h1 { font-size: var(--tsv-font-size-title-small); line-height: var(--tsv-line-height-title-small); margin-top: 8px; }
|
||
|
||
.session-view { flex: 1; min-height: 0; display: flex; flex-direction: column; container-type: inline-size; }
|
||
/* content header bar: 71px, 38px icon, 24/28 bold title (theme @35588) + 4px separator */
|
||
.session-head { flex: none; display: flex; align-items: center; gap: 10px; min-height: 71px; padding: 0 10px 0 15px; }
|
||
.session-icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; color: var(--tsv-font-color); }
|
||
.session-icon .icon { width: 38px; height: 38px; }
|
||
.session-title { flex: 1; min-width: 0; display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 5px; }
|
||
.session-title h1 { min-width: 0; max-width: 100%; font-size: var(--tsv-font-size-title-small); line-height: var(--tsv-line-height-title-small); font-weight: var(--tsv-font-weight-bold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
.channel-topic, .channel-browse { flex: 1 1 100%; min-width: 0; font-size: var(--tsv-font-size-minimal); line-height: var(--tsv-line-height-minimal); color: var(--tsv-font-subtitle-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
.channel-topic:empty { display: none; }
|
||
#btn-join-channel { flex: none; }
|
||
.content-separator { flex: none; height: 4px; margin: 0 20px; background: var(--tsv-header-bg); }
|
||
.notice { margin: 8px 20px 0; padding: 8px 10px; border-radius: 15px; background: linear-gradient(to right, var(--tsv-away-color), var(--tsv-shaded-bg)); color: var(--tsv-font-color); font-size: var(--tsv-font-size-small); }
|
||
|
||
/* Content modes belong to the detail header; open conversations belong to sidebar activities. */
|
||
.detail-modes { display: inline-flex; align-items: center; flex: none; height: var(--tsv-bar-element-height); border-radius: var(--tsv-border-radius-pill); background: var(--tsv-bg); }
|
||
.detail-modes .icon-btn { position: relative; width: 30px; height: var(--tsv-bar-element-height); padding: 0 4px; }
|
||
@media (prefers-color-scheme: light) { .detail-modes .icon-btn { color: #494949; } }
|
||
/* .tsv-tool-buttons-bar separator: right calc(-.5·border-radius + 1px) (main.js theme .tsv-tool-buttons-bar rule) */
|
||
.detail-modes .icon-btn:not(:last-child)::after { content: ""; position: absolute; right: calc(-0.5 * var(--tsv-border-radius) + 1px); top: 4px; bottom: 4px; width: 1px; background: var(--strong-bg); }
|
||
.detail-modes .icon-btn[aria-pressed="true"] { color: var(--tsv-tint); }
|
||
.chat-tabs { display: flex; flex-direction: column; gap: 4px; padding: 0; }
|
||
.chat-tabs:empty { display: none; }
|
||
.tab-wrap { position: relative; display: flex; align-items: center; min-height: var(--tsv-row-height-large); margin: 0 10px; border-radius: var(--tsv-border-radius-large); background: var(--tsv-deviant-bg); }
|
||
.tab-wrap:has([aria-selected="true"]) { background: var(--settings-highlight-bg); }
|
||
.chat-tab { display: flex; flex: 1; align-items: center; gap: 10px; min-width: 0; min-height: var(--tsv-row-height-large); padding: 0 10px; border: 0; background: transparent; color: var(--tsv-font-color); font: inherit; text-align: left; cursor: pointer; }
|
||
.chat-tab:hover { color: var(--tsv-tint2); }
|
||
.chat-tab .tab-label { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
.chat-tab .unread { min-width: 16px; padding: 0 5px; border-radius: 10px; background: var(--tsv-tint); color: var(--tsv-contrast-bg); font-size: var(--tsv-font-size-minimal); font-weight: bolder; line-height: 16px; text-align: center; font-variant-numeric: tabular-nums; }
|
||
.tab-close { width: 22px; height: 22px; padding: 0; margin-right: 4px; color: var(--tsv-font-subtitle-color); }
|
||
.tab-close .icon { width: 14px; height: 14px; }
|
||
.shell[data-sidebar-collapsed="true"] .conversations-panel :is(.connections-head, .tab-label, .tab-close) { display: none; }
|
||
.chat-history-controls:empty { display: none; }
|
||
|
||
/* stream stage above the chat (as in the official channel view) */
|
||
.stream-area { position: relative; flex: 0 1 var(--stream-stage-height, 55%); min-height: 160px; display: flex; flex-direction: column; padding: 8px 20px 0; overflow-y: auto; overflow-x: hidden; }
|
||
.workspace:not([data-view="main"]):not([data-view="channel-info"]) > :is(.stream-area, .stream-splitter), .workspace[data-view="channel-info"]:not([data-detail-kind="channel"]) > :is(.stream-area, .stream-splitter) { display: none; }
|
||
.stream-grid { position: relative; flex: 1 0 162px; min-height: 162px; }
|
||
.stream-grid:empty { display: none; }
|
||
.stream-area[data-collapsed="true"], .stream-area:not(:has(.stream-view)) { flex: 0 0 auto; min-height: 0; }
|
||
.stream-area[data-collapsed="true"] :is(.stream-grid, .stream-offers) { display: none; }
|
||
.stream-stage-heading { position: sticky; bottom: 0; order: 3; z-index: 2; display: flex; align-items: center; justify-content: center; flex: none; height: 14px; }
|
||
.stream-stage-heading .icon-btn { width: 40px; height: 14px; padding: 0; color: var(--tsv-font-subtitle-color); }
|
||
.stream-stage-heading .icon-btn .icon { width: 18px; height: 14px; }
|
||
.stream-stage-heading .icon-btn:hover { color: var(--tsv-tint2); }
|
||
/* Source screen-grid @556730 and server-tree-overlay @629830. */
|
||
.server-tree-overlay { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: var(--stream-stage-height, 175px); min-height: 162px; background: var(--tsv-bg); }
|
||
.server-tree-overlay > .stream-area { width: 100%; height: 100%; }
|
||
.stream-layout-controls { position: absolute; top: var(--tsv-padding-v); right: 0; z-index: 15; width: var(--tsv-padding-h); min-height: var(--tsv-bar-element-height); }
|
||
.stream-layout-controls :is(button, summary), .stream-pagination button { border: 0; padding: 2px 5px; background: transparent; color: var(--tsv-font-subtitle-color); font: inherit; font-size: var(--tsv-font-size-small); cursor: pointer; }
|
||
.stream-layout-controls :is(button, summary):hover, .stream-pagination button:hover { color: var(--tsv-tint2); }
|
||
.stream-layout-controls label { display: flex; align-items: center; gap: 5px; font-size: var(--tsv-font-size-small); }
|
||
.stream-layout-controls > summary { list-style: none; width: var(--tsv-padding-h); height: var(--tsv-bar-element-height); padding-inline: 0; }
|
||
.stream-layout-controls > summary::-webkit-details-marker { display: none; }
|
||
.stream-layout-menu { position: absolute; z-index: 16; right: 0; top: 100%; width: 240px; max-width: calc(100vw - 40px); max-height: 40vh; overflow-y: auto; border-radius: var(--tsv-border-radius-large); background: var(--tsv-context-menu-backdrop); box-shadow: 1px 1px 2px rgba(0, 0, 0, .2); }
|
||
.stream-layout-menu > :is(button, label, details) { width: 100%; min-height: 30px; padding: 4px 5px; text-align: left; }
|
||
.stream-hidden-list { position: relative; }
|
||
.stream-hidden-list > div { position: absolute; z-index: 16; right: 0; min-width: 170px; max-height: 40vh; overflow-y: auto; border-radius: var(--tsv-border-radius-large); background: var(--tsv-contrast-bg); }
|
||
.stream-hidden-list > div > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 5px; }
|
||
.stream-view[data-layout-pip="true"] { z-index: 3; }
|
||
.stream-pagination { flex: none; display: flex; justify-content: center; align-items: center; min-height: calc(var(--tsv-bar-element-height) - 2px); gap: 5px; }
|
||
.stream-pagination button[aria-current="page"] { color: var(--tsv-font-color); font-weight: var(--tsv-font-weight-bold); }
|
||
.stream-tile-order { position: absolute; z-index: 2; top: 8px; left: 8px; border: 0; border-radius: var(--tsv-border-radius); padding: 2px 5px; background: var(--tsv-contrast-bg); color: var(--tsv-font-subtitle-color); font: inherit; font-size: var(--tsv-font-size-small); cursor: grab; opacity: 0; }
|
||
.stream-view:is(:hover, :focus-within) .stream-tile-order { opacity: 1; }
|
||
.stream-stats-fields { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; margin: 0; font-size: var(--tsv-font-size-small); font-variant-numeric: tabular-nums; }
|
||
.stream-stats-fields dt { color: var(--tsv-font-subtitle-color); }
|
||
.stream-stats-fields dd { margin: 0; overflow-wrap: anywhere; }
|
||
.stream-issues { margin: 0; padding: 0 0 0 20px; color: var(--tsv-away-color); font-size: var(--tsv-font-size-small); }
|
||
.stream-issues [data-severity="error"] { color: var(--tsv-error-light-color); }
|
||
/* TSScreenshareStream tile: shaded fill, 2px tsv-bg border, radius 8 (css@56083) */
|
||
.stream-view {
|
||
container: stream-tile / inline-size;
|
||
position: relative;
|
||
min-width: 0;
|
||
min-height: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
border: 2px solid var(--tsv-bg);
|
||
border-radius: var(--tsv-border-radius-large);
|
||
background: var(--tsv-shaded-bg);
|
||
overflow: hidden;
|
||
}
|
||
.stream-stage { position: relative; flex: 1; min-height: 0; }
|
||
.stream-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
|
||
.stream-overlay { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; color: var(--tsv-font-subtitle-color); text-align: center; font-size: var(--tsv-font-size-small); pointer-events: none; }
|
||
.stream-overlay:empty { display: none; }
|
||
/* name chip bottom-left; 26px control bar appears on hover (css@367818, @370281) */
|
||
.stream-bar { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: flex-end; min-height: 26px; color: #FFFFFF; pointer-events: none; }
|
||
.stream-title { position: relative; display: block; max-width: calc(100% - 80px); margin: 0 0 4px 5px; padding: 2px 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--tsv-font-subtitle-color); font-size: var(--tsv-font-size-small); line-height: var(--tsv-line-height-small); transition: opacity 0.08s 0.04s; isolation: isolate; }
|
||
.stream-title::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: var(--tsv-border-radius); background: var(--tsv-contrast-bg); opacity: 0.85; }
|
||
.stream-controls { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; gap: 5px; height: 26px; padding: 0 5px; border-radius: var(--tsv-border-radius-large); backdrop-filter: blur(2px); background: color-mix(in srgb, var(--tsv-contrast-bg) 70%, transparent); opacity: 0; transform: translateY(calc(100% + 10px)); pointer-events: none; transition: opacity 0.12s, transform 0.08s; }
|
||
.stream-audio-controls, .stream-view-controls { display: flex; align-items: center; gap: 0; }
|
||
.stream-audio-controls { flex-grow: 10; max-width: calc(var(--tsv-padding-h-large) * 2 + var(--tsv-icon-size)); }
|
||
.stream-view-controls { margin-left: auto; }
|
||
.stream-bar .icon-btn { width: var(--tsv-icon-size); height: 26px; padding: 0; color: #FFFFFF; }
|
||
.stream-details > summary { width: 32px; height: 26px; padding: 0 5px; color: #FFFFFF; }
|
||
.stream-bar .icon-btn:hover, .stream-details > summary:hover { color: var(--tsv-tint); }
|
||
.stream-bar .icon-btn[aria-pressed="true"] { color: var(--tsv-error-light-color); }
|
||
.stream-bar .stream-stop { color: var(--tsv-error-light-color); }
|
||
.stream-bar .range { width: 80px; min-width: 0; height: 26px; opacity: 0; transform: scaleX(0); transform-origin: left; transition: opacity .09s ease-out, transform .09s ease-out; }
|
||
.stream-audio-controls:is(:hover, :focus-within) .range { opacity: 1; transform: scaleX(1); }
|
||
.stream-view:is(:hover, :focus-within) .stream-title, .stream-view:has(.stream-details[open]) .stream-title { opacity: 0; transition-delay: 0s; }
|
||
.stream-view:is(:hover, :focus-within) .stream-controls, .stream-view:has(.stream-details[open]) .stream-controls { opacity: 1; transform: none; pointer-events: auto; }
|
||
.stream-details { position: absolute; top: 8px; right: 8px; z-index: 1; max-width: calc(100% - 16px); color: #FFFFFF; }
|
||
.stream-details > summary { display: grid; place-items: center; margin-left: auto; list-style: none; cursor: pointer; border-radius: var(--tsv-border-radius); background: color-mix(in srgb, var(--tsv-contrast-bg) 70%, transparent); }
|
||
.stream-details > summary::-webkit-details-marker { display: none; }
|
||
.stream-details-panel { display: flex; flex-direction: column; gap: 8px; width: 280px; max-width: 100%; padding: 8px 10px; margin-top: 5px; border-radius: var(--tsv-border-radius-large); background: var(--tsv-contrast-bg); box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); }
|
||
.stream-details-panel strong { font-size: var(--tsv-font-size-small); }
|
||
.stream-details-panel > button { display: flex; align-items: center; gap: var(--tsv-padding-h-small); min-height: 30px; padding: 4px 5px; border: 0; background: transparent; color: var(--tsv-font-color); font: inherit; text-align: left; cursor: pointer; }
|
||
.stream-details-panel > button:hover:not(:disabled) { background: var(--tsv-context-menu-item-selection); }
|
||
.stream-stats { min-width: 0; overflow-wrap: anywhere; font-size: var(--tsv-font-size-small); color: var(--tsv-font-subtitle-color); font-variant-numeric: tabular-nums; }
|
||
.stream-stats:empty { display: none; }
|
||
.stream-view :is(button, summary, input):focus-visible { outline: 2px solid var(--tsv-tint2); outline-offset: 1px; }
|
||
@media (hover: none), (pointer: coarse) {
|
||
.stream-title { opacity: 0; }
|
||
.stream-controls { opacity: 1; transform: none; pointer-events: auto; }
|
||
}
|
||
@container stream-tile (max-width: 360px) {
|
||
.stream-bar .range { width: 52px; }
|
||
}
|
||
.stream-view:fullscreen { width: 100%; height: 100%; border: 0; border-radius: 0; background: var(--tsv-bg); }
|
||
.stream-view:fullscreen .stream-controls { height: 40px; }
|
||
body.stream-popout-window { margin: 0; padding: 0; overflow: hidden; background: var(--tsv-bg); }
|
||
#stream-popout-host { position: fixed; inset: 0; display: flex; min-width: 0; min-height: 0; }
|
||
#stream-popout-host > .stream-view[data-popout="true"] { position: relative; flex: 1; width: 100%; height: 100%; border: 0; border-radius: 0; }
|
||
#stream-popout-host :is(.stream-tile-order, .stream-tile-unpin) { display: none; }
|
||
.stream-fullscreen-error { position: absolute; top: 8px; left: 8px; right: 50px; margin: 0; padding: 8px 10px; border-radius: 15px; background: var(--tsv-notification-error-bg); color: var(--tsv-font-color); user-select: text; }
|
||
/* explicit Watch entries for streams of the browsed channel */
|
||
.stream-offers { flex: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 8px 10px; margin: 0; padding: 8px 0; list-style: none; overflow: hidden; }
|
||
.stream-offer { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 4px 10px; border-radius: var(--tsv-border-radius-large); background: var(--tsv-bg); }
|
||
.offer-screen { flex: none; display: grid; place-items: center; width: 40px; height: 26px; border-radius: var(--tsv-border-radius); background: var(--tsv-contrast-bg); color: var(--tsv-tint); }
|
||
.offer-screen .icon { width: 18px; height: 18px; }
|
||
.stream-offer:not([data-kind="stream"]) .offer-screen { color: var(--tsv-font-subtitle-color); }
|
||
.offer-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
|
||
.offer-name { font-size: var(--tsv-font-size-content); font-weight: var(--tsv-font-weight-semibold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
.offer-sub { font-size: var(--tsv-font-size-small); color: var(--tsv-font-subtitle-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
.stream-offer[data-kind="error"] .offer-sub { color: var(--tsv-error-light-color); }
|
||
.offer-watch { flex: none; }
|
||
|
||
/* ---------- chat (legacy server text chat in the official chat view) ---------- */
|
||
.chat { position: relative; flex: 1; min-height: 180px; display: flex; flex-direction: column; }
|
||
/* source `.tsv-virtual-list.scrollbar-visible{padding-right:10px}` (main.css@541386): the 10px safe area exists only
|
||
while the list overflows. A native scrollbar (width > 0 only when overflowing) fills part of it; without one the
|
||
log has no right inset, so `width * 999` collapses the padding to 0 instead of reserving 10px. */
|
||
.chat-log { flex: 1; min-height: 0; margin: 0; padding: 1px max(0px, min(var(--chat-scrollbar-width, 0px) * 999, var(--tsv-padding-h-small) - var(--chat-scrollbar-width, 0px))) var(--composer-height, 87px) 0; list-style: none; overflow-y: auto; user-select: text; }
|
||
.chat-log:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--tsv-tint2); }
|
||
.chat-empty { padding: 8px 20px 0; color: var(--tsv-font-subtitle-color); font-size: var(--tsv-font-size-small); text-align: center; }
|
||
.chat-start-prompt { position: absolute; bottom: calc(100% - var(--tsv-padding-v)); left: 0; display: flex; align-items: center; max-width: 100%; margin-bottom: var(--tsv-padding-v-large); padding: var(--tsv-padding-v) var(--tsv-padding-h); border-radius: var(--tsv-border-radius-xxlarge); background: var(--tsv-contrast-bg); pointer-events: none; }
|
||
.chat-start-prompt .icon { flex: 0 0 var(--tsv-icon-size); width: var(--tsv-icon-size); height: var(--tsv-icon-size); margin-right: var(--tsv-padding-h-small); }
|
||
.chat-start-prompt span { flex: 1 1 auto; color: var(--tsv-font-color); font-size: var(--tsv-font-size-small); line-height: var(--tsv-line-height-small); }
|
||
/* detailed message: 15px inset, 16/19 bold sender, 13px uppercase light time, remote bubble with 12×14 tail */
|
||
.msg { --chat-timestamp-width: calc(var(--tsv-icon-size-large) + 2 * var(--tsv-padding-h) - 1.5 * var(--tsv-padding-h-small)); position: relative; display: flex; flex-direction: column; padding-left: calc(1.5 * var(--tsv-padding-h-small)); white-space: normal; }
|
||
.msg[data-head="true"] { margin-top: var(--tsv-padding-v-small); }
|
||
.msg-head { display: block; height: var(--tsv-icon-size); line-height: var(--tsv-icon-size); margin-bottom: var(--tsv-padding-v-small); padding: 0; }
|
||
.msg[data-head="false"] .msg-head { display: none; }
|
||
.msg-avatar-wrapper { position: relative; float: left; display: flex; align-items: center; width: calc(1.15 * var(--tsv-icon-size-large) + 1.6 * var(--tsv-padding-h-small)); }
|
||
.msg-avatar { display: grid; place-items: center; width: calc(1.15 * var(--tsv-icon-size-large)); height: calc(1.15 * var(--tsv-icon-size-large)); margin-top: 17.5%; color: var(--tsv-font-subtitle-color); }
|
||
.msg-avatar > .icon, .msg-avatar > img { width: 100%; height: 100%; }
|
||
.msg-avatar > img { object-fit: cover; border-radius: 50%; }
|
||
.msg-author { font-size: var(--tsv-font-size-large); line-height: var(--tsv-line-height-large); font-weight: var(--tsv-font-weight-bold); white-space: nowrap; }
|
||
.msg-head > .msg-time { margin-left: 5px; }
|
||
.msg-time { flex: none; font-size: var(--tsv-font-size-minimal); line-height: var(--tsv-line-height-minimal); font-weight: 300; text-transform: uppercase; color: var(--tsv-font-color); font-variant-numeric: tabular-nums; }
|
||
.msg-body {
|
||
position: relative;
|
||
align-self: flex-start;
|
||
max-width: calc(100% - var(--chat-timestamp-width) - 30px);
|
||
margin: 2px 25px 1px calc(var(--chat-timestamp-width) + var(--tsv-padding-h-minimal));
|
||
padding: 8px 12.5px;
|
||
border-radius: var(--tsv-border-radius-large);
|
||
background: var(--tsv-chat-remote-bg);
|
||
color: var(--tsv-chat-remote-font-color);
|
||
font-size: var(--tsv-font-size-large);
|
||
line-height: var(--tsv-line-height-large);
|
||
white-space: pre-wrap;
|
||
overflow-wrap: anywhere;
|
||
}
|
||
.msg[data-head="true"] .msg-body { border-top-left-radius: 0; }
|
||
.msg[data-head="true"] .msg-body::before { content: ""; position: absolute; left: 0; top: 0; border-bottom: 14px solid transparent; border-right: 12px solid var(--tsv-chat-remote-bg); transform: translateX(calc(-100% + 1px)); }
|
||
.msg[data-own="true"] .msg-body { background: var(--tsv-chat-self-bg); color: var(--tsv-chat-self-font-color); }
|
||
.msg[data-own="true"][data-head="true"] .msg-body::before { border-right-color: var(--tsv-chat-self-bg); }
|
||
.msg-body a { color: #081cbd; }
|
||
.msg[data-own="true"] .msg-body a { color: var(--tsv-tint); }
|
||
/* legacy event row: 10px radius gradient pill, 13/15 subtitle text, bold names (css@477464) */
|
||
.msg-system {
|
||
position: relative;
|
||
display: flex;
|
||
align-items: baseline;
|
||
left: -2px;
|
||
width: calc(100% - 1.5 * var(--tsv-padding-h-small) - 2 * var(--tsv-padding-v));
|
||
margin: 4px 0 0 15px;
|
||
padding: 2px 0 2px 32px;
|
||
border-radius: var(--tsv-border-radius-xlarge);
|
||
background: linear-gradient(90deg, var(--ts-chat-system-message-bg) 0, transparent 80%);
|
||
color: var(--tsv-font-subtitle-color);
|
||
font-size: var(--tsv-font-size-small);
|
||
line-height: var(--tsv-line-height-small);
|
||
white-space: normal;
|
||
word-break: normal;
|
||
}
|
||
.msg-system strong, .msg-system b { color: var(--ts-chat-system-message-text-color); font-weight: var(--tsv-font-weight-bold); }
|
||
.msg-system-text { flex: 1 0 50%; min-width: 0; margin: 2px 0; word-break: break-all; }
|
||
.msg-system-time { flex: 0 1 auto; margin: 2px 5px; color: var(--tsv-font-subtitle-color); opacity: .75; font-size: var(--tsv-font-size-minimal); line-height: var(--tsv-line-height-small); white-space: nowrap; }
|
||
.msg-inline-time { position: absolute; left: 20px; bottom: 3px; width: var(--chat-timestamp-width); padding: 2px 5px; border-radius: var(--tsv-border-radius); text-align: right; color: transparent; }
|
||
.msg[data-head="true"] .msg-inline-time { visibility: hidden; }
|
||
.msg:hover .msg-inline-time { color: var(--ts-muted-font-color); background: var(--tsv-bg); }
|
||
html[data-chat-style="compact"] .msg { display: grid; grid-template-columns: 65px minmax(0, 1fr); gap: 0 5px; padding-left: 16px; }
|
||
html[data-chat-style="compact"] .msg-inline-time { position: static; display: block; grid-column: 1; grid-row: 1 / span 2; width: 65px; padding: 0; visibility: visible; color: var(--tsv-font-subtitle-color); background: transparent; opacity: .75; font-size: var(--tsv-font-size-minimal); font-variant-numeric: tabular-nums; }
|
||
html[data-chat-style="compact"] .msg-head { grid-column: 2; height: auto; margin: 0; padding: 0; line-height: 1rem; }
|
||
html[data-chat-style="compact"] .msg-author { font-size: var(--tsv-font-size-small); }
|
||
html[data-chat-style="compact"] .msg-avatar-wrapper { display: none; }
|
||
html[data-chat-style="compact"] .msg-head > .msg-time { display: none; }
|
||
html[data-chat-style="compact"] .msg .msg-body { grid-column: 2; margin: 0; padding: 0; max-width: 100%; border-radius: 0; background: transparent; color: #b5b5b5; font-size: var(--tsv-font-size-content); line-height: var(--tsv-line-height-content); }
|
||
html[data-chat-style="compact"] .msg .msg-body::before { display: none; }
|
||
|
||
/* composer: 10px from the pane edges, tsv-bg, 1px remote-bubble border → tint on hover/focus, radius 8 */
|
||
.composer {
|
||
position: absolute;
|
||
left: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
z-index: 3;
|
||
flex: none;
|
||
display: flex;
|
||
flex-direction: column;
|
||
margin: 10px;
|
||
border: 1px solid var(--tsv-chat-remote-bg);
|
||
border-radius: var(--tsv-border-radius-large);
|
||
background: var(--tsv-bg);
|
||
}
|
||
.composer:is(:hover, :focus-within) { border-color: var(--tsv-tint); }
|
||
/* formatting toolbar: shaded, 2px 10px, gap 2.5px, 24px buttons (main.css@213134) */
|
||
.composer-toolbar { display: flex; align-items: center; gap: 2.5px; padding: 2px 10px; border-bottom: 1px solid var(--tsv-separation-border-color); border-radius: var(--tsv-border-radius-large) var(--tsv-border-radius-large) 0 0; background: var(--tsv-shaded-bg); white-space: nowrap; overflow: hidden; }
|
||
.composer-tool { flex: none; display: inline-flex; align-items: center; min-height: 24px; padding: 0 2.5px; border: 2px solid transparent; border-radius: var(--tsv-border-radius-small); background: transparent; color: var(--tsv-font-color); font: inherit; font-size: var(--tsv-font-size-content); cursor: pointer; transition: background-color 0.2s ease, border-color 0.2s ease; --tsv-icon-base: var(--tsv-font-color); }
|
||
.composer-tool .icon { width: var(--tsv-icon-size-small); height: var(--tsv-icon-size-small); }
|
||
.composer-tool.is-group { padding-right: 0; }
|
||
.composer-tool-text { margin: 0; font-size: var(--tsv-font-size-small); font-weight: var(--tsv-font-weight-normal); line-height: var(--tsv-control-element-height); }
|
||
.composer-tool-expander { width: var(--tsv-icon-size-small) !important; height: var(--tsv-icon-size-small) !important; margin-left: 0; color: var(--tsv-font-subtitle-color); --tsv-icon-base: var(--tsv-font-subtitle-color); }
|
||
.composer-tool-expander.only-text { margin-left: 0; }
|
||
/* overflow "More" (is-overflow TSButton): image first, content margin-left padding-h-minimal (main.css@214344) */
|
||
.composer-tool.is-overflow .composer-tool-text { margin-left: 5px; }
|
||
.composer-tool:hover { background: color-mix(in srgb, var(--tsv-bg) 65%, transparent); border-bottom-color: var(--tsv-tint); color: var(--tsv-tint); --tsv-icon-base: var(--tsv-tint); }
|
||
.composer-tool:active, .composer-tool[aria-expanded="true"] { background: color-mix(in srgb, var(--tsv-bg) 80%, transparent); }
|
||
.composer-row { display: flex; align-items: stretch; }
|
||
/* the input itself (#chat-editor, one CodeMirror view): styles/chat-editor.css */
|
||
.composer-actions { flex: none; display: flex; align-items: center; height: var(--tsv-bar-element-height); margin: auto 3px 4px auto; }
|
||
/* source `.ts-chat-input-container-actions *{margin:auto 3px}`: 24px buttons, glyph inset 3px from the left */
|
||
.composer-actions .icon-btn { width: 24px; height: 26px; margin: auto 3px; padding: 0; justify-items: start; color: var(--tsv-tint); }
|
||
.composer-actions .icon-btn .icon { margin-left: 3px; }
|
||
.composer-actions .icon-btn { --tsv-icon-base: var(--tsv-font-color); }
|
||
.composer-actions .icon-btn:hover { --tsv-icon-base: var(--tsv-tint); }
|
||
/* glyphs paint the light module's --tsv-icon-base #494949 (main.js@314275); labels keep --tsv-font-color */
|
||
@media (prefers-color-scheme: light) {
|
||
.composer-tool:not(:hover), .composer-actions .icon-btn:not(:hover) { --tsv-icon-base: #494949; }
|
||
}
|
||
.composer-actions .icon-btn .icon { transition: transform 0.1s ease-out; }
|
||
.composer-actions .icon-btn:hover:not(:disabled) .icon { transform: scale(1.2); }
|
||
.composer-actions .icon-btn:disabled { opacity: 0.5; }
|
||
|
||
.field, .client-field { min-width: 0; }
|
||
/* theme tiles (TSThemePicker): 2-column grid, 28px 10px padding, radius 15, active 2px tint2 */
|
||
.theme-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); column-gap: 10px; row-gap: 8px; }
|
||
.theme-picker .choice { position: relative; justify-content: center; min-height: 0; padding: 28px 10px; border: 2px solid transparent; border-radius: var(--tsv-border-radius-xxlarge); background: var(--tsv-preview-bg); color: var(--tsv-preview-font-color); transition: transform 0.1s; }
|
||
.theme-picker .choice:has(input[value="dark"]) { background: #1C2539; color: #FFFFFF; }
|
||
.theme-picker .choice:has(input[value="light"]) { background: #bccbeb; color: #1a1a1a; }
|
||
.theme-picker .choice:has(input[value="system"]) { background: linear-gradient(135deg, #1C2539 50%, #bccbeb 50%); color: #FFFFFF; text-shadow: 0 0 4px #1C2539; }
|
||
.theme-picker .choice:hover { transform: scale(1.025); }
|
||
.theme-picker .choice:has(input:checked) { border-color: var(--tsv-tint2); }
|
||
.theme-picker .choice:has(input:focus-visible) { outline: 2px solid var(--tsv-tint2); outline-offset: 2px; }
|
||
.theme-picker input { position: absolute; opacity: 0; pointer-events: none; }
|
||
/* ---------- menus (.ts-context-menu: theme @55021–60284) ---------- */
|
||
.client-menu, .device-menu {
|
||
position: fixed;
|
||
z-index: 1000;
|
||
isolation: isolate;
|
||
min-width: 170px;
|
||
max-width: min(260px, calc(100vw - 16px));
|
||
max-height: calc(100vh - 16px);
|
||
overflow-y: auto;
|
||
padding: 0;
|
||
border: var(--tsv-context-menu-border);
|
||
border-radius: var(--tsv-border-radius-large);
|
||
color: var(--tsv-font-color);
|
||
font-size: var(--tsv-font-size-content);
|
||
box-shadow: 1px 1px 2px 0 rgba(0, 0, 0, 0.2);
|
||
backdrop-filter: blur(4px);
|
||
-webkit-app-region: no-drag;
|
||
}
|
||
.device-menu { max-width: min(360px, calc(100vw - 16px)); }
|
||
.client-menu::before, .device-menu::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--tsv-context-menu-backdrop); opacity: 0.8; }
|
||
.client-menu-title, .menu-title { display: flex; align-items: center; gap: 10px; min-height: 30px; padding: 2px 5px 2px 10px; font-size: var(--tsv-font-size); line-height: var(--tsv-line-height); font-weight: 500; color: var(--tsv-context-menu-disabled-color); overflow-wrap: anywhere; }
|
||
.client-menu-title:has(.client-menu-avatar) { padding: 4px 5px; }
|
||
.client-menu-avatar { display: inline-flex; flex: 0 0 var(--tsv-icon-size); width: var(--tsv-icon-size); height: var(--tsv-icon-size); align-items: center; justify-content: center; }
|
||
.client-menu-avatar > .icon { width: calc(var(--tsv-icon-size) * 51 / 33); height: var(--tsv-icon-size); }
|
||
.client-menu-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
|
||
.client-menu-item, .menu-item {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 10px;
|
||
width: 100%;
|
||
min-height: 30px;
|
||
padding: 4px 5px;
|
||
border: 0;
|
||
border-radius: 0;
|
||
background: transparent;
|
||
color: var(--tsv-font-color);
|
||
font: inherit;
|
||
font-size: var(--tsv-font-size);
|
||
line-height: var(--tsv-line-height);
|
||
text-align: left;
|
||
cursor: pointer;
|
||
}
|
||
.client-menu-item:hover:not([aria-disabled="true"]), .client-menu-item:focus-visible, .menu-item:hover, .menu-item:focus-visible { background: var(--tsv-context-menu-item-selection); outline: none; }
|
||
.client-menu-item:focus-visible, .menu-item:focus-visible { box-shadow: inset 0 0 0 2px var(--tsv-tint2); }
|
||
.client-menu-item[aria-disabled="true"] { color: var(--tsv-context-menu-disabled-color); cursor: default; }
|
||
.client-menu-item.destructive:not([aria-disabled="true"]) { color: var(--tsv-context-menu-error-color); }
|
||
.client-menu-item > .icon:last-child, .menu-item > .icon:last-child { margin-left: auto; width: var(--tsv-icon-size); height: var(--tsv-bar-element-height); color: var(--tsv-font-color); }
|
||
.client-menu-check, .menu-check { flex: 0 0 var(--tsv-icon-size); display: inline-grid; place-items: center; color: var(--presence-online); }
|
||
.client-menu-check .icon, .menu-check .icon { width: 18px; height: 18px; }
|
||
.client-menu-icon { flex: 0 0 var(--tsv-icon-size); display: inline-grid; place-items: center; color: inherit; }
|
||
.client-menu-label, .menu-label { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
.menu-item[aria-checked="true"] { color: var(--tsv-tint); }
|
||
.menu-item-secondary { color: var(--tsv-tint2); }
|
||
.client-menu-section { margin: 4px 10px; color: var(--tsv-font-subtitle-color); font-size: var(--tsv-font-size-small); line-height: var(--tsv-line-height-small); }
|
||
.client-menu-note, .menu-note { margin: 4px 10px; color: var(--tsv-font-subtitle-color); font-size: var(--tsv-font-size-small); line-height: var(--tsv-line-height-small); white-space: normal; overflow-wrap: anywhere; }
|
||
.menu-sep { position: relative; height: 5px; }
|
||
.menu-sep::after { content: ""; position: absolute; left: 10px; right: 10px; top: 2px; height: 1px; background: var(--tsv-font-subtitle-color); }
|
||
.client-volume-control { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 10px; margin: 4px 10px; color: var(--tsv-font-color); font-size: var(--tsv-font-size-content); }
|
||
.client-volume-control input { grid-column: 1 / -1; width: 100%; }
|
||
.client-volume-control output { text-align: right; color: var(--tsv-font-subtitle-color); font-variant-numeric: tabular-nums; }
|
||
|
||
/* ---------- dialogs (.tsv-modal-container: contrast-bg, 1px tint2 border, radius 8) ---------- */
|
||
.client-dialog {
|
||
width: min(680px, calc(100vw - 40px));
|
||
min-width: min(300px, 100%);
|
||
max-height: calc(100vh - 16px);
|
||
padding: 0 20px;
|
||
overflow: auto;
|
||
border: 1px solid var(--tsv-tint2);
|
||
border-radius: var(--tsv-border-radius-large);
|
||
background: var(--tsv-contrast-bg);
|
||
color: var(--tsv-font-color);
|
||
}
|
||
/* .tsv-modal-overlay: contrast-bg wash at .25, 2px blur, inset 15px glow */
|
||
.client-dialog::backdrop { background: color-mix(in srgb, var(--tsv-contrast-bg) 25%, transparent); backdrop-filter: blur(2px); box-shadow: inset 0 0 15px var(--tsv-contrast-bg); }
|
||
.client-dialog h2 { margin: 16px 0; font-size: var(--tsv-font-size-large); line-height: var(--tsv-line-height-large); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
.client-detail { user-select: text; overflow-wrap: anywhere; }
|
||
.client-target { margin-bottom: 16px; color: var(--tsv-font-subtitle-color); font-size: var(--tsv-font-size-small); }
|
||
.client-dialog-body { font-size: var(--tsv-font-size-content); }
|
||
.client-dialog-status { min-height: 1.4em; margin-top: 8px; font-size: var(--tsv-font-size-small); overflow-wrap: anywhere; user-select: text; }
|
||
.client-dialog-status[role="alert"] { color: var(--tsv-error-light-color); }
|
||
.client-dialog-footer { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 8px; padding: 8px 0; background: var(--tsv-contrast-bg); }
|
||
.client-action-form { display: grid; gap: 10px; }
|
||
.client-action-form > button { justify-self: end; }
|
||
.client-field { display: grid; gap: 4px; font-size: var(--tsv-font-size-content); }
|
||
.client-field:has(input[type="checkbox"]) { display: flex; align-items: center; gap: 10px; }
|
||
.client-field input, .client-field select { min-width: 0; max-width: 100%; }
|
||
.client-table-scroll { overflow: auto; max-height: 48vh; }
|
||
.client-info-table { width: 100%; border-collapse: collapse; font-size: var(--tsv-font-size-small); font-variant-numeric: tabular-nums; }
|
||
.client-info-table th, .client-info-table td { padding: 4px 10px; border-bottom: 1px solid var(--tsv-separation-border-color); text-align: left; vertical-align: top; }
|
||
.client-info-table th { position: sticky; top: 0; background: var(--tsv-contrast-bg); color: var(--tsv-font-subtitle-color); font-weight: var(--tsv-font-weight-normal); }
|
||
.connection-record + .connection-record { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--tsv-separation-border-color); }
|
||
.connection-record > h3 { margin: 0 0 8px; font-size: var(--tsv-font-size); }
|
||
.connection-group + .connection-group { margin-top: 12px; }
|
||
.connection-group > h4 { margin: 0 0 4px; color: var(--tsv-font-subtitle-color); font-size: var(--tsv-font-size-small); font-weight: var(--tsv-font-weight-normal); }
|
||
.connection-fields { margin: 0; padding: 4px 20px; border-radius: var(--tsv-border-radius-xxlarge); background: var(--tsv-header-bg); }
|
||
.connection-field { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 10px; padding: 4px 0; font-size: var(--tsv-font-size-small); }
|
||
.connection-field dt { color: var(--tsv-font-subtitle-color); }
|
||
.connection-field dd { min-width: 0; margin: 0; overflow-wrap: anywhere; user-select: text; font-variant-numeric: tabular-nums; }
|
||
.connection-raw { margin-top: 16px; }
|
||
.connection-raw > summary { width: fit-content; padding: 4px 0; color: var(--tsv-tint2); font-size: var(--tsv-font-size-small); cursor: pointer; }
|
||
.connection-raw > pre { max-height: 240px; margin: 8px 0 0; padding: 8px 10px; border-radius: var(--tsv-border-radius-large); background: var(--tsv-bg); color: var(--tsv-font-subtitle-color); font: var(--tsv-font-size-small)/1.5 var(--tsv-font-family-monospace); overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
|
||
@media (max-width: 540px) {
|
||
.connection-field { grid-template-columns: minmax(0, 1fr); gap: 2px; }
|
||
}
|
||
|
||
/* ---------- notifications (.ts-notification: radius 15, gradient fill @ .95) ---------- */
|
||
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 1000; display: flex; flex-direction: column; gap: 4px; max-width: min(420px, calc(100vw - 40px)); }
|
||
.toast {
|
||
position: relative;
|
||
isolation: isolate;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 5px;
|
||
min-height: 26px;
|
||
padding: 8px 10px;
|
||
border-radius: 15px;
|
||
font-size: var(--tsv-font-size-small);
|
||
text-shadow: 1px 1px 2px var(--tsv-contrast-bg);
|
||
backdrop-filter: blur(4px);
|
||
animation: toast-in 180ms cubic-bezier(0.16, 1, 0.3, 1);
|
||
}
|
||
.toast::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 10px; background: var(--tsv-notification-bg); opacity: 0.95; }
|
||
.toast::after { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: 10px; box-shadow: #000 4px 8px 5px 0; opacity: 0.25; }
|
||
.toast[data-kind="error"]::before { background: var(--tsv-notification-error-bg); opacity: 0.65; }
|
||
.toast-text { flex: 1; min-width: 0; color: var(--tsv-font-color); overflow-wrap: anywhere; }
|
||
.toast .icon-btn { width: 26px; height: 22px; padding: 0 2px; color: var(--tsv-error-color); }
|
||
.toast .icon { width: var(--tsv-icon-size-small); height: var(--tsv-icon-size-small); }
|
||
@keyframes toast-in { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
|
||
|
||
.layout-splitter:focus-visible { outline: 2px solid var(--tsv-tint); outline-offset: -2px; }
|
||
.chat-conversation-header { display: flex; align-items: center; min-width: 0; }
|
||
.chat-client-info { flex: none; margin-left: auto; margin-right: 10px; }
|
||
.client-menu, .device-menu { width: max-content; }
|
||
@media (prefers-color-scheme: light) {
|
||
/* Official shaded-header tokens, main.js@201685@109157. */
|
||
.session-head { background-image: linear-gradient(to bottom, rgb(243, 243, 243), rgb(220, 220, 220)); color: #202020; }
|
||
.session-title h1 { color: #202020; }
|
||
}
|
||
/* ts-toggle: 40×20, 1px subtitle border, 16px knob; checked → online green (theme @61535–61841) */
|
||
input[type="checkbox"]:is(.toggle, [role="switch"]) {
|
||
position: relative;
|
||
width: 40px;
|
||
height: 20px;
|
||
border: 1px solid var(--tsv-font-subtitle-color);
|
||
border-radius: 14px;
|
||
background: transparent;
|
||
display: block;
|
||
}
|
||
input[type="checkbox"]:is(.toggle, [role="switch"])::after {
|
||
position: absolute;
|
||
left: 1px;
|
||
top: 1px;
|
||
width: 16px;
|
||
height: 16px;
|
||
margin: 0;
|
||
border: 0;
|
||
border-radius: 8px;
|
||
background: var(--tsv-font-subtitle-color);
|
||
transform: none;
|
||
transition: transform 0.12s ease-in-out, background 0.1s ease-in-out;
|
||
}
|
||
input[type="checkbox"]:is(.toggle, [role="switch"]):checked { border-color: var(--presence-online); }
|
||
input[type="checkbox"]:is(.toggle, [role="switch"]):checked::after { transform: translateX(20px); background: var(--presence-online); }
|
||
input[type="checkbox"]:is(.toggle, [role="switch"]):focus-visible { outline: 2px solid var(--tsv-tint); outline-offset: 2px; }
|
||
/* ts-segmented-control: 26px pill on tsv-bg; 13.33px items; active tint; strong-bg separators */
|
||
.segmented { display: inline-flex; align-items: stretch; height: var(--tsv-bar-element-height); border-radius: var(--tsv-border-radius-pill); background: var(--tsv-bg); }
|
||
.segmented > button { position: relative; display: inline-flex; align-items: center; gap: 5px; padding: 0 9px; border: 0; background: transparent; color: var(--tsv-font-color); font: inherit; font-size: 13.33px; white-space: nowrap; cursor: pointer; }
|
||
.segmented > button:not(:last-child)::after { content: ""; position: absolute; right: -1px; top: 4px; bottom: 4px; width: 1px; background: var(--strong-bg); }
|
||
.segmented > button:is([aria-checked="true"], [aria-pressed="true"]) { color: var(--tsv-tint); }
|
||
.segmented > button:hover:not(:disabled) { color: var(--tsv-tint2); }
|
||
.segmented > button:disabled { color: var(--tsv-font-subtitle-color); cursor: default; }
|
||
.segmented > button .icon { width: 18px; height: 18px; }
|
||
.slider-wrap { position: relative; flex: 1 1 200px; min-width: 40px; display: flex; align-items: center; }
|
||
.vad-level { position: absolute; left: 0; top: 50%; height: 10px; transform: translateY(-50%); width: 0; border-radius: var(--tsv-border-radius); background: var(--tsv-slider-vad-color); transition: width 0.1s; pointer-events: none; }
|
||
.slider-wrap > input[type="range"] { position: relative; }
|
||
.slider-wrap > input[type="range"]::-webkit-slider-runnable-track { background: color-mix(in srgb, var(--tsv-slider-track-bg) 70%, transparent); }
|
||
.range-bubble { position: absolute; bottom: calc(100% - 4px); padding: 0 5px; min-width: 50px; border-radius: var(--tsv-border-radius); background: var(--tsv-contrast-bg); color: var(--tsv-font-color); font-size: var(--tsv-font-size-small); line-height: 22px; text-align: center; transform: translateX(-50%); opacity: 0; transition: opacity 0.1s; pointer-events: none; }
|
||
.slider-wrap:is(:hover, :focus-within) .range-bubble, .range-bubble.visible { opacity: 1; }
|
||
.device-selection { display: flex; align-items: center; gap: 5px; margin-top: 8px; }
|
||
.device-selection > select { flex: 1 0 auto; }
|
||
|
||
/* ---------- chat message content (markdown/BBCode engine; official .ts-parsed-text-content) ---------- */
|
||
.ts-parsed-text-content > :first-child { margin-top: 0; }
|
||
.ts-parsed-text-content > :last-child { margin-bottom: 0; }
|
||
.ts-parsed-text-content :is(p, ul, ol, blockquote, pre, table, details, hr) { margin: 4px 0; white-space: normal; }
|
||
.ts-parsed-text-content p { white-space: pre-wrap; }
|
||
.ts-parsed-text-content :is(h1, h2, h3, h4, h5, h6) { margin: 8px 0 4px; font-weight: var(--tsv-font-weight-bold); }
|
||
.ts-parsed-text-content h1 { font-size: 1.6em; line-height: 1.2; }
|
||
.ts-parsed-text-content h2 { font-size: 1.4em; line-height: 1.2; }
|
||
.ts-parsed-text-content h3 { font-size: 1.2em; line-height: 1.25; }
|
||
.ts-parsed-text-content :is(h4, h5, h6) { font-size: 1em; }
|
||
.ts-parsed-text-content :is(ul, ol) { padding-left: 1.4em; }
|
||
.ts-parsed-text-content del { text-decoration: line-through; }
|
||
.ts-parsed-text-content mark.md-highlight { padding: 0 2px; border-radius: 2px; background: color-mix(in srgb, var(--tsv-away-color) 45%, transparent); color: inherit; }
|
||
.ts-parsed-text-content code { padding: 0 4px; border-radius: var(--tsv-border-radius); background: color-mix(in srgb, var(--tsv-contrast-bg) 55%, transparent); font: 0.875em var(--tsv-font-family-monospace); }
|
||
.ts-parsed-text-content pre { position: relative; padding: 8px 10px; border-radius: var(--tsv-border-radius-large); background: var(--tsv-contrast-bg); overflow-x: auto; white-space: pre; }
|
||
.ts-parsed-text-content pre > code { padding: 0; background: transparent; font-size: var(--tsv-font-size-small); line-height: 1.45; color: var(--tsv-font-color); }
|
||
.md-code-lang { position: absolute; top: 2px; right: 8px; color: var(--tsv-font-subtitle-color); font-size: 11px; }
|
||
.ts-parsed-text-content blockquote { padding: 2px 0 2px 10px; border-left: 3px solid color-mix(in srgb, currentColor 45%, transparent); }
|
||
.md-callout { --md-callout-color: var(--tsv-tint); border-left-color: var(--md-callout-color) !important; border-radius: 0 var(--tsv-border-radius) var(--tsv-border-radius) 0; background: color-mix(in srgb, var(--md-callout-color) 12%, transparent); }
|
||
.md-callout-tip { --md-callout-color: var(--tsv-online-color); }
|
||
.md-callout-important { --md-callout-color: #a371f7; }
|
||
.md-callout-warning { --md-callout-color: var(--tsv-away-color); }
|
||
.md-callout-caution { --md-callout-color: var(--tsv-error-color); }
|
||
.md-callout-title { font-weight: var(--tsv-font-weight-bold); color: var(--md-callout-color); }
|
||
.md-spoiler { padding: 0 2px; border-radius: 2px; background: var(--tsv-contrast-bg); color: transparent; opacity: 0.7; cursor: pointer; }
|
||
.md-spoiler.revealed { color: inherit; opacity: 1; cursor: text; }
|
||
.md-table { border-collapse: collapse; font-size: var(--tsv-font-size-content); }
|
||
.md-table :is(th, td) { padding: 2px 8px; border: 1px solid color-mix(in srgb, currentColor 25%, transparent); }
|
||
.md-table th { font-weight: var(--tsv-font-weight-bold); }
|
||
.ts-parsed-text-content hr { height: 1px; border: 0; background: hsla(216, 4%, 74%, 0.3); }
|
||
.md-details-preview > summary { cursor: pointer; font-weight: var(--tsv-font-weight-semibold); }
|
||
.md-details-content { padding-left: 10px; }
|
||
.md-align-block { display: block; }
|
||
.md-align-right { text-align: right; }
|
||
.ts-checkbox.inline { display: inline-block; width: 14px; height: 14px; margin-right: 5px; border-radius: 3px; background: var(--ts-checkbox-bg-color); vertical-align: -2px; }
|
||
.ts-checkbox.inline[data-checked="true"] { background: var(--presence-online); }
|
||
li.md-task { list-style: none; margin-left: -1.2em; }
|
||
.footnote-ref { font-size: 0.75em; vertical-align: super; }
|
||
.md-footnotes { margin-top: 8px; padding-top: 4px; border-top: 1px solid hsla(216, 4%, 74%, 0.3); font-size: var(--tsv-font-size-small); }
|
||
.md-emoji { font-size: 1.15em; line-height: 1; }
|
||
a.ts-parsed-link { color: inherit; text-decoration: underline; cursor: pointer; }
|
||
.msg-body a.ts-parsed-link { color: #081cbd; }
|
||
.msg[data-own="true"] .msg-body a.ts-parsed-link { color: var(--tsv-tint); }
|
||
.md-inline-math, .md-offline-math-preview { font-size: 1.05em; }
|
||
.md-offline-math-preview { margin: 4px 0; overflow-x: auto; }
|
||
.math-error, .mermaid-error { color: var(--tsv-error-light-color); font-family: var(--tsv-font-family-monospace); font-size: var(--tsv-font-size-small); white-space: pre-wrap; }
|
||
.md-offline-mermaid-preview { margin: 4px 0; border-radius: var(--tsv-border-radius-large); background: var(--tsv-contrast-bg); overflow: hidden; }
|
||
.md-mermaid-meta-bar { display: flex; align-items: center; gap: 8px; padding: 2px 10px; color: var(--tsv-font-subtitle-color); font-size: var(--tsv-font-size-small); background: var(--tsv-shaded-bg); }
|
||
.md-offline-mermaid-preview pre { margin: 0; border-radius: 0; }
|
||
.md-mermaid-image, .md-ts3image-img { display: block; max-width: 100%; max-height: 425px; }
|
||
:is(.md-mermaid-load, .md-ts3image-load) { margin: 8px 10px; padding: 2px 10px; border: 1px solid var(--tsv-tint2); border-radius: 8px; background: var(--tsv-header-bg); color: var(--tsv-tint2); font: inherit; font-size: var(--tsv-font-size-small); cursor: pointer; }
|
||
.md-image-source { color: var(--tsv-font-subtitle-color); word-break: break-all; }
|
||
:is(.md-bb-block-strong, .md-bb-block-emphasis, .md-bb-block-underline, .md-bb-block-strikethrough, .md-bb-block-color, .md-bb-block-size) { display: block; }
|
||
.md-bb-block-strong { font-weight: var(--tsv-font-weight-bold); }
|
||
.md-bb-block-emphasis { font-style: italic; }
|
||
.md-bb-block-underline { text-decoration: underline; }
|
||
.md-bb-block-strikethrough { text-decoration: line-through; }
|
||
/* attachments under the bubble: contrast-bg inset, radius 8, max 425px (css@511145) */
|
||
.ts-chat-message-attachment-container { margin: 2px 25px 1px 17px; max-width: 425px; }
|
||
.ts-chat-message-attachment-generic-file { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 10px; padding: 8px 10px; border: 1px solid var(--tsv-separation-border-color); border-radius: var(--tsv-border-radius-large); background: var(--tsv-contrast-bg); font-size: var(--tsv-font-size-small); }
|
||
.attachment-name { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--tsv-font-color); }
|
||
.attachment-size { grid-column: 1; color: var(--tsv-font-subtitle-color); font-variant-numeric: tabular-nums; }
|
||
.attachment-action { grid-column: 2; grid-row: 1 / span 2; padding: 2px 10px; border: 0; border-radius: var(--tsv-border-radius-pill); background: var(--tsv-button-filled-bg); color: #FFFFFF; font: inherit; font-size: var(--tsv-font-size-small); cursor: pointer; }
|
||
.ts-chat-message-attachment-ts3-file-transfer { grid-column: 1 / -1; color: var(--tsv-font-subtitle-color); }
|
||
/* log extras: day divider 13/15 subtitle; load-older; history start */
|
||
.ts-chat-day-start, .chat-history-start { padding: 2px 0 2px 15px; color: var(--tsv-font-subtitle-color); font-size: var(--tsv-font-size-small); line-height: var(--tsv-line-height-small); user-select: text; }
|
||
.chat-history-start { text-align: center; padding-top: 8px; }
|
||
.chat-load-more { display: flex; justify-content: center; padding: 8px 0; }
|
||
.chat-load-more > button { padding: 2px 10px; border: 0; background: transparent; color: var(--tsv-tint2); font: inherit; font-size: var(--tsv-font-size-small); cursor: pointer; }
|
||
.chat-load-more > button:hover { color: var(--ts-menu-action-color); }
|
||
/* composer submenus and autocomplete */
|
||
.composer-tool-menu {
|
||
position: absolute;
|
||
z-index: 101;
|
||
isolation: isolate;
|
||
min-width: 170px;
|
||
padding: 0;
|
||
border: var(--tsv-context-menu-border);
|
||
border-radius: var(--tsv-border-radius-large);
|
||
box-shadow: 1px 1px 2px 0 rgba(0, 0, 0, 0.2);
|
||
backdrop-filter: blur(4px);
|
||
}
|
||
.composer-tool-menu::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--tsv-context-menu-backdrop); opacity: 0.8; }
|
||
.composer-tool-menu-item { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 30px; padding: 4px 10px; border: 0; background: transparent; color: var(--tsv-font-color); font: inherit; font-size: var(--tsv-font-size); text-align: left; cursor: pointer; }
|
||
.composer-tool-menu-item > span { flex: 1; }
|
||
.composer-tool-menu-accessory { width: var(--tsv-icon-size-small); height: var(--tsv-icon-size-small); color: var(--tsv-font-subtitle-color); }
|
||
.composer-tool-menu-item:hover, .composer-tool-menu-item:focus-visible { background: var(--tsv-context-menu-item-selection); outline: none; }
|
||
.ts-autocomplete-list { position: absolute; left: -1px; right: -1px; bottom: 100%; z-index: 100; max-height: 300px; margin: 0; padding: 4px 0; list-style: none; overflow-y: auto; border: 1px solid var(--tsv-separation-border-color); border-bottom: 0; border-radius: var(--tsv-border-radius-large) var(--tsv-border-radius-large) 0 0; background: var(--tsv-shaded-bg); }
|
||
.ts-markdown-snippet-autocomplete-item { display: flex; align-items: baseline; gap: 10px; min-height: 26px; padding: 4px 10px; font-size: var(--tsv-font-size-content); cursor: pointer; }
|
||
.ts-markdown-snippet-autocomplete-item.selected, .ts-markdown-snippet-autocomplete-item:hover { background: var(--tsv-bg); }
|
||
.ts-markdown-snippet-command { flex: none; color: var(--tsv-tint); font-family: var(--tsv-font-family-monospace); }
|
||
.ts-markdown-snippet-label { flex: none; color: var(--tsv-font-color); }
|
||
.ts-markdown-snippet-description { min-width: 0; color: var(--tsv-font-subtitle-color); font-size: var(--tsv-font-size-small); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
/* external link warning and markdown help: official modal container */
|
||
.ts-external-url-warning, .markdown-help-dialog { width: min(480px, calc(100vw - 40px)); max-height: calc(100vh - 16px); padding: 0 20px 8px; overflow: auto; border: 1px solid var(--tsv-tint2); border-radius: var(--tsv-border-radius-large); background: var(--tsv-contrast-bg); color: var(--tsv-font-color); font-size: var(--tsv-font-size-content); }
|
||
.markdown-help-dialog { width: min(680px, calc(100vw - 40px)); }
|
||
:is(.ts-external-url-warning, .markdown-help-dialog)::backdrop { background: color-mix(in srgb, var(--tsv-contrast-bg) 25%, transparent); backdrop-filter: blur(2px); }
|
||
.ts-external-url-warning .title, .markdown-help-dialog h2 { margin: 16px 0; font-size: var(--tsv-font-size-large); }
|
||
.ts-external-url-warning .notice { margin: 0 0 8px; padding: 0; background: none; color: var(--tsv-font-subtitle-color); font-size: var(--tsv-font-size-small); }
|
||
.ts-external-url-warning .url { padding: 4px 10px; border-radius: var(--tsv-border-radius); background: var(--tsv-bg); font-family: var(--tsv-font-family-monospace); font-size: var(--tsv-font-size-small); word-break: break-all; user-select: text; }
|
||
.ts-external-url-warning .url .host { color: var(--tsv-tint); font-weight: var(--tsv-font-weight-bold); }
|
||
.ts-external-url-warning .trust-row { display: flex; align-items: center; gap: 10px; margin: 12px 0 4px; }
|
||
.ts-external-url-warning .actions { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; }
|
||
.ts-external-url-warning .actions .cancel { padding: 0; border: 0; background: transparent; color: var(--tsv-tint2); font: inherit; font-size: var(--tsv-font-size); cursor: pointer; }
|
||
.ts-external-url-warning .actions .confirm { padding: 0 20px; height: 30px; border: 0; border-radius: 15px; background: var(--tsv-button-filled-bg); color: #FFFFFF; font: inherit; font-weight: var(--tsv-font-weight-bold); cursor: pointer; }
|
||
|
||
/* ---------- server status bar informative buttons and recording view ---------- */
|
||
.server-informative-buttons { position: relative; isolation: isolate; display: flex; align-items: center; flex: none; height: 55px; padding-left: 10px; margin-left: auto; }
|
||
.server-informative-buttons::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; height: 30px; top: 50%; transform: translateY(-50%); border-radius: var(--tsv-border-radius-pill); background: var(--tsv-shaded-bg); }
|
||
.server-informative-buttons .status-btn { height: 22px; padding: 0 10px 0 0; }
|
||
.server-informative-buttons .status-btn:not(:last-child)::after { content: ""; position: absolute; width: 1px; height: 18px; right: 4px; top: 2px; background: var(--strong-bg); }
|
||
.status-btn { position: relative; display: inline-flex; align-items: center; gap: 5px; height: var(--tsv-bar-element-height); padding: 0 10px; border: 0; background: transparent; color: var(--tsv-icon-base); font: inherit; font-size: var(--tsv-font-size-small); cursor: pointer; }
|
||
.status-btn:hover .icon { transform: scale(1.15); }
|
||
.status-btn .icon { transition: transform 0.1s ease-out; }
|
||
.recording-indicator[data-state="idle"] { color: var(--tsv-font-subtitle-color); }
|
||
.recording-indicator:is([data-state="recording"], [data-state="paused"]) { color: var(--tsv-error-color); }
|
||
.recording-indicator[data-state="recording"] .icon { animation: recording-pulse 2s ease-in-out infinite; }
|
||
@keyframes recording-pulse { 50% { opacity: 0.45; } }
|
||
.recording-view { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 20px 20px; display: flex; flex-direction: column; gap: 12px; }
|
||
.ts-recording-header { display: flex; align-items: center; gap: 10px; min-height: 71px; }
|
||
.recording-title { font-size: var(--tsv-font-size-title-small); line-height: var(--tsv-line-height-title-small); font-weight: var(--tsv-font-weight-bold); }
|
||
.recording-stats { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 10px; padding: 8px 20px; border-radius: var(--tsv-border-radius-xxlarge); background: var(--tsv-header-bg); font-size: var(--tsv-font-size-small); color: var(--tsv-font-subtitle-color); }
|
||
.recording-stats-value { color: var(--tsv-font-color); font-variant-numeric: tabular-nums; }
|
||
.recording-stats-divider { width: 1px; height: 14px; background: var(--strong-bg); }
|
||
.recording-dot { flex: none; width: 10px; height: 10px; border-radius: 10px; background: var(--tsv-error-color); animation: recording-dot-pulse 2s infinite; }
|
||
.recording-dot.is-paused { animation: none; opacity: 0.5; }
|
||
@keyframes recording-dot-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--tsv-error-color) 60%, transparent); } 70% { box-shadow: 0 0 0 5px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
|
||
.recording-transport { display: flex; flex-wrap: wrap; gap: 10px; }
|
||
.recording-modes { display: inline-flex; align-self: flex-start; height: var(--tsv-bar-element-height); border-radius: var(--tsv-border-radius-pill); background: var(--tsv-bg); }
|
||
.recording-modes .segment { position: relative; padding: 0 9px; border: 0; background: transparent; color: var(--tsv-font-color); font: inherit; font-size: 13.33px; cursor: pointer; }
|
||
.recording-modes .segment:not(:last-child)::after { content: ""; position: absolute; right: -1px; top: 4px; bottom: 4px; width: 1px; background: var(--strong-bg); }
|
||
.recording-modes .segment[aria-checked="true"] { color: var(--tsv-tint); }
|
||
.recording-folder { display: flex; align-items: center; gap: 10px; min-width: 0; }
|
||
.recording-folder-path { flex: 1; min-width: 0; padding: 2px 10px; border-radius: var(--tsv-border-radius); background: var(--tsv-bg); color: var(--tsv-font-subtitle-color); font: var(--tsv-font-size-small) var(--tsv-font-family-monospace); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; user-select: text; }
|
||
.recording-warning { padding: 8px 10px; border-radius: 15px; background: linear-gradient(to right, var(--tsv-away-color), var(--tsv-shaded-bg)); color: var(--tsv-font-color); font-size: var(--tsv-font-size-small); }
|
||
.recording-error { color: var(--tsv-error-light-color); font-size: var(--tsv-font-size-small); }
|
||
.recording-tracks { margin: 0; padding: 4px 20px; list-style: none; border-radius: var(--tsv-border-radius-xxlarge); background: var(--tsv-header-bg); }
|
||
.recording-track { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 10px; padding: 4px 0; }
|
||
.track-name { min-width: 0; font-size: var(--tsv-font-size-content); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
.recording-track[data-kind="master"] .track-name { font-weight: var(--tsv-font-weight-bold); }
|
||
.track-status { color: var(--tsv-font-subtitle-color); font-size: var(--tsv-font-size-small); }
|
||
.recording-track[data-status="recorded"] .track-status { color: var(--tsv-online-color); }
|
||
.recording-track[data-status="gone"] { opacity: 0.6; }
|
||
.track-wave { grid-column: 1 / -1; width: 100%; height: 24px; border-radius: var(--tsv-border-radius); background: var(--tsv-bg); }
|
||
.recording-hint { color: var(--tsv-font-subtitle-color); font-size: var(--tsv-font-size-small); }
|
||
/* official ServerLog ("Recent Server Events") view in the detail pane */
|
||
.server-log-view { flex: 1; min-height: 0; display: flex; flex-direction: column; }
|
||
.server-log-header { flex: none; display: flex; align-items: center; gap: 10px; min-height: 71px; padding: 0 20px 0 10px; border-bottom: 4px solid var(--tsv-header-bg); margin: 0 20px 0 0; }
|
||
.server-log-header h1 { font-size: var(--tsv-font-size-title-small); line-height: var(--tsv-line-height-title-small); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
.event-log { flex: 1; min-height: 0; margin: 0; padding: 4px 10px 8px 0; list-style: none; overflow-y: auto; user-select: text; }
|
||
.event-log-entry { display: flex; align-items: baseline; gap: 5px; width: calc(100% - 16px); margin: 4px 0 0 13px; padding: 4px 10px; border-radius: var(--tsv-border-radius-xlarge); background: linear-gradient(90deg, var(--ts-chat-system-message-bg) 0, transparent 80%); color: var(--tsv-font-subtitle-color); font-size: var(--tsv-font-size-small); line-height: var(--tsv-line-height-small); }
|
||
.event-log-entry time { order: 2; margin-left: auto; flex: none; opacity: 0.75; font-variant-numeric: tabular-nums; }
|
||
.event-log-text { min-width: 0; overflow-wrap: anywhere; }
|
||
.event-log-text strong { color: var(--ts-chat-system-message-text-color); }
|
||
/* ---------- channel file browser (official ts-info-files-channel, css "ts-info-files" rules) ---------- */
|
||
.files-view { flex: 1; min-height: 0; display: flex; flex-direction: column; container: files / inline-size; }
|
||
.files-channel { font-size: var(--tsv-font-size-minimal); color: var(--tsv-font-subtitle-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
.files-context { flex: none; margin: 8px 20px 0; }
|
||
/* readability-width column, 8px top bar of 26px elements, shaded table plate radius 8 */
|
||
.files-body { flex: 1; min-height: 0; width: 100%; max-width: var(--tsv-readability-width); align-self: center; display: flex; flex-direction: column; gap: 8px; padding: 8px 20px; }
|
||
.files-toolbar { flex: none; position: relative; display: flex; align-items: center; gap: 5px; height: var(--tsv-bar-element-height); margin: 0; }
|
||
.files-tool { width: 32px; height: var(--tsv-bar-element-height); padding: 0 5px; color: var(--tsv-tint2); }
|
||
.files-tool:hover:not(:disabled) { color: var(--tsv-tint); }
|
||
.files-tool[aria-pressed="true"] { color: var(--tsv-tint); }
|
||
.files-crumbs { flex: 1; min-width: 0; display: flex; align-items: center; gap: 2px; padding: 0 10px; height: 100%; border-radius: var(--tsv-border-radius-pill); background: var(--tsv-bg); overflow: hidden; white-space: nowrap; }
|
||
.files-crumb { flex: none; max-width: 16ch; padding: 0 2px; border: 0; background: transparent; color: var(--tsv-tint2); font: inherit; font-size: var(--tsv-font-size-content); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
|
||
.files-crumb:hover { color: var(--tsv-tint); }
|
||
.files-crumb[aria-current="location"] { color: var(--tsv-font-color); cursor: default; }
|
||
.files-crumb-sep { flex: none; color: var(--tsv-font-subtitle-color); }
|
||
.files-search { flex: 1; min-width: 0; border-radius: var(--tsv-border-radius-pill); }
|
||
.files-notice, .files-error { margin: 0; }
|
||
.files-confirm { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 8px 10px; border-radius: var(--tsv-border-radius-large); background: var(--tsv-contrast-bg); font-size: var(--tsv-font-size-small); }
|
||
.files-confirm > p { flex: 1 1 200px; }
|
||
.files-state { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px; color: var(--tsv-font-subtitle-color); font-size: var(--tsv-font-size-small); line-height: 1; text-align: center; }
|
||
.files-state .icon { width: var(--tsv-icon-size-large); height: var(--tsv-icon-size-large); }
|
||
.files-password-card { display: flex; flex-direction: column; gap: 8px; width: min(320px, 100%); padding: 8px 20px 12px; border-radius: var(--tsv-border-radius-xxlarge); background: var(--tsv-header-bg); }
|
||
.files-table-wrap { flex: 1; min-height: 120px; overflow-y: auto; border-radius: var(--tsv-border-radius-large); background: var(--tsv-contrast-bg); }
|
||
.files-table-wrap::-webkit-scrollbar-thumb { background-color: var(--tsv-bg); }
|
||
.files-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: var(--tsv-font-size-content); }
|
||
.files-table thead th { position: sticky; top: 0; z-index: 1; height: var(--tsv-bar-element-height); padding: 0 10px; background: var(--tsv-contrast-bg); color: var(--tsv-font-subtitle-color); font-size: var(--tsv-font-size-small); font-weight: var(--tsv-font-weight-normal); text-align: left; }
|
||
.files-table th.files-icon, .files-table td.files-icon { width: 42px; padding: 0 0 0 10px; }
|
||
.files-table :is(th, td).files-size { width: calc(20px + 9ch); text-align: right; }
|
||
.files-table :is(th, td).files-date { width: calc(20px + 10ch); }
|
||
.files-sort { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
|
||
.files-sort:hover { color: var(--tsv-tint2); }
|
||
.files-table th[aria-sort] .files-sort { color: var(--tsv-font-color); }
|
||
.files-row td { height: var(--tsv-row-height-large); padding: 2px 10px; border-top: 2px solid transparent; border-bottom: 2px solid transparent; vertical-align: middle; }
|
||
.files-row td:first-child { border-left: 2px solid transparent; border-radius: var(--tsv-border-radius) 0 0 var(--tsv-border-radius); }
|
||
.files-row td:last-child { border-radius: 0 var(--tsv-border-radius) var(--tsv-border-radius) 0; }
|
||
.files-row:hover td { background: var(--tsv-shaded-bg); }
|
||
.files-row:is([aria-selected="true"], .is-selected) td { background: var(--tsv-shaded-bg); box-shadow: inset 0 1px 0 var(--tsv-tint), inset 0 -1px 0 var(--tsv-tint); }
|
||
.files-row td.files-icon .icon { color: var(--tsv-font-subtitle-color); }
|
||
.files-row[data-type="folder"] td.files-icon .icon, .files-row[data-type="up"] td.files-icon .icon { color: var(--tsv-tint); }
|
||
.files-row td.files-name { overflow-wrap: anywhere; word-break: break-all; }
|
||
.files-row td.files-size, .files-row td.files-date { color: var(--tsv-font-subtitle-color); font-size: var(--tsv-font-size-small); font-variant-numeric: tabular-nums; }
|
||
.files-name-input { min-height: 24px; }
|
||
.files-empty { padding: 20px; color: var(--tsv-font-subtitle-color); font-size: var(--tsv-font-size-small); text-align: center; }
|
||
@container files (max-width: 480px) { .files-table :is(th, td).files-size { display: none; } }
|
||
@container files (max-width: 320px) { .files-table :is(th, td).files-date { display: none; } }
|
||
.files-menu { position: fixed; z-index: 1000; isolation: isolate; min-width: 170px; max-width: 260px; border: var(--tsv-context-menu-border); border-radius: var(--tsv-border-radius-large); box-shadow: 1px 1px 2px 0 rgba(0, 0, 0, 0.2); backdrop-filter: blur(4px); }
|
||
.files-menu::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--tsv-context-menu-backdrop); opacity: 0.8; }
|
||
.files-menu-item { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 30px; padding: 4px 5px; border: 0; background: transparent; color: var(--tsv-font-color); font: inherit; font-size: var(--tsv-font-size); text-align: left; cursor: pointer; }
|
||
.files-menu-item:hover, .files-menu-item:focus-visible { background: var(--tsv-context-menu-item-selection); outline: none; }
|
||
.files-menu-item.is-destructive { color: var(--tsv-context-menu-error-color); }
|
||
/* tsv-files-quickinfo: 36px bar on tsv-bg (theme), tint2 text 13px, top radii 8 */
|
||
.files-transfers { flex: none; display: flex; flex-direction: column; border-radius: var(--tsv-border-radius-large); background: var(--tsv-contrast-bg); overflow: hidden; }
|
||
.files-transfers-toggle { display: flex; align-items: center; gap: 5px; height: var(--tsv-bar-height); padding: 0 10px; border: 0; background: var(--tsv-bg); color: var(--tsv-tint2); font: inherit; font-size: var(--tsv-font-size-small); cursor: pointer; }
|
||
.files-transfers-toggle .icon { width: var(--tsv-icon-size-small); height: var(--tsv-icon-size-small); transition: transform 0.1s; }
|
||
.files-transfers-toggle[aria-expanded="false"] .icon { transform: rotate(-90deg); }
|
||
.files-transfers-summary { margin-left: auto; white-space: nowrap; color: var(--tsv-font-subtitle-color); }
|
||
.files-transfers > .btn { align-self: flex-end; margin: 4px 10px; }
|
||
.files-transfer-list { margin: 0; padding: 0 2px 4px; list-style: none; max-height: 200px; overflow-y: auto; }
|
||
.files-transfer { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 2px 10px; border-radius: var(--tsv-border-radius); font-size: var(--tsv-font-size-small); }
|
||
.files-transfer:hover { background: var(--tsv-shaded-bg); }
|
||
.files-transfer > .icon { color: var(--tsv-tint2); }
|
||
.files-transfer-main { flex: 1; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 10px; }
|
||
.files-transfer-name { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--tsv-font-color); }
|
||
.files-transfer-status { color: var(--tsv-font-subtitle-color); font-variant-numeric: tabular-nums; }
|
||
.files-progress { grid-column: 1 / -1; width: 100%; height: 4px; accent-color: var(--tsv-tint); }
|
||
.files-transfer[data-state="failed"] .files-transfer-status { color: var(--tsv-error-light-color); }
|
||
.files-transfer[data-state="done"] .files-transfer-status { color: var(--tsv-online-color); }
|
||
.files-transfer-actions { display: flex; }
|
||
.files-transfer-actions .icon-btn { width: 30px; padding: 0 4px; }
|
||
|
||
/* Compact tree is the official client-height override, not whole-window zoom. */
|
||
html[data-tree-style="compact"] .member-row { height: calc(var(--tsv-row-height) + 4px); }
|
||
html[data-tree-style="compact"] .member-row .avatar { width: var(--tsv-icon-size); height: var(--tsv-icon-size); }
|
||
html[data-tree-style="compact"] .member-row .row-label { font-size: var(--tsv-font-size); }
|
||
.client-action-field { display: grid; min-width: 0; gap: 4px; margin-block: 4px; }
|
||
.client-action-field :is(input, select, textarea) { width: 100%; min-width: 0; }
|
||
.snapshot-controls { min-width: 0; margin: 0; padding: 0; border: 0; }
|
||
.snapshot-section { display: flex; flex-direction: column; gap: 8px; padding-block: 8px; }
|
||
.snapshot-section h3 { font-size: var(--tsv-font-size); font-weight: var(--tsv-font-weight-semibold); }
|
||
.snapshot-section + .snapshot-section { border-top: 1px solid var(--tsv-separation-border-color); }
|
||
.snapshot-section .check-row { display: flex; align-items: center; gap: 10px; }
|
||
.snapshot-section > button { align-self: flex-start; }
|
||
.snapshot-errors { max-height: 25vh; overflow: auto; overflow-wrap: anywhere; padding-left: 20px; color: var(--tsv-error-light-color); font-size: var(--tsv-font-size-small); }
|
||
.server-snapshots > progress { width: 100%; accent-color: var(--tsv-tint); }
|
||
.recording-client-controls { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; }
|
||
.recording-client-controls input { flex: 1; min-width: 0; }
|
||
.recording-client-controls output { min-width: 6ch; font-size: var(--tsv-font-size-small); font-variant-numeric: tabular-nums; }
|
||
.chat-history-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 4px 10px; }
|
||
.chat-history-controls > button { border: 0; background: transparent; color: var(--tsv-tint2); font: inherit; font-size: var(--tsv-font-size-small); cursor: pointer; }
|
||
.chat-emoji-picker { position: absolute; z-index: 3; right: -1px; bottom: 100%; display: flex; flex-direction: column; width: min(375px, calc(100% + 2px)); height: 375px; max-height: 60vh; padding: 10px; border: 1px solid var(--tsv-separation-border-color); border-bottom-color: transparent; border-radius: var(--tsv-border-radius) var(--tsv-border-radius) 0 0; background: var(--tsv-shaded-bg); }
|
||
.chat-emoji-picker > :last-child { min-height: 0; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(36px, 1fr)); }
|
||
.chat-emoji-picker button { height: 36px; border: 0; border-radius: var(--tsv-border-radius); background: transparent; font-size: 22px; cursor: pointer; }
|
||
.chat-emoji-picker button:hover { background: var(--tsv-bg); }
|
||
.chat-attachment { max-width: 425px; min-width: min(50%, 425px); padding: 8px 10px; border: 1px solid var(--tsv-separation-border-color); border-radius: var(--tsv-border-radius-large); background: var(--tsv-contrast-bg); overflow-wrap: anywhere; }
|
||
|
||
/* ---------- responsive: official compressed category (<440px pane) and narrow windows ---------- */
|
||
.server-pane:has(> .room-side) { container: server-pane / inline-size; }
|
||
@container server-pane (max-width: 439px) {
|
||
.tree { padding-inline: 10px; }
|
||
/* header sits inside the official scroller: 10px scroller padding (+8px gutter) + 10px banner margin */
|
||
.server-head { padding-inline: 20px 28px; }
|
||
.server-status-bar { padding-inline: 10px; }
|
||
.server-status-bar .create-channel-action { padding-inline: 10px; }
|
||
.server-status-bar .create-channel-action > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
|
||
.server-status-bar .broadcast-controls { flex: none; }
|
||
.server-status-bar .broadcast-controls button:has(.icon) { font-size: 0; gap: 0; }
|
||
}
|
||
@container (max-width: 439px) {
|
||
.session-head, .content-separator { margin-inline: 0; }
|
||
.session-head { padding-inline: 10px; }
|
||
.content-separator { margin-inline: 10px; }
|
||
.stream-area { padding-inline: 10px; }
|
||
}
|
||
@media (max-height: 650px) {
|
||
.onboarding, .fatal { padding: 16px; }
|
||
.onboarding-form { gap: 8px; }
|
||
.onboarding-form .brand-mark-large { width: 40px; height: 40px; }
|
||
}
|
||
|
||
/* ---------- user preferences ---------- */
|
||
@media (prefers-reduced-motion: reduce) {
|
||
*, *::before, *::after { transition: none !important; animation: none !important; }
|
||
}
|
||
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
|
||
.client-menu::before, .device-menu::before, .toast::before { opacity: 1; }
|
||
.client-menu, .device-menu, .toast, .client-dialog::backdrop { backdrop-filter: none; }
|
||
.stream-controls { background: var(--tsv-contrast-bg); }
|
||
}
|
||
@media (forced-colors: active) {
|
||
:root { --tsv-bg: Canvas; --tsv-shaded-bg: Canvas; --tsv-header-bg: Canvas; --ts-new-header-bg: Canvas; --tsv-contrast-bg: Canvas; --tsv-deviant-bg: Canvas; --tsv-font-color: CanvasText; --tsv-icon-base: CanvasText; --tsv-font-subtitle-color: CanvasText; --ts-third-font-color: CanvasText; --tsv-tint: Highlight; --tsv-tint2: Highlight; --tsv-icon-tint: Highlight; --tsv-separation-border-color: ButtonBorder; --tsv-chat-remote-bg: Canvas; --tsv-chat-self-bg: Canvas; --tsv-servertree-bg-gradient: Canvas; }
|
||
.client-menu, .device-menu, .toast, .stream-controls { backdrop-filter: none; border: 1px solid ButtonBorder; }
|
||
.channel-row > .row-btn::before, .msg-body, .msg-system { border: 1px solid ButtonBorder; }
|
||
.channel-row[data-selected="true"] .row-btn, .chat-tab[aria-selected="true"], .connection-item[aria-selected="true"] { forced-color-adjust: none; background: Highlight; color: HighlightText; }
|
||
.client-menu-item:focus-visible, .menu-item:focus-visible { outline: 2px solid Highlight; outline-offset: -2px; }
|
||
}
|
||
|
||
html[data-show-channel-banners="false"] .channel-row.has-banner > .row-btn::before { background: linear-gradient(to right, var(--ts-tree-channel-bg-start) 50%, var(--ts-tree-channel-bg-end) 100%); }
|
||
html[data-show-channel-background="false"] .channel-row:not(.has-banner) > .row-btn::before,
|
||
html[data-show-channel-background="false"][data-show-channel-banners="false"] .channel-row > .row-btn::before { background: transparent; }
|
||
html[data-channel-commander-as-lamp="true"][data-tree-style="compact"] .member-row[data-commander="true"] .avatar { --tsv-icon-subtitle: var(--tsv-commander-color); --tsv-client-talking--gradient-start: var(--tsv-client-commander-talking--gradient-start); --tsv-client-talking--gradient-stop: var(--tsv-client-commander-talking--gradient-stop); }
|
||
html[data-sidebar-icon-mode="large"] .connection-dot,
|
||
html:not([data-sidebar-icon-mode="small"]) .shell[data-sidebar-collapsed="true"] .connection-dot { width: var(--tsv-icon-size-large); height: var(--tsv-icon-size-large); }
|
||
html[data-sidebar-icon-mode="large"] .connection-dot .icon,
|
||
html:not([data-sidebar-icon-mode="small"]) .shell[data-sidebar-collapsed="true"] .connection-dot .icon { width: var(--tsv-icon-size-large); height: var(--tsv-icon-size-large); }
|