mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-01 00:42:49 +08:00
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
5821 lines
116 KiB
CSS
5821 lines
116 KiB
CSS
/* Wrapped in :where() so these three variable-defining rules carry ZERO
|
||
specificity. That's deliberate: a user-authored custom theme (injected
|
||
later as a plain `.ts-app { --accent: ... }` rule) has real specificity
|
||
and must always win here, regardless of which of these three blocks would
|
||
otherwise apply. Every other selector in this file is untouched, so the
|
||
normal cascade elsewhere (including .ts-app.ts-design-nova's non-variable
|
||
rules further down) still works exactly as before. */
|
||
:where(.ts-app) {
|
||
--bg: #ffffff;
|
||
--bg-toolbar-1: #f5f6f8;
|
||
--bg-toolbar-2: #dfe2e6;
|
||
--border: #b7bcc3;
|
||
--border-soft: #d3d7db;
|
||
--text: #1a1a1a;
|
||
--text-muted: #6b6b6b;
|
||
--accent: #2b4a6b;
|
||
--input-bg: #ffffff;
|
||
--input-text: #1a1a1a;
|
||
--button-bg-1: #fdfdfd;
|
||
--button-bg-2: #dde2e8;
|
||
--button-bg-hover-1: #ffffff;
|
||
--button-bg-hover-2: #e7ecf1;
|
||
--row-hover: #cfe4fb;
|
||
--client-text: #333;
|
||
--self-text: #0b5fa5;
|
||
--log-bg: #f7f8f9;
|
||
--log-text: #333;
|
||
--log-error: #b3261e;
|
||
--alpha-badge: #a15c07;
|
||
|
||
display: flex;
|
||
flex-direction: column;
|
||
height: 100vh;
|
||
background: var(--bg);
|
||
color: var(--text);
|
||
color-scheme: light;
|
||
container-type: inline-size;
|
||
}
|
||
|
||
/* Demo-only: simulates a narrow viewport so the mobile layout (driven by
|
||
the @container rules below) can be previewed without resizing the
|
||
actual browser window. */
|
||
.ts-app.ts-force-mobile {
|
||
max-width: 390px;
|
||
margin: 0 auto;
|
||
/* Makes position:fixed children (FABs, dialogs) stick to this phone frame
|
||
instead of the browser window. */
|
||
transform: translateZ(0);
|
||
box-shadow:
|
||
0 0 0 1px rgba(0, 0, 0, 0.4),
|
||
0 0 40px rgba(0, 0, 0, 0.5);
|
||
}
|
||
|
||
:where(.ts-app.ts-theme-dark) {
|
||
--bg: #1e1f22;
|
||
--bg-toolbar-1: #2b2d31;
|
||
--bg-toolbar-2: #232428;
|
||
--border: #3a3c42;
|
||
--border-soft: #35373d;
|
||
--text: #e3e5e8;
|
||
--text-muted: #9a9ca1;
|
||
--accent: #9db4d1;
|
||
--input-bg: #313338;
|
||
--input-text: #e3e5e8;
|
||
--button-bg-1: #3a3c42;
|
||
--button-bg-2: #2b2d31;
|
||
--button-bg-hover-1: #45474e;
|
||
--button-bg-hover-2: #35373d;
|
||
--row-hover: #35404d;
|
||
--client-text: #d5d7db;
|
||
--self-text: #7db2f0;
|
||
--log-bg: #202124;
|
||
--log-text: #c7c9cc;
|
||
--log-error: #f2867a;
|
||
--alpha-badge: #e0a23c;
|
||
color-scheme: dark;
|
||
}
|
||
|
||
/* Nova: alternate design, independent of the light/dark toggle (always dark). */
|
||
/* Self-hosted (OFL) so no visitor IP goes to Google Fonts. */
|
||
@font-face {
|
||
font-family: "Manrope";
|
||
font-weight: 500 800;
|
||
font-display: swap;
|
||
src: url("./assets/fonts/manrope-latin.woff2") format("woff2");
|
||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||
}
|
||
@font-face {
|
||
font-family: "Manrope";
|
||
font-weight: 500 800;
|
||
font-display: swap;
|
||
src: url("./assets/fonts/manrope-latin-ext.woff2") format("woff2");
|
||
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||
}
|
||
|
||
:where(.ts-app.ts-design-nova) {
|
||
--success: oklch(0.75 0.15 150);
|
||
--bg: oklch(0.17 0.014 258);
|
||
--bg-toolbar-1: oklch(0.205 0.015 258);
|
||
--bg-toolbar-2: oklch(0.245 0.016 258);
|
||
--border: oklch(0.32 0.015 258);
|
||
--border-soft: oklch(0.27 0.014 258);
|
||
--text: oklch(0.94 0.006 258);
|
||
--text-muted: oklch(0.62 0.014 258);
|
||
--text-faint: oklch(0.46 0.012 258);
|
||
--accent: #7fb0e8;
|
||
--input-bg: oklch(0.205 0.015 258);
|
||
--input-text: oklch(0.94 0.006 258);
|
||
--button-bg-1: oklch(0.245 0.016 258);
|
||
--button-bg-2: oklch(0.205 0.015 258);
|
||
--button-bg-hover-1: oklch(0.28 0.017 258);
|
||
--button-bg-hover-2: oklch(0.245 0.016 258);
|
||
--row-hover: oklch(0.28 0.017 258);
|
||
--client-text: oklch(0.94 0.006 258);
|
||
--self-text: #7fb0e8;
|
||
--log-bg: oklch(0.17 0.014 258);
|
||
--log-text: oklch(0.62 0.014 258);
|
||
--log-error: oklch(0.68 0.16 25);
|
||
--alpha-badge: oklch(0.75 0.14 70);
|
||
color-scheme: dark;
|
||
font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
|
||
}
|
||
|
||
.ts-app.ts-design-nova button,
|
||
.ts-app.ts-design-nova select,
|
||
.ts-app.ts-design-nova input[type="text"],
|
||
.ts-app.ts-design-nova input[type="password"],
|
||
.ts-app.ts-design-nova input[type="search"],
|
||
.ts-app.ts-design-nova .ts-dialog {
|
||
border-radius: 8px;
|
||
}
|
||
|
||
/* Nova structural reskin: beyond palette/font, give panels, rows, tabs and
|
||
chat their own rounded "card" language instead of the Standard theme's
|
||
flush, hard-edged panes. Standard's layout isn't sacred here - Nova also
|
||
reorders the top-level app sections (all flex siblings of .ts-app) so the
|
||
mic/volume/output controls read as a bottom "voice control bar" like the
|
||
redesign, instead of a top toolbar. */
|
||
|
||
.ts-app.ts-design-nova > .ts-menubar {
|
||
order: 0;
|
||
padding: 0.5rem 1.1rem;
|
||
gap: 1.1rem;
|
||
background: var(--bg-toolbar-1);
|
||
border-bottom: 1px solid var(--border-soft);
|
||
justify-content: space-between;
|
||
}
|
||
|
||
.ts-app.ts-design-nova > .ts-menubar .ts-nova-menu-dropdown {
|
||
order: 1;
|
||
}
|
||
|
||
/* Nova-theme-only: collapses Verbindungen/Favoriten/.../Hilfe behind a single
|
||
hamburger button, opening them as a dropdown panel instead of a bare row. */
|
||
|
||
.ts-nova-menu-dropdown {
|
||
position: relative;
|
||
display: flex;
|
||
align-items: center;
|
||
}
|
||
|
||
.ts-nova-menu-toggle {
|
||
font-size: 15px;
|
||
padding: 0.3rem 0.55rem;
|
||
}
|
||
|
||
.ts-menubar-items.ts-nova-menu-panel {
|
||
display: none;
|
||
}
|
||
|
||
.ts-menubar-items.ts-nova-menu-panel.ts-nova-menu-panel-open {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: stretch;
|
||
position: absolute;
|
||
top: 100%;
|
||
right: 0;
|
||
margin-top: 6px;
|
||
gap: 2px;
|
||
padding: 6px;
|
||
background: var(--bg-toolbar-1);
|
||
border: 1px solid var(--border);
|
||
border-radius: 10px;
|
||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
|
||
z-index: 30;
|
||
}
|
||
|
||
.ts-menubar-items.ts-nova-menu-panel-open .ts-menubar-dropdown {
|
||
width: 100%;
|
||
}
|
||
|
||
/* The panel itself docks flush against the right viewport edge, so its nested
|
||
submenus must open leftward instead of the default rightward - opening right
|
||
here would run straight off-screen. */
|
||
.ts-menubar-items.ts-nova-menu-panel-open .ts-menu {
|
||
left: auto;
|
||
right: 100%;
|
||
top: -6px;
|
||
margin-right: 4px;
|
||
}
|
||
|
||
.ts-menubar-items.ts-nova-menu-panel-open .ts-menubar-item,
|
||
.ts-menubar-items.ts-nova-menu-panel-open .ts-menubar-item-active {
|
||
display: block;
|
||
width: 100%;
|
||
border-radius: 6px;
|
||
}
|
||
|
||
/* Nova splash: while disconnected, the connect dialog IS the app - the whole
|
||
chrome (menu, toolbar, tree/chat/log) stays mounted but hidden behind it,
|
||
and reappears the instant a connection exists (see the useEffect forcing
|
||
connectDialogOpen and the ts-nova-splash class in App.tsx). */
|
||
|
||
.ts-app.ts-design-nova.ts-nova-splash > .ts-menubar,
|
||
.ts-app.ts-design-nova.ts-nova-splash > .ts-toolbar,
|
||
.ts-app.ts-design-nova.ts-nova-splash > .ts-body,
|
||
.ts-app.ts-design-nova.ts-nova-splash > .ts-log {
|
||
display: none;
|
||
}
|
||
|
||
.ts-app.ts-design-nova.ts-nova-splash .ts-dialog-backdrop {
|
||
background: var(--bg);
|
||
}
|
||
|
||
/* Connect screen, ported from the TS6 redesign's Connect.dc.html: a centered
|
||
hero (logo/title/subtitle) above an elevated card, instead of a plain
|
||
titled dialog box floating on a dim backdrop. */
|
||
|
||
.ts-connect-nova-wrap {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: stretch;
|
||
gap: 22px;
|
||
width: min(520px, 92vw);
|
||
}
|
||
|
||
.ts-connect-nova-hero {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
gap: 12px;
|
||
text-align: center;
|
||
}
|
||
|
||
.ts-connect-nova-logo {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
width: 56px;
|
||
height: 56px;
|
||
border-radius: 16px;
|
||
background: var(--accent);
|
||
color: var(--bg-toolbar-1);
|
||
font-weight: 800;
|
||
font-size: 26px;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.ts-connect-nova-title {
|
||
font-size: 19px;
|
||
font-weight: 800;
|
||
}
|
||
|
||
.ts-connect-nova-subtitle {
|
||
font-size: 12.5px;
|
||
color: var(--text-muted);
|
||
margin-top: 4px;
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-connect-dialog {
|
||
width: auto;
|
||
background: var(--button-bg-1);
|
||
border-color: var(--border-soft);
|
||
border-radius: 18px;
|
||
box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
|
||
position: relative;
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-connect-dialog .ts-dialog-body {
|
||
padding: 22px;
|
||
gap: 16px;
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-connect-dialog .ts-dialog-field {
|
||
font-size: 12px;
|
||
font-weight: 700;
|
||
color: var(--text-muted);
|
||
gap: 6px;
|
||
/* Flex items default to min-width:auto, i.e. their content's intrinsic width -
|
||
for an <input> that's the browser's default control size, which is wider than
|
||
the space left in a two-up .ts-dialog-row once padding grows this much. Without
|
||
this the password/select field refuses to shrink and overflows the card. */
|
||
min-width: 0;
|
||
}
|
||
|
||
/* The password field doesn't grow, so once the row's available width is split
|
||
fairly it should still keep a usable minimum instead of shrinking to a sliver -
|
||
flex-shrink can still take it below this only if the row itself is too narrow. */
|
||
.ts-app.ts-design-nova .ts-connect-dialog .ts-dialog-row > .ts-dialog-field:not(.ts-dialog-field-grow) {
|
||
flex: 0 0 150px;
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-connect-dialog .ts-dialog-field input,
|
||
.ts-app.ts-design-nova .ts-connect-dialog .ts-dialog-field select {
|
||
border-radius: 11px;
|
||
padding: 11px 14px;
|
||
font-size: 13.5px;
|
||
border-color: var(--border-soft);
|
||
}
|
||
|
||
.ts-connect-nova-expand {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
align-self: flex-start;
|
||
border: none;
|
||
background: transparent;
|
||
color: var(--accent);
|
||
font-size: 12.5px;
|
||
font-weight: 700;
|
||
font-family: inherit;
|
||
padding: 2px 0;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.ts-connect-nova-chevron {
|
||
transition: transform 0.15s ease;
|
||
}
|
||
|
||
.ts-connect-nova-chevron-open {
|
||
transform: rotate(90deg);
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-connect-dialog .ts-dialog-grid {
|
||
gap: 12px;
|
||
}
|
||
|
||
.ts-connect-nova-buttons {
|
||
display: flex;
|
||
gap: 10px;
|
||
padding: 0 22px 22px;
|
||
}
|
||
|
||
.ts-connect-nova-buttons button {
|
||
border-radius: 12px;
|
||
font-family: inherit;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.ts-connect-cancel,
|
||
.ts-connect-nova-buttons button[disabled] {
|
||
background: transparent;
|
||
color: var(--text-muted);
|
||
border: 1px solid var(--border-soft);
|
||
padding: 12px 18px;
|
||
font-size: 13px;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.ts-connect-nova-primary {
|
||
flex: 1;
|
||
background: var(--accent);
|
||
color: var(--bg-toolbar-1);
|
||
border: none;
|
||
padding: 12px 20px;
|
||
font-size: 13.5px;
|
||
font-weight: 700;
|
||
}
|
||
|
||
.ts-connect-nova-primary:disabled {
|
||
opacity: 0.5;
|
||
cursor: default;
|
||
}
|
||
|
||
.ts-connect-nova-settings {
|
||
position: fixed;
|
||
top: 20px;
|
||
right: 20px;
|
||
width: 36px;
|
||
height: 36px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
border-radius: 10px;
|
||
background: var(--button-bg-1);
|
||
border: 1px solid var(--border-soft);
|
||
cursor: pointer;
|
||
font-size: 15px;
|
||
}
|
||
|
||
.ts-connect-nova-settings:hover {
|
||
background: var(--row-hover);
|
||
}
|
||
|
||
/* Splash mode hides the cancel button specifically - with nothing connected
|
||
yet there is no "back" to cancel to. */
|
||
.ts-app.ts-design-nova.ts-nova-splash .ts-connect-cancel {
|
||
display: none;
|
||
}
|
||
|
||
.ts-app.ts-design-nova > .ts-menubar .ts-menubar-item {
|
||
padding: 0.3rem 0.65rem;
|
||
border-radius: 999px;
|
||
}
|
||
|
||
.ts-app.ts-design-nova > .ts-menubar .ts-menubar-item-active {
|
||
padding: 0.3rem 0.65rem;
|
||
border-radius: 999px;
|
||
background: var(--bg-toolbar-2);
|
||
font-weight: 600;
|
||
font-size: 12px;
|
||
}
|
||
|
||
.ts-app.ts-design-nova > .ts-menubar .ts-menubar-item-active:hover {
|
||
background: var(--row-hover);
|
||
color: var(--text);
|
||
}
|
||
|
||
.ts-app.ts-design-nova > .ts-body {
|
||
order: 1;
|
||
}
|
||
|
||
.ts-app.ts-design-nova > .ts-log {
|
||
order: 2;
|
||
}
|
||
|
||
.ts-app.ts-design-nova > .ts-toolbar {
|
||
order: 3;
|
||
flex-direction: row;
|
||
align-items: center;
|
||
background: var(--bg-toolbar-2);
|
||
border-bottom: none;
|
||
border-top: 1px solid var(--border-soft);
|
||
padding: 0.6rem 1.2rem;
|
||
}
|
||
|
||
.ts-app.ts-design-nova > .ts-toolbar .ts-toolbar-icons {
|
||
flex: 1;
|
||
justify-content: center;
|
||
gap: 0.6rem;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.ts-app.ts-design-nova > .ts-toolbar .ts-icon-button {
|
||
width: 42px;
|
||
height: 42px;
|
||
font-size: 17px;
|
||
}
|
||
|
||
.ts-app.ts-design-nova > .ts-toolbar .ts-toolbar-sep {
|
||
height: 26px;
|
||
align-self: center;
|
||
margin: 0 0.3rem;
|
||
}
|
||
|
||
.ts-app.ts-design-nova > .ts-toolbar .ts-app-logo {
|
||
border-radius: 8px;
|
||
}
|
||
|
||
/* New Nova-only status strip: server name + connection pill, folded into the
|
||
menubar row (right of the menu items) as the app's visual anchor. */
|
||
|
||
.ts-nova-topbar-server {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.6rem;
|
||
}
|
||
|
||
.ts-nova-topbar-logo {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
width: 26px;
|
||
height: 26px;
|
||
border-radius: 8px;
|
||
background: var(--accent);
|
||
color: var(--bg-toolbar-1);
|
||
font-weight: 800;
|
||
font-size: 13px;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.ts-nova-topbar-name {
|
||
font-weight: 700;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.ts-nova-topbar-status {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
padding: 3px 10px;
|
||
border-radius: 999px;
|
||
background: var(--bg-toolbar-2);
|
||
color: var(--text-muted);
|
||
font-size: 11px;
|
||
font-weight: 700;
|
||
}
|
||
|
||
.ts-nova-topbar-status-on {
|
||
background: color-mix(in srgb, var(--success) 18%, transparent);
|
||
color: var(--success);
|
||
}
|
||
|
||
.ts-nova-topbar-dot {
|
||
width: 6px;
|
||
height: 6px;
|
||
border-radius: 50%;
|
||
background: currentColor;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
/* Self card in the bottom voice bar: avatar + name + status, mirroring the
|
||
mockup's left-hand cluster (Standard's toolbar has no equivalent). */
|
||
|
||
.ts-nova-toolbar-self {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.6rem;
|
||
padding-right: 0.9rem;
|
||
margin-right: 0.5rem;
|
||
border-right: 1px solid var(--border-soft);
|
||
}
|
||
|
||
.ts-nova-toolbar-avatar {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
width: 36px;
|
||
height: 36px;
|
||
border-radius: 11px;
|
||
background: var(--accent);
|
||
color: var(--bg-toolbar-1);
|
||
font-weight: 800;
|
||
font-size: 14px;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.ts-nova-toolbar-self-info {
|
||
display: flex;
|
||
flex-direction: column;
|
||
line-height: 1.25;
|
||
}
|
||
|
||
.ts-nova-toolbar-self-name {
|
||
font-weight: 700;
|
||
font-size: 13px;
|
||
}
|
||
|
||
.ts-nova-toolbar-self-status {
|
||
font-size: 11px;
|
||
color: var(--success);
|
||
font-weight: 600;
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-icon-button,
|
||
.ts-app.ts-design-nova .ts-toolbar-fields button,
|
||
.ts-app.ts-design-nova .ts-chat-input-row button {
|
||
border-radius: 10px;
|
||
background: var(--button-bg-1);
|
||
padding: 0.35rem 0.6rem;
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-icon-button:hover,
|
||
.ts-app.ts-design-nova .ts-toolbar-fields button:hover,
|
||
.ts-app.ts-design-nova .ts-chat-input-row button:hover {
|
||
background: var(--button-bg-hover-1);
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-icon-caret {
|
||
border-radius: 0 10px 10px 0;
|
||
background: var(--button-bg-1);
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-toolbar-away .ts-icon-button {
|
||
border-radius: 10px 0 0 10px;
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-upper {
|
||
gap: 0.6rem;
|
||
padding: 0.6rem 0.6rem 0;
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-tree-panel,
|
||
.ts-app.ts-design-nova .ts-info-panel {
|
||
background: var(--bg-toolbar-1);
|
||
border: 1px solid var(--border-soft);
|
||
border-radius: 10px;
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-resize-handle-vertical,
|
||
.ts-app.ts-design-nova .ts-resize-handle-horizontal {
|
||
background: transparent;
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-banner-panel {
|
||
border-radius: 10px;
|
||
border: 1px solid var(--border-soft);
|
||
margin: 0 0.6rem;
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-chat-panel {
|
||
background: var(--bg-toolbar-1);
|
||
border: 1px solid var(--border-soft);
|
||
border-radius: 10px;
|
||
overflow: hidden;
|
||
margin: 0.6rem;
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-row {
|
||
padding: 4px 6px;
|
||
border-radius: 8px;
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-client-row {
|
||
padding-left: 1.1rem;
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-row-selected {
|
||
border-radius: 8px;
|
||
outline-color: var(--accent);
|
||
background: var(--bg-toolbar-2);
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-chat-tabs {
|
||
order: -1;
|
||
border-top: none;
|
||
border-bottom: 1px solid var(--border-soft);
|
||
padding: 0.5rem 0.6rem 0;
|
||
gap: 0.2rem;
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-chat-tab {
|
||
border: none;
|
||
border-bottom: 2.5px solid transparent;
|
||
border-radius: 8px 8px 0 0;
|
||
background: transparent;
|
||
color: var(--text-muted);
|
||
padding: 0.45rem 0.7rem;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-chat-tab:hover:not(.ts-chat-tab-active) {
|
||
background: var(--row-hover);
|
||
color: var(--text);
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-chat-tab-active {
|
||
background: transparent;
|
||
color: var(--accent);
|
||
border-bottom-color: var(--accent);
|
||
font-weight: 700;
|
||
}
|
||
|
||
/* Bubble-style chat messages, matching the TS6 mockup: own messages align
|
||
right in an accent-filled bubble, others align left in a muted-surface
|
||
bubble; system/log lines render as a centered pill. */
|
||
|
||
.ts-app.ts-design-nova .ts-chat-messages {
|
||
padding: 0.9rem 1rem;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.6rem;
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-chat-line {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: flex-start;
|
||
gap: 2px;
|
||
max-width: 70%;
|
||
padding: 0;
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-chat-line-self {
|
||
align-self: flex-end;
|
||
align-items: flex-end;
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-chat-from {
|
||
font-size: 11.5px;
|
||
font-weight: 700;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-chat-line-self .ts-chat-from {
|
||
color: var(--accent);
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-chat-bubble {
|
||
display: inline-block;
|
||
background: var(--bg-toolbar-2);
|
||
padding: 0.5rem 0.75rem;
|
||
border-radius: 4px 14px 14px 14px;
|
||
line-height: 1.45;
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-chat-line-self .ts-chat-bubble {
|
||
background: var(--accent);
|
||
color: var(--bg-toolbar-1);
|
||
border-radius: 14px 4px 14px 14px;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-chat-line-log {
|
||
align-self: center;
|
||
align-items: center;
|
||
max-width: none;
|
||
background: var(--bg-toolbar-2);
|
||
color: var(--text-faint);
|
||
font-style: italic;
|
||
font-size: 11.5px;
|
||
padding: 0.25rem 0.75rem;
|
||
border-radius: 999px;
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-chat-input-row {
|
||
border-top: 1px solid var(--border-soft);
|
||
padding: 0.6rem 0.8rem;
|
||
align-items: center;
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-chat-input-row textarea {
|
||
border-radius: 14px;
|
||
border-color: var(--border-soft);
|
||
background: var(--bg-toolbar-2);
|
||
padding: 0.55rem 0.8rem;
|
||
}
|
||
|
||
/* Round, icon-only accent send button, matching the mockup's composer. */
|
||
.ts-app.ts-design-nova .ts-chat-input-row button {
|
||
width: 40px;
|
||
height: 40px;
|
||
padding: 0;
|
||
border: none;
|
||
border-radius: 12px;
|
||
background: var(--accent);
|
||
color: transparent;
|
||
font-size: 0;
|
||
flex-shrink: 0;
|
||
position: relative;
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-chat-input-row button:hover {
|
||
background: var(--accent);
|
||
filter: brightness(1.08);
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-chat-input-row button:disabled {
|
||
opacity: 0.4;
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-chat-input-row button::before {
|
||
content: "➤";
|
||
position: absolute;
|
||
inset: 0;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
font-size: 15px;
|
||
color: var(--bg-toolbar-1);
|
||
}
|
||
|
||
/* Nova moves the self/voice toolbar below the chat panel instead of above it
|
||
(see the > .ts-toolbar reorder rule further up), which adds ~6.7rem of
|
||
vertical footprint the fixed-position feedback/donate FABs don't know
|
||
about - without this they land on top of the chat composer's send button. */
|
||
.ts-app.ts-design-nova .ts-donate-fab,
|
||
.ts-app.ts-design-nova .ts-feedback-fab-wrap {
|
||
bottom: 12.25rem;
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-feedback-fab-wrap-stacked {
|
||
bottom: 15.25rem;
|
||
}
|
||
|
||
/* Client avatar chips: colored initial squares, Nova-only (Standard theme
|
||
keeps its plain icon + name row). */
|
||
.ts-client-avatar {
|
||
display: none;
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-client-avatar {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
width: 18px;
|
||
height: 18px;
|
||
border-radius: 6px;
|
||
flex-shrink: 0;
|
||
font-size: 9px;
|
||
font-weight: 800;
|
||
color: oklch(0.18 0.02 258);
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-log {
|
||
border-top: 1px solid var(--border-soft);
|
||
margin: 0 0.6rem 0.6rem;
|
||
border: 1px solid var(--border-soft);
|
||
border-radius: 8px;
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-dialog {
|
||
border-radius: 12px;
|
||
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-menu {
|
||
border-radius: 8px;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.ts-app.ts-design-nova .ts-menu-item:hover:not(:disabled) {
|
||
border-radius: 6px;
|
||
}
|
||
|
||
.ts-app.ts-design-nova ::-webkit-scrollbar {
|
||
width: 10px;
|
||
height: 10px;
|
||
}
|
||
|
||
.ts-app.ts-design-nova ::-webkit-scrollbar-track {
|
||
background: transparent;
|
||
}
|
||
|
||
.ts-app.ts-design-nova ::-webkit-scrollbar-thumb {
|
||
background: var(--border);
|
||
border-radius: 999px;
|
||
border: 2px solid var(--bg);
|
||
}
|
||
|
||
/* Pulse: alternate design, independent of the light/dark toggle (always
|
||
dark). Visual reference: a Discord-style client with a dark rounded
|
||
sidebar, pill-shaped channel/client rows and a floating card-based main
|
||
panel - reimplemented from scratch in our own markup/CSS (no code or
|
||
assets borrowed), reusing the same DOM/class names as Standard/Nova the
|
||
way Nova does, with its own indigo/violet accent (colors need not match
|
||
any particular reference client). */
|
||
|
||
:where(.ts-app.ts-design-pulse) {
|
||
--success: oklch(0.75 0.15 150);
|
||
--bg: oklch(0.19 0.02 290);
|
||
--bg-toolbar-1: oklch(0.155 0.018 290);
|
||
--bg-toolbar-2: oklch(0.235 0.024 290);
|
||
--border: oklch(0.32 0.02 290);
|
||
--border-soft: oklch(0.27 0.02 290);
|
||
--text: oklch(0.95 0.006 290);
|
||
--text-muted: oklch(0.64 0.014 290);
|
||
--text-faint: oklch(0.48 0.012 290);
|
||
--accent: #9d8cf0;
|
||
--input-bg: oklch(0.235 0.024 290);
|
||
--input-text: oklch(0.95 0.006 290);
|
||
--button-bg-1: oklch(0.235 0.024 290);
|
||
--button-bg-2: oklch(0.155 0.018 290);
|
||
--button-bg-hover-1: oklch(0.28 0.026 290);
|
||
--button-bg-hover-2: oklch(0.235 0.024 290);
|
||
--row-hover: oklch(0.27 0.03 290);
|
||
--client-text: oklch(0.95 0.006 290);
|
||
--self-text: #9d8cf0;
|
||
--log-bg: oklch(0.155 0.018 290);
|
||
--log-text: oklch(0.64 0.014 290);
|
||
--log-error: oklch(0.68 0.16 25);
|
||
--alpha-badge: oklch(0.75 0.14 70);
|
||
color-scheme: dark;
|
||
font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse button,
|
||
.ts-app.ts-design-pulse select,
|
||
.ts-app.ts-design-pulse input[type="text"],
|
||
.ts-app.ts-design-pulse input[type="password"],
|
||
.ts-app.ts-design-pulse input[type="search"],
|
||
.ts-app.ts-design-pulse .ts-dialog {
|
||
border-radius: 10px;
|
||
}
|
||
|
||
/* Top bar: rendered as a breadcrumb - app logo, then the server name, then
|
||
(when a channel is selected) a chevron and the channel name - instead of
|
||
Standard's menu-item row. The menu items themselves fold into a single
|
||
overflow button so the breadcrumb reads clean, mirroring the reference
|
||
client's header. */
|
||
|
||
.ts-app.ts-design-pulse > .ts-menubar {
|
||
order: 0;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.5rem;
|
||
padding: 0.65rem 1.2rem;
|
||
background: var(--bg-toolbar-1);
|
||
border-bottom: 1px solid var(--border-soft);
|
||
}
|
||
|
||
.ts-app.ts-design-pulse > .ts-menubar .ts-nova-menu-dropdown {
|
||
order: 1;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse > .ts-menubar .ts-menubar-item {
|
||
border-radius: 8px;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.ts-app.ts-design-pulse > .ts-menubar .ts-menubar-item-active {
|
||
background: var(--bg-toolbar-2);
|
||
color: var(--text);
|
||
}
|
||
|
||
.ts-app.ts-design-pulse > .ts-body {
|
||
order: 1;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse > .ts-log {
|
||
order: 2;
|
||
}
|
||
|
||
/* Voice control bar, bottom-docked like Nova's, but pill-shaped controls on
|
||
a flat strip instead of Nova's rounded-square icon buttons. */
|
||
|
||
.ts-app.ts-design-pulse > .ts-toolbar {
|
||
order: 3;
|
||
flex-direction: row;
|
||
align-items: center;
|
||
background: var(--bg-toolbar-1);
|
||
border-bottom: none;
|
||
border-top: 1px solid var(--border-soft);
|
||
padding: 0.6rem 1.2rem;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse > .ts-toolbar .ts-toolbar-icons {
|
||
flex: 1;
|
||
justify-content: center;
|
||
gap: 0.6rem;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse > .ts-toolbar .ts-icon-button {
|
||
width: 40px;
|
||
height: 40px;
|
||
border-radius: 999px;
|
||
font-size: 16px;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse > .ts-toolbar .ts-toolbar-sep {
|
||
height: 24px;
|
||
align-self: center;
|
||
margin: 0 0.3rem;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse > .ts-toolbar .ts-app-logo {
|
||
border-radius: 999px;
|
||
}
|
||
|
||
.ts-pulse-topbar-server {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.55rem;
|
||
font-weight: 700;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.ts-pulse-topbar-logo {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
width: 24px;
|
||
height: 24px;
|
||
border-radius: 7px;
|
||
background: var(--accent);
|
||
color: var(--bg-toolbar-1);
|
||
font-weight: 800;
|
||
font-size: 12px;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.ts-pulse-topbar-crumb-sep {
|
||
color: var(--text-faint);
|
||
font-weight: 400;
|
||
}
|
||
|
||
.ts-pulse-topbar-channel {
|
||
color: var(--text-muted);
|
||
font-weight: 600;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-icon-button,
|
||
.ts-app.ts-design-pulse .ts-toolbar-fields button,
|
||
.ts-app.ts-design-pulse .ts-chat-input-row button {
|
||
border-radius: 999px;
|
||
background: var(--button-bg-1);
|
||
padding: 0.35rem 0.6rem;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-icon-button:hover,
|
||
.ts-app.ts-design-pulse .ts-toolbar-fields button:hover,
|
||
.ts-app.ts-design-pulse .ts-chat-input-row button:hover {
|
||
background: var(--button-bg-hover-1);
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-icon-caret {
|
||
height: 40px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
border-radius: 0 999px 999px 0;
|
||
background: var(--button-bg-1);
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-toolbar-away .ts-icon-button {
|
||
border-radius: 999px 0 0 999px;
|
||
}
|
||
|
||
/* Floating-card layout: sidebar and chat panel read as separate rounded
|
||
cards with a gap between them (and against the window edges), instead of
|
||
Standard's flush panes or Nova's single joined pair. */
|
||
|
||
.ts-app.ts-design-pulse .ts-upper {
|
||
gap: 0.7rem;
|
||
padding: 0.7rem 0.7rem 0;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-tree-panel,
|
||
.ts-app.ts-design-pulse .ts-info-panel {
|
||
background: var(--bg-toolbar-1);
|
||
border: 1px solid var(--border-soft);
|
||
border-radius: 14px;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-resize-handle-vertical,
|
||
.ts-app.ts-design-pulse .ts-resize-handle-horizontal {
|
||
background: transparent;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-banner-panel {
|
||
border-radius: 14px;
|
||
border: 1px solid var(--border-soft);
|
||
margin: 0 0.7rem;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-chat-panel {
|
||
background: var(--bg-toolbar-1);
|
||
border: 1px solid var(--border-soft);
|
||
border-radius: 14px;
|
||
overflow: hidden;
|
||
margin: 0.7rem;
|
||
}
|
||
|
||
/* Speaking Now strip: a row of avatar tiles for everyone in the player's
|
||
current channel, with the talking member's avatar highlighted - the
|
||
"who's speaking" strip from the reference client's connected view. */
|
||
|
||
.ts-app.ts-design-pulse .ts-speaking-now {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 0.6rem;
|
||
padding: 0.7rem 0.9rem;
|
||
border-bottom: 1px solid var(--border-soft);
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-speaking-now-tile {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
gap: 0.3rem;
|
||
width: 52px;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-speaking-now-avatar {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
width: 36px;
|
||
height: 36px;
|
||
border-radius: 50%;
|
||
font-size: 14px;
|
||
font-weight: 800;
|
||
color: oklch(0.18 0.02 290);
|
||
box-shadow: 0 0 0 2px transparent;
|
||
transition: box-shadow 0.15s ease;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-speaking-now-tile-active .ts-speaking-now-avatar {
|
||
box-shadow: 0 0 0 3px var(--success);
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-speaking-now-name {
|
||
font-size: 10px;
|
||
color: var(--text-muted);
|
||
max-width: 52px;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-speaking-now-tile-active .ts-speaking-now-name {
|
||
color: var(--text);
|
||
}
|
||
|
||
/* Pill-shaped sidebar rows for channels/clients, accent bar on the
|
||
selected row instead of a full-row outline. */
|
||
|
||
.ts-app.ts-design-pulse .ts-row {
|
||
padding: 5px 8px;
|
||
border-radius: 999px;
|
||
margin: 1px 0;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-client-row {
|
||
padding-left: 1.2rem;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-row-selected {
|
||
border-radius: 999px;
|
||
outline: none;
|
||
background: var(--bg-toolbar-2);
|
||
box-shadow: inset 3px 0 0 var(--accent);
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-row:hover:not(.ts-row-selected) {
|
||
background: var(--row-hover);
|
||
}
|
||
|
||
/* Rounded circular avatar chips (vs. Nova's rounded squares), matching the
|
||
reference client's member-list look. */
|
||
|
||
.ts-app.ts-design-pulse .ts-client-avatar {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
width: 20px;
|
||
height: 20px;
|
||
border-radius: 50%;
|
||
flex-shrink: 0;
|
||
font-size: 9.5px;
|
||
font-weight: 800;
|
||
color: oklch(0.18 0.02 290);
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-talking .ts-client-avatar {
|
||
box-shadow: 0 0 0 2px var(--success);
|
||
}
|
||
|
||
/* Rounded pill tab bar for the channel/server/PM chat tabs, sitting above
|
||
the message list rather than flush against it. */
|
||
|
||
.ts-app.ts-design-pulse .ts-chat-tabs {
|
||
order: -1;
|
||
border-top: none;
|
||
border-bottom: 1px solid var(--border-soft);
|
||
padding: 0.55rem 0.7rem 0.4rem;
|
||
gap: 0.35rem;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-chat-tab {
|
||
border: none;
|
||
border-radius: 999px;
|
||
background: var(--bg-toolbar-2);
|
||
color: var(--text-muted);
|
||
padding: 0.4rem 0.85rem;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-chat-tab:hover:not(.ts-chat-tab-active) {
|
||
color: var(--text);
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-chat-tab-active {
|
||
background: var(--accent);
|
||
color: var(--bg-toolbar-1);
|
||
font-weight: 700;
|
||
}
|
||
|
||
/* Bubble-style chat messages, own messages right-aligned in an accent
|
||
bubble, others left-aligned in a muted-surface bubble; log lines render
|
||
as a centered, faint pill. */
|
||
|
||
.ts-app.ts-design-pulse .ts-chat-messages {
|
||
padding: 0.9rem 1rem;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.6rem;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-chat-line {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: flex-start;
|
||
gap: 2px;
|
||
max-width: 70%;
|
||
padding: 0;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-chat-line-self {
|
||
align-self: flex-end;
|
||
align-items: flex-end;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-chat-from {
|
||
font-size: 11.5px;
|
||
font-weight: 700;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-chat-line-self .ts-chat-from {
|
||
color: var(--accent);
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-chat-bubble {
|
||
display: inline-block;
|
||
background: var(--bg-toolbar-2);
|
||
padding: 0.5rem 0.75rem;
|
||
border-radius: 14px 14px 14px 4px;
|
||
line-height: 1.45;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-chat-line-self .ts-chat-bubble {
|
||
background: var(--accent);
|
||
color: var(--bg-toolbar-1);
|
||
border-radius: 14px 14px 4px 14px;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-chat-line-log {
|
||
align-self: center;
|
||
align-items: center;
|
||
max-width: none;
|
||
background: var(--bg-toolbar-2);
|
||
color: var(--text-faint);
|
||
font-style: italic;
|
||
font-size: 11.5px;
|
||
padding: 0.25rem 0.75rem;
|
||
border-radius: 999px;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-chat-input-row {
|
||
border-top: 1px solid var(--border-soft);
|
||
padding: 0.6rem 0.8rem;
|
||
align-items: center;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-chat-input-row textarea {
|
||
border-radius: 999px;
|
||
border-color: var(--border-soft);
|
||
background: var(--bg-toolbar-2);
|
||
padding: 0.55rem 1rem;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-chat-input-row button {
|
||
width: 40px;
|
||
height: 40px;
|
||
padding: 0;
|
||
border: none;
|
||
border-radius: 50%;
|
||
background: var(--accent);
|
||
color: transparent;
|
||
font-size: 0;
|
||
flex-shrink: 0;
|
||
position: relative;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-chat-input-row button:hover {
|
||
background: var(--accent);
|
||
filter: brightness(1.08);
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-chat-input-row button:disabled {
|
||
opacity: 0.4;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-chat-input-row button::before {
|
||
content: "➤";
|
||
position: absolute;
|
||
inset: 0;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
font-size: 15px;
|
||
color: var(--bg-toolbar-1);
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-log {
|
||
border-top: 1px solid var(--border-soft);
|
||
margin: 0 0.7rem 0.7rem;
|
||
border: 1px solid var(--border-soft);
|
||
border-radius: 12px;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-dialog {
|
||
border-radius: 14px;
|
||
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-menu {
|
||
border-radius: 10px;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse .ts-menu-item:hover:not(:disabled) {
|
||
border-radius: 8px;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse ::-webkit-scrollbar {
|
||
width: 10px;
|
||
height: 10px;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse ::-webkit-scrollbar-track {
|
||
background: transparent;
|
||
}
|
||
|
||
.ts-app.ts-design-pulse ::-webkit-scrollbar-thumb {
|
||
background: var(--border);
|
||
border-radius: 999px;
|
||
border: 2px solid var(--bg);
|
||
}
|
||
|
||
/* Demo mode banner */
|
||
|
||
.ts-demo-banner {
|
||
flex-shrink: 0;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
flex-wrap: wrap;
|
||
gap: 0.5rem;
|
||
padding: 0.35rem 0.75rem;
|
||
background: #7a4d00;
|
||
color: #fff;
|
||
font-size: 12px;
|
||
text-align: center;
|
||
}
|
||
|
||
.ts-demo-banner a {
|
||
color: #fff;
|
||
text-decoration: underline;
|
||
}
|
||
|
||
.ts-demo-mobile-toggle {
|
||
flex-shrink: 0;
|
||
border: 1px solid rgba(255, 255, 255, 0.6);
|
||
border-radius: 999px;
|
||
background: rgba(255, 255, 255, 0.15);
|
||
color: #fff;
|
||
padding: 0.15rem 0.6rem;
|
||
font-size: 11px;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.ts-demo-mobile-toggle:hover {
|
||
background: rgba(255, 255, 255, 0.28);
|
||
}
|
||
|
||
/* Toolbar */
|
||
|
||
.ts-menubar-items {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 1.1rem;
|
||
}
|
||
|
||
.ts-menubar {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 1.1rem;
|
||
padding: 0.25rem 0.75rem;
|
||
background: var(--bg-toolbar-1);
|
||
border-bottom: 1px solid var(--border-soft);
|
||
flex-shrink: 0;
|
||
font-size: 12px;
|
||
}
|
||
|
||
.ts-menubar-item {
|
||
color: var(--text-muted);
|
||
cursor: default;
|
||
}
|
||
|
||
.ts-menubar-item-active {
|
||
color: var(--text);
|
||
cursor: pointer;
|
||
padding: 0.1rem 0.3rem;
|
||
border-radius: 2px;
|
||
}
|
||
|
||
.ts-menubar-item-active:hover {
|
||
background: var(--row-hover);
|
||
}
|
||
|
||
.ts-menubar-dropdown {
|
||
position: relative;
|
||
}
|
||
|
||
.ts-menu {
|
||
position: absolute;
|
||
top: 100%;
|
||
left: 0;
|
||
z-index: 20;
|
||
display: flex;
|
||
flex-direction: column;
|
||
min-width: 260px;
|
||
padding: 0.25rem;
|
||
background: var(--bg-toolbar-1);
|
||
border: 1px solid var(--border);
|
||
border-radius: 4px;
|
||
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
|
||
}
|
||
|
||
.ts-menu-item {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.5rem;
|
||
border: none;
|
||
background: transparent;
|
||
color: var(--text);
|
||
padding: 0.35rem 0.5rem;
|
||
border-radius: 2px;
|
||
cursor: pointer;
|
||
font-size: 12px;
|
||
text-align: left;
|
||
text-decoration: none;
|
||
}
|
||
|
||
.ts-menu-item:hover:not(:disabled) {
|
||
background: var(--row-hover);
|
||
}
|
||
|
||
.ts-menu-item:disabled {
|
||
opacity: 0.4;
|
||
cursor: default;
|
||
}
|
||
|
||
.ts-menu-item-icon {
|
||
width: 1.1rem;
|
||
text-align: center;
|
||
}
|
||
|
||
.ts-menu-item-label {
|
||
flex: 1;
|
||
}
|
||
|
||
.ts-avatar-img {
|
||
width: 100%;
|
||
height: 100%;
|
||
object-fit: cover;
|
||
border-radius: inherit;
|
||
}
|
||
|
||
.ts-info-avatar {
|
||
display: block;
|
||
width: 64px;
|
||
height: 64px;
|
||
object-fit: cover;
|
||
border-radius: 6px;
|
||
margin: 0.2rem 0 0.4rem;
|
||
}
|
||
|
||
.ts-menu-volume input {
|
||
flex: 1;
|
||
min-width: 6rem;
|
||
}
|
||
|
||
.ts-menu-volume-value {
|
||
min-width: 2.6rem;
|
||
text-align: right;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.ts-menu-item-shortcut {
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.ts-menu-separator {
|
||
height: 1px;
|
||
margin: 0.25rem 0.3rem;
|
||
background: var(--border-soft);
|
||
}
|
||
|
||
/* Floating viewer for a TS6 Stream/Call broadcast. */
|
||
.ts-stream-panel {
|
||
display: flex;
|
||
flex-direction: column;
|
||
width: min(480px, calc(100vw - 2rem));
|
||
background: var(--bg-toolbar-1);
|
||
border: 1px solid var(--border);
|
||
border-radius: 6px;
|
||
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
|
||
overflow: hidden;
|
||
}
|
||
|
||
.ts-stream-panel-header {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.5rem;
|
||
padding: 0.35rem 0.5rem;
|
||
border-bottom: 1px solid var(--border-soft);
|
||
}
|
||
|
||
.ts-stream-panel-title {
|
||
flex: 1;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.ts-stream-panel-state {
|
||
opacity: 0.7;
|
||
font-size: 0.85em;
|
||
}
|
||
|
||
/* Deliberately loud: the feature speaks an undocumented TS6 protocol, so the
|
||
user should never be in doubt that it is experimental. */
|
||
.ts-alpha-badge {
|
||
display: inline-block;
|
||
padding: 0 0.35em;
|
||
border: 1px solid var(--alpha-badge);
|
||
border-radius: 3px;
|
||
color: var(--alpha-badge);
|
||
font-size: 0.7em;
|
||
font-weight: 700;
|
||
letter-spacing: 0.06em;
|
||
text-transform: uppercase;
|
||
vertical-align: middle;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.ts-alpha-note {
|
||
margin: 0 0 0.75rem;
|
||
padding: 0.5rem 0.6rem;
|
||
border-left: 3px solid var(--alpha-badge);
|
||
background: var(--log-bg);
|
||
color: var(--text-muted);
|
||
font-size: 0.85em;
|
||
line-height: 1.4;
|
||
}
|
||
|
||
.ts-stream-panel-close {
|
||
padding: 0 0.35rem;
|
||
background: none;
|
||
border: none;
|
||
color: inherit;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.ts-stream-panel video {
|
||
width: 100%;
|
||
/* Letterbox rather than crop - TS6 screen shares are not always 16:9. */
|
||
aspect-ratio: 16 / 9;
|
||
background: #000;
|
||
object-fit: contain;
|
||
}
|
||
|
||
.ts-stream-panel-error {
|
||
padding: 0.35rem 0.5rem;
|
||
color: var(--danger, #e05a5a);
|
||
font-size: 0.85em;
|
||
}
|
||
|
||
/* TS6's stream dialog, rebuilt: labelled rows with a segmented control on the
|
||
right. The segments wrap on narrow screens rather than overflowing. */
|
||
.ts-stream-settings {
|
||
width: min(680px, calc(100vw - 2rem));
|
||
}
|
||
|
||
.ts-stream-settings-section {
|
||
margin: 0.9rem 0 0.4rem;
|
||
color: var(--accent);
|
||
font-size: 1rem;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.ts-stream-settings-expand {
|
||
display: flex;
|
||
width: 100%;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
padding: 0;
|
||
background: none;
|
||
border: none;
|
||
cursor: pointer;
|
||
text-align: left;
|
||
}
|
||
|
||
.ts-stream-settings-row {
|
||
display: flex;
|
||
gap: 0.75rem;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
flex-wrap: wrap;
|
||
padding: 0.35rem 0;
|
||
}
|
||
|
||
.ts-stream-settings-row > span:first-child {
|
||
opacity: 0.85;
|
||
}
|
||
|
||
.ts-segmented {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 2px;
|
||
padding: 2px;
|
||
background: var(--bg-toolbar-2, rgba(0, 0, 0, 0.2));
|
||
border: 1px solid var(--border-soft);
|
||
border-radius: 999px;
|
||
}
|
||
|
||
.ts-segmented button {
|
||
padding: 0.25rem 0.7rem;
|
||
background: none;
|
||
border: none;
|
||
border-radius: 999px;
|
||
color: inherit;
|
||
cursor: pointer;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.ts-segmented button:disabled {
|
||
opacity: 0.4;
|
||
cursor: not-allowed;
|
||
}
|
||
|
||
.ts-segmented button.ts-segmented-on {
|
||
background: color-mix(in srgb, var(--accent) 25%, transparent);
|
||
box-shadow: inset 0 0 0 1px var(--accent);
|
||
}
|
||
|
||
.ts-stream-settings-stepper {
|
||
display: flex;
|
||
gap: 0.35rem;
|
||
align-items: center;
|
||
}
|
||
|
||
.ts-stream-settings-stepper input {
|
||
width: 5.5rem;
|
||
text-align: center;
|
||
}
|
||
|
||
.ts-stream-settings-stepper button {
|
||
width: 1.9rem;
|
||
border-radius: 999px;
|
||
}
|
||
|
||
.ts-stream-settings-unit {
|
||
opacity: 0.7;
|
||
}
|
||
|
||
.ts-stream-settings-toggle input {
|
||
width: 2.4rem;
|
||
height: 1.3rem;
|
||
}
|
||
|
||
.ts-stream-settings-go {
|
||
border-radius: 999px;
|
||
background: var(--accent);
|
||
color: #fff;
|
||
padding-inline: 1.2rem;
|
||
}
|
||
|
||
.ts-stream-panel-publish {
|
||
border-color: var(--accent);
|
||
}
|
||
|
||
/* Watching and broadcasting can run at the same time, so the two panels stack
|
||
instead of each anchoring itself to the same corner. */
|
||
.ts-stream-panels {
|
||
position: fixed;
|
||
right: 1rem;
|
||
bottom: 1rem;
|
||
z-index: 29;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.5rem;
|
||
align-items: flex-end;
|
||
max-height: calc(100vh - 2rem);
|
||
overflow-y: auto;
|
||
}
|
||
|
||
.ts-context-menu {
|
||
position: fixed;
|
||
z-index: 30;
|
||
display: flex;
|
||
flex-direction: column;
|
||
min-width: 200px;
|
||
padding: 0.25rem;
|
||
background: var(--bg-toolbar-1);
|
||
border: 1px solid var(--border);
|
||
border-radius: 4px;
|
||
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
|
||
}
|
||
|
||
.ts-context-menu-title {
|
||
padding: 0.35rem 0.5rem;
|
||
font-size: 11px;
|
||
font-weight: 600;
|
||
color: var(--text-muted);
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
}
|
||
|
||
.ts-toolbar {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.4rem;
|
||
padding: 0.4rem 0.75rem;
|
||
background: linear-gradient(to bottom, var(--bg-toolbar-1), var(--bg-toolbar-2));
|
||
border-bottom: 1px solid var(--border);
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.ts-toolbar-icons {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.4rem;
|
||
}
|
||
|
||
.ts-icon-button {
|
||
border: 1px solid var(--border);
|
||
border-radius: 3px;
|
||
background: linear-gradient(to bottom, var(--button-bg-1), var(--button-bg-2));
|
||
color: var(--text);
|
||
padding: 0.25rem 0.5rem;
|
||
cursor: pointer;
|
||
font-size: 14px;
|
||
line-height: 1;
|
||
}
|
||
|
||
.ts-icon-button:hover {
|
||
background: linear-gradient(to bottom, var(--button-bg-hover-1), var(--button-bg-hover-2));
|
||
}
|
||
|
||
.ts-icon-button:disabled {
|
||
opacity: 0.4;
|
||
cursor: default;
|
||
}
|
||
|
||
.ts-toolbar-sep {
|
||
width: 1px;
|
||
align-self: stretch;
|
||
background: var(--border);
|
||
margin: 0 0.2rem;
|
||
}
|
||
|
||
.ts-ptt-button {
|
||
/* Holding it on a phone must not scroll, zoom or pop the long-press menu */
|
||
touch-action: none;
|
||
-webkit-touch-callout: none;
|
||
}
|
||
|
||
.ts-ptt-key-listening {
|
||
outline: 2px solid var(--accent);
|
||
}
|
||
|
||
.ts-hotkeys-table td {
|
||
padding: 0.2rem 1rem 0.2rem 0;
|
||
}
|
||
|
||
.ts-hotkeys-table kbd {
|
||
font-family: inherit;
|
||
padding: 0.05rem 0.4rem;
|
||
border: 1px solid var(--border);
|
||
border-radius: 4px;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.ts-icon-slider,
|
||
.ts-icon-select {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.3rem;
|
||
color: var(--text);
|
||
font-size: 13px;
|
||
}
|
||
|
||
.ts-icon-slider input[type="range"] {
|
||
width: 80px;
|
||
}
|
||
|
||
.ts-icon-select select {
|
||
border: 1px solid var(--border);
|
||
border-radius: 2px;
|
||
padding: 0.1rem 0.3rem;
|
||
font-size: 12px;
|
||
background: var(--input-bg);
|
||
color: var(--input-text);
|
||
max-width: 160px;
|
||
}
|
||
|
||
.ts-app-logo {
|
||
height: 20px;
|
||
width: 20px;
|
||
margin-left: auto;
|
||
border-radius: 4px;
|
||
}
|
||
|
||
.ts-app-title {
|
||
font-weight: 600;
|
||
color: var(--accent);
|
||
}
|
||
|
||
.ts-toolbar-fields {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.75rem;
|
||
}
|
||
|
||
.ts-toolbar-fields label {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.35rem;
|
||
color: var(--text);
|
||
}
|
||
|
||
.ts-toolbar-fields input:not([type="range"]) {
|
||
border: 1px solid var(--border);
|
||
border-radius: 2px;
|
||
padding: 0.15rem 0.4rem;
|
||
font-size: 12px;
|
||
background: var(--input-bg);
|
||
color: var(--input-text);
|
||
}
|
||
|
||
.ts-toolbar-fields input[type="range"] {
|
||
width: 80px;
|
||
}
|
||
|
||
.ts-toolbar-fields select {
|
||
border: 1px solid var(--border);
|
||
border-radius: 2px;
|
||
padding: 0.1rem 0.3rem;
|
||
font-size: 12px;
|
||
background: var(--input-bg);
|
||
color: var(--input-text);
|
||
max-width: 200px;
|
||
text-overflow: ellipsis;
|
||
}
|
||
|
||
.ts-toolbar-fields button {
|
||
max-width: 220px;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.ts-toolbar-fields button {
|
||
border: 1px solid var(--border);
|
||
border-radius: 3px;
|
||
background: linear-gradient(to bottom, var(--button-bg-1), var(--button-bg-2));
|
||
color: var(--text);
|
||
padding: 0.25rem 0.9rem;
|
||
cursor: pointer;
|
||
font-size: 12px;
|
||
}
|
||
|
||
.ts-toolbar-fields button:hover {
|
||
background: linear-gradient(to bottom, var(--button-bg-hover-1), var(--button-bg-hover-2));
|
||
}
|
||
|
||
/* Body / tree */
|
||
|
||
.ts-body {
|
||
flex: 1;
|
||
display: flex;
|
||
flex-direction: column;
|
||
overflow: hidden;
|
||
background: var(--bg);
|
||
}
|
||
|
||
.ts-upper {
|
||
display: flex;
|
||
flex-shrink: 0;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.ts-tree-panel {
|
||
flex-shrink: 0;
|
||
overflow-y: auto;
|
||
padding: 0.4rem 0.5rem;
|
||
}
|
||
|
||
.ts-resize-handle-vertical {
|
||
width: 4px;
|
||
flex-shrink: 0;
|
||
cursor: col-resize;
|
||
background: var(--border-soft);
|
||
}
|
||
|
||
.ts-resize-handle-vertical:hover,
|
||
.ts-resize-handle-horizontal:hover {
|
||
background: var(--accent);
|
||
}
|
||
|
||
.ts-resize-handle-horizontal {
|
||
height: 4px;
|
||
flex-shrink: 0;
|
||
cursor: row-resize;
|
||
background: var(--border-soft);
|
||
}
|
||
|
||
.ts-side-panel {
|
||
flex: 1;
|
||
min-width: 0;
|
||
overflow: hidden;
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.ts-banner-panel {
|
||
flex: 1;
|
||
min-height: 0;
|
||
overflow: hidden;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
background: #000;
|
||
border-bottom: 1px solid var(--border-soft);
|
||
}
|
||
|
||
.ts-server-banner {
|
||
width: 100%;
|
||
height: 100%;
|
||
object-fit: contain;
|
||
display: block;
|
||
}
|
||
|
||
.ts-info-panel {
|
||
flex-shrink: 0;
|
||
overflow-y: auto;
|
||
padding: 0.6rem 0.9rem;
|
||
background: var(--bg-toolbar-1);
|
||
}
|
||
|
||
.ts-info-title {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.4rem;
|
||
font-weight: 600;
|
||
font-size: 14px;
|
||
color: var(--accent);
|
||
margin-bottom: 0.3rem;
|
||
}
|
||
|
||
.ts-info-row {
|
||
display: flex;
|
||
gap: 0.4rem;
|
||
font-size: 12px;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
/* GreenTeaSpeak / TeaSpeak license badge colors (ids 0–3) */
|
||
.ts-license-label.ts-license-0 {
|
||
color: #9a9aa3;
|
||
}
|
||
|
||
.ts-license-label.ts-license-1 {
|
||
color: #8fbf7a;
|
||
}
|
||
|
||
.ts-license-label.ts-license-2 {
|
||
color: #d4b45a;
|
||
}
|
||
|
||
.ts-license-label.ts-license-3 {
|
||
color: #6eb0e0;
|
||
}
|
||
|
||
.ts-info-connection-link {
|
||
margin-top: 0.5rem;
|
||
background: none;
|
||
border: none;
|
||
padding: 0;
|
||
color: var(--accent);
|
||
font-size: 12px;
|
||
cursor: pointer;
|
||
text-align: left;
|
||
}
|
||
|
||
.ts-info-connection-link:hover {
|
||
text-decoration: underline;
|
||
}
|
||
|
||
.ts-connection-info-dialog {
|
||
width: 380px;
|
||
}
|
||
|
||
.ts-connection-info-dialog.ts-server-conn-info {
|
||
width: min(520px, 94vw);
|
||
}
|
||
|
||
.ts-connection-info-loading {
|
||
padding: 1rem;
|
||
text-align: center;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.ts-connection-info-grid {
|
||
display: grid;
|
||
grid-template-columns: auto 1fr;
|
||
gap: 0.35rem 0.75rem;
|
||
font-size: 12px;
|
||
}
|
||
|
||
.ts-connection-info-grid span:nth-child(odd) {
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.ts-server-conn-table {
|
||
width: 100%;
|
||
margin-top: 0.85rem;
|
||
border-collapse: collapse;
|
||
font-size: 12px;
|
||
}
|
||
|
||
.ts-server-conn-table th,
|
||
.ts-server-conn-table td {
|
||
padding: 0.3rem 0.4rem;
|
||
text-align: right;
|
||
border-bottom: 1px solid var(--border);
|
||
}
|
||
|
||
.ts-server-conn-table th:first-child,
|
||
.ts-server-conn-table td:first-child {
|
||
text-align: left;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.ts-server-conn-table th {
|
||
font-style: italic;
|
||
font-weight: 600;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.ts-row-selected {
|
||
background: var(--row-hover);
|
||
outline: 1px solid var(--border);
|
||
}
|
||
|
||
.ts-tree-empty {
|
||
color: var(--text-muted);
|
||
padding: 1rem;
|
||
font-style: italic;
|
||
}
|
||
|
||
.ts-tree-list {
|
||
list-style: none;
|
||
margin: 0;
|
||
padding-left: 1.1rem;
|
||
}
|
||
|
||
/* Double-clicking UI controls (channels, users, tabs, menus) must not select text.
|
||
Chat, log and info panel stay selectable. */
|
||
.ts-app :is(.ts-row, .ts-menubar, .ts-toolbar, .ts-chat-tabs, .gts-connection-tabs, .ts-speaking-now, button) {
|
||
-webkit-user-select: none;
|
||
user-select: none;
|
||
}
|
||
|
||
/* Safari would otherwise block typing/selecting in inputs inside those areas */
|
||
.ts-app :is(input, textarea) {
|
||
-webkit-user-select: text;
|
||
user-select: text;
|
||
}
|
||
|
||
.ts-row {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.35rem;
|
||
padding: 1px 0.3rem;
|
||
border-radius: 2px;
|
||
white-space: nowrap;
|
||
line-height: 18px;
|
||
width: 100%;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
.ts-app .ts-row:focus-visible,
|
||
.ts-plain-button:focus-visible {
|
||
outline: 2px solid var(--accent);
|
||
outline-offset: -2px;
|
||
}
|
||
|
||
/* A real <button> that looks like the <span>/<li> text it replaced. :where()
|
||
keeps this at zero specificity, so every theme rule still wins. */
|
||
:where(.ts-plain-button) {
|
||
font: inherit;
|
||
color: inherit;
|
||
background: none;
|
||
border: 0;
|
||
padding: 0;
|
||
margin: 0;
|
||
cursor: inherit;
|
||
text-align: inherit;
|
||
}
|
||
|
||
:where(li > .ts-plain-button) {
|
||
display: block;
|
||
width: 100%;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
}
|
||
|
||
.ts-tree-search {
|
||
box-sizing: border-box;
|
||
width: 100%;
|
||
margin: 0 0 0.3rem;
|
||
background: var(--input-bg);
|
||
color: var(--input-text);
|
||
border: 1px solid var(--border);
|
||
border-radius: 3px;
|
||
padding: 0.25rem 0.5rem;
|
||
font-size: 12px;
|
||
}
|
||
|
||
.ts-server-row {
|
||
font-weight: 600;
|
||
color: var(--accent);
|
||
padding-left: 0.3rem;
|
||
margin-bottom: 0.15rem;
|
||
}
|
||
|
||
.ts-channel-row {
|
||
cursor: pointer;
|
||
color: var(--text);
|
||
}
|
||
|
||
.ts-channel-row:hover {
|
||
background: var(--row-hover);
|
||
}
|
||
|
||
.ts-channel-row.ts-drop-target,
|
||
.ts-channel-row.ts-spacer.ts-drop-target {
|
||
background: color-mix(in srgb, var(--accent) 22%, transparent);
|
||
outline: 1px dashed var(--accent);
|
||
outline-offset: -1px;
|
||
}
|
||
|
||
/* Channel spacers ([cspacer], [*spacer01], …) — GreenTeaSpeak / TS parity */
|
||
.ts-channel-row.ts-spacer {
|
||
position: relative;
|
||
justify-content: center;
|
||
min-height: 19px;
|
||
color: var(--text);
|
||
cursor: pointer;
|
||
}
|
||
|
||
.ts-channel-row.ts-spacer:hover {
|
||
background: var(--row-hover);
|
||
}
|
||
|
||
.ts-channel-row.ts-spacer .ts-spacer-label {
|
||
position: absolute;
|
||
left: 0.35rem;
|
||
right: 0.35rem;
|
||
overflow: hidden;
|
||
white-space: nowrap;
|
||
text-align: center;
|
||
pointer-events: none;
|
||
}
|
||
|
||
.ts-channel-row.ts-spacer-align-left .ts-spacer-label {
|
||
text-align: left;
|
||
}
|
||
|
||
.ts-channel-row.ts-spacer-align-right .ts-spacer-label {
|
||
text-align: right;
|
||
}
|
||
|
||
.ts-channel-row.ts-spacer-align-center .ts-spacer-label,
|
||
.ts-channel-row.ts-spacer-align-repetitive .ts-spacer-label {
|
||
text-align: center;
|
||
}
|
||
|
||
.ts-channel-row.ts-spacer-align-repetitive .ts-spacer-label {
|
||
text-overflow: clip;
|
||
}
|
||
|
||
.ts-channel-row.ts-spacer-line .ts-spacer-line-rule {
|
||
position: absolute;
|
||
left: 0.5rem;
|
||
right: 0.5rem;
|
||
top: 50%;
|
||
height: 0;
|
||
border-top: 1px solid currentColor;
|
||
opacity: 0.7;
|
||
overflow: hidden;
|
||
pointer-events: none;
|
||
}
|
||
|
||
.ts-channel-row.ts-spacer-boxart .ts-spacer-label {
|
||
font-family: Consolas, "Courier New", monospace;
|
||
letter-spacing: 0.02em;
|
||
}
|
||
|
||
.ts-tree-expander {
|
||
display: grid;
|
||
place-items: center;
|
||
width: 12px;
|
||
height: 16px;
|
||
flex: 0 0 12px;
|
||
padding: 0;
|
||
border: 0;
|
||
background: transparent;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.ts-tree-expander span {
|
||
width: 0;
|
||
height: 0;
|
||
border-left: 3px solid transparent;
|
||
border-right: 3px solid transparent;
|
||
border-top: 5px solid #c8c8c8;
|
||
}
|
||
|
||
.ts-tree-expander-collapsed span {
|
||
border-top: 3px solid transparent;
|
||
border-bottom: 3px solid transparent;
|
||
border-left: 5px solid #c8c8c8;
|
||
border-right: 0;
|
||
}
|
||
|
||
.ts-tree-expander-empty {
|
||
visibility: hidden;
|
||
cursor: default;
|
||
}
|
||
|
||
.ts-client-status-leading {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 0.1rem;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.ts-client-status-leading:empty {
|
||
display: none;
|
||
}
|
||
|
||
.ts-tree-label {
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
}
|
||
|
||
.ts-tree-list-root {
|
||
padding-left: 0.15rem;
|
||
}
|
||
|
||
.ts-client-row {
|
||
cursor: grab;
|
||
color: var(--client-text);
|
||
padding-left: 0;
|
||
}
|
||
|
||
.ts-client-row:active {
|
||
cursor: grabbing;
|
||
}
|
||
|
||
.ts-client-row.ts-self {
|
||
font-weight: 700;
|
||
color: var(--self-text);
|
||
}
|
||
|
||
.ts-client-row:not(.ts-self) {
|
||
cursor: pointer;
|
||
}
|
||
|
||
.ts-client-row:not(.ts-self):hover {
|
||
background: var(--row-hover);
|
||
}
|
||
|
||
.ts-client-row.ts-talking {
|
||
outline: 1px solid color-mix(in srgb, #4caf50 55%, transparent);
|
||
border-radius: 2px;
|
||
background: color-mix(in srgb, #4caf50 10%, transparent);
|
||
}
|
||
|
||
/* Talk lamps (GTS2-style status orbs left of the nickname) */
|
||
.ts-talk-lamp {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
width: 14px;
|
||
height: 14px;
|
||
flex-shrink: 0;
|
||
border-radius: 50%;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
.ts-talk-lamp-idle {
|
||
background:
|
||
radial-gradient(circle at 32% 28%, #9fd0ff 0%, #3a7ec4 45%, #1a4a7a 100%);
|
||
box-shadow:
|
||
inset 0 1px 1px rgba(255, 255, 255, 0.55),
|
||
inset 0 -1px 2px rgba(0, 0, 0, 0.35),
|
||
0 0 0 1px rgba(0, 0, 0, 0.25);
|
||
}
|
||
|
||
.ts-talk-lamp-talking {
|
||
background:
|
||
radial-gradient(circle at 32% 28%, #c8f59a 0%, #4caf50 42%, #1e7a28 100%);
|
||
box-shadow:
|
||
inset 0 1px 1px rgba(255, 255, 255, 0.6),
|
||
inset 0 -1px 2px rgba(0, 0, 0, 0.3),
|
||
0 0 4px rgba(76, 175, 80, 0.55),
|
||
0 0 0 1px rgba(0, 0, 0, 0.2);
|
||
}
|
||
|
||
/* Channel commander as its own lamp (Design -> "Zeige Channel Commander als Lampe"). */
|
||
.ts-app .ts-talk-lamp-commander.ts-talk-lamp-idle {
|
||
background: radial-gradient(circle at 32% 28%, #ffe0a8 0%, #e8912d 45%, #8a4a0e 100%);
|
||
}
|
||
|
||
.ts-app .ts-talk-lamp-commander.ts-talk-lamp-talking {
|
||
box-shadow: 0 0 0 2px #e8912d, 0 0 4px rgba(232, 145, 45, 0.6);
|
||
}
|
||
|
||
.ts-talk-lamp-muted {
|
||
border-radius: 0;
|
||
background: transparent;
|
||
box-shadow: none;
|
||
}
|
||
|
||
.ts-talk-lamp-muted svg {
|
||
display: block;
|
||
}
|
||
|
||
.ts-client-icons {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 0.2rem;
|
||
margin-left: auto;
|
||
padding-right: 0.3rem;
|
||
}
|
||
|
||
.ts-status-icons {
|
||
display: inline-flex;
|
||
gap: 0.15rem;
|
||
font-size: 11px;
|
||
opacity: 0.85;
|
||
}
|
||
|
||
.ts-group-icon {
|
||
width: 14px;
|
||
height: 14px;
|
||
object-fit: contain;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.ts-group-badge {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
width: 14px;
|
||
height: 14px;
|
||
border-radius: 50%;
|
||
flex-shrink: 0;
|
||
font-size: 9px;
|
||
font-weight: 700;
|
||
line-height: 1;
|
||
color: #fff;
|
||
}
|
||
|
||
.ts-poke-button {
|
||
/* No margin-left: auto here - .ts-client-icons already has one, and two
|
||
auto margins in the same row split the free space between them (leaving
|
||
a gap before the icons instead of pushing the whole trailing group
|
||
flush to the edge). Let the poke button just trail the icon cluster. */
|
||
background: transparent;
|
||
border: none;
|
||
cursor: pointer;
|
||
font-size: 11px;
|
||
padding: 0 0.2rem;
|
||
opacity: 0;
|
||
transition: opacity 0.1s;
|
||
}
|
||
|
||
.ts-client-row:hover .ts-poke-button {
|
||
opacity: 0.85;
|
||
}
|
||
|
||
.ts-poke-button:hover {
|
||
opacity: 1 !important;
|
||
}
|
||
|
||
.ts-mic-on {
|
||
background: color-mix(in srgb, #4caf50 30%, var(--button-bg-1)) !important;
|
||
}
|
||
|
||
.ts-muted-on {
|
||
background: color-mix(in srgb, var(--log-error) 30%, var(--button-bg-1)) !important;
|
||
}
|
||
|
||
.ts-recording-on {
|
||
background: color-mix(in srgb, var(--log-error) 35%, var(--button-bg-1)) !important;
|
||
animation: ts-recording-pulse 1.4s ease-in-out infinite;
|
||
}
|
||
|
||
@keyframes ts-recording-pulse {
|
||
0%, 100% {
|
||
opacity: 1;
|
||
}
|
||
50% {
|
||
opacity: 0.55;
|
||
}
|
||
}
|
||
|
||
.ts-client-away-message {
|
||
color: var(--text-muted);
|
||
font-style: italic;
|
||
font-size: 11px;
|
||
}
|
||
|
||
.ts-toolbar-away {
|
||
position: relative;
|
||
display: flex;
|
||
align-items: center;
|
||
}
|
||
|
||
.ts-icon-caret {
|
||
border: 1px solid var(--border);
|
||
border-left: none;
|
||
border-radius: 0 3px 3px 0;
|
||
background: linear-gradient(to bottom, var(--button-bg-1), var(--button-bg-2));
|
||
color: var(--text);
|
||
padding: 0.25rem 0.3rem;
|
||
cursor: pointer;
|
||
font-size: 10px;
|
||
line-height: 1;
|
||
}
|
||
|
||
.ts-icon-caret:hover:not(:disabled) {
|
||
background: linear-gradient(to bottom, var(--button-bg-hover-1), var(--button-bg-hover-2));
|
||
}
|
||
|
||
.ts-icon-caret:disabled {
|
||
opacity: 0.4;
|
||
cursor: default;
|
||
}
|
||
|
||
.ts-toolbar-away .ts-icon-button {
|
||
border-radius: 3px 0 0 3px;
|
||
}
|
||
|
||
.ts-away-on {
|
||
background: color-mix(in srgb, #e8a53d 30%, var(--button-bg-1)) !important;
|
||
}
|
||
|
||
.ts-menu-away {
|
||
min-width: 220px;
|
||
/* This dropdown hangs off the bottom toolbar, so opening downward (the
|
||
.ts-menu default) would push it below the viewport and force the whole
|
||
page to scroll - open upward instead. */
|
||
top: auto;
|
||
bottom: 100%;
|
||
}
|
||
|
||
/* Chat */
|
||
|
||
.ts-chat-panel {
|
||
flex: 1;
|
||
display: flex;
|
||
flex-direction: column;
|
||
min-width: 0;
|
||
/* without this the panel grows with its lines instead of scrolling them */
|
||
min-height: 0;
|
||
}
|
||
|
||
.ts-chat-tabs {
|
||
flex-shrink: 0;
|
||
display: flex;
|
||
gap: 2px;
|
||
padding: 0 0.5rem 0.3rem;
|
||
border-top: 1px solid var(--border-soft);
|
||
overflow-x: auto;
|
||
}
|
||
|
||
.ts-chat-tab {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.4rem;
|
||
border: 1px solid var(--border-soft);
|
||
border-top: none;
|
||
border-radius: 0 0 3px 3px;
|
||
background: var(--bg-toolbar-1);
|
||
color: var(--text-muted);
|
||
padding: 0.25rem 0.6rem;
|
||
cursor: pointer;
|
||
font-size: 12px;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.ts-chat-tab-active {
|
||
background: var(--bg);
|
||
color: var(--text);
|
||
font-weight: 600;
|
||
}
|
||
|
||
.ts-chat-tab-unread:not(.ts-chat-tab-active) {
|
||
color: var(--self-text);
|
||
font-weight: 600;
|
||
}
|
||
|
||
.ts-chat-tab-close {
|
||
color: var(--text-muted);
|
||
padding: 0 0.15rem;
|
||
}
|
||
|
||
.ts-chat-tab-close:hover {
|
||
color: var(--log-error);
|
||
}
|
||
|
||
.ts-chat-messages {
|
||
flex: 1;
|
||
overflow-y: auto;
|
||
padding: 0.5rem 0.75rem;
|
||
}
|
||
|
||
.ts-chat-line {
|
||
padding: 1px 0;
|
||
word-break: break-word;
|
||
}
|
||
|
||
.ts-chat-bubble a {
|
||
color: var(--accent);
|
||
text-decoration: underline;
|
||
}
|
||
|
||
.ts-chat-bubble code {
|
||
font-family: ui-monospace, monospace;
|
||
font-size: 0.95em;
|
||
padding: 0 0.25em;
|
||
border: 1px solid var(--border-soft);
|
||
border-radius: 3px;
|
||
}
|
||
|
||
.ts-bb-list {
|
||
margin: 0.15em 0;
|
||
padding-left: 1.6em;
|
||
}
|
||
|
||
.ts-bb-quote {
|
||
margin: 0.15em 0;
|
||
padding-left: 0.6em;
|
||
border-left: 3px solid var(--border-soft);
|
||
}
|
||
|
||
.ts-bb-hr {
|
||
border: 0;
|
||
border-top: 1px solid var(--border-soft);
|
||
margin: 0.3em 0;
|
||
}
|
||
|
||
.ts-bb-h {
|
||
font-weight: bold;
|
||
font-size: 1.1em;
|
||
}
|
||
|
||
.ts-bb-h1 {
|
||
font-size: 1.4em;
|
||
}
|
||
|
||
.ts-bb-h2 {
|
||
font-size: 1.2em;
|
||
}
|
||
|
||
.ts-bb-img {
|
||
max-width: 100%;
|
||
max-height: 240px;
|
||
vertical-align: middle;
|
||
}
|
||
|
||
.ts-chat-from {
|
||
font-weight: 600;
|
||
color: var(--accent);
|
||
}
|
||
|
||
.ts-chat-line-log {
|
||
color: var(--text-muted);
|
||
font-style: italic;
|
||
}
|
||
|
||
.ts-chat-input-row {
|
||
flex-shrink: 0;
|
||
display: flex;
|
||
gap: 0.4rem;
|
||
padding: 0.4rem 0.6rem;
|
||
border-top: 1px solid var(--border-soft);
|
||
}
|
||
|
||
.ts-chat-input-row textarea {
|
||
flex: 1;
|
||
border: 1px solid var(--border);
|
||
border-radius: 2px;
|
||
padding: 0.3rem 0.5rem;
|
||
font-size: 12px;
|
||
font-family: inherit;
|
||
background: var(--input-bg);
|
||
color: var(--input-text);
|
||
resize: none;
|
||
max-height: 8.5em;
|
||
overflow-y: auto;
|
||
}
|
||
|
||
.ts-chat-input-row button {
|
||
border: 1px solid var(--border);
|
||
border-radius: 3px;
|
||
background: linear-gradient(to bottom, var(--button-bg-1), var(--button-bg-2));
|
||
color: var(--text);
|
||
padding: 0.2rem 0.9rem;
|
||
cursor: pointer;
|
||
font-size: 12px;
|
||
}
|
||
|
||
/* Log */
|
||
|
||
.ts-log {
|
||
flex-shrink: 0;
|
||
max-height: 6.5rem;
|
||
overflow-y: auto;
|
||
border-top: 1px solid var(--border-soft);
|
||
background: var(--log-bg);
|
||
padding: 0.3rem 0.6rem;
|
||
font-family: ui-monospace, Consolas, monospace;
|
||
font-size: 11px;
|
||
}
|
||
|
||
.ts-news-ticker {
|
||
flex-shrink: 0;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.5rem;
|
||
border-top: 1px solid var(--border-soft);
|
||
background: var(--log-bg);
|
||
color: var(--log-text);
|
||
padding: 0.15rem 0.6rem;
|
||
font-size: 11px;
|
||
}
|
||
|
||
.ts-news-label {
|
||
font-weight: 600;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.ts-news-track {
|
||
flex: 1;
|
||
overflow: hidden;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.ts-news-scroll {
|
||
display: inline-block;
|
||
/* Starts just off the right edge and runs until fully off the left one,
|
||
so every message is on screen exactly once per pass. */
|
||
padding-left: 100%;
|
||
animation: ts-news-scroll linear infinite;
|
||
}
|
||
|
||
.ts-news-ticker:hover .ts-news-scroll {
|
||
animation-play-state: paused;
|
||
}
|
||
|
||
.ts-news-item {
|
||
padding-right: 3rem;
|
||
}
|
||
|
||
.ts-news-item a {
|
||
color: inherit;
|
||
}
|
||
|
||
.ts-news-close {
|
||
flex-shrink: 0;
|
||
background: none;
|
||
border: none;
|
||
color: inherit;
|
||
cursor: pointer;
|
||
padding: 0 0.2rem;
|
||
}
|
||
|
||
@keyframes ts-news-scroll {
|
||
from {
|
||
transform: translateX(0);
|
||
}
|
||
to {
|
||
transform: translateX(-100%);
|
||
}
|
||
}
|
||
|
||
@media (prefers-reduced-motion: reduce) {
|
||
.ts-news-scroll {
|
||
padding-left: 0;
|
||
animation: none;
|
||
}
|
||
}
|
||
|
||
.ts-log-info {
|
||
color: var(--log-text);
|
||
}
|
||
|
||
.ts-log-error {
|
||
color: var(--log-error);
|
||
}
|
||
|
||
.ts-connect-error {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 0.75rem;
|
||
padding: 0.5rem 0.9rem;
|
||
background: var(--log-error);
|
||
color: #fff;
|
||
font-size: 13px;
|
||
}
|
||
|
||
.ts-connect-error button {
|
||
background: transparent;
|
||
border: none;
|
||
color: #fff;
|
||
cursor: pointer;
|
||
font-size: 13px;
|
||
opacity: 0.85;
|
||
}
|
||
|
||
.ts-connect-error button:hover {
|
||
opacity: 1;
|
||
}
|
||
|
||
.ts-dialog-backdrop {
|
||
position: fixed;
|
||
inset: 0;
|
||
background: rgba(0, 0, 0, 0.4);
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
z-index: 550;
|
||
}
|
||
|
||
.ts-dialog {
|
||
background: var(--bg-toolbar-1);
|
||
border: 1px solid var(--border);
|
||
border-radius: 6px;
|
||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
|
||
color: var(--text);
|
||
}
|
||
|
||
.ts-connect-dialog {
|
||
width: 480px;
|
||
}
|
||
|
||
.ts-favorites-dialog {
|
||
width: 760px;
|
||
}
|
||
|
||
.ts-away-dialog {
|
||
width: 420px;
|
||
}
|
||
|
||
.ts-collected-urls-dialog {
|
||
width: 700px;
|
||
}
|
||
|
||
.ts-invite-friend-dialog {
|
||
width: 520px;
|
||
}
|
||
|
||
.ts-about-dialog {
|
||
width: 440px;
|
||
}
|
||
|
||
.ts-about-memorial {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 16px;
|
||
margin: 16px 0 0;
|
||
padding-top: 16px;
|
||
border-top: 1px solid var(--border-soft);
|
||
}
|
||
|
||
.ts-about-memorial img {
|
||
width: 120px;
|
||
height: 120px;
|
||
border-radius: 50%;
|
||
object-fit: cover;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.ts-about-memorial figcaption {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 4px;
|
||
}
|
||
|
||
.ts-client-log-dialog {
|
||
width: 760px;
|
||
}
|
||
|
||
.ts-whisper-history-dialog {
|
||
width: 560px;
|
||
}
|
||
|
||
.ts-contacts-dialog {
|
||
width: 640px;
|
||
}
|
||
|
||
.ts-contacts-body {
|
||
display: flex;
|
||
gap: 0.75rem;
|
||
padding: 0.75rem;
|
||
}
|
||
|
||
.ts-contacts-list-col {
|
||
flex: 1;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.4rem;
|
||
min-width: 0;
|
||
}
|
||
|
||
.ts-contacts-fields-col {
|
||
flex: 1;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.5rem;
|
||
}
|
||
|
||
.ts-contacts-list {
|
||
list-style: none;
|
||
margin: 0;
|
||
padding: 0;
|
||
border: 1px solid var(--border-soft);
|
||
border-radius: 3px;
|
||
height: 220px;
|
||
overflow-y: auto;
|
||
}
|
||
|
||
.ts-contacts-list-item {
|
||
padding: 0.3rem 0.5rem;
|
||
cursor: pointer;
|
||
font-size: 12px;
|
||
border-bottom: 1px solid var(--border-soft);
|
||
}
|
||
|
||
.ts-contacts-list-item:hover {
|
||
background: var(--hover-bg, rgba(255, 255, 255, 0.05));
|
||
}
|
||
|
||
.ts-contacts-list-item-selected {
|
||
background: var(--accent-soft, rgba(78, 161, 247, 0.2));
|
||
}
|
||
|
||
.ts-contacts-list-empty {
|
||
padding: 1rem;
|
||
text-align: center;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.ts-contacts-online-dot {
|
||
display: inline-block;
|
||
width: 6px;
|
||
height: 6px;
|
||
border-radius: 50%;
|
||
background: #4caf50;
|
||
margin-right: 0.4rem;
|
||
}
|
||
|
||
.ts-contacts-category-acquaintance {
|
||
color: var(--text);
|
||
}
|
||
|
||
.ts-contacts-category-friend {
|
||
color: #4caf50;
|
||
}
|
||
|
||
.ts-contacts-category-blocked {
|
||
color: #e5534b;
|
||
}
|
||
|
||
.ts-contacts-category-group {
|
||
display: flex;
|
||
gap: 0.75rem;
|
||
font-size: 12px;
|
||
}
|
||
|
||
.ts-contacts-actions {
|
||
display: flex;
|
||
gap: 0.4rem;
|
||
padding-top: 0.4rem;
|
||
border-top: 1px solid var(--border-soft);
|
||
}
|
||
|
||
.ts-whisper-history-list {
|
||
height: 260px;
|
||
overflow-y: auto;
|
||
border: 1px solid var(--border-soft);
|
||
border-radius: 3px;
|
||
font-size: 12px;
|
||
}
|
||
|
||
.ts-whisper-history-empty {
|
||
padding: 1rem;
|
||
text-align: center;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.ts-whisper-history-row {
|
||
display: flex;
|
||
gap: 0.6rem;
|
||
padding: 0.3rem 0.5rem;
|
||
border-bottom: 1px solid var(--border-soft);
|
||
}
|
||
|
||
.ts-whisper-lists-dialog {
|
||
width: 480px;
|
||
}
|
||
|
||
.ts-whisper-lists-list {
|
||
list-style: none;
|
||
margin: 0.5rem 0 0;
|
||
padding: 0;
|
||
border: 1px solid var(--border-soft);
|
||
border-radius: 3px;
|
||
max-height: 260px;
|
||
overflow-y: auto;
|
||
}
|
||
|
||
.ts-whisper-lists-item {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 0.5rem;
|
||
padding: 0.4rem 0.5rem;
|
||
border-bottom: 1px solid var(--border-soft);
|
||
font-size: 12px;
|
||
}
|
||
|
||
.ts-whisper-lists-item-info {
|
||
display: flex;
|
||
flex-direction: column;
|
||
min-width: 0;
|
||
}
|
||
|
||
.ts-whisper-lists-item-name {
|
||
font-weight: 600;
|
||
}
|
||
|
||
.ts-whisper-lists-item-detail {
|
||
color: var(--text-muted);
|
||
font-size: 11px;
|
||
}
|
||
|
||
.ts-whisper-lists-item-actions {
|
||
display: flex;
|
||
gap: 0.4rem;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.ts-whisper-lists-empty {
|
||
padding: 1rem;
|
||
text-align: center;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.ts-identities-dialog {
|
||
width: 520px;
|
||
}
|
||
|
||
.ts-identities-body {
|
||
display: flex;
|
||
gap: 1rem;
|
||
align-items: flex-start;
|
||
}
|
||
|
||
.ts-identities-list-label {
|
||
font-size: 11px;
|
||
color: var(--text-muted);
|
||
margin-bottom: 0.25rem;
|
||
}
|
||
|
||
.ts-identities-list {
|
||
list-style: none;
|
||
margin: 0;
|
||
padding: 0;
|
||
border: 1px solid var(--border-soft);
|
||
border-radius: 3px;
|
||
width: 180px;
|
||
max-height: 260px;
|
||
overflow-y: auto;
|
||
}
|
||
|
||
.ts-identities-list li {
|
||
border-bottom: 1px solid var(--border-soft);
|
||
}
|
||
|
||
.ts-identities-list li:last-child {
|
||
border-bottom: none;
|
||
}
|
||
|
||
.ts-identities-list-item {
|
||
display: block;
|
||
width: 100%;
|
||
padding: 0.35rem 0.5rem;
|
||
font-size: 12px;
|
||
}
|
||
|
||
.ts-identities-list-item-default {
|
||
font-weight: bold;
|
||
}
|
||
|
||
.ts-identities-detail {
|
||
flex: 1;
|
||
min-width: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.6rem;
|
||
}
|
||
|
||
.ts-identities-readonly {
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
/* The unique ID is 28 base64 characters - don't cut it off. */
|
||
input.ts-identities-uid {
|
||
width: 36ch;
|
||
max-width: 100%;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
.ts-identities-status {
|
||
color: var(--text-muted);
|
||
font-size: 11px;
|
||
}
|
||
|
||
.ts-log-level-row {
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.ts-log-list {
|
||
height: 320px;
|
||
overflow-y: auto;
|
||
border: 1px solid var(--border-soft);
|
||
border-radius: 3px;
|
||
font-family: monospace;
|
||
font-size: 11px;
|
||
}
|
||
|
||
.ts-log-row {
|
||
display: flex;
|
||
gap: 0.6rem;
|
||
padding: 0.15rem 0.4rem;
|
||
border-bottom: 1px solid var(--border-soft);
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.ts-server-protocol-log-dialog {
|
||
width: 640px;
|
||
}
|
||
|
||
.ts-ban-list-dialog,
|
||
.ts-complain-list-dialog {
|
||
width: 720px;
|
||
}
|
||
|
||
.ts-ban-list-table {
|
||
width: 100%;
|
||
border-collapse: collapse;
|
||
font-size: 12px;
|
||
}
|
||
|
||
.ts-ban-list-table th,
|
||
.ts-ban-list-table td {
|
||
text-align: left;
|
||
padding: 0.25rem 0.5rem;
|
||
border-bottom: 1px solid var(--border-soft);
|
||
vertical-align: top;
|
||
}
|
||
|
||
.ts-ban-list-table th {
|
||
color: var(--text-muted);
|
||
font-weight: 600;
|
||
}
|
||
|
||
.ts-dialog-buttons-left {
|
||
display: flex;
|
||
gap: 0.5rem;
|
||
}
|
||
|
||
.ts-offline-messages-dialog {
|
||
width: 720px;
|
||
}
|
||
|
||
.ts-offline-message-compose,
|
||
.ts-offline-message-detail {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.5rem;
|
||
}
|
||
|
||
.ts-offline-message-detail-header {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: baseline;
|
||
gap: 0.5rem;
|
||
}
|
||
|
||
.ts-offline-message-detail-uid {
|
||
color: var(--text-muted);
|
||
font-size: 12px;
|
||
}
|
||
|
||
.ts-offline-message-detail-body {
|
||
white-space: pre-wrap;
|
||
border-top: 1px solid var(--border-soft);
|
||
padding-top: 0.5rem;
|
||
}
|
||
|
||
.ts-offline-message-compose textarea {
|
||
resize: vertical;
|
||
font-family: inherit;
|
||
}
|
||
|
||
.ts-group-assign-dialog {
|
||
width: 420px;
|
||
}
|
||
|
||
.ts-group-assign-list {
|
||
list-style: none;
|
||
margin: 0;
|
||
padding: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.15rem;
|
||
}
|
||
|
||
.ts-group-assign-list .ts-menu-item {
|
||
width: 100%;
|
||
}
|
||
|
||
.ts-group-assign-current {
|
||
background: var(--bg-hover, rgba(255, 255, 255, 0.06));
|
||
}
|
||
|
||
.ts-group-assign-hint {
|
||
margin-left: auto;
|
||
color: var(--text-muted);
|
||
font-size: 11px;
|
||
}
|
||
|
||
.ts-permission-overview-dialog {
|
||
width: 640px;
|
||
}
|
||
|
||
.ts-permission-overview-scroll {
|
||
max-height: 400px;
|
||
overflow-y: auto;
|
||
}
|
||
|
||
.ts-file-browser-dialog {
|
||
width: 680px;
|
||
}
|
||
|
||
.ts-file-browser-toolbar {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.4rem;
|
||
margin-bottom: 0.5rem;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.ts-file-browser-path {
|
||
flex: 1;
|
||
font-family: monospace;
|
||
color: var(--text-muted);
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.ts-file-browser-actions {
|
||
display: flex;
|
||
gap: 0.25rem;
|
||
justify-content: flex-end;
|
||
}
|
||
|
||
.ts-link-button {
|
||
background: none;
|
||
border: none;
|
||
color: var(--accent, #4a9eff);
|
||
cursor: pointer;
|
||
padding: 0;
|
||
font: inherit;
|
||
text-align: left;
|
||
}
|
||
|
||
.ts-link-button:hover {
|
||
text-decoration: underline;
|
||
}
|
||
|
||
.ts-server-icons-dialog {
|
||
width: 560px;
|
||
}
|
||
|
||
.ts-server-icons-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
|
||
gap: 0.6rem;
|
||
max-height: 420px;
|
||
overflow-y: auto;
|
||
padding: 0.25rem;
|
||
}
|
||
|
||
.ts-server-icons-tile {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
gap: 0.25rem;
|
||
padding: 0.4rem;
|
||
border: 1px solid var(--border-soft);
|
||
border-radius: 4px;
|
||
font-size: 11px;
|
||
}
|
||
|
||
.ts-server-icons-tile img,
|
||
.ts-server-icons-tile-loading {
|
||
width: 32px;
|
||
height: 32px;
|
||
object-fit: contain;
|
||
}
|
||
|
||
.ts-server-icons-tile-loading {
|
||
background: var(--border-soft);
|
||
border-radius: 2px;
|
||
}
|
||
|
||
.ts-perms-editor-dialog {
|
||
width: 820px;
|
||
max-width: 95vw;
|
||
}
|
||
|
||
.ts-perms-editor-tabs {
|
||
display: flex;
|
||
border-bottom: 1px solid var(--border-soft);
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.ts-perms-editor-tab {
|
||
background: none;
|
||
border: none;
|
||
padding: 0.5rem 0.8rem;
|
||
cursor: pointer;
|
||
color: var(--text-muted);
|
||
border-bottom: 2px solid transparent;
|
||
}
|
||
|
||
.ts-perms-editor-tab-active {
|
||
color: var(--text);
|
||
border-bottom-color: var(--accent, #4a9eff);
|
||
}
|
||
|
||
.ts-perms-editor-body {
|
||
display: flex;
|
||
gap: 0.75rem;
|
||
align-items: flex-start;
|
||
}
|
||
|
||
.ts-perms-editor-picker {
|
||
width: 180px;
|
||
flex-shrink: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.5rem;
|
||
}
|
||
|
||
.ts-perms-editor-list {
|
||
list-style: none;
|
||
margin: 0;
|
||
padding: 0;
|
||
max-height: 380px;
|
||
overflow-y: auto;
|
||
border: 1px solid var(--border-soft);
|
||
border-radius: 4px;
|
||
}
|
||
|
||
.ts-perms-editor-list li {
|
||
padding: 0.3rem 0.5rem;
|
||
border-bottom: 1px solid var(--border-soft);
|
||
}
|
||
|
||
.ts-perms-editor-list li:last-child {
|
||
border-bottom: none;
|
||
}
|
||
|
||
.ts-perms-editor-list-empty {
|
||
color: var(--text-muted);
|
||
font-size: 12px;
|
||
}
|
||
|
||
.ts-perms-editor-selected {
|
||
font-weight: bold;
|
||
color: var(--accent, #4a9eff);
|
||
}
|
||
|
||
.ts-perms-editor-client-picker {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.35rem;
|
||
}
|
||
|
||
.ts-perms-editor-main {
|
||
flex: 1;
|
||
min-width: 0;
|
||
}
|
||
|
||
.ts-perms-editor-add-form {
|
||
display: flex;
|
||
gap: 0.4rem;
|
||
align-items: center;
|
||
flex-wrap: wrap;
|
||
margin-bottom: 0.5rem;
|
||
padding: 0.4rem;
|
||
border: 1px solid var(--border-soft);
|
||
border-radius: 4px;
|
||
}
|
||
|
||
.ts-server-protocol-log-line {
|
||
padding: 0.15rem 0.4rem;
|
||
border-bottom: 1px solid var(--border-soft);
|
||
white-space: pre-wrap;
|
||
word-break: break-all;
|
||
}
|
||
|
||
.ts-log-time {
|
||
color: var(--text-muted);
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.ts-log-category {
|
||
flex-shrink: 0;
|
||
width: 90px;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
}
|
||
|
||
.ts-log-level {
|
||
flex-shrink: 0;
|
||
width: 60px;
|
||
}
|
||
|
||
.ts-log-message {
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
}
|
||
|
||
.ts-log-row-critical .ts-log-level,
|
||
.ts-log-row-error .ts-log-level {
|
||
color: #e5534b;
|
||
}
|
||
|
||
.ts-log-row-warning .ts-log-level {
|
||
color: #e5c34b;
|
||
}
|
||
|
||
.ts-collected-urls-table {
|
||
width: 100%;
|
||
border-collapse: collapse;
|
||
font-size: 12px;
|
||
max-height: 360px;
|
||
display: block;
|
||
overflow-y: auto;
|
||
}
|
||
|
||
.ts-collected-urls-table thead,
|
||
.ts-collected-urls-table tbody {
|
||
display: table;
|
||
width: 100%;
|
||
table-layout: fixed;
|
||
}
|
||
|
||
.ts-collected-urls-table th {
|
||
text-align: left;
|
||
color: var(--text-muted);
|
||
font-weight: 600;
|
||
padding: 0.3rem 0.4rem;
|
||
border-bottom: 1px solid var(--border-soft);
|
||
}
|
||
|
||
.ts-collected-urls-table td {
|
||
padding: 0.3rem 0.4rem;
|
||
border-bottom: 1px solid var(--border-soft);
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.ts-collected-urls-table a {
|
||
color: var(--link, #4ea1f7);
|
||
}
|
||
|
||
.ts-away-dialog .ts-dialog-row {
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
}
|
||
|
||
.ts-dialog-away-label {
|
||
font-size: 11px;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.ts-away-dialog .ts-dialog-field {
|
||
flex-direction: row;
|
||
align-items: center;
|
||
gap: 0.4rem;
|
||
}
|
||
|
||
.ts-away-message-input {
|
||
border: 1px solid var(--border);
|
||
border-radius: 2px;
|
||
padding: 0.6rem;
|
||
font-size: 13px;
|
||
background: var(--input-bg);
|
||
color: var(--input-text);
|
||
}
|
||
|
||
.ts-favorites-body {
|
||
display: flex;
|
||
gap: 0;
|
||
}
|
||
|
||
.ts-favorites-list-col {
|
||
width: 220px;
|
||
flex-shrink: 0;
|
||
border-right: 1px solid var(--border-soft);
|
||
padding: 0.75rem;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.3rem;
|
||
}
|
||
|
||
.ts-favorites-list-group-title {
|
||
font-size: 10px;
|
||
font-weight: 600;
|
||
text-transform: uppercase;
|
||
color: var(--text-muted);
|
||
margin-top: 0.4rem;
|
||
}
|
||
|
||
.ts-favorites-list-group-title:first-child {
|
||
margin-top: 0;
|
||
}
|
||
|
||
.ts-favorites-list-empty {
|
||
font-size: 11px;
|
||
font-style: italic;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.ts-favorites-list {
|
||
list-style: none;
|
||
margin: 0;
|
||
padding: 0;
|
||
overflow-y: auto;
|
||
}
|
||
|
||
.ts-favorites-list-item {
|
||
padding: 0.3rem 0.4rem;
|
||
border-radius: 2px;
|
||
font-size: 12px;
|
||
cursor: pointer;
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
}
|
||
|
||
.ts-favorites-list-item:hover {
|
||
background: var(--row-hover);
|
||
}
|
||
|
||
.ts-favorites-list-item-selected {
|
||
background: var(--row-hover);
|
||
outline: 1px solid var(--border);
|
||
}
|
||
|
||
.ts-favorites-fields-col {
|
||
flex: 1;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.6rem;
|
||
padding: 0.75rem;
|
||
}
|
||
|
||
.ts-favorites-profile-col {
|
||
width: 200px;
|
||
flex-shrink: 0;
|
||
border-left: 1px solid var(--border-soft);
|
||
padding: 0.75rem;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.6rem;
|
||
}
|
||
|
||
.ts-options-dialog {
|
||
width: 720px;
|
||
}
|
||
|
||
.ts-options-body {
|
||
display: flex;
|
||
height: min(560px, 85vh);
|
||
}
|
||
|
||
.ts-options-sidebar {
|
||
width: 200px;
|
||
flex-shrink: 0;
|
||
border-right: 1px solid var(--border-soft);
|
||
padding: 0.5rem;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.15rem;
|
||
overflow-y: auto;
|
||
}
|
||
|
||
.ts-options-sidebar-item {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.5rem;
|
||
padding: 0.4rem 0.5rem;
|
||
border-radius: 2px;
|
||
font-size: 12px;
|
||
text-align: left;
|
||
background: none;
|
||
border: none;
|
||
color: var(--text);
|
||
cursor: pointer;
|
||
}
|
||
|
||
.ts-options-sidebar-item:hover {
|
||
background: var(--row-hover);
|
||
}
|
||
|
||
.ts-options-sidebar-item-active {
|
||
background: var(--row-hover);
|
||
outline: 1px solid var(--border);
|
||
font-weight: 600;
|
||
}
|
||
|
||
.ts-options-sidebar-icon {
|
||
width: 1.2em;
|
||
text-align: center;
|
||
}
|
||
|
||
.ts-options-content {
|
||
flex: 1;
|
||
padding: 1rem;
|
||
overflow-y: auto;
|
||
min-width: 0;
|
||
}
|
||
|
||
.ts-options-content h3 {
|
||
margin: 0 0 0.5rem;
|
||
}
|
||
|
||
.ts-options-placeholder {
|
||
font-size: 12px;
|
||
font-style: italic;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.ts-options-subtitle {
|
||
font-size: 11px;
|
||
color: var(--text-muted);
|
||
margin: 0 0 0.75rem;
|
||
}
|
||
|
||
.ts-options-hint {
|
||
font-size: 11px;
|
||
margin: 0.35rem 0 0;
|
||
}
|
||
|
||
.ts-design-theme-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
gap: 0.75rem;
|
||
}
|
||
|
||
.ts-design-theme-card {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: flex-start;
|
||
gap: 0.4rem;
|
||
padding: 0.75rem;
|
||
border: 1px solid var(--border);
|
||
border-radius: 4px;
|
||
background: var(--input-bg);
|
||
color: var(--text);
|
||
cursor: pointer;
|
||
text-align: left;
|
||
font: inherit;
|
||
}
|
||
|
||
.ts-design-theme-card:hover {
|
||
border-color: var(--accent);
|
||
}
|
||
|
||
.ts-design-theme-card-active {
|
||
border-color: var(--accent);
|
||
box-shadow: 0 0 0 1px var(--accent);
|
||
}
|
||
|
||
.ts-design-theme-swatch {
|
||
display: block;
|
||
width: 100%;
|
||
height: 44px;
|
||
border-radius: 3px;
|
||
border: 1px solid var(--border-soft);
|
||
}
|
||
|
||
.ts-design-theme-swatch-standard {
|
||
background: linear-gradient(135deg, #eef1f4 0%, #d7dce2 100%);
|
||
}
|
||
|
||
.ts-design-theme-swatch-nova {
|
||
background: linear-gradient(135deg, oklch(0.245 0.016 258) 0%, oklch(0.17 0.014 258) 100%);
|
||
box-shadow: inset 0 0 0 1px #7fb0e8;
|
||
}
|
||
|
||
.ts-design-theme-swatch-pulse {
|
||
background: linear-gradient(135deg, oklch(0.22 0.02 285) 0%, oklch(0.15 0.03 290) 100%);
|
||
box-shadow: inset 0 0 0 1px #9d8cf0;
|
||
}
|
||
|
||
.ts-design-theme-card-name {
|
||
font-weight: 600;
|
||
font-size: 13px;
|
||
}
|
||
|
||
.ts-design-theme-card-desc {
|
||
font-size: 11px;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
/* Custom-theme cards are a <div> (built-ins are a plain <button>) so the select
|
||
area and the edit/duplicate/export/delete row can sit side by side without
|
||
nesting a button inside a button. */
|
||
.ts-design-theme-card-custom {
|
||
position: relative;
|
||
}
|
||
|
||
.ts-design-theme-card-select {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: flex-start;
|
||
gap: 0.4rem;
|
||
width: 100%;
|
||
padding: 0;
|
||
border: none;
|
||
background: transparent;
|
||
color: inherit;
|
||
cursor: pointer;
|
||
text-align: left;
|
||
font: inherit;
|
||
}
|
||
|
||
.ts-design-theme-swatch-custom {
|
||
background: conic-gradient(from 180deg, #7fb0e8, #ff8fab, #ffd166, #7fb0e8);
|
||
}
|
||
|
||
.ts-design-theme-card-screenshot {
|
||
width: 100%;
|
||
border-radius: 4px;
|
||
border: 1px solid var(--border-soft);
|
||
object-fit: cover;
|
||
max-height: 120px;
|
||
}
|
||
|
||
.ts-design-theme-card-rating {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.1rem;
|
||
margin-top: 0.3rem;
|
||
}
|
||
|
||
.ts-design-theme-card-star {
|
||
padding: 0;
|
||
border: none;
|
||
background: transparent;
|
||
color: var(--accent);
|
||
cursor: pointer;
|
||
font-size: 16px;
|
||
line-height: 1;
|
||
}
|
||
|
||
.ts-design-theme-card-star:disabled {
|
||
cursor: default;
|
||
}
|
||
|
||
.ts-design-theme-card-rating-count {
|
||
margin-left: 0.3rem;
|
||
font-size: 11px;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.ts-design-theme-card-actions {
|
||
display: flex;
|
||
width: 100%;
|
||
gap: 0.4rem;
|
||
margin-top: 0.5rem;
|
||
}
|
||
|
||
.ts-design-theme-card-actions button,
|
||
.ts-design-store-card-actions button,
|
||
.ts-design-store-publish-submit,
|
||
.ts-design-custom-actions button {
|
||
border: 1px solid var(--border);
|
||
border-radius: 4px;
|
||
background: linear-gradient(to bottom, var(--button-bg-1), var(--button-bg-2));
|
||
color: var(--text);
|
||
cursor: pointer;
|
||
}
|
||
|
||
.ts-design-theme-card-actions button:hover:not(:disabled),
|
||
.ts-design-store-card-actions button:hover:not(:disabled),
|
||
.ts-design-store-publish-submit:hover:not(:disabled),
|
||
.ts-design-custom-actions button:hover:not(:disabled) {
|
||
background: linear-gradient(to bottom, var(--button-bg-hover-1), var(--button-bg-hover-2));
|
||
border-color: var(--accent);
|
||
}
|
||
|
||
.ts-design-theme-card-actions button:disabled,
|
||
.ts-design-store-card-actions button:disabled,
|
||
.ts-design-store-publish-submit:disabled,
|
||
.ts-design-custom-actions button:disabled {
|
||
opacity: 0.4;
|
||
cursor: default;
|
||
}
|
||
|
||
/* Icon row (edit/duplicate/export/delete) - side by side, flex:1 so the four
|
||
of them together always fill the card's full width. */
|
||
.ts-design-theme-card-actions button {
|
||
flex: 1;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
min-height: 2.6rem;
|
||
padding: 0.5rem 0;
|
||
}
|
||
|
||
/* Delete is destructive - always red, regardless of the active design's
|
||
accent color. Selector nests one level deeper than the shared rules
|
||
above so it reliably wins the cascade instead of relying on source order. */
|
||
.ts-design-theme-card-actions .ts-design-theme-card-delete {
|
||
background: linear-gradient(to bottom, #d64545, #b23a3a);
|
||
border-color: #8f2c2c;
|
||
color: #fff;
|
||
}
|
||
|
||
.ts-design-theme-card-actions .ts-design-theme-card-delete:hover:not(:disabled) {
|
||
background: linear-gradient(to bottom, #e85d5d, #c94444);
|
||
border-color: #e85d5d;
|
||
}
|
||
|
||
.ts-design-store-card-actions {
|
||
margin-top: 0.5rem;
|
||
}
|
||
|
||
.ts-design-store-card-actions button {
|
||
width: 100%;
|
||
padding: 0.5rem;
|
||
font-size: 13px;
|
||
}
|
||
|
||
.ts-design-store-header {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.6rem;
|
||
margin-bottom: 0.5rem;
|
||
}
|
||
|
||
.ts-design-store-header h3 {
|
||
margin: 0;
|
||
}
|
||
|
||
.ts-design-store-back {
|
||
border: none;
|
||
background: transparent;
|
||
color: var(--accent);
|
||
cursor: pointer;
|
||
padding: 0.2rem 0;
|
||
font-size: 13px;
|
||
}
|
||
|
||
.ts-design-store-publish-submit {
|
||
display: block;
|
||
margin-top: 0.75rem;
|
||
padding: 0.5rem 1rem;
|
||
font-size: 13px;
|
||
}
|
||
|
||
.ts-design-custom-actions button {
|
||
padding: 0.5rem 1rem;
|
||
font-size: 13px;
|
||
}
|
||
|
||
.ts-design-native .ts-design-col {
|
||
flex: 1;
|
||
min-width: 0;
|
||
gap: 0.75rem;
|
||
}
|
||
|
||
.ts-design-indent {
|
||
padding-left: 1.4rem;
|
||
}
|
||
|
||
.ts-design-indent input[type="number"] {
|
||
width: 5em;
|
||
}
|
||
|
||
.ts-options-disabled {
|
||
opacity: 0.5;
|
||
}
|
||
|
||
.ts-design-back {
|
||
margin-bottom: 0.75rem;
|
||
}
|
||
|
||
.ts-design-manage-heading {
|
||
margin: 1.25rem 0 0.5rem;
|
||
}
|
||
|
||
.ts-design-iconpack-list {
|
||
list-style: none;
|
||
margin: 0 0 0.5rem;
|
||
padding: 0;
|
||
}
|
||
|
||
.ts-design-iconpack-list li {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 0.5rem;
|
||
padding: 0.25rem 0;
|
||
font-size: 12px;
|
||
}
|
||
|
||
.ts-design-custom-actions {
|
||
display: flex;
|
||
gap: 0.5rem;
|
||
margin-top: 0.75rem;
|
||
}
|
||
|
||
.ts-custom-theme-css {
|
||
width: 100%;
|
||
min-height: 220px;
|
||
font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace;
|
||
font-size: 12px;
|
||
padding: 0.5rem;
|
||
border: 1px solid var(--border);
|
||
border-radius: 4px;
|
||
background: var(--input-bg);
|
||
color: var(--input-text);
|
||
resize: vertical;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
.ts-options-columns {
|
||
display: flex;
|
||
gap: 1rem;
|
||
}
|
||
|
||
.ts-options-profile-list {
|
||
width: 110px;
|
||
flex-shrink: 0;
|
||
list-style: none;
|
||
margin: 0;
|
||
padding: 0;
|
||
}
|
||
|
||
.ts-options-profile-item-active {
|
||
padding: 0.3rem 0.4rem;
|
||
border-radius: 2px;
|
||
font-size: 12px;
|
||
background: var(--row-hover);
|
||
outline: 1px solid var(--border);
|
||
}
|
||
|
||
.ts-options-fields {
|
||
flex: 1;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.6rem;
|
||
min-width: 0;
|
||
}
|
||
|
||
.ts-options-field {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.2rem;
|
||
font-size: 11px;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.ts-options-field select,
|
||
.ts-options-field-inline input {
|
||
background: var(--input-bg);
|
||
color: var(--text);
|
||
border: 1px solid var(--border);
|
||
border-radius: 2px;
|
||
padding: 0.3rem;
|
||
font-size: 12px;
|
||
}
|
||
|
||
.ts-options-field select:disabled {
|
||
opacity: 0.6;
|
||
}
|
||
|
||
.ts-options-slider-row {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
font-size: 11px;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.ts-options-slider-label {
|
||
font-weight: 600;
|
||
color: var(--text);
|
||
}
|
||
|
||
.ts-options-slider-with-value {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.5rem;
|
||
}
|
||
|
||
.ts-options-slider-with-value input[type="range"] {
|
||
flex: 1;
|
||
}
|
||
|
||
.ts-options-db-value {
|
||
font-size: 11px;
|
||
color: var(--text-muted);
|
||
width: 4.5em;
|
||
text-align: right;
|
||
}
|
||
|
||
.ts-options-fieldset {
|
||
border: 1px solid var(--border-soft);
|
||
border-radius: 4px;
|
||
padding: 0.5rem 0.75rem 0.75rem;
|
||
margin: 0;
|
||
}
|
||
|
||
.ts-options-fieldset legend {
|
||
font-size: 11px;
|
||
color: var(--text-muted);
|
||
padding: 0 0.3rem;
|
||
}
|
||
|
||
.ts-options-checkbox,
|
||
.ts-options-radio {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.4rem;
|
||
font-size: 12px;
|
||
padding: 0.15rem 0;
|
||
}
|
||
|
||
.ts-options-dsp-grid {
|
||
display: grid;
|
||
grid-template-columns: 1fr 1fr;
|
||
gap: 0.2rem 1rem;
|
||
}
|
||
|
||
.ts-options-level-wrap {
|
||
position: relative;
|
||
margin: 0.5rem 0;
|
||
}
|
||
|
||
.ts-options-level-track {
|
||
height: 8px;
|
||
border-radius: 4px;
|
||
background: var(--input-bg);
|
||
border: 1px solid var(--border-soft);
|
||
overflow: hidden;
|
||
}
|
||
|
||
.ts-options-level-fill {
|
||
height: 100%;
|
||
background: var(--accent);
|
||
transition: width 0.05s linear;
|
||
}
|
||
|
||
.ts-options-level-threshold {
|
||
width: 100%;
|
||
margin-top: 0.3rem;
|
||
}
|
||
|
||
.ts-options-field-row {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.5rem;
|
||
}
|
||
|
||
.ts-options-field-inline {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.3rem;
|
||
font-size: 11px;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.ts-options-field-inline input[type="number"] {
|
||
width: 4em;
|
||
}
|
||
|
||
.ts-options-sounds-table {
|
||
width: 100%;
|
||
border-collapse: collapse;
|
||
margin-top: 0.75rem;
|
||
font-size: 12px;
|
||
}
|
||
|
||
.ts-options-sounds-table td {
|
||
padding: 0.35rem 0.5rem 0.35rem 0;
|
||
vertical-align: middle;
|
||
border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
|
||
}
|
||
|
||
.ts-options-sounds-source {
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.ts-options-sounds-table button {
|
||
font-size: 11px;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.ts-options-test-dot {
|
||
width: 10px;
|
||
height: 10px;
|
||
border-radius: 50%;
|
||
background: var(--border);
|
||
display: inline-block;
|
||
}
|
||
|
||
.ts-options-test-dot-on {
|
||
background: #4caf50;
|
||
}
|
||
|
||
.ts-dialog-titlebar {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
padding: 0.5rem 0.75rem;
|
||
border-bottom: 1px solid var(--border-soft);
|
||
font-weight: 600;
|
||
}
|
||
|
||
.ts-dialog-titlebar button {
|
||
background: transparent;
|
||
border: none;
|
||
color: var(--text-muted);
|
||
cursor: pointer;
|
||
font-size: 13px;
|
||
}
|
||
|
||
.ts-dialog-titlebar button:hover {
|
||
color: var(--text);
|
||
}
|
||
|
||
.ts-dialog-body {
|
||
padding: 0.75rem;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.6rem;
|
||
}
|
||
|
||
.ts-dialog-row {
|
||
display: flex;
|
||
gap: 0.6rem;
|
||
}
|
||
|
||
.ts-dialog-field {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.2rem;
|
||
font-size: 11px;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.ts-dialog-field-grow {
|
||
flex: 1;
|
||
}
|
||
|
||
.ts-dialog-field input,
|
||
.ts-dialog-field select {
|
||
border: 1px solid var(--border);
|
||
border-radius: 2px;
|
||
padding: 0.3rem 0.4rem;
|
||
font-size: 13px;
|
||
background: var(--input-bg);
|
||
color: var(--input-text);
|
||
}
|
||
|
||
.ts-dialog-field input:disabled,
|
||
.ts-dialog-field select:disabled {
|
||
opacity: 0.5;
|
||
}
|
||
|
||
.ts-dialog-field textarea {
|
||
border: 1px solid var(--border);
|
||
border-radius: 2px;
|
||
padding: 0.4rem;
|
||
font-size: 13px;
|
||
font-family: inherit;
|
||
resize: vertical;
|
||
background: var(--input-bg);
|
||
color: var(--input-text);
|
||
}
|
||
|
||
.ts-feedback-dialog {
|
||
width: 26rem;
|
||
max-width: 90vw;
|
||
}
|
||
|
||
.ts-feedback-honeypot {
|
||
position: absolute;
|
||
left: -5000px;
|
||
width: 1px;
|
||
height: 1px;
|
||
opacity: 0;
|
||
pointer-events: none;
|
||
}
|
||
|
||
/* No theme defines --panel-bg, so the update toast and the feedback bubble
|
||
are always dark: their text colors are fixed, not the theme's. */
|
||
.ts-update-toast {
|
||
position: fixed;
|
||
left: 50%;
|
||
bottom: 1.25rem;
|
||
transform: translateX(-50%);
|
||
z-index: 600;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.6rem;
|
||
background: var(--panel-bg, #23262e);
|
||
color: #eee;
|
||
border: 1px solid var(--border);
|
||
border-radius: 0.5rem;
|
||
padding: 0.6rem 0.7rem 0.6rem 0.9rem;
|
||
font-size: 13px;
|
||
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
|
||
}
|
||
|
||
.ts-update-toast button {
|
||
border: 1px solid var(--border);
|
||
border-radius: 0.35rem;
|
||
background: var(--accent, #4a7dfc);
|
||
color: #fff;
|
||
font-size: 12px;
|
||
padding: 0.3rem 0.6rem;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.ts-update-toast-dismiss {
|
||
background: transparent !important;
|
||
color: #aaa !important;
|
||
border: none !important;
|
||
padding: 0 0.2rem !important;
|
||
font-size: 12px;
|
||
}
|
||
|
||
.ts-feedback-fab-wrap {
|
||
position: fixed;
|
||
right: 1.25rem;
|
||
bottom: 5.5rem;
|
||
z-index: 500;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: flex-end;
|
||
gap: 0.5rem;
|
||
}
|
||
|
||
/* Ueber der Spenden-Pille (2.25rem hoch, bottom: 5.5rem) statt darauf. */
|
||
.ts-feedback-fab-wrap-stacked {
|
||
bottom: 8.5rem;
|
||
}
|
||
|
||
.ts-feedback-fab {
|
||
width: 3rem;
|
||
height: 3rem;
|
||
border-radius: 50%;
|
||
border: 1px solid var(--border);
|
||
background: var(--accent, #4a7dfc);
|
||
color: #fff;
|
||
font-size: 1.3rem;
|
||
line-height: 1;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
cursor: pointer;
|
||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
|
||
transition: transform 0.12s ease, box-shadow 0.12s ease;
|
||
}
|
||
|
||
.ts-feedback-fab:hover {
|
||
transform: scale(1.06);
|
||
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
|
||
}
|
||
|
||
/* Spenden-Pille. Bewusst nicht in den Theme-Farben: sie soll auffallen, ohne
|
||
gross zu sein - Ko-fi-Rot, feste Hoehe, Text nur als Beiwerk zum Symbol. */
|
||
.ts-donate-fab {
|
||
position: fixed;
|
||
right: 1.25rem;
|
||
bottom: 5.5rem;
|
||
z-index: 500;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 0.4rem;
|
||
height: 2.25rem;
|
||
padding: 0 0.85rem;
|
||
border-radius: 999px;
|
||
border: 1px solid rgba(255, 255, 255, 0.18);
|
||
background: #d6403d; /* Ko-fi red, darkened to 4.5:1 for the white label */
|
||
color: #fff;
|
||
font-size: 12px;
|
||
font-weight: 600;
|
||
letter-spacing: 0.01em;
|
||
text-decoration: none;
|
||
white-space: nowrap;
|
||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
|
||
transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
|
||
}
|
||
|
||
.ts-donate-fab:hover {
|
||
background: #c4362f;
|
||
transform: scale(1.06);
|
||
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
|
||
}
|
||
|
||
.ts-donate-fab-icon {
|
||
font-size: 14px;
|
||
line-height: 1;
|
||
}
|
||
|
||
.ts-feedback-bubble {
|
||
position: relative;
|
||
max-width: 13rem;
|
||
background: var(--panel-bg, #23262e);
|
||
color: #eee;
|
||
border: 1px solid var(--border);
|
||
border-radius: 0.6rem;
|
||
padding: 0.5rem 0.7rem;
|
||
font-size: 12px;
|
||
line-height: 1.35;
|
||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
|
||
animation: ts-feedback-bubble-in 0.2s ease;
|
||
}
|
||
|
||
.ts-feedback-bubble::after {
|
||
content: "";
|
||
position: absolute;
|
||
right: 1.1rem;
|
||
bottom: -0.4rem;
|
||
width: 0.8rem;
|
||
height: 0.8rem;
|
||
background: inherit;
|
||
border-right: 1px solid var(--border);
|
||
border-bottom: 1px solid var(--border);
|
||
transform: rotate(45deg);
|
||
}
|
||
|
||
.ts-feedback-bubble-close {
|
||
position: absolute;
|
||
top: -0.4rem;
|
||
right: -0.4rem;
|
||
width: 1.1rem;
|
||
height: 1.1rem;
|
||
border-radius: 50%;
|
||
border: 1px solid var(--border);
|
||
background: var(--panel-bg, #23262e);
|
||
color: #aaa;
|
||
font-size: 10px;
|
||
line-height: 1;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
cursor: pointer;
|
||
padding: 0;
|
||
}
|
||
|
||
@keyframes ts-feedback-bubble-in {
|
||
from {
|
||
opacity: 0;
|
||
transform: translateY(4px);
|
||
}
|
||
to {
|
||
opacity: 1;
|
||
transform: translateY(0);
|
||
}
|
||
}
|
||
|
||
.ts-feedback-intro,
|
||
.ts-feedback-hint {
|
||
font-size: 12px;
|
||
color: var(--text-muted);
|
||
margin: 0;
|
||
}
|
||
|
||
.ts-feedback-checkbox-field {
|
||
display: flex;
|
||
flex-direction: row;
|
||
align-items: center;
|
||
gap: 0.4rem;
|
||
font-size: 12px;
|
||
}
|
||
|
||
.ts-feedback-error {
|
||
font-size: 12px;
|
||
color: var(--danger, #e0637a);
|
||
margin: 0;
|
||
}
|
||
|
||
.ts-feedback-success {
|
||
font-size: 13px;
|
||
margin: 0.5rem 0;
|
||
}
|
||
|
||
.ts-dialog-grid {
|
||
display: grid;
|
||
grid-template-columns: 1fr 1fr;
|
||
gap: 0.6rem;
|
||
padding-top: 0.4rem;
|
||
border-top: 1px solid var(--border-soft);
|
||
}
|
||
|
||
.ts-dialog-checkbox {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.4rem;
|
||
font-size: 12px;
|
||
color: var(--text-muted);
|
||
align-self: end;
|
||
}
|
||
|
||
.ts-dialog-buttons {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
padding: 0.6rem 0.75rem;
|
||
border-top: 1px solid var(--border-soft);
|
||
}
|
||
|
||
.ts-dialog-buttons-right {
|
||
display: flex;
|
||
gap: 0.5rem;
|
||
}
|
||
|
||
.ts-dialog-buttons button {
|
||
border: 1px solid var(--border);
|
||
border-radius: 3px;
|
||
background: linear-gradient(to bottom, var(--button-bg-1), var(--button-bg-2));
|
||
color: var(--text);
|
||
padding: 0.3rem 0.8rem;
|
||
cursor: pointer;
|
||
font-size: 12px;
|
||
}
|
||
|
||
.ts-dialog-buttons button:hover:not(:disabled) {
|
||
background: linear-gradient(to bottom, var(--button-bg-hover-1), var(--button-bg-hover-2));
|
||
}
|
||
|
||
.ts-dialog-buttons button:disabled {
|
||
opacity: 0.4;
|
||
cursor: default;
|
||
}
|
||
|
||
.ts-poke-compose-backdrop {
|
||
position: fixed;
|
||
inset: 0;
|
||
background: rgba(0, 0, 0, 0.35);
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
z-index: 10;
|
||
}
|
||
|
||
.ts-poke-compose {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.5rem;
|
||
padding: 0.9rem 1.1rem;
|
||
background: var(--bg-toolbar-1);
|
||
border: 1px solid var(--border);
|
||
border-radius: 6px;
|
||
color: var(--text);
|
||
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
|
||
}
|
||
|
||
.ts-poke-compose input {
|
||
background: var(--input-bg);
|
||
color: var(--input-text);
|
||
border: 1px solid var(--border);
|
||
border-radius: 3px;
|
||
padding: 0.3rem 0.5rem;
|
||
min-width: 220px;
|
||
}
|
||
|
||
.ts-poke-compose button {
|
||
background: linear-gradient(var(--button-bg-1), var(--button-bg-2));
|
||
border: 1px solid var(--border);
|
||
border-radius: 3px;
|
||
color: var(--text);
|
||
cursor: pointer;
|
||
padding: 0.3rem 0.7rem;
|
||
}
|
||
|
||
.ts-serverquery-login-compose {
|
||
flex-direction: column;
|
||
align-items: stretch;
|
||
}
|
||
|
||
.ts-serverquery-login-compose input {
|
||
min-width: 260px;
|
||
}
|
||
|
||
.ts-poke-compose button:hover {
|
||
background: linear-gradient(var(--button-bg-hover-1), var(--button-bg-hover-2));
|
||
}
|
||
|
||
.ts-ban-compose {
|
||
flex-wrap: wrap;
|
||
max-width: 380px;
|
||
}
|
||
|
||
.ts-ban-duration-field {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.4rem;
|
||
font-size: 12px;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.ts-ban-duration-field select {
|
||
background: var(--input-bg);
|
||
color: var(--input-text);
|
||
border: 1px solid var(--border);
|
||
border-radius: 3px;
|
||
padding: 0.2rem 0.4rem;
|
||
}
|
||
|
||
.ts-poke-notice {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 0.75rem;
|
||
padding: 0.5rem 0.9rem;
|
||
background: #e8a53d;
|
||
color: #1a1a1a;
|
||
font-size: 13px;
|
||
animation: ts-poke-flash 0.4s ease-in-out 2;
|
||
}
|
||
|
||
@keyframes ts-poke-flash {
|
||
0%, 100% {
|
||
filter: brightness(1);
|
||
}
|
||
50% {
|
||
filter: brightness(1.3);
|
||
}
|
||
}
|
||
|
||
.ts-poke-notice button {
|
||
background: transparent;
|
||
border: none;
|
||
color: #1a1a1a;
|
||
cursor: pointer;
|
||
font-size: 13px;
|
||
opacity: 0.7;
|
||
}
|
||
|
||
.ts-poke-notice button:hover {
|
||
opacity: 1;
|
||
}
|
||
|
||
/* Mobile layout */
|
||
|
||
@container (max-width: 700px) {
|
||
.ts-menubar {
|
||
flex-wrap: wrap;
|
||
row-gap: 0.2rem;
|
||
gap: 0.6rem;
|
||
}
|
||
|
||
.ts-menubar-items {
|
||
flex-wrap: wrap;
|
||
row-gap: 0.2rem;
|
||
gap: 0.6rem;
|
||
}
|
||
|
||
/* Dropdowns normally open flush with the left edge of the menu item
|
||
that triggered them (.ts-menubar-dropdown is the positioning
|
||
anchor). On a narrow screen that overflows off-screen for any
|
||
item that isn't near the left edge. Anchor to the whole menubar
|
||
instead so the panel always stays within the viewport width. */
|
||
.ts-menubar {
|
||
position: relative;
|
||
}
|
||
|
||
.ts-menubar-dropdown {
|
||
position: static;
|
||
}
|
||
|
||
.ts-menu {
|
||
left: 0.5rem;
|
||
right: 0.5rem;
|
||
width: auto;
|
||
min-width: 0;
|
||
max-height: 70vh;
|
||
overflow-y: auto;
|
||
}
|
||
|
||
.ts-toolbar {
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.ts-toolbar-icons {
|
||
flex-wrap: wrap;
|
||
row-gap: 0.3rem;
|
||
}
|
||
|
||
.ts-icon-slider input[type="range"] {
|
||
width: 60px;
|
||
}
|
||
|
||
.ts-icon-select select {
|
||
max-width: 110px;
|
||
}
|
||
|
||
.ts-app-logo {
|
||
margin-left: 0;
|
||
}
|
||
|
||
.ts-toolbar-fields {
|
||
flex-wrap: wrap;
|
||
row-gap: 0.4rem;
|
||
}
|
||
|
||
.ts-toolbar-fields input:not([type="range"]),
|
||
.ts-toolbar-fields select {
|
||
max-width: 40vw;
|
||
}
|
||
|
||
.ts-body {
|
||
overflow-y: auto;
|
||
}
|
||
|
||
.ts-upper {
|
||
height: auto !important;
|
||
flex-direction: column;
|
||
flex-shrink: 1;
|
||
}
|
||
|
||
.ts-tree-panel {
|
||
width: 100% !important;
|
||
max-height: 35vh;
|
||
border-bottom: 1px solid var(--border-soft);
|
||
}
|
||
|
||
.ts-resize-handle-vertical,
|
||
.ts-resize-handle-horizontal {
|
||
display: none;
|
||
}
|
||
|
||
.ts-side-panel {
|
||
max-height: 40vh;
|
||
}
|
||
|
||
.ts-banner-panel {
|
||
max-height: 25vh;
|
||
}
|
||
|
||
.ts-chat-panel {
|
||
min-height: 260px;
|
||
}
|
||
|
||
.ts-chat-tabs {
|
||
overflow-x: auto;
|
||
}
|
||
|
||
/* Dialogs */
|
||
|
||
.ts-dialog {
|
||
max-height: 90vh;
|
||
overflow-y: auto;
|
||
}
|
||
|
||
.ts-connect-dialog,
|
||
.ts-favorites-dialog,
|
||
.ts-away-dialog,
|
||
.ts-options-dialog {
|
||
width: 92vw !important;
|
||
}
|
||
|
||
.ts-dialog-row {
|
||
flex-direction: column;
|
||
}
|
||
|
||
.ts-dialog-grid {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.ts-favorites-body,
|
||
.ts-options-body {
|
||
flex-direction: column;
|
||
height: auto;
|
||
}
|
||
|
||
.ts-favorites-list-col,
|
||
.ts-favorites-profile-col {
|
||
width: 100%;
|
||
border-right: none;
|
||
border-left: none;
|
||
border-bottom: 1px solid var(--border-soft);
|
||
}
|
||
|
||
.ts-options-sidebar {
|
||
width: 100%;
|
||
flex-direction: row;
|
||
flex-wrap: wrap;
|
||
border-right: none;
|
||
border-bottom: 1px solid var(--border-soft);
|
||
}
|
||
|
||
.ts-options-columns {
|
||
flex-direction: column;
|
||
}
|
||
|
||
.ts-poke-compose {
|
||
flex-wrap: wrap;
|
||
max-width: 92vw;
|
||
}
|
||
|
||
.ts-poke-compose input {
|
||
min-width: 160px;
|
||
}
|
||
}
|
||
|
||
/* A join request waiting for a decision. TS6 shows the viewer "waiting for
|
||
access" the whole time this is on screen, so it should not be subtle. */
|
||
.ts-stream-request {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.4rem;
|
||
padding: 0.45rem 0.55rem;
|
||
border-top: 1px solid var(--ts-border, #2a2f3a);
|
||
background: var(--ts-accent-soft, rgba(90, 140, 255, 0.12));
|
||
font-size: 0.82rem;
|
||
}
|
||
|
||
.ts-stream-request-who {
|
||
flex: 1;
|
||
min-width: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.ts-stream-request-who em {
|
||
opacity: 0.7;
|
||
font-size: 0.75rem;
|
||
font-style: normal;
|
||
}
|
||
|
||
.ts-stream-request button {
|
||
flex: none;
|
||
padding: 0.2rem 0.5rem;
|
||
border: 1px solid var(--ts-border, #2a2f3a);
|
||
border-radius: 4px;
|
||
background: var(--ts-surface, #1b1f27);
|
||
color: inherit;
|
||
cursor: pointer;
|
||
font-size: 0.78rem;
|
||
}
|
||
|
||
.ts-stream-request button:hover {
|
||
border-color: var(--ts-accent, #5a8cff);
|
||
}
|
||
|
||
.ts-stream-request-allow {
|
||
background: var(--ts-accent, #5a8cff) !important;
|
||
color: #fff;
|
||
}
|
||
|
||
.ts-stream-request-block {
|
||
opacity: 0.65;
|
||
}
|
||
|
||
/* Options -> Download, file transfer window */
|
||
.ts-download-dir {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
flex-wrap: wrap;
|
||
margin-bottom: 6px;
|
||
}
|
||
.ts-download-number {
|
||
width: 5em;
|
||
margin: 0 4px;
|
||
}
|
||
.ts-transfers-window {
|
||
position: fixed;
|
||
right: 16px;
|
||
bottom: 48px;
|
||
width: min(560px, calc(100vw - 32px));
|
||
max-height: 50vh;
|
||
z-index: 1100;
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
.ts-transfers-window .ts-dialog-body {
|
||
overflow: auto;
|
||
}
|
||
.ts-transfers-table {
|
||
width: 100%;
|
||
border-collapse: collapse;
|
||
font-size: 0.9em;
|
||
}
|
||
.ts-transfers-table td {
|
||
padding: 2px 4px;
|
||
white-space: nowrap;
|
||
}
|
||
.ts-transfers-name {
|
||
max-width: 180px;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
}
|
||
.ts-transfers-table progress {
|
||
width: 100px;
|
||
}
|
||
.ts-transfer-error td {
|
||
color: var(--log-error);
|
||
}
|
||
.ts-transfer-toast {
|
||
position: fixed;
|
||
right: 16px;
|
||
bottom: 16px;
|
||
z-index: 1200;
|
||
padding: 8px 12px;
|
||
background: var(--bg-toolbar-1);
|
||
color: var(--text);
|
||
border: 1px solid var(--border);
|
||
border-radius: 4px;
|
||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
|
||
}
|
||
|
||
/* Options -> Chat */
|
||
.ts-chat-line-logged {
|
||
opacity: 0.6;
|
||
}
|
||
.ts-chat-font-row,
|
||
.ts-chat-restore-row {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
flex-wrap: wrap;
|
||
margin-top: 6px;
|
||
}
|
||
.ts-chat-restore-row .ts-options-checkbox {
|
||
flex: 1;
|
||
}
|
||
.ts-chat-font-preview {
|
||
margin-top: 6px;
|
||
padding: 4px 6px;
|
||
border: 1px solid var(--border-soft);
|
||
border-radius: 4px;
|
||
}
|
||
|
||
/* Options -> Sicherheit */
|
||
.ts-security-row {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 8px;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
/* Options -> Meldungen */
|
||
.ts-notify-row {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
}
|
||
.ts-notify-row > label {
|
||
min-width: 140px;
|
||
}
|
||
.ts-notify-row > select {
|
||
flex: 1;
|
||
min-width: 0;
|
||
}
|
||
.ts-notify-hint {
|
||
margin: 0;
|
||
font-size: 0.9em;
|
||
}
|
||
.ts-notify-tree {
|
||
max-height: 360px;
|
||
overflow: auto;
|
||
border: 1px solid var(--border);
|
||
background: var(--input-bg);
|
||
}
|
||
.ts-notify-tree table {
|
||
width: 100%;
|
||
border-collapse: collapse;
|
||
font-size: 0.9em;
|
||
}
|
||
.ts-notify-tree th {
|
||
position: sticky;
|
||
top: 0;
|
||
z-index: 1;
|
||
text-align: left;
|
||
font-weight: normal;
|
||
padding: 2px 6px;
|
||
background: var(--bg-toolbar-1);
|
||
border-bottom: 1px solid var(--border);
|
||
}
|
||
.ts-notify-tree td {
|
||
padding: 1px 4px;
|
||
white-space: nowrap;
|
||
}
|
||
.ts-notify-custom > td:first-child {
|
||
font-weight: bold;
|
||
}
|
||
.ts-notify-action {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 4px;
|
||
}
|
||
.ts-notify-twisty {
|
||
border: none;
|
||
background: none;
|
||
padding: 0 2px;
|
||
min-width: 0;
|
||
color: inherit;
|
||
cursor: pointer;
|
||
}
|
||
.ts-notify-script {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 2px;
|
||
}
|
||
.ts-notify-script input {
|
||
flex: 1;
|
||
min-width: 140px;
|
||
border: 1px solid transparent;
|
||
background: transparent;
|
||
color: inherit;
|
||
font-family: monospace;
|
||
}
|
||
.ts-notify-script input:focus {
|
||
border-color: var(--border);
|
||
background: var(--input-bg);
|
||
}
|
||
.ts-notify-script button {
|
||
padding: 0 4px;
|
||
min-width: 0;
|
||
}
|
||
.ts-notify-tree select {
|
||
font-size: 1em;
|
||
}
|
||
.ts-notify-text {
|
||
position: relative;
|
||
}
|
||
.ts-notify-text > summary {
|
||
cursor: pointer;
|
||
list-style: none;
|
||
}
|
||
.ts-notify-text > summary::after {
|
||
content: " ▾";
|
||
opacity: 0.6;
|
||
}
|
||
.ts-notify-text-menu {
|
||
position: absolute;
|
||
right: 0;
|
||
z-index: 2;
|
||
display: flex;
|
||
flex-direction: column;
|
||
padding: 4px 8px;
|
||
background: var(--bg-toolbar-1);
|
||
border: 1px solid var(--border);
|
||
}
|
||
|
||
/* Master password unlock (main.tsx) */
|
||
.ts-vault-dialog {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 8px;
|
||
padding: 16px;
|
||
min-width: 300px;
|
||
}
|
||
.ts-vault-dialog h3,
|
||
.ts-vault-dialog p {
|
||
margin: 0;
|
||
}
|
||
.ts-vault-wrong {
|
||
color: var(--log-error);
|
||
}
|
||
.ts-master-form {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 6px;
|
||
margin: 4px 0 4px 24px;
|
||
max-width: 320px;
|
||
}
|
||
.ts-master-note {
|
||
margin: 0;
|
||
font-size: 0.9em;
|
||
}
|
||
|
||
/* Options -> Konto */
|
||
.ts-sync-secret {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
flex-wrap: wrap;
|
||
}
|
||
.ts-sync-secret code {
|
||
font-size: 1.1em;
|
||
letter-spacing: 0.05em;
|
||
user-select: all;
|
||
}
|
||
.ts-sync-buttons {
|
||
display: flex;
|
||
gap: 6px;
|
||
flex-wrap: wrap;
|
||
margin-top: 6px;
|
||
}
|
||
.ts-sync-warning {
|
||
color: var(--ts-warning, #e0a030);
|
||
}
|
||
.ts-sync-qr-box {
|
||
margin-top: 8px;
|
||
}
|
||
.ts-sync-qr {
|
||
display: block;
|
||
max-width: 100%;
|
||
height: auto;
|
||
}
|
||
|
||
/* Multi-join server tabs. No theme defines --bg-app/--bg-toolbar, so this
|
||
strip is always dark: its text colors are fixed, not the theme's --text (which is dark
|
||
in the light theme and made the active tab unreadable). */
|
||
.ts-app .gts-connection-tabs {
|
||
display: flex;
|
||
gap: 1px;
|
||
padding: 0 4px;
|
||
background: var(--bg-app, #1a1a1a);
|
||
border-bottom: 1px solid var(--border, #333);
|
||
height: 24px;
|
||
min-height: 24px;
|
||
align-items: stretch;
|
||
overflow: hidden;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.ts-app .gts-connection-tab {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 4px;
|
||
background: var(--bg-toolbar, #2a2a2a);
|
||
border: 1px solid var(--border, #444);
|
||
border-bottom: none;
|
||
color: #aaa;
|
||
padding: 0 4px 0 10px;
|
||
max-width: 280px;
|
||
height: 100%;
|
||
box-sizing: border-box;
|
||
font-size: 12px;
|
||
cursor: pointer;
|
||
user-select: none;
|
||
}
|
||
|
||
.ts-app .gts-connection-tab-active {
|
||
background: var(--bg-panel, #333);
|
||
color: #eee;
|
||
border-color: #b0b8c0;
|
||
}
|
||
|
||
.ts-app .gts-connection-tab-label {
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
flex: 1;
|
||
min-width: 0;
|
||
}
|
||
|
||
.ts-app .gts-connection-tab-close {
|
||
flex-shrink: 0;
|
||
text-align: center;
|
||
width: 16px;
|
||
height: 16px;
|
||
padding: 0;
|
||
border: none;
|
||
background: transparent;
|
||
color: inherit;
|
||
font-size: 14px;
|
||
line-height: 1;
|
||
cursor: pointer;
|
||
opacity: 0.7;
|
||
}
|
||
|
||
.ts-app .gts-connection-tab-close:hover {
|
||
opacity: 1;
|
||
}
|
||
|
||
/* ---------------------------------------------------------------------------
|
||
Mobile shell (.ts-mobile is set from JS below 700px or via the demo toggle).
|
||
Own layout instead of the squeezed desktop one: slim header with the menu
|
||
behind ☰, one full-height panel at a time (channels / chat / info), big
|
||
voice controls and tabs at the bottom. Touch targets are >= 44px.
|
||
--------------------------------------------------------------------------- */
|
||
|
||
.ts-app.ts-mobile {
|
||
height: 100dvh;
|
||
font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
||
--m-radius: 14px;
|
||
}
|
||
|
||
.ts-app.ts-mobile > .ts-toolbar,
|
||
.ts-app.ts-mobile > .ts-log,
|
||
.ts-app.ts-mobile .ts-resize-handle-vertical,
|
||
.ts-app.ts-mobile .ts-resize-handle-horizontal {
|
||
display: none !important;
|
||
}
|
||
|
||
/* Header */
|
||
|
||
.ts-app.ts-mobile > .ts-menubar {
|
||
position: relative;
|
||
min-height: 56px;
|
||
padding: 0 8px 0 4px;
|
||
gap: 6px;
|
||
flex-wrap: nowrap;
|
||
justify-content: flex-start;
|
||
font-size: 15px;
|
||
}
|
||
|
||
.ts-app.ts-mobile > .ts-menubar .ts-nova-menu-dropdown {
|
||
position: static;
|
||
order: 0;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-nova-menu-toggle {
|
||
width: 44px;
|
||
height: 44px;
|
||
font-size: 22px;
|
||
border-radius: 12px;
|
||
border: none;
|
||
background: transparent;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-mobile-title {
|
||
display: flex;
|
||
flex-direction: column;
|
||
min-width: 0;
|
||
flex: 1;
|
||
line-height: 1.2;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-mobile-title-name {
|
||
font-size: 17px;
|
||
font-weight: 650;
|
||
color: var(--text);
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-mobile-title-status {
|
||
font-size: 12px;
|
||
color: var(--text-muted);
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 5px;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-mobile-title-status::before {
|
||
content: "";
|
||
width: 7px;
|
||
height: 7px;
|
||
border-radius: 50%;
|
||
background: var(--text-muted);
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-mobile-title-status-on::before {
|
||
background: #3ba55d;
|
||
}
|
||
|
||
/* The ☰ panel becomes a full-width sheet with inline (accordion) submenus. */
|
||
.ts-app.ts-mobile .ts-menubar-items.ts-nova-menu-panel.ts-nova-menu-panel-open {
|
||
left: 8px;
|
||
right: 8px;
|
||
top: calc(100% + 4px);
|
||
margin: 0;
|
||
padding: 8px;
|
||
max-height: calc(100dvh - 140px);
|
||
overflow-y: auto;
|
||
border-radius: var(--m-radius);
|
||
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-menubar-items.ts-nova-menu-panel-open .ts-menubar-item,
|
||
.ts-app.ts-mobile .ts-menubar-items.ts-nova-menu-panel-open .ts-menubar-item-active {
|
||
min-height: 48px;
|
||
padding: 0 14px;
|
||
font-size: 16px;
|
||
font-weight: 600;
|
||
color: var(--text);
|
||
text-align: left;
|
||
border-radius: 10px;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-menubar-items.ts-nova-menu-panel-open .ts-menu {
|
||
position: static;
|
||
margin: 0 0 6px 10px;
|
||
width: auto;
|
||
min-width: 0;
|
||
max-height: none;
|
||
border: none;
|
||
border-left: 2px solid var(--border-soft);
|
||
border-radius: 0;
|
||
box-shadow: none;
|
||
background: transparent;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-menu-item {
|
||
min-height: 44px;
|
||
font-size: 15px;
|
||
}
|
||
|
||
/* Body: one panel at a time */
|
||
|
||
.ts-app.ts-mobile .ts-body {
|
||
flex: 1;
|
||
min-height: 0;
|
||
overflow: hidden;
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-upper {
|
||
height: auto !important;
|
||
flex: 1;
|
||
min-height: 0;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-tree-panel,
|
||
.ts-app.ts-mobile .ts-side-panel {
|
||
width: 100% !important;
|
||
max-height: none;
|
||
flex: 1;
|
||
min-height: 0;
|
||
overflow-y: auto;
|
||
border: none;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-chat-panel {
|
||
flex: 1;
|
||
min-height: 0;
|
||
}
|
||
|
||
.ts-app.ts-mobile-tab-tree .ts-side-panel,
|
||
.ts-app.ts-mobile-tab-tree .ts-chat-panel,
|
||
.ts-app.ts-mobile-tab-info .ts-tree-panel,
|
||
.ts-app.ts-mobile-tab-info .ts-chat-panel,
|
||
.ts-app.ts-mobile-tab-chat .ts-upper {
|
||
display: none !important;
|
||
}
|
||
|
||
/* Tree: big, rounded rows */
|
||
|
||
.ts-app.ts-mobile .ts-tree-panel {
|
||
padding: 6px 8px 12px;
|
||
font-size: 15px;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-tree-panel .ts-row {
|
||
min-height: 44px;
|
||
line-height: 1.3;
|
||
padding-top: 0;
|
||
padding-bottom: 0;
|
||
padding-right: 10px;
|
||
gap: 8px;
|
||
border-radius: 10px;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-tree-panel .ts-server-row {
|
||
font-weight: 650;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-tree-search {
|
||
min-height: 42px;
|
||
margin: 6px 0;
|
||
padding: 0 14px;
|
||
font-size: 16px;
|
||
border-radius: 12px;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-side-panel {
|
||
padding: 8px 12px;
|
||
font-size: 15px;
|
||
}
|
||
|
||
/* Chat */
|
||
|
||
.ts-app.ts-mobile .ts-chat-messages {
|
||
font-size: 15px;
|
||
padding: 8px 12px;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-chat-tabs {
|
||
overflow-x: auto;
|
||
gap: 6px;
|
||
padding: 6px 8px;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-chat-tab {
|
||
min-height: 36px;
|
||
padding: 0 14px;
|
||
border-radius: 999px;
|
||
font-size: 14px;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-chat-input-row {
|
||
padding: 8px;
|
||
gap: 8px;
|
||
align-items: flex-end;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-chat-input-row textarea {
|
||
min-height: 44px;
|
||
font-size: 16px; /* < 16px makes iOS zoom into the field */
|
||
padding: 10px 14px;
|
||
border-radius: 22px;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-chat-input-row button {
|
||
min-height: 44px;
|
||
padding: 0 18px;
|
||
font-size: 15px;
|
||
font-weight: 600;
|
||
border: none;
|
||
border-radius: 22px;
|
||
background: var(--accent);
|
||
color: var(--bg);
|
||
}
|
||
|
||
/* Bottom: voice bar + tabs */
|
||
|
||
.ts-mobile-bottom {
|
||
flex-shrink: 0;
|
||
background: var(--bg-toolbar-1);
|
||
border-top: 1px solid var(--border-soft);
|
||
padding-bottom: env(safe-area-inset-bottom);
|
||
}
|
||
|
||
.ts-mobile-voicebar {
|
||
display: flex;
|
||
gap: 8px;
|
||
padding: 8px 10px 4px;
|
||
}
|
||
|
||
.ts-mobile-voice-btn {
|
||
flex: 1;
|
||
min-width: 0;
|
||
min-height: 56px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 4px;
|
||
border: none;
|
||
border-radius: var(--m-radius, 14px);
|
||
background: var(--input-bg);
|
||
color: var(--text);
|
||
cursor: pointer;
|
||
touch-action: manipulation;
|
||
-webkit-user-select: none;
|
||
user-select: none;
|
||
}
|
||
|
||
.ts-mobile-voice-label {
|
||
font-size: 11px;
|
||
color: var(--text-muted);
|
||
max-width: 100%;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.ts-mobile-voice-on {
|
||
background: #3ba55d;
|
||
color: #fff;
|
||
}
|
||
|
||
.ts-mobile-voice-off {
|
||
background: #b3403a;
|
||
color: #fff;
|
||
}
|
||
|
||
.ts-mobile-voice-on .ts-mobile-voice-label,
|
||
.ts-mobile-voice-off .ts-mobile-voice-label,
|
||
.ts-mobile-voice-hangup .ts-mobile-voice-label {
|
||
color: #fff;
|
||
}
|
||
|
||
.ts-mobile-voice-hangup {
|
||
flex: 0 0 72px;
|
||
background: #d6403d;
|
||
color: #fff;
|
||
}
|
||
|
||
.ts-mobile-ptt {
|
||
flex: 2;
|
||
}
|
||
|
||
.ts-mobile-connect-btn {
|
||
flex: 1;
|
||
min-height: 52px;
|
||
border: none;
|
||
border-radius: var(--m-radius, 14px);
|
||
background: var(--accent);
|
||
color: var(--bg);
|
||
font-size: 16px;
|
||
font-weight: 650;
|
||
}
|
||
|
||
.ts-mobile-tabs {
|
||
display: flex;
|
||
}
|
||
|
||
.ts-mobile-tab {
|
||
flex: 1;
|
||
min-height: 52px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 2px;
|
||
border: none;
|
||
background: transparent;
|
||
color: var(--text-muted);
|
||
font-size: 11px;
|
||
font-weight: 600;
|
||
position: relative;
|
||
touch-action: manipulation;
|
||
margin: 4px 18px;
|
||
border-radius: 16px;
|
||
}
|
||
|
||
.ts-mobile-icon {
|
||
width: 24px;
|
||
height: 24px;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.ts-mobile-tab-active {
|
||
color: var(--accent);
|
||
}
|
||
|
||
.ts-mobile-tab-active {
|
||
background: color-mix(in srgb, var(--accent) 18%, transparent);
|
||
}
|
||
|
||
.ts-mobile-tab-unread::after {
|
||
content: "";
|
||
position: absolute;
|
||
top: 8px;
|
||
left: calc(50% + 10px);
|
||
width: 8px;
|
||
height: 8px;
|
||
border-radius: 50%;
|
||
background: #d6403d;
|
||
}
|
||
|
||
/* Floating buttons sit above the bottom bars instead of on top of them. */
|
||
.ts-app.ts-mobile .ts-donate-fab {
|
||
bottom: calc(150px + env(safe-area-inset-bottom));
|
||
right: 12px;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-feedback-fab-wrap {
|
||
bottom: calc(150px + env(safe-area-inset-bottom));
|
||
right: 12px;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-feedback-fab-wrap-stacked {
|
||
bottom: calc(200px + env(safe-area-inset-bottom));
|
||
}
|
||
|
||
.ts-mobile-tab > * {
|
||
position: relative;
|
||
}
|
||
|
||
/* In the chat tab the floating buttons would cover the send button. */
|
||
.ts-app.ts-mobile-tab-chat .ts-donate-fab,
|
||
.ts-app.ts-mobile-tab-chat .ts-feedback-fab-wrap {
|
||
display: none;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-chat-tabs {
|
||
order: -1;
|
||
border-bottom: 1px solid var(--border-soft);
|
||
}
|
||
|
||
/* Disconnected: the header already says so, keep the panel calm and centered. */
|
||
.ts-app.ts-mobile .ts-tree-panel > .ts-tree-empty:only-child {
|
||
height: 100%;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
font-style: normal;
|
||
font-size: 16px;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
/* --- Mobile: settings dialogs as full-screen pages ------------------------ */
|
||
|
||
.ts-options-back {
|
||
display: none;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-options-dialog {
|
||
position: fixed;
|
||
inset: 0;
|
||
width: 100% !important;
|
||
max-height: none;
|
||
height: 100dvh;
|
||
border: none;
|
||
border-radius: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-options-dialog .ts-dialog-titlebar {
|
||
min-height: 56px;
|
||
padding: 0 4px 0 16px;
|
||
font-size: 17px;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-options-dialog .ts-dialog-titlebar > button:last-child {
|
||
width: 44px;
|
||
height: 44px;
|
||
font-size: 20px;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-options-dialog .ts-options-body {
|
||
flex: 1;
|
||
min-height: 0;
|
||
overflow-y: auto;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-options-dialog .ts-dialog-buttons {
|
||
display: none;
|
||
}
|
||
|
||
/* Section list */
|
||
.ts-app.ts-mobile .ts-options-dialog-nav .ts-options-sidebar {
|
||
flex-direction: column;
|
||
flex-wrap: nowrap;
|
||
width: 100%;
|
||
padding: 8px 12px calc(16px + env(safe-area-inset-bottom));
|
||
border: none;
|
||
gap: 2px;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-options-dialog-nav .ts-options-sidebar-item {
|
||
min-height: 52px;
|
||
padding: 0 12px;
|
||
gap: 14px;
|
||
font-size: 16px;
|
||
border-radius: 12px;
|
||
background: none;
|
||
border: none;
|
||
outline: none;
|
||
font-weight: 500;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-options-dialog-nav .ts-options-sidebar-item::after {
|
||
content: "›";
|
||
margin-left: auto;
|
||
font-size: 22px;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-options-dialog-nav .ts-options-sidebar-icon {
|
||
width: 34px;
|
||
height: 34px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
border-radius: 10px;
|
||
background: var(--input-bg);
|
||
font-size: 18px;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-options-dialog-nav:not(.ts-options-detail) .ts-options-content,
|
||
.ts-app.ts-mobile .ts-options-dialog-nav.ts-options-detail .ts-options-sidebar,
|
||
.ts-app.ts-mobile .ts-options-dialog-nav.ts-options-detail .ts-options-title {
|
||
display: none;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-options-detail .ts-options-back {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
min-height: 44px;
|
||
padding: 0 8px 0 0;
|
||
font-size: 17px;
|
||
font-weight: 600;
|
||
color: var(--text);
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-options-back span {
|
||
font-size: 30px;
|
||
line-height: 1;
|
||
color: var(--accent);
|
||
}
|
||
|
||
/* Other dialogs sharing this layout (server edit): tabs as a scrolling pill row */
|
||
.ts-app.ts-mobile .ts-options-dialog:not(.ts-options-dialog-nav) .ts-options-sidebar {
|
||
flex-direction: row;
|
||
flex-wrap: nowrap;
|
||
overflow-x: auto;
|
||
width: 100%;
|
||
gap: 6px;
|
||
padding: 8px 12px;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-options-dialog:not(.ts-options-dialog-nav) .ts-options-sidebar-item {
|
||
min-height: 38px;
|
||
padding: 0 14px;
|
||
border-radius: 999px;
|
||
white-space: nowrap;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-options-dialog:not(.ts-options-dialog-nav) .ts-dialog-buttons {
|
||
display: flex;
|
||
}
|
||
|
||
/* Page content: touch-sized controls */
|
||
.ts-app.ts-mobile .ts-options-dialog .ts-options-content {
|
||
padding: 16px 16px calc(24px + env(safe-area-inset-bottom));
|
||
font-size: 15px;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-options-dialog .ts-options-content select,
|
||
.ts-app.ts-mobile .ts-options-dialog .ts-options-content input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
|
||
.ts-app.ts-mobile .ts-options-dialog .ts-options-content textarea {
|
||
min-height: 44px;
|
||
font-size: 16px;
|
||
border-radius: 10px;
|
||
padding: 0 12px;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-options-dialog .ts-options-content button {
|
||
min-height: 44px;
|
||
border-radius: 10px;
|
||
padding: 0 14px;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-options-dialog .ts-options-content input[type="checkbox"],
|
||
.ts-app.ts-mobile .ts-options-dialog .ts-options-content input[type="radio"] {
|
||
width: 20px;
|
||
height: 20px;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-options-dialog .ts-options-content fieldset {
|
||
border-radius: 12px;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-options-dialog .ts-options-content label {
|
||
min-height: 36px;
|
||
}
|
||
|
||
/* --- Mobile: ☰ menu as drill-down (tap "Extras" -> only its items) ------- */
|
||
|
||
.ts-app.ts-mobile .ts-menubar-items.ts-nova-menu-panel.ts-nova-menu-panel-open {
|
||
z-index: 600;
|
||
}
|
||
|
||
.ts-app.ts-mobile:has(.ts-nova-menu-panel-open) .ts-donate-fab,
|
||
.ts-app.ts-mobile:has(.ts-nova-menu-panel-open) .ts-feedback-fab-wrap {
|
||
display: none;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-nova-menu-panel-open .ts-menubar-dropdown > .ts-menubar-item {
|
||
display: flex;
|
||
align-items: center;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-nova-menu-panel-open .ts-menubar-dropdown > .ts-menubar-item::after {
|
||
content: "›";
|
||
margin-left: auto;
|
||
font-size: 22px;
|
||
font-weight: 400;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
/* One submenu open: hide its siblings, its trigger becomes the back row. */
|
||
.ts-app.ts-mobile .ts-nova-menu-panel-open:has(> .ts-menubar-dropdown > .ts-menu) > .ts-menubar-dropdown:not(:has(> .ts-menu)) {
|
||
display: none;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-nova-menu-panel-open .ts-menubar-dropdown:has(> .ts-menu) > .ts-menubar-item {
|
||
font-size: 17px;
|
||
border-bottom: 1px solid var(--border-soft);
|
||
border-radius: 10px 10px 0 0;
|
||
margin-bottom: 6px;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-nova-menu-panel-open .ts-menubar-dropdown:has(> .ts-menu) > .ts-menubar-item::before {
|
||
content: "‹";
|
||
font-size: 30px;
|
||
line-height: 1;
|
||
margin-right: 10px;
|
||
color: var(--accent);
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-nova-menu-panel-open .ts-menubar-dropdown:has(> .ts-menu) > .ts-menubar-item::after {
|
||
content: none;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-menubar-items.ts-nova-menu-panel-open .ts-menu {
|
||
margin: 0;
|
||
padding: 0;
|
||
border-left: none;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-nova-menu-panel-open .ts-menu-item {
|
||
min-height: 50px;
|
||
padding: 0 10px;
|
||
gap: 14px;
|
||
border-radius: 12px;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-nova-menu-panel-open .ts-menu-item-icon {
|
||
width: 34px;
|
||
height: 34px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
border-radius: 10px;
|
||
background: var(--input-bg);
|
||
font-size: 17px;
|
||
flex-shrink: 0;
|
||
overflow: hidden;
|
||
}
|
||
|
||
/* Keyboard shortcuts mean nothing on a phone. */
|
||
.ts-app.ts-mobile .ts-nova-menu-panel-open .ts-menu-item-shortcut {
|
||
display: none;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-nova-menu-panel-open .ts-menu-separator {
|
||
margin: 6px 10px;
|
||
opacity: 0.6;
|
||
}
|
||
|
||
/* An open submenu takes the whole screen, its back row acts as the title bar. */
|
||
.ts-app.ts-mobile .ts-menubar-items.ts-nova-menu-panel.ts-nova-menu-panel-open:has(> .ts-menubar-dropdown > .ts-menu) {
|
||
position: fixed;
|
||
inset: 0;
|
||
max-height: none;
|
||
margin: 0;
|
||
padding: 0 8px calc(16px + env(safe-area-inset-bottom));
|
||
border: none;
|
||
border-radius: 0;
|
||
box-shadow: none;
|
||
}
|
||
|
||
.ts-app.ts-mobile .ts-nova-menu-panel-open .ts-menubar-dropdown:has(> .ts-menu) > .ts-menubar-item {
|
||
position: sticky;
|
||
top: 0;
|
||
z-index: 1;
|
||
min-height: 56px;
|
||
margin: 0 -8px 6px;
|
||
padding: env(safe-area-inset-top) 16px 0 12px;
|
||
border-radius: 0;
|
||
background: var(--bg-toolbar-1);
|
||
}
|
||
|
||
/* --- Mobile: all other dialogs ------------------------------------------- */
|
||
/* Small prompts slide up as a bottom sheet; list/admin dialogs fill the
|
||
screen. :where() keeps this below the options-dialog rules above. */
|
||
|
||
.ts-app.ts-mobile .ts-dialog-backdrop {
|
||
align-items: flex-end;
|
||
}
|
||
|
||
.ts-app.ts-mobile :where(.ts-dialog) {
|
||
width: 100% !important;
|
||
min-width: 0 !important;
|
||
max-width: none !important;
|
||
max-height: 100dvh;
|
||
box-sizing: border-box;
|
||
display: flex;
|
||
flex-direction: column;
|
||
overflow-y: auto;
|
||
overscroll-behavior: contain;
|
||
border: none;
|
||
border-radius: 20px 20px 0 0;
|
||
padding-bottom: env(safe-area-inset-bottom);
|
||
font-size: 15px;
|
||
}
|
||
|
||
.ts-app.ts-mobile :where(
|
||
.ts-client-log-dialog, .ts-server-protocol-log-dialog, .ts-ban-list-dialog,
|
||
.ts-complain-list-dialog, .ts-offline-messages-dialog, .ts-collected-urls-dialog,
|
||
.ts-contacts-dialog, .ts-identities-dialog, .ts-favorites-dialog,
|
||
.ts-file-browser-dialog, .ts-transfers-window, .ts-perms-editor-dialog,
|
||
.ts-permission-overview-dialog, .ts-whisper-lists-dialog,
|
||
.ts-whisper-history-dialog, .ts-server-icons-dialog, .ts-group-assign-dialog,
|
||
.ts-tos-dialog, .ts-connection-info-dialog, .ts-feedback-dialog, .ts-about-dialog
|
||
) {
|
||
height: 100dvh;
|
||
border-radius: 0;
|
||
}
|
||
|
||
.ts-app.ts-mobile :where(.ts-dialog) > .ts-dialog-titlebar {
|
||
position: sticky;
|
||
top: 0;
|
||
z-index: 2;
|
||
min-height: 56px;
|
||
padding: 0 4px 0 16px;
|
||
font-size: 17px;
|
||
background: var(--bg-toolbar-1);
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.ts-app.ts-mobile :where(.ts-dialog) > .ts-dialog-titlebar button {
|
||
width: 44px;
|
||
height: 44px;
|
||
font-size: 20px;
|
||
}
|
||
|
||
.ts-app.ts-mobile :where(.ts-dialog) > .ts-dialog-buttons {
|
||
position: sticky;
|
||
bottom: 0;
|
||
z-index: 2;
|
||
margin-top: auto;
|
||
flex-wrap: wrap;
|
||
gap: 8px;
|
||
padding: 10px 12px;
|
||
background: var(--bg-toolbar-1);
|
||
}
|
||
|
||
/* The scrolling list inside a full-screen dialog takes the free height. */
|
||
.ts-app.ts-mobile :where(.ts-dialog) > :not(.ts-dialog-titlebar):not(.ts-dialog-buttons) {
|
||
min-width: 0;
|
||
}
|
||
|
||
.ts-app.ts-mobile :where(.ts-dialog) table {
|
||
display: block;
|
||
overflow-x: auto;
|
||
max-width: 100%;
|
||
}
|
||
|
||
.ts-app.ts-mobile :where(.ts-dialog) button {
|
||
min-height: 44px;
|
||
padding: 0 16px;
|
||
border-radius: 10px;
|
||
font-size: 15px;
|
||
}
|
||
|
||
.ts-app.ts-mobile :where(.ts-dialog) :where(select, textarea,
|
||
input:not([type="checkbox"]):not([type="radio"]):not([type="range"])) {
|
||
min-height: 44px;
|
||
font-size: 16px;
|
||
border-radius: 10px;
|
||
padding-left: 12px;
|
||
padding-right: 12px;
|
||
box-sizing: border-box;
|
||
max-width: 100%;
|
||
}
|
||
|
||
.ts-app.ts-mobile :where(.ts-dialog) :where(input[type="checkbox"], input[type="radio"]) {
|
||
width: 20px;
|
||
height: 20px;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.ts-app.ts-mobile :where(.ts-dialog) .ts-dialog-field {
|
||
font-size: 13px;
|
||
}
|
||
|
||
/* Mobile: buttons share each wrapped row evenly; log-level filters as a chip row. */
|
||
.ts-app.ts-mobile :where(.ts-dialog) > .ts-dialog-buttons > div {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
flex: 1 1 100%;
|
||
gap: 8px;
|
||
}
|
||
.ts-app.ts-mobile :where(.ts-dialog) > .ts-dialog-buttons button {
|
||
flex: 1 1 auto;
|
||
}
|
||
.ts-app.ts-mobile :where(.ts-dialog) .ts-dialog-row {
|
||
align-items: stretch;
|
||
}
|
||
.ts-app.ts-mobile .ts-log-level-row {
|
||
display: flex;
|
||
flex-direction: row;
|
||
flex-wrap: wrap;
|
||
justify-content: flex-start;
|
||
gap: 6px 14px;
|
||
}
|
||
.ts-app.ts-mobile .ts-log-level-row > .ts-dialog-checkbox {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
margin: 0;
|
||
}
|