Files
client/docs/evidence/official-parity/ts6spec-shell.md
T
omar ceecbb790a docs: record source parity evidence and remaining acceptance gaps
Document accumulated interoperability findings and current source-backed design. Record build-specific visual results, matched acceleration policy, passing packaged behavior checks, and explicit native/ARM and strict visual acceptance limits. No complete 1:1 claim.
2026-11-01 19:47:52 +03:00

41 KiB
Raw Blame History

TS6 6.0.0.5163 — Window shell spec (sidebar, panes, headers, toolbar, footer, resize, base)

Scale: Medium (main.css :root defaults; windowLayout.reloadWindowScale() loads no override for Medium, main.js@~1274356). Theme modules: DARK = main.js@92422, LIGHT = main.js@201685. The light module repeats every dark component rule at identical offsets, then adds a light :root block (@201685@109157) and a few light-only rules (@201685@115487…117006). So component rules are identical in both themes; only tokens differ unless noted. Theme-module rules load after main.css, so they win at equal specificity.

Abbreviations: D = dark value, L = light value. css@N = main.css@N, js@M@N = theme module string.


0. Token values used below (resolved)

token D L
--tsv-bg #2b3346 #f5f5f5
--tsv-shaded-bg #222A3C rgb(235,235,235)
--tsv-header-bg #1C2539 = shaded-bg rgb(235,235,235)
--ts-new-header-bg #121A2C = shaded-bg rgb(235,235,235)
--tsv-side-bar-bg-gradient-bottom #1D2537 = bg #f5f5f5
--tsv-deviant-bg #1E2538 #d3d5de
--presence-separator-presence #171C2A = deviant #d3d5de
--strong-bg #0B1124 = contrast-bg #C9D9E5
--tsv-contrast-bg #0C1326 #C9D9E5
--tsv-font-color #FFFFFF (final merged value; first block says #E0E0E0, later block js@92422@7412 sets #FFFFFF) #1a1a1a
--tsv-item-title-color #E0E0E0 #202020
--tsv-font-subtitle-color #697A97 #445d77
--tsv-tint / tint2 #1588FA / #1588FA #5DA1CB / #22658f
--tsv-error-color #CC3838 rgb(223,15,15)
--tsv-error-light-color rgb(255,130,130) rgb(218,77,77)
--tsv-scrollbar-bg #0B111D #b3b3b3
--tsv-separation-border-color #1D1F20 rgb(189,189,189)
--tsv-contrast-color #F5F6F6 #474747
--tsv-item-selection = shaded-bg = shaded-bg
--tsv-shaded-item-selection = bg (but = deviant inside .tsv-activities) same rule
--tsv-icon-base = font-color #494949

Scale tokens (Medium): font 15/lh19, content 14/18, small 13/15, minimal 13/14, large 16/19, title-small 24/28; weights normal 450, semibold 600, bold 700; row xlarge 52, large 44, row 24 (sidebar overrides to 28, see §2), small 20, minimal 16; padding-h large40/20/small10/minimal5; padding-v large16/8/small4/minimal2; bar 36; bar-element 26; control 22; radii xxxl20/xxl15/xl10/large8/4/small2; icons 22 (small16, large33, xlarge55); pill radius 100px; scrollbar 8px. Header window-bar height = row-height-large 44px; content-header height = 16+55 = 71px; .tsv-has-content-header header height = 44+71 = 115px (css@65439, themes.txt).


1. Frame / 3-pane layout

DOM (render@3035185, main.js@~3035625)

#app
 div.tsv-window [windowClasses] {is-fullscreen-presented}
   v-tour
   SidebarArea.sidebar-pane-layout {tsv-flex-grow: !showActivity}   props: showWindowControls=showSidebarOnly, collapsed
   div.tsv-view.tsv-activity  (inline style contain: layout size paint style)
     ContentView#main-content-slot.tsv-activity-main.tsv-activity-primary.main-pane-layout {tsv-flex-grow: no detail, tsv-activity-overlaid}
        props: showWindowControls = !showDetailContent, showCentralTools = true, masterContent = !showSidebar
        ResizeHandle (left anchor; resizes SIDEBAR slot; info button = collapse sidebar)
     ContentView.tsv-activity-detail.tsv-flex-grow {tsv-activity-secondary: showMainContent, tsv-activity-primary: !showMainContent}
        props: showWindowControls = true, showCentralTools = !showMainContent || !windowLayout.showLeftSlot, detailContent
        ResizeHandle (left anchor; resizes MAIN slot; no info button)
     transition > div.ts-activity-slideover-container.tsv-view > ContentView.tsv-activity-slideover (+ResizeHandle shouldDisplayGrabber)
     .ts-activity-slideover-edges-container …
   portal-target.screenshare-fullscreen-host
   div.tsv-modal-overlay.root / ts-first-launch / TSFullscreenOverlay

Consequence for a connected SERVER with channel chat: toolbar pill lives in the main (server-tree) pane window bar; caption buttons live in the detail (chat) pane window bar, right end. (main.js@3036095, @3037081)

Pane sizes (windowSlots main.js@1273206; injected stylesheet main.js@1277886–1278839)

slot default min max notes
sidebar (.sidebar-pane-layout) 270px flex-basis 62px (Small 52, Large 72) 420 collapseAt:200 → collapses to min (62px rail)
main (.main-pane-layout) 500px flex-basis 220 —
detail grows (size 0) 295 — .tsv-flex-grow
Injected: .sidebar-pane-layout{flex-basis:Npx;min-width:62px}, .main-pane-layout{flex-basis:Npx;min-width:220px}, body{--tsv-window-sidebar-width:Npx (0 if popup/hidden); --tsv-window-main-width:Npx}.
At 1280×900: sidebar 270 main 500 detail 510 (=1280−770) [INFERENCE: arithmetic, assumes no persisted user sizes].

ContentView size categories by pane width (main.js@2966672): <440 tsv-view-size-category-h-compressed, ≥440 minimal, ≥800 small, ≥1000 regular, ≥1200 large, ≥1400 xlarge, ≥1800 xxlarge. At default: main 500 → minimal, detail 510 → minimal. Class applied on .tsv-view via viewClasses (+ tsv-has-content-header when content's showContentHeader ≠ false).

Frame CSS

element property D L src
html,body font-size 15px; height 100%; overflow hidden css@1044
body background var(--tsv-bg); color font-color; user-select none #2b3346 / #FFF #f5f5f5 / #1a1a1a css@59544
.tsv-window position fixed inset 0; display flex; background --tsv-bg; zoom 1; -webkit-app-region no-drag #2b3346 #f5f5f5 css@60153
.tsv-window:after absolute inset 0, pointer-events none, z 1000000 (overlay layer, no paint) css@60288
.tsv-sidebar flex 0 0 (basis 240 overridden by injected 270); z-index 1; contain layout style paint size; backface hidden css@65094
.tsv-view flex column; max-height 100%; min-width 0; position relative css@65247
.tsv-activity flex-direction row !important; flex-grow 1 css@60433
.tsv-activity-main flex-basis 320 (overridden by injected 500); grow 0 css@60493
.tsv-activity-primary border-left: main.css 1px separation → theme: none none none css@93369 → js@13407
.tsv-activity-primary/.secondary contain layout size paint style; backface hidden css@93456
.tsv-body flex-grow 1; min 0 css@66658
.tsv-body-background (generic/main pane) background --tsv-bg; --body-bg bg; --body-bg-contrast shaded #2b3346 #f5f5f5 css@90047
.tsv-activity-secondary .tsv-body-background (detail pane when main shown) background --tsv-shaded-bg #222A3C rgb(235,235,235) css@90507
.tsv-activity:not(.secondary) --tsv-subtle-highlight-bg-color: shaded-bg css@490439

Rounded top-left corner of main content (js@92422@12406)

.tsv-activity-main .tsv-header>.tsv-window-bar::after: --radius: var(--main-content-top-corner-radius, 10px), --smoothing:.5px; absolute; bottom .5px; left −.5px; 10×10px; background --ts-new-header-bg (D #121A2C, L rgb(235,235,235)); transform translateY(100%) (hangs below the window bar at the pane's left edge); z 1; mask: radial-gradient(circle at 100% 100%, transparent 0, transparent calc(10px − .5px), white 10px). Effect: an inverse 10px fillet in header colour, so the main pane's content area (below the 44px window bar) appears to have a 10px rounded top-left corner cut into the dark header/sidebar colour. .tsv-activity-main .tsv-header{z-index:3}, >.tsv-window-bar{z-index:2} (js@12285, @12342). --main-content-top-corner-radius is never set in the extracted CSS [see UNRESOLVED].

Loading overlay (index.html)

#ts-app-loading-overlay: absolute 100vw×100vh, background #1c2537, flex centered, transition: opacity .2s ease, font stack -apple-system, BlinkMacSystemFont, 'Segoe UI Variable Fixed', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, emoji; antialiased. Content: .ts-loading-view-content svg.tsv-icon-teamspeak-logo 200×200px. Same in both themes (static HTML).


2. Sidebar (SidebarArea, render@2960759, main.js@2960769)

DOM

div.tsv-sidebar.tsv-view {tsv-sidebar-collapsed, tsv-sidebar-detailed}
  CentralHeader.tsv-sidebar-header  (= div.tsv-header.tsv-highlight, render@2842645)
    div.tsv-bar.tsv-title-bar            (row 1)
    div.tsv-bar (ref searchRow)          (row 2: search/location bar)
  div.tsv-body.tsv-body-background.tsv-flex-vertical.tsv-sidebar-content {hasOverlay, tsv-scroll-area-v: !activitiesFixedSize, tsv-has-scrollbar}
    ResourcesGroup {ts-resources-group-fixed-size}   (stack[0]: activities list, render@2861562/2808254)
    div.tsv-mar-t.ts-join-community.tsv-pad-h-small > p.tsv-font-subtitle.ts-join-community__text "dashboard.create_community.info" + TSButton "dashboard.create_community.action"
    div.resources-section-container.tsv-flex-grow > transition > Resources.resources-section
  div.tsv-footer
    div.tsv-bar
      TSPresenceV.tsv-flex-grow.tsv-no-padding   (collapsed, detailed; render@2881714)
      ts-connection-selector                      (ONLY when debugMode)
      div.tsv-bar-item.tsv-action-subtle {active: settingsVisible}  ts-icon Settings   (hidden when collapsed; tooltip "universal.settings", placement bottom, delay show 1000)

Sidebar-scoped var: .tsv-sidebar, .tsv-activity-secondary, .ts-stream-viewers { --tsv-row-height: calc(26px + 2px) = 28px } (js@11250). .tsv-sidebar-header{z-index:110} (css@418456).

Sidebar backgrounds

area D L src
header (.tsv-highlight.tsv-header) background #121A2C (ts-new-header-bg); ::before display none; border-bottom none rgb(235,235,235) js@10803, @10891 (overrides honeycomb/hex mask css@93792/93877)
body (.tsv-sidebar .tsv-body-background) linear-gradient(to bottom, #121A2C, #1D2537) linear-gradient(to bottom, rgb(235,235,235), #f5f5f5) js@10938
footer (.tsv-sidebar .tsv-footer:not(.transparent)) background-color #1D2537; border-top none #f5f5f5 js@11881
footer separator ::before absolute top 0, left 20px, right 20px, border-top 3px solid #171C2A 3px solid #d3d5de js@12066 (beats generic .tsv-footer::before{left:0;right:0;border-top-color:shaded} js@11530 by specificity)
item highlight in sidebar --tsv-shaded-item-selection (= bg #2b3346) ; inside .tsv-bar: item-selection (#222A3C) #f5f5f5 / rgb(235) css@92118, @92308
cards in sidebar contrast-bg css@25075

2a. Sidebar header (CentralHeader, main.js@2842459–2846691)

Header .tsv-header: flex column, flex-basis var(--tsv-header-height)=44, shrink 0, justify space-evenly, -webkit-app-region: drag (actions no-drag) (css@65555, @65870). Header colour = --tsv-header-font-color (= font-color).

Row 1 .tsv-bar.tsv-title-bar: min-height 71px (css@67265); .tsv-bar = flex, align stretch, justify space-between, padding 0 10px (css@67029). Children in order (Windows, not compact):

  1. .tsv-bar-item.tsv-action (data-v-step 3) > .tsv-magnify > [ts-pulsing-badge if unseen notifications] + ts-icon Notifications (22px) — opens notification center.
  2. if !showWindowControls && appearance.show_header_logo: .tsv-bar-item.tsv-action.tsv-no-padding.ts-title-logo > ts-icon TeamSpeakLabel 125×32; click toggles dashboard. .ts-title-logo{--tsv-icon-tint:#0353F4} (js@12229). Light only: .tsv-highlight .tsv-title-bar{--tsv-icon-base: rgb(18,77,119); --tsv-icon-tint: same} (js@201685@116137).
  3. .tsv-bar-item > .tsv-icon empty 22px spacer.
  4. if showWindowControls (sidebar-only layout): .tsv-flex-grow + CentralWindowItem (caption buttons, §5). macOS (window.os==="macos") swaps: spacer first, bell later; never shows CentralWindowItem. Compact layout inserts CentralToolbarItem.ts-match-collapsed-sidebar-spacing (margin-left 20+1px, css@390852). Collapsed (62px rail): title-bar contains only the Notifications action (or spacer on mac).

Row 2 .tsv-bar (min-height 36, padding 0 10) > .tsv-bar-item.tsv-no-padding.tsv-flex-grow >

  • normal: div.tsv-search-bar {tsv-active} > [collapsed only: .tsv-search-bar-item.tsv-action-subtle.left ts-icon MainMenu, tooltip "Main Menu"] + (not collapsed) input.tsv-search-input placeholder sidebar.search.placeholder.
  • when showing current item: div.tsv-location-bar > ContentItemCell.tsv-flex-grow + .tsv-search-bar-item.tsv-action-subtle.right ts-icon MainMenu {active: settingsVisible}.
  • .tsv-location-navigator.tsv-scroll-area-v (dropdown of ResourcesActivities) when location bar active; .tsv-location-response toast.
search bar prop value src
background (sidebar) --tsv-deviant-bg: D #1E2538, L #d3d5de js@11477 (base css@388684 contrast-bg)
border-radius 100px pill js@13740
input transparent, font 13px (small), height 26−2·2 = 22px, padding 0 10px, no outline, color font-color, border none css@389157, @389020
placeholder text-align left; color subtitle (D #697A97, L #445d77) js@13815
search-bar-item icon margins 10px both; .left icon margin-right 5; .right icon margin-left 5 css@388749–388943

2b. Activities list (module 6528, render@2808254) and resources groups (render@2861562)

div.tsv-activities {is-empty}
  div.tsv-list
    p.ts-style-caption (search results caption) + ul > ContentItemCell {highlighted, muted}
  div.tsv-list (per opened activity group)
    div.tsv-activity-group
      TSSidebarTabHeader                 (render@3051719)
      ul.tsv-activity-group-list {is-drop-zone, is-drop-zone-active}
        li > ul.tsv-item-group {has-children: >1}
               ContentItemCell.tsv-item-accessory-clearance {muted}  (+ TSButton.tsv-action-subtle accessories)
  div.tsv-clearance-h.tsv-subtitle.ts-activities-placeholder "sidebar.activities.placeholder"   (theme: display:none, js@13348)
  p.ts-style-caption "sidebar.activities.recent"   + ul > ContentItemCell
  p.ts-style-caption "sidebar.activities.spotlight" + ul > ContentItemCell

ContentItemCell inner (render@3071385): div.tsv-item-container {tsv-editor, tsv-item-multiline, tsv-item-detailed, tsv-item-no-image} > .tsv-item-ambient-background > .tsv-item-content.tsv-item-content-primary > ts-icon-stack.tsv-icon-primary {tsv-icon-large: detailed} + .tsv-item-text.tsv-flex-grow > .tsv-text-truncate + span.tsv-item-badge-count + .tsv-item-text-detail.tsv-text-truncate + .tsv-item-accessory. TSSidebarTabHeader: VTooltip.tsv-sidebar-tab-header > .tsv-item > .tsv-item-container > .tsv-item-content > .tsv-item-text.tsv-flex-grow > span.tsv-sidebar-tab-header-title.tsv-text-truncate + .tsv-item-accessory.tsv-sidebar-header-accessories (+ compact variant .tsv-item-container.ts-font-small > .tsv-item-content.tsv-sidebar-header-content > .tsv-sidebar-tab-header-symbol {tsv-action}).

Activities CSS (selector prefix .tsv-activities:not(.tsv-location-navigator .tsv-activities) unless noted):

element property value (D / L) src
.tsv-activities, .tsv-item-group, .tsv-resize-area-container redefine --tsv-bg and --tsv-shaded-item-selection = deviant #1E2538 / #d3d5de js@13483
.tsv-item (generic) display flex; padding-left/right 20px; position relative; contain layout style css@71550
.tsv-item (activities) min-height 44px js@14046
.tsv-item:not(:last-child) margin-bottom 4px js@14323
.tsv-item .tsv-item-highlight display block (always), radius 8px; inset top/bottom 2px, left/right 10px (css@74134); background --tsv-shaded-item-selection = deviant #1E2538 / #d3d5de js@14176, css@92118
group: .tsv-item-group.has-children padding-bottom 4px js@14454
group items' own highlight display none js@14593
group background ::before deviant bg, border none, radius 8, left 10px (css@362260), right 10px, top/bottom 2px, width unset, z unset #1E2538 / #d3d5de js@14691
group child rows (not first) min-height 28px (sidebar row-height) js@15347
group child separator ::before (not first-of-type) 1px line, top −5px, left 8+44 = 52px, right 2+44 = 46px, color ts-new-header-bg #121A2C / rgb(235) js@14955
.tsv-item-active-indicator display none js@15468
accessory tool-buttons padding 0 5px; ::before pill 22px tall, centered (top 50%, translateY −50%), left/right 0, background --tsv-bg (= deviant here), radius pill, opacity 1 js@15580, @15772
accessory local-mute active --tsv-icon-tint: error js@16081
accessory icons when row not hovered --tsv-icon-base: subtitle (D #697A97, L #445d77) css@361527
group item tool-buttons margin-right 5px css@361628
.tsv-activity-group:first-child margin 4px 0 0 0 css@361909
.tsv-activity-group .tsv-sidebar-tab-header .tsv-item-container margin 4px 0; min-height 16px css@362013
.tsv-activity-group-list margin 0 !important css@362135
.tsv-sidebar-tab-header padding 0 10px css@258503
.tsv-sidebar-tab-header-title color subtitle; line-height 19px css@258407
.tsv-sidebar-header-accessories --tsv-icon-base tint2; gap 5px; margin-right 10px; .background: bg tsv-bg, radius 20, padding-left 4; disabled accessory opacity .5 css@258630–258867
.tsv-sidebar-tab-header-symbol --tsv-icon-base subtitle css@258982
.ts-style-caption color subtitle; 13px / 15px css@55645
.tsv-list .ts-style-caption margin 4px 10px css@70770
.tsv-list ul margin-top 4px css@70539
.tsv-sidebar-content hr margin 8px 20px css@419074
.tsv-sidebar .tsv-resize-area-container margin 8px 0 js@13908
.tsv-sidebar .tsv-body-background .tsv-tabs margin-top 8px; ::before bg tsv-bg js@11162, @11093
.highlighted (search hit) background tsv-bg css@361683

Generic item text: .tsv-item-container flex column, grow, min-height row-height (28 in sidebar) (css@76275); .tsv-item-content flex, align center, z 1 (css@76438); .tsv-item-text margin-left 10px, flex row (css@72310); .tsv-item-text-detail 13px, margin-left 5, colour subtitle, shrink 1e6 (css@72422, @88711); .tsv-text-truncate ellipsis nowrap (css@73400); primary icon 22×22 (--tsv-icon-size × --tsv-icon-scale, css@111475); detailed → .tsv-icon-large 33×33. Font: inherits #app 15px weight 450 (see §8). Badge .tsv-item-badge-count: bg tint, radius 10, colour contrast-bg, 13px, bolder, margin 0 5, padding 0 5 (css@72950). Muted rows: text subtitle colour; images grayscale(100%) brightness(50%) (css@71140, @71501). Disabled .tsv-item.disabled opacity .4 (css@71932). Hover reveal: .tsv-reveal-on-hover opacity 0→1, transition visibility .1s linear, opacity .1s ease-out (css@76761–76928). Hover on .tsv-action scales .tsv-item-content>.tsv-icon 1.15, transition: transform .1s ease-out (css@102206, @102623).

Resources group tabs (render@2861562): .tsv-bar.tsv-tabs.tsv-tabs-slim (bg transparent, margin 5px 0 0 0, css@398266) with .tsv-tab-item.tsv-bar-item icons (.tsv-icon-base-third-color) + .tsv-bar-item-title-container (colour --ts-third-font-color, css@398102; title 13px margin 0 5, css@398703); active tab in sidebar background --tsv-tab-item-active (css@91435). [Detailed resources rendering is outside this region.]

2c. Collapsed rail (.tsv-sidebar-collapsed, width 62px)

  • Title row: only Notifications action; search row: only MainMenu icon (.left), no input (main.js@2845191–2845691).
  • Footer settings button not rendered; presence cell gets collapsed:true.
  • .ts-join-community hidden (css@422348); .ts-expander .label hidden, expander centred margin 0 5px (css@48318, @421568); call cell actions/duration hidden (css@185653).
  • Badges: .tsv-item-badge-count transparent bg, colour tint, margin/padding 0, translateX(−50%) (css@420203).
  • .tsv-tabs-slim .tsv-bar-item:first-of-type margin-left 0, padding 0 10 (css@420360).
  • Scroll: .tsv-scroll-area-v overflow-x hidden / y auto; thumbs hidden unless .tsv-sidebar-collapsed:hover (css@420453, @421899, @422061).
  • With scrollbar: active-indicator mirrored to left; activity text absolutely positioned at left −(10+4)=−14px; highlights right 0; bars/tab headers padding-right 10−8 = 2px (css@420574–421464).
  • .tsv-footer: flex column, flex-basis --tsv-bar-height, shrink 0, justify space-evenly, position relative, z 10 (css@66707). Theme sets .tsv-footer{--tsv-bar-height: 55px} (icon-size-xlarge; js@13578) → footer and its .tsv-bar min-height 55px.
  • .tsv-footer .tsv-action-subtle{--tsv-icon-base: subtitle} (js@11660) → settings gear D #697A97 / L #445d77; hover --tsv-icon-base: icon-tint2 (D #1588FA / L #22658f) (css@102771); .active (settings open) → icon base tint (css@108016–108288).
  • TSPresenceV root div.tsv-bar-item.tsv-loading-no-delay (+ .tsv-flex-grow.tsv-no-padding). Always useDetailedItem = true (main.js@2877435) → primary icon .tsv-icon-large 33px with .tsv-sidebar-detailed …tsv-item-detailed .tsv-icon-primary{margin-left: −5.5px} (css@422158) [applies only when sidebar has tsv-sidebar-detailed].
  • State machine (first match wins):
    1. uninitialized → TSListSimpleCell.tsv-item-subtle "universal.loading" (Loading icon)
    2. requiresSetup → TSListSimpleCell .tsv-is-constructive "setup_chat.title" icon GetStarted (colour accept #13F78D / rgb(5,177,71), css@79222) — click setupChat
    3. centralHomebaseUnavailable → .tsv-item-subtle "contactlist.status.chat_unavailable" (ItemEmpty) + tooltip
    4. disconnected → .tsv-item-subtle displayName = own user name or "universal.disconnected", icon ChatContact, + TSButton ConnectionLost/ConnectionReconnecting {tsv-icon-flashing}
    5. connecting / no user → .tsv-item-subtle "universal.connecting" (Loading)
    6. normal → ContentItemCell.tsv-flex-grow (item = chat own user; editor placeholder = status message or "presence.custom_status"; max 100 chars; click = presence menu, right-click = edit status) + TSButton.tsv-action-subtle.tsv-reveal-on-hover ChangeNickname + [ConnectionReconnecting] + [Loading .ts-server-presence-loading | ServerGlobal .ts-has-server-presence]. .tsv-item-subtle .tsv-item-text: subtitle colour, 13px (css@89237). Presence dots: .has-presence 10px dot (14px large, 8px small), border 1px (2px large) in outline = tsv-bg; colours online #17f78d (L rgb(1,192,11)), away #FF8B04 (L rgb(247,84,19)), dnd error (js@7170, @106674–108079).
  • Account note: states 2–6 are all myTS-chat driven. [For an account-free client the only states that do not imply cloud chat are 1/2; which to emulate is a product decision — see UNRESOLVED.]

3. ContentView header (render@2975910, main.js@2975982–2978408)

DOM

div.tsv-view [viewClasses: tsv-has-content-header?, size category]
  (masterContent ? CentralHeader : )
  div.tsv-header {unrelated, tsv-header-floating, tsv-floating-background}
    [shouldShowWindowBar = showCentralTools || showWindowControls || showBackButton]
    div.tsv-bar.tsv-window-bar (style transform: translateZ(0))
      showBackButton && !contentHeader ? div.tsv-bar-item.tsv-action > ts-icon NavigationBack
                                       : div.tsv-bar-item > div.tsv-icon        (22px spacer → 42px wide)
      showCentralTools ? CentralToolbarItem.tsv-no-padding (data-v-step 1)
      div.tsv-flex-grow
      showWindowControls && !mac ? CentralWindowItem
    [shouldShowContentHeader]
    div.tsv-bar.tsv-content-header-bar.tsv-header-bar-below-tools
      [back] div.tsv-bar-item.tsv-action > NavigationBack
      div.tsv-bar-item.tsv-flex-grow.left.tsv-no-padding > ul.tsv-flex-grow > ContentItemCell.tsv-no-padding.tsv-content-header-item.tsv-show-animated-icon {muted}
      div.tsv-bar-item.tsv-flex-fixed > ToolButtons(display-bar, headerTools)
      [modes>1] div.tsv-bar-item.tsv-flex-fixed > SegmentedControl (preset limited, tooltips)
    div.ts-horizontal-separator
  [showNavigationBar] div.tsv-bar.tsv-bar-navigation (back | SegmentedControl | ToolButtons)
  div.tsv-body.tsv-flex.tsv-body-background {tsv-needs-safe-area}
    div.tsv-header-backdrop, NotificationsOverlay.tsv-clearance-small, TSBackgroundHexes (hidden by theme js@13348), TSEvictableKeepAlive > .tsv-item-view.tsv-view-transparent
element property D L src
.tsv-header border-bottom: main.css 1px separation → theme none css@88147 → js@12844
.tsv-header::before absolute inset 0; default bg header-bg css@65742, @88244
main pane header ::before (.tsv-activity-primary) background-color --tsv-bg #2b3346 #f5f5f5 js@35090
detail pane header ::before (.tsv-activity-detail) background-color --tsv-shaded-bg #222A3C rgb(235,235,235) [light: main.css .tsv-activity-secondary .tsv-header:before{background: shaded-header-bg} is a gradient linear-gradient(to bottom, rgb(243,243,243), rgb(220,220,220)); theme only sets background-color so the gradient image stays on top — INFERENCE from cascade] js@35204, css@90823
.tsv-window-bar background-color --ts-new-header-bg; min-height 44px; padding 0 10 #121A2C rgb(235,235,235) js@35522, css@67352
.tsv-content-header-bar min-height 71px css@67443
.tsv-header-bar-below-tools:before display none (theme) js@13277
.tsv-content-header-item font 24px/28px bold (700); primary icon size round(1.15×33)=38px, portrait round(1.15×57)=66px js@35588, @35761
content-header item highlight bg shaded-item-selection, top/bottom/left 0 css@422982
.ts-horizontal-separator height 4px; bg --horizontal-separator-color = header-bg; theme margin 0 20px; width calc(100% − 40px); z 1 #1C2539 rgb(235,235,235) css@253716, js@35446
.tsv-header.unrelated flex-basis 71; ::before bg tsv-bg; separator bg shaded, absolute bottom 0 css@65919, js@35272, @35344
.tsv-header.tsv-floating-background backdrop-filter none; ::before opacity 1 js@13167, @13232
.tsv-header-floating absolute top/left/right 0, z 1000 css@66539
.tsv-header-backdrop absolute top 0, height header-height, pointer-events none; in secondary/sidebar bg tsv-bg; primary bg tsv-bg; detail shaded css@65991, js@35090, @35204
.tsv-bar-navigation bg contrast-bg; items 30/40/30% css@89732–89986
Window-bar total heights: main pane with no content header = 44px window bar only [whether the SERVER activity sets showContentHeader:false — see UNRESOLVED; the server tree renders its own TSServerHeader banner below].

3a. Central toolbar (CentralToolbarItem, render@2824431, main.js@2817536–2824452)

div.tsv-bar-item.tsv-no-padding.tsv-central-toolbar
  tool-buttons {tsv-bar-compact}  buttons=[awayButton]                      ← NOT in pill
  tool-buttons.tsv-central-toolbar-buttons {tsv-bar-compact} buttons=[captureButton, playbackButton, (+screenshareButton if outbound streams)]

tool-buttons root: div.tsv-tool-buttons.tsv-bar-item.tsv-no-padding.tsv-flex-fixed > per button div.tsv-tool-button.tsv-bar-item.tsv-item-action[classForButton] > .tsv-tool-button-icon-container.tsv-magnify {tsv-icon-badge} > ts-icon.tsv-icon-no-animation (22px; small/large only if button flags) + optional .tsv-tool-button-title.tsv-item-text + optional .tsv-tool-button-context-menu-toggle (16px wide, height 22+4=26; icon small expander) + span.tsv-badge-count (render@3101891, main.js@3101941–3103238).

Buttons, order left→right:

# button icon (normal / muted) classes title key → EN / RU src
1 Away (separate group) Away active: awayState; tsv-small-padding-left away.toggle.menu.title → "Toggle Online Status" / "Изменить онлайн-статус"; opens away menu (render@2814465) main.js@2818764
2 Microphone (pill) microphone / microphone-slash active: inputMuted && !hardware; hardware-muted; tsv-small-padding-right toolbar.toggle.microphone → "Toggle Microphone" / "Включить/выключить микрофон" main.js@2821383
3 Speakers (pill) speaker / speaker-slash (slash when muted for current) active: outputMuted && !hardware; hardware-muted toolbar.toggle.speakers → "Toggle Speakers/Headphones" / "Переключить динамики/наушники" main.js@2822431
4 Screenshare pause-all (pill, only while streaming) — — — main.js@2817536
Tooltip on 1–3: toolbar.toggle.quick.tooltip = "Click: all\n{alt}+Click: current\nSHIFT+Click: other except current" / "Клик: все\n{alt}+клик: текущий\nSHIFT+клик: все, кроме текущего"; delay show 500ms; popperClass ts-tooltip ts-center. Click/Alt/Shift = all / current / all-except-current.

Padding per button (classForButton main.js@3099299–3099800; allowPadding true here): every tool-button gets tsv-no-padding-left (0 !important) unless overridden; base .tsv-bar-item padding 0 10px. Away: tsv-small-padding-left (10 !important, declared later at css@69894 so wins over no-padding-left css@69769) → 10 | 10. Mic: left 0, tsv-small-padding-right 10 → 0 | 10. Speaker: 0 | 10. Icon 22px → each pill button ≈ 32px wide [INFERENCE: if no context-menu toggle is visible; hasContextMenu flags for mic/speaker not confirmed].

pill CSS value src
.tsv-central-toolbar-buttons height 26px; position relative css@378658
.tsv-header .tsv-central-toolbar-buttons padding-left 10px, padding-right 20px js@12904
::before (pill) absolute inset 0; background --tsv-bg (D #2b3346, L #f5f5f5); radius 100px; opacity 1; mask none (overrides main.css contrast-bg, radius 4, opacity .6, gradient mask) js@13028, css@378749
tool-button (in pill) position relative js@36026
separators .tsv-tool-button:not(:last-child)::after content ""; absolute; width 1px; height calc(100% − 4px); margin 2px 0; right calc(.5·10 − 1) = 4px; background --strong-bg (D #0B1124, L #C9D9E5) js@36427 + @36775
icon states normal icon-base = font-color (D #FFF, L #494949); .active → base = icon-tint (D #1588FA, L #5DA1CB); .hardware-muted .tsv-icon-audio-*-muted base error, error-glyph font-color css@108016–108528, @411128
hover .tsv-magnify children scale 1.15, transition all .1s ease-out (only if .tsv-action, i.e. hasAction) css@101725, @101862
disabled .tsv-is-disabled/.tsv-action.disabled opacity .5 css@101574
context toggle icon base contrast-color, hover tint, open tint2 css@184626–184923
badge dot .tsv-icon-badge:after 6×6, radius 4, bg error, top 2 right 2 css@95811
.tsv-tool-button app-region no-drag; pointer-events none unless .tsv-action/.has-tooltip css@184092, @184196

4. ResizeHandle (render@3049567, main.js@3049594–3050615; CSS scope data-v-5811607b)

  • div.tsv-resize-handle {tsv-active, tsv-resize-handle-<anchor>} default anchor left. Children: grabber (only with shouldDisplayGrabber, used by slideover), .resize-handle-vertical (top/bottom anchors only), .tsv-resize-handle-info.tsv-flex-center.tsv-action.tsv-action-subtle > ts-icon.tsv-icon-small (16px) NavigationForward when collapsed else NavigationBack — shown only on the main pane handle when !showSidebarOnly && (!collapsed || canExpandSidebar); click = collapse/expand sidebar.
prop value src
hit area position absolute, z 100, top/bottom 0, width 9px, left −5.5px (straddles pane edge), cursor col-resize css@390964, @391436, @391701
::before block, 100%×100%, transparent css@391251
active (dragging) ::before background --active-color-1 = icon-tint (D #1588FA, L #5DA1CB), opacity .5 css@392731
info pill absolute, left 50%, bottom 50%, width 13px, height 36px, bg contrast-bg (D #0C1326, L #C9D9E5), radius 4, colour tint2, 13px, opacity 0, transition: all .2s css@392816
info on handle hover/active margin-left 5px, opacity 1 css@393323
destructive variant active colours error-light / error css@391122
grabber (slideover only) 2×60px, bg active-color-1, radius 4, top calc(50% − 30 − 36), arrows 12px at ±10px css@391993–392666
No visible divider line at rest between panes (border-left removed, js@13407) — panes are separated only by background colour difference.

5. Window caption buttons (CentralWindowItem, module 60193, main.js@2798916–2800060, scope 11a6f863)

div.tsv-bar-item.tsv-no-padding           (css .tsv-window-controls{align-self:flex-start} exists, css@380074)
  div.tsv-bar-item.tsv-action-subtle  @click window.minimize()  ts-icon WindowMinimize
  div.tsv-bar-item.tsv-action-subtle  @click window.maximize()  ts-icon WindowMaximize
  div.tsv-bar-item.tsv-action-subtle  @click window.close()     ts-icon WindowClose

Rendered inside the window bar (44px tall) of: detail pane (always when present), main pane (when no detail), sidebar header title row (sidebar-only layout). Not rendered on macOS. Each: bar-item padding 0 10px + 22px icon = 42px; total 126px; icon base font-color (D #FFF, L #494949), hover icon-base tint2 (css@102771). No hover background, no red close hover in source [INFERENCE: none found in extracted CSS].


6. Generic primitives

class properties src
.tsv-bar flex, align-items stretch, justify space-between, min-height 36, min-width 0, padding 0 10 css@67029
.tsv-bar-item flex, align center, justify center, min-width 0, padding 0 10, relative; .left flex-start, .right flex-end; -compact 0 5 css@68572, @68609–69050
.tsv-bar-compact items first pr 5; middle 0 5; last pl 5 css@67627–67863
.tsv-bar-large padding 0 20, min-height 44 css@67920
.tsv-no-padding padding-left/right 0; inner .tsv-item padding 0 10; highlight left/right 0 css@69480–69654
.tsv-item-highlight / -extra absolute, display none, top/bottom 2, left/right 10, radius 4, z −1, pointer-events none; bg item-selection (shaded) css@74134, @88626
shown when .tsv-item:hover, .tsv-selected, .tsv-item-selected, .tsv-item-blocked (.5 opacity, z 10); hidden for :hover.disabled css@74548–74719
.tsv-item-active-indicator 0×0 triangle, border 10px transparent, border-right-color tint, right 0, top 50% translateY(−50%); :after 9px border-right-color tsv-bg offset (−10−1px, −10.6−1px); secondary variant: 6×6 dot tint radius 4 right 4 css@74760, @74901, @94060–94384
.tsv-action cursor pointer; .tinted icon tint2; .disabled opacity .5 no events; icon-frame groups scale 1.2 staggered 0/.04/.08/.12s css@101486–101574, @100882–101415
.tsv-action-subtle cursor default; hover icon-base → icon-tint2; .disabled opacity .5; .active:hover primary-active tint2 css@102664–102837, @108627
.tsv-action-highlight:hover radius 4, box-shadow 0 0 0 1px tint css@103822
.tsv-is-constructive / -destructive colour & icon = accept / error-light css@79222, @79424
.tsv-subtitle subtitle colour, 13px, margin 0, padding 8px 20px 0, centered css@361722
.tsv-font-subtitle subtitle colour 13px; .tsv-font-highlight tint; .ts-font-muted subtitle css@78779–79093
headings h5 16/19, h6 15/19, both weight 450; strong / .ts-font-bold 700 (css@1115 sets 600 earlier, overridden) css@53921–54050, @54384
.ts-font-* large 16/19, content 14/18, small 13/15, minimal 13/14, title-small 24/28 bold css@54540–55195
a colour tint2, hover tint (later than a{color:inherit}) css@88082, @88113
hr border-bottom 1px --ts-divider-bg-color hsla(216,4%,74%,.3), margin 16 0 css@60036

7. Scrollbars

prop D L src
::-webkit-scrollbar width 8px (var), height 8px, bg transparent, radius 0 width 8px, bg transparent (height 8px from earlier same-module rule) js@92422@6928; js@201685@6928 & @116554
track transparent, radius 0 same js@6859
thumb #0B111D, radius 8px #b3b3b3, radius 8px js@7047
corner transparent same js@7133
(main.css legacy rules css@1350–1517 are overridden.) .tsv-scroll-area, -v: overflow-x hidden / y auto (css@77756). Safe-area headers push track margin-top by header height (css@66482). .scroller uses overflow-y: overlay !important (css@629699).

8. Base typography / rendering

  • Font stack: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Fixed", "Segoe UI", Roboto, Helvetica, Arial, sans-serif, emoji (themes.txt). @font-face "Segoe UI Variable Fixed" = local Segoe UI Variable Static Display / Display / Static Text, plus src: local("Segoe UI"); unicode-range: U+60 (backtick) (css@59295, @59462).
  • #app: font-size 15px, font-weight 450, -webkit-font-smoothing: antialiased (css@59619).
  • Module 97870 (string at main.js@91945): html,body{font-weight:500; -webkit-font-smoothing:subpixel-antialiased; -webkit-text-stroke:.1px} and #app{-webkit-font-smoothing:subpixel-antialiased; -webkit-text-stroke:.1px}. It is a style-loader module with .use() (lazy, main.js@1166291) — when it is activated is UNRESOLVED. When active: #app keeps weight 450 (its own rule), html/body 500 only affects elements outside #app; text-stroke .1px and subpixel AA apply to #app.
  • * {text-rendering: optimizeLegibility}, *,:before,:after {box-sizing:border-box} (css@203, @254). label 13px (css@658).
  • Focus: no global focus/focus-visible ring in source; individual controls use outline: 2px solid tint2; outline-offset 2px (e.g. css@689549, @691024) or box-shadow 0 0 0 1px tint (css@359647). Inputs: .tsv-search-input{outline:none}.

9. Visible i18n strings (EN / RU)

key EN RU
sidebar.search.placeholder Search / Connect Найти / Подключиться
universal.settings Settings Настройки
setup_chat.title Setup Chat Настройка чата
presence.custom_status Custom Status Пользовательский статус
universal.loading / connecting / disconnected Loading / Connecting / Disconnected Загрузка / Подключение / Отключен(-а)
sidebar.activities.recent Recent Недавние
sidebar.activities.spotlight Spotlight Интересное
sidebar.activities.placeholder (hidden by theme) Use the universal search bar to find just what you need or to join a TeamSpeak Server. Используй универсальную панель поиска…
universal.auto_resize Auto Resize Автонастройка размера
away.toggle.menu.title Toggle Online Status Изменить онлайн-статус
toolbar.toggle.microphone Toggle Microphone Включить/выключить микрофон
toolbar.toggle.speakers Toggle Speakers/Headphones Переключить динамики/наушники
"Main Menu" tooltip hard-coded English literal, not i18n (main.js@2845191) —

10. Pixel recipe at 1280×900, server connected, Medium (summary)

  • x 0–270 sidebar: header row1 71px (#121A2C D) [bell 42px | logo? | spacer], row2 36px search pill (#1E2538 D, text 13px), body gradient #121A2C→#1D2537, activity rows 44px with 8px-radius #1E2538 pills inset 10px, 4px gaps, footer 55px #1D2537 with 3px #171C2A line inset 20px at top, self cell (33px avatar) + 42px gear. Total header height ≈107px [INFERENCE: 71+36; header flex-basis 44 but min-height of content wins].
  • x 270–770 main pane: window bar 44px #121A2C: [42px spacer][away 42px][pill: 10px pad | mic 32 | sep | speaker 32 | 20px pad, 26px tall, bg #2b3346][grow]; 10px inverse-corner fillet below its left end; body #2b3346 (server tree has its own gradient, see tree spec). Resize hit zone 9px centred on x=270.
  • x 770–1280 detail pane: window bar 44px #121A2C with spacer left and 3×42px caption buttons right; header/body shaded #222A3C (D). Resize zone 9px centred on x=770. Light: substitute L column values.

UNRESOLVED

  1. Whether the SERVER activity sets showContentHeader:false (i.e. whether the 71px .tsv-content-header-bar + 4px separator appear above the server tree) — getter reads content.showContentHeader (main.js@2970774); the TSServerActivity class was not inspected.
  2. --main-content-top-corner-radius never assigned in extracted CSS → 10px fallback assumed.
  3. Whether mic/speaker buttons have hasContextMenu/contextMenuButtonVisible (adds 16px expander and changes padding).
  4. Activation condition of font-weight-500/text-stroke module 97870 (.use() caller not found).
  5. Exact .tsv-sidebar-tab-header-title font-size (inherits; container may be .ts-font-small 13px in compact variant).
  6. Caption-button icon glyph geometry/colours (SVG assets WindowMinimize/Maximize/Close not read); no hover background found in CSS.
  7. Real sidebar header height (flex-basis 44 vs 71+36 content) — computed, not measured.
  8. Footer presence state for an account-free client (official states assume myTS chat); "Setup Chat" constructive cell is the official no-chat state.
  9. tsv-sidebar-detailed toggle condition (affects −5.5px avatar shift).