waybetter 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -2
- package/bin/waybetter.mjs +2 -5
- package/cli/buildenv.mjs +1 -1
- package/cli/release.mjs +11 -18
- package/cli/releasecheck.mjs +15 -0
- package/cli/remote.mjs +4 -4
- package/cli/store.mjs +80 -28
- package/cli/strings.mjs +2 -0
- package/dist/runtime/stringPackHook.js +2 -2
- package/dist/runtime/stringPackHook.js.map +1 -1
- package/dist/runtime/stringPackTranslate.d.ts +3 -1
- package/dist/runtime/stringPackTranslate.js +6 -3
- package/dist/runtime/stringPackTranslate.js.map +1 -1
- package/dist/runtime/stringPacks.d.ts +53 -5
- package/dist/runtime/stringPacks.js +161 -25
- package/dist/runtime/stringPacks.js.map +1 -1
- package/dist/runtime/themeBar.d.ts +28 -0
- package/dist/runtime/themeBar.js +82 -0
- package/dist/runtime/themeBar.js.map +1 -0
- package/dist/runtime/themeComponents.js +16 -3
- package/dist/runtime/themeComponents.js.map +1 -1
- package/dist/runtime/themeDecor.js +3 -1
- package/dist/runtime/themeDecor.js.map +1 -1
- package/dist/runtime/themeDerive.d.ts +69 -0
- package/dist/runtime/themeDerive.js +117 -0
- package/dist/runtime/themeDerive.js.map +1 -0
- package/dist/runtime/themeDoctor.d.ts +44 -3
- package/dist/runtime/themeDoctor.js +86 -25
- package/dist/runtime/themeDoctor.js.map +1 -1
- package/dist/runtime/themeGuards.d.ts +60 -0
- package/dist/runtime/themeGuards.js +235 -0
- package/dist/runtime/themeGuards.js.map +1 -0
- package/dist/runtime/themeIcons.d.ts +1 -1
- package/dist/runtime/themeIcons.js +13 -5
- package/dist/runtime/themeIcons.js.map +1 -1
- package/dist/runtime/themeInk.d.ts +37 -0
- package/dist/runtime/themeInk.js +111 -0
- package/dist/runtime/themeInk.js.map +1 -0
- package/dist/runtime/themeInvariants.d.ts +39 -0
- package/dist/runtime/themeInvariants.js +273 -0
- package/dist/runtime/themeInvariants.js.map +1 -0
- package/dist/runtime/themeRuntime.d.ts +15 -1
- package/dist/runtime/themeRuntime.js +78 -5
- package/dist/runtime/themeRuntime.js.map +1 -1
- package/dist/runtime/themeSpec.d.ts +5 -1
- package/dist/runtime/themeSpec.js +9 -13
- package/dist/runtime/themeSpec.js.map +1 -1
- package/dist/shell/InstallDialog.js +14 -8
- package/dist/shell/InstallDialog.js.map +1 -1
- package/dist/shell/StoreView.d.ts +12 -0
- package/dist/shell/StoreView.js +9 -4
- package/dist/shell/StoreView.js.map +1 -1
- package/dist/shell/frame/AppMenu.d.ts +26 -3
- package/dist/shell/frame/AppMenu.js +106 -27
- package/dist/shell/frame/AppMenu.js.map +1 -1
- package/dist/shell/frame/FindBar.js +1 -1
- package/dist/shell/frame/FindBar.js.map +1 -1
- package/dist/shell/frame/Shell.d.ts +1 -0
- package/dist/shell/frame/Shell.js +10 -2
- package/dist/shell/frame/Shell.js.map +1 -1
- package/dist/shell/frame/Titlebar.d.ts +2 -1
- package/dist/shell/frame/Titlebar.js +5 -3
- package/dist/shell/frame/Titlebar.js.map +1 -1
- package/dist/shell/frame/WebPanel.js +4 -1
- package/dist/shell/frame/WebPanel.js.map +1 -1
- package/dist/shell/frame/accountSwitcher.css +10 -10
- package/dist/shell/frame/appMenu.css +19 -13
- package/dist/shell/frame/boot.js +2 -0
- package/dist/shell/frame/boot.js.map +1 -1
- package/dist/shell/frame/chromeTheme.d.ts +19 -1
- package/dist/shell/frame/chromeTheme.js +51 -14
- package/dist/shell/frame/chromeTheme.js.map +1 -1
- package/dist/shell/frame/deck.css +30 -30
- package/dist/shell/frame/edges.css +159 -0
- package/dist/shell/frame/index.d.ts +2 -2
- package/dist/shell/frame/index.js +1 -1
- package/dist/shell/frame/index.js.map +1 -1
- package/dist/shell/frame/mediaModel.d.ts +13 -0
- package/dist/shell/frame/mediaModel.js +14 -0
- package/dist/shell/frame/mediaModel.js.map +1 -1
- package/dist/shell/frame/menuMessages.en.json +43 -1
- package/dist/shell/frame/menuModel.d.ts +42 -0
- package/dist/shell/frame/menuModel.js +8 -0
- package/dist/shell/frame/menuModel.js.map +1 -1
- package/dist/shell/frame/nativeMenu.d.ts +5 -0
- package/dist/shell/frame/nativeMenu.js +178 -0
- package/dist/shell/frame/nativeMenu.js.map +1 -0
- package/dist/shell/frame/nativeMenuModel.d.ts +102 -0
- package/dist/shell/frame/nativeMenuModel.js +186 -0
- package/dist/shell/frame/nativeMenuModel.js.map +1 -0
- package/dist/shell/frame/paletteModel.js +3 -1
- package/dist/shell/frame/paletteModel.js.map +1 -1
- package/dist/shell/frame/paneTheme.css +1 -1
- package/dist/shell/frame/reportModel.d.ts +1 -1
- package/dist/shell/frame/reportModel.js +1 -1
- package/dist/shell/frame/reportModel.js.map +1 -1
- package/dist/shell/frame/shell.css +56 -51
- package/dist/shell/frame/state.d.ts +2 -0
- package/dist/shell/frame/state.js +3 -1
- package/dist/shell/frame/state.js.map +1 -1
- package/dist/shell/frame/themeStore.js +21 -6
- package/dist/shell/frame/themeStore.js.map +1 -1
- package/dist/shell/frame/workspaces.css +12 -12
- package/dist/shell/installController.d.ts +16 -1
- package/dist/shell/installController.js +31 -5
- package/dist/shell/installController.js.map +1 -1
- package/dist/shell/panel/Appearance.js +12 -3
- package/dist/shell/panel/Appearance.js.map +1 -1
- package/dist/shell/panel/Settings.d.ts +1 -1
- package/dist/shell/panel/Settings.js +4 -3
- package/dist/shell/panel/Settings.js.map +1 -1
- package/dist/shell/panel/StoreSection.d.ts +2 -1
- package/dist/shell/panel/StoreSection.js +31 -1
- package/dist/shell/panel/StoreSection.js.map +1 -1
- package/dist/shell/panel/StringPacks.d.ts +12 -3
- package/dist/shell/panel/StringPacks.js +33 -8
- package/dist/shell/panel/StringPacks.js.map +1 -1
- package/dist/shell/panel/backup.css +1 -1
- package/dist/shell/panel/builder.css +48 -40
- package/dist/shell/panel/make.css +8 -7
- package/dist/shell/panel/panel.css +401 -401
- package/dist/shell/panel/panelMessages.d.ts +41 -1
- package/dist/shell/panel/panelMessages.js +13 -1
- package/dist/shell/panel/panelMessages.js.map +1 -1
- package/dist/shell/panel/plugins.css +5 -5
- package/dist/shell/panel/strings.css +1 -1
- package/dist/shell/store.css +34 -14
- package/dist/shell/storeMessages.d.ts +24 -0
- package/dist/shell/storeMessages.js +24 -0
- package/dist/shell/storeMessages.js.map +1 -1
- package/dist/shell/storeModel.d.ts +31 -7
- package/dist/shell/storeModel.js +15 -2
- package/dist/shell/storeModel.js.map +1 -1
- package/dist/shell/stringPacksModel.js +7 -2
- package/dist/shell/stringPacksModel.js.map +1 -1
- package/icons.schema.json +9 -0
- package/locales/ar.json +109 -2
- package/locales/bg.json +109 -2
- package/locales/bn.json +109 -2
- package/locales/ca.json +109 -2
- package/locales/cs.json +109 -2
- package/locales/da.json +109 -2
- package/locales/de.json +109 -2
- package/locales/el.json +109 -2
- package/locales/en.json +108 -2
- package/locales/es.json +109 -2
- package/locales/eu.json +109 -2
- package/locales/fa.json +109 -2
- package/locales/fi.json +109 -2
- package/locales/fil.json +109 -2
- package/locales/fr.json +109 -2
- package/locales/ga.json +109 -2
- package/locales/gl.json +109 -2
- package/locales/gu.json +109 -2
- package/locales/ha.json +109 -2
- package/locales/he.json +109 -2
- package/locales/hi.json +109 -2
- package/locales/hr.json +109 -2
- package/locales/hu.json +110 -2
- package/locales/id.json +109 -2
- package/locales/ig.json +109 -2
- package/locales/it.json +109 -2
- package/locales/ja.json +109 -2
- package/locales/kn.json +109 -2
- package/locales/ko.json +109 -2
- package/locales/mr.json +109 -2
- package/locales/ms.json +109 -2
- package/locales/nb.json +109 -2
- package/locales/nl.json +109 -2
- package/locales/pl.json +109 -2
- package/locales/pt.json +109 -2
- package/locales/ro.json +109 -2
- package/locales/ru.json +109 -2
- package/locales/sk.json +109 -2
- package/locales/sr.json +109 -2
- package/locales/sv.json +109 -2
- package/locales/ta.json +109 -2
- package/locales/th.json +109 -2
- package/locales/tr.json +109 -2
- package/locales/uk.json +109 -2
- package/locales/ur.json +109 -2
- package/locales/vi.json +109 -2
- package/locales/yo.json +109 -2
- package/locales/zh-Hans.json +109 -2
- package/locales/zh-Hant.json +109 -2
- package/package.json +2 -3
- package/store-catalog.schema.json +18 -5
- package/theme.schema.json +9 -0
- package/windows/installer.nsi +22 -2
- package/cli/privacy.mjs +0 -768
|
@@ -1,401 +1,401 @@
|
|
|
1
|
-
/* wayBetter panel. Night Ink + Geist; narrow split pane first, side rail from 720px.
|
|
2
|
-
One grammar for every setting: section header, a card of rows, label left, control right. */
|
|
3
|
-
.btp {
|
|
4
|
-
/* Follows the active theme like the shell chrome (`--wb-p-*` / `--wb-f-*`, src/shell/themeStore.ts). */
|
|
5
|
-
--c-ground: var(--wb-p-ground, #07080c); --c-chrome: var(--wb-p-chrome, #0b0d13); --c-card: var(--wb-p-card, #0d1017); --c-field: var(--wb-p-field, #131722); --c-raise: var(--wb-p-raise, #1a1f2d);
|
|
6
|
-
--c-line: var(--wb-p-line, #20263a); --c-line-soft: var(--wb-p-line-soft, #171b28); --c-line-strong: var(--wb-p-line-strong, #2d3550);
|
|
7
|
-
--c-text: var(--wb-p-text, #eef0f7); --c-text-2: var(--wb-p-text-2, #c9cfe3); --c-muted: var(--wb-p-muted, #8e95ab); --c-faint: var(--wb-p-faint, #5f667c);
|
|
8
|
-
--c-accent: var(--wb-p-accent, #7b9cff); --c-accent-ink: var(--wb-p-accent-ink, #0a0f22); --c-accent-rgb: var(--wb-p-accent-rgb, 123 156 255); --c-accent-soft: rgb(var(--c-accent-rgb) / .16);
|
|
9
|
-
--c-text-rgb: var(--wb-p-text-rgb, 238 240 247); --c-popover: var(--wb-p-popover, #10131c); --c-thumb: var(--wb-p-thumb, linear-gradient(180deg, #252b3d, #1c2130)); --c-track: var(--wb-p-track, #1c2130); --c-knob: var(--wb-p-knob, #aeb4c7);
|
|
10
|
-
color-scheme: var(--wb-c-scheme, dark);
|
|
11
|
-
--c-danger: #ff5c6c; --c-ok: #3ddc97; --c-warn: #f6c453;
|
|
12
|
-
--c-brush: linear-gradient(90deg, #4f6bff, #22d3ee 55%, #a855f7);
|
|
13
|
-
--f-ui: var(--wb-f-chrome, 'Geist Variable', 'Segoe UI', system-ui, sans-serif); --f-mono: var(--wb-f-mono, 'Geist Mono Variable', ui-monospace, Consolas, monospace);
|
|
14
|
-
--ease: cubic-bezier(.2, .7, .2, 1);
|
|
15
|
-
position: relative; height: 100%; display: grid; grid-template-rows: auto auto 1fr; overflow: hidden;
|
|
16
|
-
background: var(--c-ground); color: var(--c-text); font: 400 13px/1.45 var(--f-ui); letter-spacing: -.003em;
|
|
17
|
-
-webkit-font-smoothing: antialiased; font-feature-settings: 'ss01', 'cv11';
|
|
18
|
-
}
|
|
19
|
-
.btp-root { position: absolute; inset: 0; container-type: inline-size; container-name: panel; }
|
|
20
|
-
.btp *, .btp *::before, .btp *::after { box-sizing: border-box; }
|
|
21
|
-
.btp button { font: inherit; color: inherit; }
|
|
22
|
-
.btp code { padding: 1px 5px; border-radius: 5px; background: var(--c-field); border: 1px solid var(--c-line-soft); font: 11.5px var(--f-mono); color: var(--c-text-2); }
|
|
23
|
-
.btp mark { background: var(--c-accent-soft); color: var(--c-text); border-radius: 3px; box-shadow: 0 0 0 1px rgb(var(--c-accent-rgb) / .35); }
|
|
24
|
-
.btp :focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
|
|
25
|
-
.btp :is(.bt-search, .bt-inputrow) input:focus-visible, .btp .bt-hex:focus-visible, .btp .bt-code textarea:focus-visible, .btp .btp-input:focus-visible, .btp .bt-input:focus-visible { outline: none; }
|
|
26
|
-
|
|
27
|
-
/* Header: brand + settings search */
|
|
28
|
-
.btp-head { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
|
|
29
|
-
.btp-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--c-brush); opacity: .38; }
|
|
30
|
-
.btp-brand { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
|
|
31
|
-
.btp-brand img { border-radius: 6px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); }
|
|
32
|
-
.btp-brand strong { font-size: 13.5px; font-weight: 650; letter-spacing: -.015em; }
|
|
33
|
-
.btp-head .bt-search { margin-inline-start: auto; width: min(320px, 100%); }
|
|
34
|
-
|
|
35
|
-
/* Section nav: a scrolling strip in a narrow pane, a rail in a wide one */
|
|
36
|
-
.btp-nav { display: flex; gap: 2px; padding: 8px 10px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--c-line-soft); background: var(--c-chrome); }
|
|
37
|
-
.btp-nav::-webkit-scrollbar { display: none; }
|
|
38
|
-
.btp-nav button { position: relative; flex: 0 0 auto; display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--c-muted); font-weight: 520; cursor: pointer; transition: color .15s, background-color .15s; }
|
|
39
|
-
.btp-nav button svg { flex: none; opacity: .8; }
|
|
40
|
-
.btp-nav button:hover { color: var(--c-text); background: var(--c-field); }
|
|
41
|
-
.btp-nav button.is-on { color: var(--c-text); background: var(--c-raise); }
|
|
42
|
-
.btp-nav button.is-on svg { color: var(--c-accent); opacity: 1; }
|
|
43
|
-
|
|
44
|
-
.btp-body { overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--c-line) transparent; }
|
|
45
|
-
.btp-page { max-width: 860px; padding: 18px 16px 64px; }
|
|
46
|
-
.btp-title { margin: 2px 0 14px; font-size: 20px; font-weight: 650; letter-spacing: -.025em; }
|
|
47
|
-
.btp-title-sub { color: var(--c-muted); font-weight: 450; }
|
|
48
|
-
|
|
49
|
-
@container panel (min-width: 720px) {
|
|
50
|
-
.btp { grid-template-columns: 196px 1fr; grid-template-rows: auto 1fr; }
|
|
51
|
-
.btp-head { grid-column: 1 / -1; padding: 12px 20px; }
|
|
52
|
-
.btp-nav { flex-direction: column; gap: 1px; padding: 14px 10px; border-bottom: 0; border-inline-end: 1px solid var(--c-line-soft); overflow: visible; }
|
|
53
|
-
.btp-nav button { height: auto; min-height: 32px; padding: 6px 10px; text-align: start; line-height: 1.25; }
|
|
54
|
-
.btp-nav button.is-on::before { content: ''; position: absolute; inset-inline-start: -10px; top: 8px; bottom: 8px; width: 2px; border-start-start-radius: 0; border-start-end-radius: 2px; border-end-end-radius: 2px; border-end-start-radius: 0; background: var(--c-accent); }
|
|
55
|
-
.btp-page { padding: 26px 32px 72px; }
|
|
56
|
-
.btp-title { font-size: 22px; margin-bottom: 18px; }
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/* Sections and rows */
|
|
60
|
-
.bt-section { margin-bottom: 22px; }
|
|
61
|
-
.bt-section-head { display: flex; align-items: flex-end; gap: 12px; margin: 0 2px 8px; }
|
|
62
|
-
.bt-section-head > div:first-child { flex: 1; min-width: 0; }
|
|
63
|
-
.bt-section-head h2 { margin: 0; font-size: 13px; font-weight: 620; letter-spacing: -.005em; }
|
|
64
|
-
.bt-section-head p { margin: 2px 0 0; color: var(--c-muted); font-size: 12px; line-height: 1.45; max-width: 62ch; }
|
|
65
|
-
.bt-section-action { flex: 0 0 auto; }
|
|
66
|
-
.bt-card { border: 1px solid var(--c-line-soft); border-radius: 12px; background: var(--c-card); box-shadow: 0 1px 0 rgba(255, 255, 255, .02) inset; }
|
|
67
|
-
.bt-card:empty { display: none; }
|
|
68
|
-
.bt-card > .bt-gallery, .bt-card > .bt-import { padding: 12px; }
|
|
69
|
-
|
|
70
|
-
.bt-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 20px; padding: 12px 16px; min-height: 52px; }
|
|
71
|
-
.bt-row + .bt-row, .bt-card > * + .bt-row { border-top: 1px solid var(--c-line-soft); }
|
|
72
|
-
.bt-row.is-wide { grid-template-columns: minmax(0, 1fr); }
|
|
73
|
-
.bt-row-copy { min-width: 0; }
|
|
74
|
-
.bt-row-label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; font-weight: 540; }
|
|
75
|
-
.bt-row-hint { margin-top: 2px; color: var(--c-muted); font-size: 12px; line-height: 1.45; max-width: 58ch; }
|
|
76
|
-
.bt-row-control { display: flex; justify-content: flex-end; min-width: 0; }
|
|
77
|
-
.bt-row.is-wide .bt-row-control { justify-content: flex-start; }
|
|
78
|
-
|
|
79
|
-
@container panel (max-width: 460px) {
|
|
80
|
-
.bt-row { grid-template-columns: minmax(0, 1fr); }
|
|
81
|
-
.bt-row-control { justify-content: flex-start; }
|
|
82
|
-
.bt-row:has(> .bt-row-control > .bt-toggle) { grid-template-columns: minmax(0, 1fr) auto; }
|
|
83
|
-
.bt-section-head { flex-wrap: wrap; align-items: flex-start; }
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.bt-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
|
|
87
|
-
.bt-stack { display: flex; flex-direction: column; gap: 10px; width: 100%; }
|
|
88
|
-
.bt-badge { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 5px; background: var(--c-field); border: 1px solid var(--c-line-soft); color: var(--c-muted); font: 500 10.5px/1 var(--f-mono); letter-spacing: 0; }
|
|
89
|
-
.bt-badge.is-accent { color: var(--c-accent); border-color: rgb(var(--c-accent-rgb) / .3); background: var(--c-accent-soft); }
|
|
90
|
-
.bt-status { color: var(--c-muted); font: 11.5px var(--f-mono); }
|
|
91
|
-
.bt-status.is-warn { color: var(--c-warn); }
|
|
92
|
-
.bt-alert { margin: 12px; padding: 10px 12px; border: 1px solid rgba(255, 92, 108, .35); border-radius: 10px; background: rgba(255, 92, 108, .08); font-size: 12px; }
|
|
93
|
-
|
|
94
|
-
/* Buttons */
|
|
95
|
-
.bt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 13px; border: 1px solid var(--c-line); border-radius: 9px; background: var(--c-field); color: var(--c-text); font-weight: 540; white-space: nowrap; cursor: pointer; transition: background-color .15s, border-color .15s, transform .1s; }
|
|
96
|
-
.bt-btn.is-sm { height: 28px; padding: 0 11px; font-size: 12.5px; border-radius: 8px; }
|
|
97
|
-
.bt-btn:hover:not(:disabled) { border-color: var(--c-line-strong); background: var(--c-raise); }
|
|
98
|
-
.bt-btn:active:not(:disabled) { transform: translateY(.5px); }
|
|
99
|
-
.bt-btn:disabled { opacity: .42; cursor: default; }
|
|
100
|
-
.bt-btn.is-primary { background: var(--c-text); border-color: var(--c-text); color: var(--c-ground); }
|
|
101
|
-
.bt-btn.is-primary:hover:not(:disabled) { background: color-mix(in srgb, var(--c-text) 88%, var(--c-ground)); border-color: transparent; }
|
|
102
|
-
.bt-btn.is-ghost { background: transparent; border-color: transparent; color: var(--c-muted); }
|
|
103
|
-
.bt-btn.is-ghost:hover:not(:disabled) { background: var(--c-field); color: var(--c-text); border-color: transparent; }
|
|
104
|
-
.bt-btn.is-danger { background: var(--c-danger); border-color: var(--c-danger); color: #fff; }
|
|
105
|
-
|
|
106
|
-
/* Toggle */
|
|
107
|
-
.bt-toggle { position: relative; flex: 0 0 auto; width: 36px; height: 21px; padding: 0; border: 1px solid var(--c-line-strong); border-radius: 999px; background: var(--c-track); cursor: pointer; transition: background-color .18s var(--ease), border-color .18s; }
|
|
108
|
-
.bt-toggle-knob { position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: var(--c-knob); box-shadow: 0 1px 2px rgba(0, 0, 0, .4); transition: transform .2s var(--ease), background-color .18s; }
|
|
109
|
-
.bt-toggle.is-on { background: var(--c-accent); border-color: var(--c-accent); }
|
|
110
|
-
.bt-toggle.is-on .bt-toggle-knob { transform: translateX(15px); background: #fff; }
|
|
111
|
-
.bt-toggle:disabled { opacity: .45; cursor: default; }
|
|
112
|
-
|
|
113
|
-
/* Segmented */
|
|
114
|
-
.bt-seg { position: relative; display: inline-flex; flex-wrap: nowrap; max-width: 100%; padding: 3px; border: 1px solid var(--c-line); border-radius: 10px; background: var(--c-ground); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .35); isolation: isolate; }
|
|
115
|
-
.bt-seg-thumb { position: absolute; z-index: -1; top: 3px; bottom: 3px; left: 3px; border-radius: 7px; background: var(--c-thumb); box-shadow: 0 0 0 1px var(--c-line-strong), 0 2px 6px rgba(0, 0, 0, .35); transition: transform .22s var(--ease), width .22s var(--ease), opacity .15s; }
|
|
116
|
-
.bt-seg button { position: relative; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 12px; border: 0; border-radius: 7px; background: transparent; color: var(--c-muted); font-weight: 520; white-space: nowrap; cursor: pointer; transition: color .15s; }
|
|
117
|
-
.bt-seg.is-sm button { padding: 0 10px; font-size: 12.5px; }
|
|
118
|
-
.bt-seg button:hover { color: var(--c-text); }
|
|
119
|
-
.bt-seg button.is-on { color: var(--c-text); }
|
|
120
|
-
.bt-seg button:focus-visible { outline-offset: -1px; }
|
|
121
|
-
|
|
122
|
-
/* Select */
|
|
123
|
-
.bt-select { position: relative; min-width: 150px; }
|
|
124
|
-
.bt-select-button { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; height: 32px; padding-block: 0; padding-inline: 11px 10px; border: 1px solid var(--c-line); border-radius: 9px; background: var(--c-field); text-align: start; cursor: pointer; transition: border-color .15s; }
|
|
125
|
-
.bt-select-button:hover, .bt-select.is-open .bt-select-button { border-color: var(--c-line-strong); }
|
|
126
|
-
.bt-select-button svg { flex: 0 0 auto; color: var(--c-muted); transition: transform .18s var(--ease); }
|
|
127
|
-
.bt-select.is-open .bt-select-button svg { transform: rotate(180deg); }
|
|
128
|
-
.bt-select-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
129
|
-
.bt-select-list { position: absolute; z-index: 30; top: calc(100% + 6px); inset-inline-end: 0; min-width: 100%; width: max-content; max-width: 300px; max-height: 300px; margin: 0; padding: 5px; overflow-y: auto; list-style: none; border: 1px solid var(--c-line-strong); border-radius: 11px; background: var(--c-popover); box-shadow: 0 18px 50px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .4); animation: bt-pop .14s var(--ease); scrollbar-width: thin; }
|
|
130
|
-
.bt-select-list li { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 32px; padding-block: 5px; padding-inline: 9px 28px; border-radius: 7px; cursor: pointer; }
|
|
131
|
-
.bt-select-list li.bt-select-group { min-height: 0; margin-top: 4px; padding-block: 7px 3px; color: var(--c-muted); font-size: 11px; font-weight: 600; cursor: default; pointer-events: none; }
|
|
132
|
-
.bt-select-list li.bt-select-group:first-child { margin-top: 0; }
|
|
133
|
-
.bt-select-list li.is-active { background: var(--c-raise); }
|
|
134
|
-
.bt-select-list li.is-on .bt-select-opt { color: var(--c-text); font-weight: 560; }
|
|
135
|
-
.bt-select-list li small { color: var(--c-muted); font-size: 11px; }
|
|
136
|
-
.bt-select-opt { font-size: 13.5px; }
|
|
137
|
-
.bt-select-check { position: absolute; inset-inline-end: 9px; top: 50%; margin-top: -7px; color: var(--c-accent); }
|
|
138
|
-
@keyframes bt-pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
|
|
139
|
-
|
|
140
|
-
/* Slider */
|
|
141
|
-
.bt-slider { display: flex; align-items: center; gap: 12px; width: min(260px, 100%); }
|
|
142
|
-
.bt-slider input { --pct: 50%; flex: 1; min-width: 0; height: 20px; margin: 0; background: transparent; appearance: none; -webkit-appearance: none; cursor: pointer; }
|
|
143
|
-
.bt-slider input::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--c-accent) var(--pct), var(--c-line) var(--pct)); }
|
|
144
|
-
.bt-slider input::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgb(var(--c-accent-rgb) / .22), 0 1px 3px rgba(0, 0, 0, .5); transition: box-shadow .15s; }
|
|
145
|
-
.bt-slider input:hover::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgb(var(--c-accent-rgb) / .25), 0 1px 3px rgba(0, 0, 0, .5); }
|
|
146
|
-
.bt-slider input::-moz-range-track { height: 4px; border-radius: 4px; background: var(--c-line); }
|
|
147
|
-
.bt-slider input::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--c-accent); }
|
|
148
|
-
.bt-slider input::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: #fff; }
|
|
149
|
-
.bt-slider output { flex: 0 0 auto; min-width: 54px; padding: 3px 6px; border: 1px solid var(--c-line-soft); border-radius: 6px; background: var(--c-chrome); color: var(--c-text); font: 500 11.5px var(--f-mono); text-align: center; }
|
|
150
|
-
|
|
151
|
-
/* Color */
|
|
152
|
-
.bt-color { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
|
|
153
|
-
.bt-swatch { position: relative; flex: 0 0 auto; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: var(--sw, transparent); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s; }
|
|
154
|
-
.bt-swatch:hover { transform: scale(1.08); }
|
|
155
|
-
.bt-swatch.is-on { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 0 0 2px var(--c-card), 0 0 0 4px var(--c-text); }
|
|
156
|
-
.bt-swatch.is-auto { width: auto; height: 26px; padding: 0 11px; border-radius: 999px; background: var(--c-field); box-shadow: inset 0 0 0 1px var(--c-line); color: var(--c-muted); font-size: 12px; font-weight: 540; }
|
|
157
|
-
.bt-swatch.is-auto.is-on { color: var(--c-text); box-shadow: inset 0 0 0 1px var(--c-line-strong), 0 0 0 2px var(--c-card), 0 0 0 4px var(--c-text); }
|
|
158
|
-
.bt-swatch.is-picker { display: inline-grid; place-items: center; overflow: hidden; background: conic-gradient(from 90deg, #ff5f6d, #ffd400, #3ddc97, #1d9bf0, #7856ff, #f91880, #ff5f6d); }
|
|
159
|
-
.bt-swatch.is-picker.is-on { background: var(--sw); }
|
|
160
|
-
.bt-swatch.is-picker input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
|
|
161
|
-
.bt-hex { width: 84px; height: 28px; margin-inline-start: 2px; padding: 0 8px; border: 1px solid var(--c-line); border-radius: 7px; background: var(--c-field); color: var(--c-text); font: 12px var(--f-mono); outline: none; }
|
|
162
|
-
.bt-hex:focus { border-color: var(--c-accent); }
|
|
163
|
-
|
|
164
|
-
/* Inputs */
|
|
165
|
-
.bt-input, .btp-input { width: 100%; height: 32px; padding: 0 11px; border: 1px solid var(--c-line); border-radius: 9px; background: var(--c-field); color: var(--c-text); font: inherit; outline: none; transition: border-color .15s, box-shadow .15s; }
|
|
166
|
-
.bt-input.is-mono { font-family: var(--f-mono); font-size: 12px; }
|
|
167
|
-
.bt-input:focus, .btp-input:focus { border-color: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-soft); }
|
|
168
|
-
.bt-inputrow { display: flex; width: min(420px, 100%); border: 1px solid var(--c-line); border-radius: 9px; background: var(--c-field); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
|
|
169
|
-
.bt-inputrow:focus-within { border-color: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-soft); }
|
|
170
|
-
.bt-inputrow input { flex: 1; min-width: 0; height: 32px; padding: 0 11px; border: 0; background: transparent; color: var(--c-text); font: inherit; outline: none; }
|
|
171
|
-
.bt-inputrow input.is-mono { font: 12px var(--f-mono); }
|
|
172
|
-
.bt-inputrow button { flex: 0 0 auto; padding: 0 14px; border: 0; border-inline-start: 1px solid var(--c-line); background: var(--c-raise); font-weight: 560; cursor: pointer; }
|
|
173
|
-
.bt-inputrow button:hover:not(:disabled) { background: var(--c-raise); }
|
|
174
|
-
.bt-inputrow button:disabled { color: var(--c-faint); cursor: default; }
|
|
175
|
-
|
|
176
|
-
.bt-search { position: relative; display: flex; align-items: center; height: 30px; padding-block: 0; padding-inline: 10px 8px; gap: 7px; border: 1px solid var(--c-line); border-radius: 9px; background: var(--c-field); color: var(--c-muted); transition: border-color .15s, box-shadow .15s; }
|
|
177
|
-
.bt-search:focus-within { border-color: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-soft); color: var(--c-text); }
|
|
178
|
-
.bt-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--c-text); font: inherit; outline: none; }
|
|
179
|
-
.bt-search input::-webkit-search-cancel-button { display: none; }
|
|
180
|
-
.bt-search input::placeholder { color: var(--c-faint); }
|
|
181
|
-
.bt-search button { width: 20px; height: 20px; padding: 0; border: 0; border-radius: 5px; background: var(--c-raise); color: var(--c-muted); line-height: 1; cursor: pointer; }
|
|
182
|
-
|
|
183
|
-
/* Chips */
|
|
184
|
-
.bt-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
|
|
185
|
-
.bt-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; max-width: 100%; padding-block: 0; padding-inline: 10px 4px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-field); font-size: 12.5px; animation: bt-pop .16s var(--ease); }
|
|
186
|
-
.bt-chip > svg { flex: 0 0 auto; color: var(--c-muted); }
|
|
187
|
-
.bt-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
188
|
-
.bt-chip button { display: grid; place-items: center; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--c-muted); cursor: pointer; }
|
|
189
|
-
.bt-chip button:hover { background: rgba(255, 92, 108, .16); color: var(--c-danger); }
|
|
190
|
-
.bt-chips-empty { margin: 0; color: var(--c-faint); font-size: 12px; }
|
|
191
|
-
|
|
192
|
-
.bt-stepper { display: inline-flex; align-items: center; height: 30px; border: 1px solid var(--c-line); border-radius: 9px; background: var(--c-field); overflow: hidden; }
|
|
193
|
-
.bt-stepper button { width: 30px; height: 100%; border: 0; background: transparent; color: var(--c-muted); font-size: 15px; cursor: pointer; }
|
|
194
|
-
.bt-stepper button:hover:not(:disabled) { background: var(--c-raise); color: var(--c-text); }
|
|
195
|
-
.bt-stepper button:disabled { opacity: .35; cursor: default; }
|
|
196
|
-
.bt-stepper output { min-width: 42px; text-align: center; font: 500 12.5px var(--f-mono); }
|
|
197
|
-
.bt-stepper output small { margin-inline-start: 2px; color: var(--c-muted); }
|
|
198
|
-
|
|
199
|
-
/* Empty state */
|
|
200
|
-
.bt-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 30px 20px 28px; text-align: center; }
|
|
201
|
-
.bt-empty-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 6px; border: 1px solid var(--c-line); border-radius: 13px; background: linear-gradient(180deg, var(--c-raise), var(--c-field)); color: var(--c-muted); }
|
|
202
|
-
.bt-empty strong { font-size: 13.5px; font-weight: 600; }
|
|
203
|
-
.bt-empty p { max-width: 44ch; margin: 0; color: var(--c-muted); font-size: 12.5px; line-height: 1.5; }
|
|
204
|
-
.bt-empty-action { margin-top: 10px; }
|
|
205
|
-
.bt-snippet { margin: 8px 0 2px; padding: 10px 14px; border: 1px solid var(--c-line-soft); border-radius: 9px; background: var(--c-ground); color: var(--c-text-2); font: 11.5px/1.6 var(--f-mono); text-align: start; white-space: pre; overflow-x: auto; max-width: 100%; }
|
|
206
|
-
|
|
207
|
-
/* Code editor (Custom CSS, theme JSON) */
|
|
208
|
-
.bt-code { display: flex; flex-direction: column; }
|
|
209
|
-
.bt-code textarea { width: 100%; min-height: 200px; padding: 14px 16px; border: 0; border-radius: 12px 12px 0 0; background: transparent; color: var(--c-text-2); font: 12px/1.65 var(--f-mono); resize: vertical; outline: none; tab-size: 2; }
|
|
210
|
-
.bt-code.is-compact textarea { min-height: 110px; border: 1px solid var(--c-line); border-bottom: 0; background: var(--c-chrome); }
|
|
211
|
-
.bt-code-bar { display: flex; align-items: center; gap: 8px; padding-block: 8px; padding-inline: 16px 10px; border-top: 1px solid var(--c-line-soft); }
|
|
212
|
-
.bt-code.is-compact .bt-code-bar { border: 1px solid var(--c-line); border-radius: 0 0 10px 10px; background: var(--c-chrome); }
|
|
213
|
-
.bt-code-bar small { margin-inline-end: auto; color: var(--c-faint); font-size: 11.5px; }
|
|
214
|
-
.bt-code-bar small.is-error { color: var(--c-danger); font-family: var(--f-ui); font-size: 12px; }
|
|
215
|
-
|
|
216
|
-
/* Theme gallery */
|
|
217
|
-
.bt-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
|
|
218
|
-
.bt-theme { position: relative; }
|
|
219
|
-
.bt-theme-hit { display: flex; flex-direction: column; width: 100%; padding: 0; overflow: hidden; border: 1px solid var(--c-line); border-radius: 13px; background: var(--c-chrome); text-align: start; cursor: pointer; transition: border-color .18s, box-shadow .18s, transform .18s var(--ease); }
|
|
220
|
-
.bt-theme-hit:hover { border-color: var(--c-line-strong); transform: translateY(-1px); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
|
|
221
|
-
.bt-theme.is-on .bt-theme-hit { border-color: var(--c-accent); box-shadow: 0 0 0 1px var(--c-accent), 0 12px 36px rgba(59, 90, 200, .22); }
|
|
222
|
-
.bt-theme-hit .tp { border-bottom: 1px solid var(--c-line-soft); }
|
|
223
|
-
.bt-theme-info { display: flex; flex-direction: column; gap: 3px; padding: 11px 13px 12px; }
|
|
224
|
-
.bt-theme-title { display: flex; align-items: center; gap: 8px; }
|
|
225
|
-
.bt-theme-title strong { font-size: 13.5px; font-weight: 620; letter-spacing: -.01em; }
|
|
226
|
-
.bt-theme-check { display: grid; place-items: center; width: 18px; height: 18px; margin-inline-start: auto; border-radius: 50%; background: var(--c-accent); color: var(--c-accent-ink); }
|
|
227
|
-
.bt-theme-info small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--c-muted); font-size: 12px; line-height: 1.4; }
|
|
228
|
-
.bt-theme-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
|
|
229
|
-
.bt-theme-tags em { padding: 1px 6px; border-radius: 5px; background: var(--c-field); color: var(--c-muted); font: normal 500 10.5px/16px var(--f-mono); }
|
|
230
|
-
.bt-theme-tags em.is-accent { color: var(--c-accent); background: var(--c-accent-soft); }
|
|
231
|
-
.bt-theme-remove { position: absolute; top: 8px; inset-inline-end: 8px; display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 1px solid rgba(255, 255, 255, .12); border-radius: 8px; background: rgba(7, 8, 12, .72); color: #fff; backdrop-filter: blur(6px); opacity: 0; cursor: pointer; transition: opacity .15s; }
|
|
232
|
-
.bt-theme:hover .bt-theme-remove, .bt-theme-remove:focus-visible { opacity: 1; }
|
|
233
|
-
.bt-theme-remove:hover { background: var(--c-danger); border-color: var(--c-danger); }
|
|
234
|
-
|
|
235
|
-
.bt-import { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; border-bottom: 1px solid var(--c-line-soft); }
|
|
236
|
-
.bt-import-drop { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px dashed var(--c-line-strong); border-radius: 11px; background: repeating-linear-gradient(135deg, rgba(123, 156, 255, .03) 0 8px, transparent 8px 16px); }
|
|
237
|
-
.bt-import-drop strong { font-size: 13px; font-weight: 600; }
|
|
238
|
-
.bt-import-drop p { margin: 0 0 6px; color: var(--c-muted); font-size: 12px; line-height: 1.5; }
|
|
239
|
-
@container panel (min-width: 620px) { .bt-import { grid-template-columns: 1fr 1fr; } }
|
|
240
|
-
|
|
241
|
-
/* Theme preview: a scaled X mock built from the theme document */
|
|
242
|
-
.tp { position: relative; width: 100%; overflow: hidden; }
|
|
243
|
-
.tp-stage { position: absolute; top: 0; left: 0; display: flex; justify-content: center; gap: 0; transform-origin: 0 0; color: var(--tp-text); font-family: var(--tp-ui); font-weight: var(--tp-weight); letter-spacing: var(--tp-track); overflow: hidden; }
|
|
244
|
-
.tp-stage b, .tp-stage strong { font-weight: var(--tp-bold); }
|
|
245
|
-
.tp-nav { flex: 0 0 auto; display: flex; flex-direction: column; gap: 2px; width: 206px; padding: 10px 12px 0 14px; }
|
|
246
|
-
.tp-logo { display: grid; place-items: center; width: 50px; height: 50px; }
|
|
247
|
-
.tp-nav-item { display: flex; align-items: center; gap: 18px; height: 50px; padding: 0 14px; border-radius: var(--tp-pill); }
|
|
248
|
-
.tp-nav-item.is-on { font-weight: var(--tp-bold); }
|
|
249
|
-
.tp-post-btn { display: grid; place-items: center; height: 50px; margin: 14px 12px 0 0; border-radius: var(--tp-pill); background: var(--tp-inverse); color: var(--tp-on-inverse); font-weight: var(--tp-bold); }
|
|
250
|
-
.tp-col { flex: 0 0 auto; height: 100%; background: var(--tp-bg); border-left: 1px solid var(--tp-border); border-right: 1px solid var(--tp-border); overflow: hidden; } /* rtl-ok: symmetric borders (theme preview mock of X) */
|
|
251
|
-
.tp-col-head { background: color-mix(in srgb, var(--tp-bg) 88%, transparent); border-bottom: 1px solid var(--tp-border); }
|
|
252
|
-
.tp-col-head > strong { display: block; padding: 14px 16px 0; }
|
|
253
|
-
.tp-tabs { display: flex; margin-top: 10px; }
|
|
254
|
-
.tp-tabs span { flex: 1; padding: 12px 0 14px; color: var(--tp-muted); text-align: center; font-weight: 500; }
|
|
255
|
-
.tp-tabs span.is-on { position: relative; color: var(--tp-text); font-weight: var(--tp-bold); }
|
|
256
|
-
.tp-tabs span.is-on::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 56px; height: 4px; margin-left: -28px; border-radius: 4px; background: var(--tp-accent); } /* rtl-ok: centred with left: 50% */
|
|
257
|
-
.tp-feed.is-cards { padding: 6px 0; }
|
|
258
|
-
.tp-post { display: flex; gap: 12px; padding: var(--tp-pad) 16px; border-bottom: 1px solid var(--tp-border); }
|
|
259
|
-
.tp-feed.is-cards .tp-post { margin: calc(var(--tp-pad) / 2 + 2px) 12px; border: 1px solid var(--tp-border); border-radius: var(--tp-r); background: var(--tp-surface); }
|
|
260
|
-
.tp-avatar { flex: 0 0 auto; width: 40px; height: 40px; border-radius: var(--tp-avatar); background: var(--tp-elevated); }
|
|
261
|
-
.tp-avatar.is-sm { background: linear-gradient(135deg, #1d9bf0, #7856ff); }
|
|
262
|
-
.tp-post-body { flex: 1; min-width: 0; }
|
|
263
|
-
.tp-post-meta { display: flex; gap: 5px; white-space: nowrap; overflow: hidden; }
|
|
264
|
-
.tp-post-meta span { color: var(--tp-muted); }
|
|
265
|
-
.tp-post p { margin: 2px 0 0; font-family: var(--tp-body); }
|
|
266
|
-
.tp-media { height: 112px; margin-top: 10px; border: 1px solid var(--tp-border); border-radius: var(--tp-r); background: linear-gradient(135deg, color-mix(in srgb, var(--tp-accent) 70%, #000), color-mix(in srgb, var(--tp-accent) 25%, var(--tp-bg))); overflow: hidden; }
|
|
267
|
-
.tp-media span { display: block; width: 45%; height: 100%; margin-left: auto; background: radial-gradient(circle at 60% 40%, rgba(255, 255, 255, .35), transparent 60%); } /* rtl-ok: theme preview mock of X, which is LTR */
|
|
268
|
-
.tp-actions { display: flex; justify-content: space-between; max-width: 420px; margin-top: 10px; color: var(--tp-muted); }
|
|
269
|
-
.tp-actions span { display: inline-flex; align-items: center; gap: 5px; }
|
|
270
|
-
.tp-actions span.is-hot { color: #f91880; }
|
|
271
|
-
.tp-side { flex: 0 0 auto; padding: 8px 0 0 22px; }
|
|
272
|
-
.tp-searchbox { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border: 1px solid var(--tp-border); border-radius: var(--tp-pill); color: var(--tp-muted); background: var(--tp-bg); }
|
|
273
|
-
.tp-module { margin-top: 14px; padding: 12px 16px 6px; border: 1px solid var(--tp-border); border-radius: var(--tp-r); background: var(--tp-bg); }
|
|
274
|
-
.tp-module > strong { display: block; margin-bottom: 6px; }
|
|
275
|
-
.tp-trend { display: flex; flex-direction: column; padding: 7px 0; }
|
|
276
|
-
.tp-trend small { color: var(--tp-muted); }
|
|
277
|
-
.tp-follow { display: flex; align-items: center; gap: 10px; padding: 8px 0 10px; }
|
|
278
|
-
.tp-follow > div { display: flex; flex: 1; flex-direction: column; min-width: 0; }
|
|
279
|
-
.tp-follow small { color: var(--tp-muted); }
|
|
280
|
-
.tp-follow-btn { padding: 7px 16px; border-radius: var(--tp-pill); background: var(--tp-inverse); color: var(--tp-on-inverse); font-weight: var(--tp-bold); }
|
|
281
|
-
.tp-crt { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .16) 0 1px, transparent 1px 3px), radial-gradient(ellipse at center, transparent 60%, rgba(0, 0, 0, .45)); }
|
|
282
|
-
|
|
283
|
-
/* Search mode: sections without a matching row disappear */
|
|
284
|
-
.btp.is-searching .bt-section:not(:has(.bt-row)) { display: none; }
|
|
285
|
-
.btp-results .bt-section:first-child { margin-top: 0; }
|
|
286
|
-
|
|
287
|
-
/* Toast */
|
|
288
|
-
.btp-toast { position: absolute; left: 50%; bottom: 18px; z-index: 40; max-width: min(520px, calc(100% - 32px)); padding: 10px 14px; border: 1px solid var(--c-line-strong); border-radius: 11px; background: #141824; box-shadow: 0 16px 40px rgba(0, 0, 0, .55); font-size: 12.5px; cursor: pointer; transform: translateX(-50%); animation: bt-toast .22s var(--ease); }
|
|
289
|
-
.btp-toast.is-error { border-color: rgba(255, 92, 108, .55); background: color-mix(in srgb, var(--c-danger) 12%, var(--c-card)); }
|
|
290
|
-
@keyframes bt-toast { from { opacity: 0; transform: translate(-50%, 8px); } }
|
|
291
|
-
|
|
292
|
-
@media (prefers-reduced-motion: reduce) { .btp *, .btp *::before, .btp *::after { transition: none !important; animation: none !important; } }
|
|
293
|
-
|
|
294
|
-
/* ---------------------------------------------------------------------------------------------
|
|
295
|
-
Lists and editors shared with Drafts, Accounts and Updates (btp-* grammar). */
|
|
296
|
-
.btp-group { padding: 0 0 6px; margin-bottom: 18px; }
|
|
297
|
-
.btp-group-head { margin: 0 2px 10px; }
|
|
298
|
-
.btp-group-head h2 { margin: 0; font-size: 13px; font-weight: 620; }
|
|
299
|
-
.btp-group-head p { margin: 2px 0 0; color: var(--c-muted); font-size: 12px; }
|
|
300
|
-
.btp-muted { color: var(--c-muted); font-size: 12px; margin-inline-end: auto; }
|
|
301
|
-
.btp-btn { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border: 1px solid var(--c-line); border-radius: 8px; background: var(--c-field); cursor: pointer; font-weight: 540; white-space: nowrap; transition: border-color .15s, background-color .15s; }
|
|
302
|
-
.btp-btn:hover:not(:disabled) { border-color: var(--c-line-strong); background: var(--c-raise); }
|
|
303
|
-
.btp-btn:disabled { opacity: .42; cursor: default; }
|
|
304
|
-
.btp-btn.is-primary { background: var(--c-text); border-color: var(--c-text); color: var(--c-ground); }
|
|
305
|
-
.btp-btn.is-danger { background: var(--c-danger); border-color: var(--c-danger); color: #fff; }
|
|
306
|
-
.btp-link { border: 0; background: none; padding: 6px 0; color: var(--c-accent); cursor: pointer; font-weight: 540; }
|
|
307
|
-
.btp-row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
|
|
308
|
-
.btp-alert { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0; padding: 10px 12px; border: 1px solid rgba(255, 92, 108, .35); border-radius: 10px; background: rgba(255, 92, 108, .08); font-size: 12px; }
|
|
309
|
-
.btp-alert .btp-btn { margin-inline-start: auto; }
|
|
310
|
-
.btp-toolbar { display: flex; gap: 8px; }
|
|
311
|
-
.btp-seg { display: inline-flex; gap: 2px; margin: 12px 0 8px; padding: 3px; border: 1px solid var(--c-line); border-radius: 10px; background: var(--c-chrome); }
|
|
312
|
-
.btp-seg button { height: 26px; padding: 0 11px; border: 0; border-radius: 7px; background: none; color: var(--c-muted); cursor: pointer; font-weight: 520; }
|
|
313
|
-
.btp-seg button.is-on { background: var(--c-raise); color: var(--c-text); box-shadow: 0 0 0 1px var(--c-line-strong); }
|
|
314
|
-
.btp-seg span { margin-inline-start: 5px; font: 11px var(--f-mono); opacity: .7; }
|
|
315
|
-
.btp-list { display: flex; flex-direction: column; gap: 6px; }
|
|
316
|
-
.btp-list-head { margin: 16px 2px 4px; color: var(--c-muted); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
|
|
317
|
-
.btp-list-head span { font-family: var(--f-mono); }
|
|
318
|
-
.btp-empty { margin: 0; padding: 26px 16px; border: 1px dashed var(--c-line); border-radius: 12px; color: var(--c-muted); font-size: 12.5px; text-align: center; }
|
|
319
|
-
.btp-item { display: flex; flex-direction: column; gap: 3px; width: 100%; padding: 11px 13px; border: 1px solid var(--c-line-soft); border-radius: 11px; background: var(--c-card); text-align: start; cursor: pointer; transition: border-color .15s, background-color .15s; }
|
|
320
|
-
.btp-item:hover { border-color: var(--c-line); background: var(--c-field); }
|
|
321
|
-
.btp-item.is-on { border-color: var(--c-accent); }
|
|
322
|
-
.btp-item-top { display: flex; align-items: baseline; gap: 8px; }
|
|
323
|
-
.btp-item-top strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
|
|
324
|
-
.btp-item-top small { flex: 0 0 auto; color: var(--c-muted); font: 11px var(--f-mono); }
|
|
325
|
-
.btp-item-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--c-muted); font-size: 12px; white-space: pre-wrap; }
|
|
326
|
-
.btp-item-meta { display: flex; gap: 6px; margin-top: 3px; }
|
|
327
|
-
.btp-item-meta em { padding: 0 6px; border-radius: 5px; background: var(--c-field); color: var(--c-muted); font: normal 10.5px/17px var(--f-mono); }
|
|
328
|
-
.btp-item-meta em.is-warn { color: var(--c-warn); }
|
|
329
|
-
.btp-draft { padding-top: 2px; }
|
|
330
|
-
.btp-draft-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
|
|
331
|
-
.btp-save { font: 11px var(--f-mono); color: var(--c-muted); }
|
|
332
|
-
.btp-save.is-saved { color: var(--c-ok); }
|
|
333
|
-
.btp-save.is-error, .btp-save.is-conflict { color: var(--c-danger); }
|
|
334
|
-
.btp-draft-title { margin-bottom: 8px; font-weight: 600; }
|
|
335
|
-
.btp-draft-text { height: auto; min-height: 200px; padding: 12px; resize: vertical; line-height: 1.55; }
|
|
336
|
-
.btp-diff pre { margin: 6px 0 0; padding: 8px 10px; max-height: 180px; overflow: auto; border: 1px solid var(--c-line-soft); border-radius: 9px; background: var(--c-card); font: 11.5px/1.5 var(--f-mono); white-space: pre-wrap; }
|
|
337
|
-
.btp-diff pre span { display: block; }
|
|
338
|
-
.btp-diff .is-del { background: rgba(255, 92, 108, .14); }
|
|
339
|
-
.btp-diff .is-add { background: rgba(61, 220, 151, .14); }
|
|
340
|
-
.btp-account { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--c-line-soft); border-radius: 11px; background: var(--c-card); }
|
|
341
|
-
.btp-account.is-on { border-color: var(--c-line-strong); }
|
|
342
|
-
.btp-account .btp-input { flex: 1; }
|
|
343
|
-
.btp-dot { flex: 0 0 auto; width: 14px; height: 14px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; box-shadow: 0 0 0 3px var(--c-card), 0 0 0 4px var(--c-line); }
|
|
344
|
-
.btp-account-name { display: flex; flex: 1; min-width: 0; flex-direction: column; border: 0; background: none; text-align: start; cursor: pointer; }
|
|
345
|
-
.btp-account-name strong { font-weight: 600; }
|
|
346
|
-
.btp-account-name small { color: var(--c-muted); font-size: 11.5px; }
|
|
347
|
-
.btp-account.is-on .btp-account-name small { color: var(--c-accent); }
|
|
348
|
-
.btp-card { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--c-line-soft); border-radius: 12px; background: var(--c-card); }
|
|
349
|
-
.btp-card > div { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 2px; }
|
|
350
|
-
.btp-card small { color: var(--c-muted); font-size: 12px; }
|
|
351
|
-
.btp-notes { margin: 6px 0 0; color: var(--c-muted); font-size: 12px; white-space: pre-wrap; }
|
|
352
|
-
|
|
353
|
-
/* Home: the wayBetter hero, highlights and About */
|
|
354
|
-
.btp-hero { position: relative; overflow: hidden; isolation: isolate; padding: 30px 24px 26px; border: 1px solid var(--c-line); border-radius: 18px; background: radial-gradient(120% 90% at 0% 0%, rgba(79, 107, 255, .16), transparent 60%), radial-gradient(90% 80% at 100% 10%, rgba(168, 85, 247, .14), transparent 60%), var(--c-card); }
|
|
355
|
-
.btp-hero::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--c-brush); opacity: .9; }
|
|
356
|
-
.btp-hero-glow { position: absolute; z-index: -1; inset-inline-end: -60px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(34, 211, 238, .16), transparent 70%); filter: blur(8px); }
|
|
357
|
-
.btp-hero-mark { display: inline-grid; place-items: center; width: 76px; height: 76px; margin-bottom: 18px; border-radius: 20px; background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 18px 40px -12px rgba(79, 107, 255, .55); }
|
|
358
|
-
.btp-hero-mark img { border-radius: 14px; }
|
|
359
|
-
.btp-hero-kicker { margin: 0 0 6px; color: var(--c-muted); font-size: 12.5px; font-weight: 560; letter-spacing: .01em; }
|
|
360
|
-
.btp-hero-name { background: var(--c-brush); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 720; }
|
|
361
|
-
.btp-hero-title { margin: 0; font-size: clamp(24px, 6cqi, 34px); line-height: 1.08; font-weight: 700; letter-spacing: -.035em; }
|
|
362
|
-
.btp-hero-title em { font-style: normal; background: var(--c-brush); -webkit-background-clip: text; background-clip: text; color: transparent; }
|
|
363
|
-
.btp-hero-lede { max-width: 54ch; margin: 12px 0 0; color: var(--c-muted); font-size: 13.5px; line-height: 1.55; }
|
|
364
|
-
.btp-hero-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
|
|
365
|
-
.btp-chip { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border: 1px solid var(--c-line-strong); border-radius: 999px; background: rgba(255, 255, 255, .03); color: var(--c-text); font-size: 11.5px; font-weight: 560; font-variant-numeric: tabular-nums; }
|
|
366
|
-
.btp-hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
|
|
367
|
-
.btp-hero-actions .btp-btn { height: 34px; padding: 0 16px; border-radius: 10px; }
|
|
368
|
-
|
|
369
|
-
.btp-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; margin: 12px 0 26px; }
|
|
370
|
-
.btp-highlight { display: grid; grid-template-columns: auto 1fr; column-gap: 9px; row-gap: 3px; align-items: center; padding: 13px 14px; border: 1px solid var(--c-line-soft); border-radius: 12px; background: var(--c-card); color: var(--c-text); text-align: start; cursor: pointer; transition: border-color .15s, background-color .15s, transform .15s; }
|
|
371
|
-
.btp-highlight:hover { border-color: var(--c-line-strong); background: var(--c-field); transform: translateY(-1px); }
|
|
372
|
-
.btp-highlight svg { color: var(--c-accent); }
|
|
373
|
-
.btp-highlight strong { font-size: 13px; font-weight: 640; }
|
|
374
|
-
.btp-highlight span { grid-column: 1 / -1; color: var(--c-muted); font-size: 12px; line-height: 1.45; }
|
|
375
|
-
|
|
376
|
-
.btp-about .btp-group-head p { max-width: 64ch; line-height: 1.55; font-size: 12.5px; margin-top: 4px; }
|
|
377
|
-
.btp-layers { display: grid; gap: 1px; margin: 12px 0 0; padding: 0; list-style: none; border: 1px solid var(--c-line-soft); border-radius: 12px; overflow: hidden; background: var(--c-line-soft); }
|
|
378
|
-
.btp-layers li { display: flex; gap: 14px; align-items: baseline; padding: 13px 16px; background: var(--c-card); }
|
|
379
|
-
.btp-layers li div { display: grid; gap: 2px; }
|
|
380
|
-
.btp-layers strong { font-size: 13px; font-weight: 640; }
|
|
381
|
-
.btp-layers li div span { color: var(--c-muted); font-size: 12px; line-height: 1.45; }
|
|
382
|
-
.btp-layer-n { flex: 0 0 auto; background: var(--c-brush); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 12px; font-weight: 720; font-variant-numeric: tabular-nums; }
|
|
383
|
-
.btp-about-foot { display: flex; align-items: center; gap: 6px; margin: 14px 2px 0; color: var(--c-faint); font-size: 12px; }
|
|
384
|
-
.btp-about-foot b { color: var(--c-muted); font-weight: 600; }
|
|
385
|
-
.btp-about-foot .btp-link { padding: 0; font-size: 12px; }
|
|
386
|
-
|
|
387
|
-
@container panel (min-width: 720px) {
|
|
388
|
-
.btp-hero { padding: 40px 36px 34px; }
|
|
389
|
-
}
|
|
390
|
-
@media (prefers-reduced-motion: reduce) { .btp-highlight { transition: none; } .btp-highlight:hover { transform: none; } }
|
|
391
|
-
/* Icon pack install screen (Appearance > Icons > Import icon pack) */
|
|
392
|
-
.wb-pack-facts { display: grid; grid-template-columns: max-content 1fr; gap: 2px 12px; margin: 4px 0; font-size: 12px; }
|
|
393
|
-
.wb-pack-facts dt { color: var(--c-text-2, inherit); opacity: .75; }
|
|
394
|
-
.wb-pack-facts dd { margin: 0; overflow-wrap: anywhere; }
|
|
395
|
-
.wb-pack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(32px, 1fr)); gap: 6px; padding: 8px 0; }
|
|
396
|
-
.wb-pack-grid span { display: grid; place-items: center; height: 32px; border-radius: 8px; background: rgba(127, 127, 127, .08); }
|
|
397
|
-
.wb-pack-grid .bt-glyph { width: 20px; height: 20px; }
|
|
398
|
-
.wb-pack-warning { color: var(--c-warn, #d9a441); font-size: 12px; }
|
|
399
|
-
.wb-pack-list { flex-wrap: wrap; margin-top: 6px; }
|
|
400
|
-
.wb-pack-row { display: flex; flex-direction: column; gap: 8px; width: 100%; }
|
|
401
|
-
.wb-pack-review { width: 100%; max-width: 560px; box-sizing: border-box; }
|
|
1
|
+
/* wayBetter panel. Night Ink + Geist; narrow split pane first, side rail from 720px.
|
|
2
|
+
One grammar for every setting: section header, a card of rows, label left, control right. */
|
|
3
|
+
.btp {
|
|
4
|
+
/* Follows the active theme like the shell chrome (`--wb-p-*` / `--wb-f-*`, src/shell/themeStore.ts). */
|
|
5
|
+
--c-ground: var(--wb-p-ground, #07080c); --c-chrome: var(--wb-p-chrome, #0b0d13); --c-card: var(--wb-p-card, #0d1017); --c-field: var(--wb-p-field, #131722); --c-raise: var(--wb-p-raise, #1a1f2d);
|
|
6
|
+
--c-line: var(--wb-p-line, #20263a); --c-line-soft: var(--wb-p-line-soft, #171b28); --c-line-strong: var(--wb-p-line-strong, #2d3550);
|
|
7
|
+
--c-text: var(--wb-p-text, #eef0f7); --c-text-2: var(--wb-p-text-2, #c9cfe3); --c-muted: var(--wb-p-muted, #8e95ab); --c-faint: var(--wb-p-faint, #5f667c);
|
|
8
|
+
--c-accent: var(--wb-p-accent, #7b9cff); --c-accent-ink: var(--wb-p-accent-ink, #0a0f22); --c-accent-rgb: var(--wb-p-accent-rgb, 123 156 255); --c-accent-soft: rgb(var(--c-accent-rgb) / .16);
|
|
9
|
+
--c-text-rgb: var(--wb-p-text-rgb, 238 240 247); --c-popover: var(--wb-p-popover, #10131c); --c-thumb: var(--wb-p-thumb, linear-gradient(180deg, #252b3d, #1c2130)); --c-track: var(--wb-p-track, #1c2130); --c-knob: var(--wb-p-knob, #aeb4c7);
|
|
10
|
+
color-scheme: var(--wb-c-scheme, dark);
|
|
11
|
+
--c-danger: #ff5c6c; --c-ok: #3ddc97; --c-warn: #f6c453;
|
|
12
|
+
--c-brush: linear-gradient(90deg, #4f6bff, #22d3ee 55%, #a855f7);
|
|
13
|
+
--f-ui: var(--wb-f-chrome, 'Geist Variable', 'Segoe UI', system-ui, sans-serif); --f-mono: var(--wb-f-mono, 'Geist Mono Variable', ui-monospace, Consolas, monospace);
|
|
14
|
+
--ease: cubic-bezier(.2, .7, .2, 1);
|
|
15
|
+
position: relative; height: 100%; display: grid; grid-template-rows: auto auto 1fr; overflow: hidden;
|
|
16
|
+
background: var(--c-ground); color: var(--c-text); font: 400 13px/1.45 var(--f-ui); letter-spacing: -.003em;
|
|
17
|
+
-webkit-font-smoothing: antialiased; font-feature-settings: 'ss01', 'cv11';
|
|
18
|
+
}
|
|
19
|
+
.btp-root { position: absolute; inset: 0; container-type: inline-size; container-name: panel; }
|
|
20
|
+
.btp *, .btp *::before, .btp *::after { box-sizing: border-box; }
|
|
21
|
+
.btp button { font: inherit; color: inherit; }
|
|
22
|
+
.btp code { padding: 1px 5px; border-radius: calc(5px * var(--bt-rs, 1)); background: var(--c-field); border: 1px solid var(--c-line-soft); font: 11.5px var(--f-mono); color: var(--c-text-2); }
|
|
23
|
+
.btp mark { background: var(--c-accent-soft); color: var(--c-text); border-radius: calc(3px * var(--bt-rs, 1)); box-shadow: 0 0 0 1px rgb(var(--c-accent-rgb) / .35); }
|
|
24
|
+
.btp :focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
|
|
25
|
+
.btp :is(.bt-search, .bt-inputrow) input:focus-visible, .btp .bt-hex:focus-visible, .btp .bt-code textarea:focus-visible, .btp .btp-input:focus-visible, .btp .bt-input:focus-visible { outline: none; }
|
|
26
|
+
|
|
27
|
+
/* Header: brand + settings search */
|
|
28
|
+
.btp-head { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
|
|
29
|
+
.btp-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--c-brush); opacity: .38; }
|
|
30
|
+
.btp-brand { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
|
|
31
|
+
.btp-brand img { border-radius: calc(6px * var(--bt-rs, 1)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); }
|
|
32
|
+
.btp-brand strong { font-size: 13.5px; font-weight: 650; letter-spacing: -.015em; }
|
|
33
|
+
.btp-head .bt-search { margin-inline-start: auto; width: min(320px, 100%); }
|
|
34
|
+
|
|
35
|
+
/* Section nav: a scrolling strip in a narrow pane, a rail in a wide one */
|
|
36
|
+
.btp-nav { display: flex; gap: 2px; padding: 8px 10px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--c-line-soft); background: var(--c-chrome); }
|
|
37
|
+
.btp-nav::-webkit-scrollbar { display: none; }
|
|
38
|
+
.btp-nav button { position: relative; flex: 0 0 auto; display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 10px; border: 0; border-radius: calc(8px * var(--bt-rs, 1)); background: transparent; color: var(--c-muted); font-weight: 520; cursor: pointer; transition: color .15s, background-color .15s; }
|
|
39
|
+
.btp-nav button svg { flex: none; opacity: .8; }
|
|
40
|
+
.btp-nav button:hover { color: var(--c-text); background: var(--c-field); }
|
|
41
|
+
.btp-nav button.is-on { color: var(--c-text); background: var(--c-raise); }
|
|
42
|
+
.btp-nav button.is-on svg { color: var(--c-accent); opacity: 1; }
|
|
43
|
+
|
|
44
|
+
.btp-body { overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--c-line) transparent; }
|
|
45
|
+
.btp-page { max-width: 860px; padding: 18px 16px 64px; }
|
|
46
|
+
.btp-title { margin: 2px 0 14px; font-size: 20px; font-weight: 650; letter-spacing: -.025em; }
|
|
47
|
+
.btp-title-sub { color: var(--c-muted); font-weight: 450; }
|
|
48
|
+
|
|
49
|
+
@container panel (min-width: 720px) {
|
|
50
|
+
.btp { grid-template-columns: 196px 1fr; grid-template-rows: auto 1fr; }
|
|
51
|
+
.btp-head { grid-column: 1 / -1; padding: 12px 20px; }
|
|
52
|
+
.btp-nav { flex-direction: column; gap: 1px; padding: 14px 10px; border-bottom: 0; border-inline-end: 1px solid var(--c-line-soft); overflow: visible; }
|
|
53
|
+
.btp-nav button { height: auto; min-height: 32px; padding: 6px 10px; text-align: start; line-height: 1.25; }
|
|
54
|
+
.btp-nav button.is-on::before { content: ''; position: absolute; inset-inline-start: -10px; top: 8px; bottom: 8px; width: 2px; border-start-start-radius: 0; border-start-end-radius: calc(2px * var(--bt-rs, 1)); border-end-end-radius: calc(2px * var(--bt-rs, 1)); border-end-start-radius: 0; background: var(--c-accent); }
|
|
55
|
+
.btp-page { padding: 26px 32px 72px; }
|
|
56
|
+
.btp-title { font-size: 22px; margin-bottom: 18px; }
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* Sections and rows */
|
|
60
|
+
.bt-section { margin-bottom: 22px; }
|
|
61
|
+
.bt-section-head { display: flex; align-items: flex-end; gap: 12px; margin: 0 2px 8px; }
|
|
62
|
+
.bt-section-head > div:first-child { flex: 1; min-width: 0; }
|
|
63
|
+
.bt-section-head h2 { margin: 0; font-size: 13px; font-weight: 620; letter-spacing: -.005em; }
|
|
64
|
+
.bt-section-head p { margin: 2px 0 0; color: var(--c-muted); font-size: 12px; line-height: 1.45; max-width: 62ch; }
|
|
65
|
+
.bt-section-action { flex: 0 0 auto; }
|
|
66
|
+
.bt-card { border: 1px solid var(--c-line-soft); border-radius: calc(12px * var(--bt-rs, 1)); background: var(--c-card); box-shadow: 0 1px 0 rgba(255, 255, 255, .02) inset; }
|
|
67
|
+
.bt-card:empty { display: none; }
|
|
68
|
+
.bt-card > .bt-gallery, .bt-card > .bt-import { padding: 12px; }
|
|
69
|
+
|
|
70
|
+
.bt-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 20px; padding: 12px 16px; min-height: 52px; }
|
|
71
|
+
.bt-row + .bt-row, .bt-card > * + .bt-row { border-top: 1px solid var(--c-line-soft); }
|
|
72
|
+
.bt-row.is-wide { grid-template-columns: minmax(0, 1fr); }
|
|
73
|
+
.bt-row-copy { min-width: 0; }
|
|
74
|
+
.bt-row-label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; font-weight: 540; }
|
|
75
|
+
.bt-row-hint { margin-top: 2px; color: var(--c-muted); font-size: 12px; line-height: 1.45; max-width: 58ch; }
|
|
76
|
+
.bt-row-control { display: flex; justify-content: flex-end; min-width: 0; }
|
|
77
|
+
.bt-row.is-wide .bt-row-control { justify-content: flex-start; }
|
|
78
|
+
|
|
79
|
+
@container panel (max-width: 460px) {
|
|
80
|
+
.bt-row { grid-template-columns: minmax(0, 1fr); }
|
|
81
|
+
.bt-row-control { justify-content: flex-start; }
|
|
82
|
+
.bt-row:has(> .bt-row-control > .bt-toggle) { grid-template-columns: minmax(0, 1fr) auto; }
|
|
83
|
+
.bt-section-head { flex-wrap: wrap; align-items: flex-start; }
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.bt-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
|
|
87
|
+
.bt-stack { display: flex; flex-direction: column; gap: 10px; width: 100%; }
|
|
88
|
+
.bt-badge { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: calc(5px * var(--bt-rs, 1)); background: var(--c-field); border: 1px solid var(--c-line-soft); color: var(--c-muted); font: 500 10.5px/1 var(--f-mono); letter-spacing: 0; }
|
|
89
|
+
.bt-badge.is-accent { color: var(--c-accent); border-color: rgb(var(--c-accent-rgb) / .3); background: var(--c-accent-soft); }
|
|
90
|
+
.bt-status { color: var(--c-muted); font: 11.5px var(--f-mono); }
|
|
91
|
+
.bt-status.is-warn { color: var(--c-warn); }
|
|
92
|
+
.bt-alert { margin: 12px; padding: 10px 12px; border: 1px solid rgba(255, 92, 108, .35); border-radius: calc(10px * var(--bt-rs, 1)); background: rgba(255, 92, 108, .08); font-size: 12px; }
|
|
93
|
+
|
|
94
|
+
/* Buttons */
|
|
95
|
+
.bt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 13px; border: 1px solid var(--c-line); border-radius: calc(9px * var(--bt-rs, 1)); background: var(--c-field); color: var(--c-text); font-weight: 540; white-space: nowrap; cursor: pointer; transition: background-color .15s, border-color .15s, transform .1s; }
|
|
96
|
+
.bt-btn.is-sm { height: 28px; padding: 0 11px; font-size: 12.5px; border-radius: calc(8px * var(--bt-rs, 1)); }
|
|
97
|
+
.bt-btn:hover:not(:disabled) { border-color: var(--c-line-strong); background: var(--c-raise); }
|
|
98
|
+
.bt-btn:active:not(:disabled) { transform: translateY(.5px); }
|
|
99
|
+
.bt-btn:disabled { opacity: .42; cursor: default; }
|
|
100
|
+
.bt-btn.is-primary { background: var(--c-text); border-color: var(--c-text); color: var(--c-ground); }
|
|
101
|
+
.bt-btn.is-primary:hover:not(:disabled) { background: color-mix(in srgb, var(--c-text) 88%, var(--c-ground)); border-color: transparent; }
|
|
102
|
+
.bt-btn.is-ghost { background: transparent; border-color: transparent; color: var(--c-muted); }
|
|
103
|
+
.bt-btn.is-ghost:hover:not(:disabled) { background: var(--c-field); color: var(--c-text); border-color: transparent; }
|
|
104
|
+
.bt-btn.is-danger { background: var(--c-danger); border-color: var(--c-danger); color: #fff; }
|
|
105
|
+
|
|
106
|
+
/* Toggle */
|
|
107
|
+
.bt-toggle { position: relative; flex: 0 0 auto; width: 36px; height: 21px; padding: 0; border: 1px solid var(--c-line-strong); border-radius: calc(999px * var(--bt-rs, 1)); background: var(--c-track); cursor: pointer; transition: background-color .18s var(--ease), border-color .18s; }
|
|
108
|
+
.bt-toggle-knob { position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: var(--c-knob); box-shadow: 0 1px 2px rgba(0, 0, 0, .4); transition: transform .2s var(--ease), background-color .18s; }
|
|
109
|
+
.bt-toggle.is-on { background: var(--c-accent); border-color: var(--c-accent); }
|
|
110
|
+
.bt-toggle.is-on .bt-toggle-knob { transform: translateX(15px); background: #fff; }
|
|
111
|
+
.bt-toggle:disabled { opacity: .45; cursor: default; }
|
|
112
|
+
|
|
113
|
+
/* Segmented */
|
|
114
|
+
.bt-seg { position: relative; display: inline-flex; flex-wrap: nowrap; max-width: 100%; padding: 3px; border: 1px solid var(--c-line); border-radius: calc(10px * var(--bt-rs, 1)); background: var(--c-ground); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .35); isolation: isolate; }
|
|
115
|
+
.bt-seg-thumb { position: absolute; z-index: -1; top: 3px; bottom: 3px; left: 3px; border-radius: calc(7px * var(--bt-rs, 1)); background: var(--c-thumb); box-shadow: 0 0 0 1px var(--c-line-strong), 0 2px 6px rgba(0, 0, 0, .35); transition: transform .22s var(--ease), width .22s var(--ease), opacity .15s; }
|
|
116
|
+
.bt-seg button { position: relative; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 12px; border: 0; border-radius: calc(7px * var(--bt-rs, 1)); background: transparent; color: var(--c-muted); font-weight: 520; white-space: nowrap; cursor: pointer; transition: color .15s; }
|
|
117
|
+
.bt-seg.is-sm button { padding: 0 10px; font-size: 12.5px; }
|
|
118
|
+
.bt-seg button:hover { color: var(--c-text); }
|
|
119
|
+
.bt-seg button.is-on { color: var(--c-text); }
|
|
120
|
+
.bt-seg button:focus-visible { outline-offset: -1px; }
|
|
121
|
+
|
|
122
|
+
/* Select */
|
|
123
|
+
.bt-select { position: relative; min-width: 150px; }
|
|
124
|
+
.bt-select-button { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; height: 32px; padding-block: 0; padding-inline: 11px 10px; border: 1px solid var(--c-line); border-radius: calc(9px * var(--bt-rs, 1)); background: var(--c-field); text-align: start; cursor: pointer; transition: border-color .15s; }
|
|
125
|
+
.bt-select-button:hover, .bt-select.is-open .bt-select-button { border-color: var(--c-line-strong); }
|
|
126
|
+
.bt-select-button svg { flex: 0 0 auto; color: var(--c-muted); transition: transform .18s var(--ease); }
|
|
127
|
+
.bt-select.is-open .bt-select-button svg { transform: rotate(180deg); }
|
|
128
|
+
.bt-select-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
129
|
+
.bt-select-list { position: absolute; z-index: 30; top: calc(100% + 6px); inset-inline-end: 0; min-width: 100%; width: max-content; max-width: 300px; max-height: 300px; margin: 0; padding: 5px; overflow-y: auto; list-style: none; border: 1px solid var(--c-line-strong); border-radius: calc(11px * var(--bt-rs, 1)); background: var(--c-popover); box-shadow: 0 18px 50px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .4); animation: bt-pop .14s var(--ease); scrollbar-width: thin; }
|
|
130
|
+
.bt-select-list li { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 32px; padding-block: 5px; padding-inline: 9px 28px; border-radius: calc(7px * var(--bt-rs, 1)); cursor: pointer; }
|
|
131
|
+
.bt-select-list li.bt-select-group { min-height: 0; margin-top: 4px; padding-block: 7px 3px; color: var(--c-muted); font-size: 11px; font-weight: 600; cursor: default; pointer-events: none; }
|
|
132
|
+
.bt-select-list li.bt-select-group:first-child { margin-top: 0; }
|
|
133
|
+
.bt-select-list li.is-active { background: var(--c-raise); }
|
|
134
|
+
.bt-select-list li.is-on .bt-select-opt { color: var(--c-text); font-weight: 560; }
|
|
135
|
+
.bt-select-list li small { color: var(--c-muted); font-size: 11px; }
|
|
136
|
+
.bt-select-opt { font-size: 13.5px; }
|
|
137
|
+
.bt-select-check { position: absolute; inset-inline-end: 9px; top: 50%; margin-top: -7px; color: var(--c-accent); }
|
|
138
|
+
@keyframes bt-pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
|
|
139
|
+
|
|
140
|
+
/* Slider */
|
|
141
|
+
.bt-slider { display: flex; align-items: center; gap: 12px; width: min(260px, 100%); }
|
|
142
|
+
.bt-slider input { --pct: 50%; flex: 1; min-width: 0; height: 20px; margin: 0; background: transparent; appearance: none; -webkit-appearance: none; cursor: pointer; }
|
|
143
|
+
.bt-slider input::-webkit-slider-runnable-track { height: 4px; border-radius: calc(4px * var(--bt-rs, 1)); background: linear-gradient(90deg, var(--c-accent) var(--pct), var(--c-line) var(--pct)); }
|
|
144
|
+
.bt-slider input::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgb(var(--c-accent-rgb) / .22), 0 1px 3px rgba(0, 0, 0, .5); transition: box-shadow .15s; }
|
|
145
|
+
.bt-slider input:hover::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgb(var(--c-accent-rgb) / .25), 0 1px 3px rgba(0, 0, 0, .5); }
|
|
146
|
+
.bt-slider input::-moz-range-track { height: 4px; border-radius: calc(4px * var(--bt-rs, 1)); background: var(--c-line); }
|
|
147
|
+
.bt-slider input::-moz-range-progress { height: 4px; border-radius: calc(4px * var(--bt-rs, 1)); background: var(--c-accent); }
|
|
148
|
+
.bt-slider input::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: #fff; }
|
|
149
|
+
.bt-slider output { flex: 0 0 auto; min-width: 54px; padding: 3px 6px; border: 1px solid var(--c-line-soft); border-radius: calc(6px * var(--bt-rs, 1)); background: var(--c-chrome); color: var(--c-text); font: 500 11.5px var(--f-mono); text-align: center; }
|
|
150
|
+
|
|
151
|
+
/* Color */
|
|
152
|
+
.bt-color { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
|
|
153
|
+
.bt-swatch { position: relative; flex: 0 0 auto; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: var(--sw, transparent); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s; }
|
|
154
|
+
.bt-swatch:hover { transform: scale(1.08); }
|
|
155
|
+
.bt-swatch.is-on { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 0 0 2px var(--c-card), 0 0 0 4px var(--c-text); }
|
|
156
|
+
.bt-swatch.is-auto { width: auto; height: 26px; padding: 0 11px; border-radius: calc(999px * var(--bt-rs, 1)); background: var(--c-field); box-shadow: inset 0 0 0 1px var(--c-line); color: var(--c-muted); font-size: 12px; font-weight: 540; }
|
|
157
|
+
.bt-swatch.is-auto.is-on { color: var(--c-text); box-shadow: inset 0 0 0 1px var(--c-line-strong), 0 0 0 2px var(--c-card), 0 0 0 4px var(--c-text); }
|
|
158
|
+
.bt-swatch.is-picker { display: inline-grid; place-items: center; overflow: hidden; background: conic-gradient(from 90deg, #ff5f6d, #ffd400, #3ddc97, #1d9bf0, #7856ff, #f91880, #ff5f6d); }
|
|
159
|
+
.bt-swatch.is-picker.is-on { background: var(--sw); }
|
|
160
|
+
.bt-swatch.is-picker input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
|
|
161
|
+
.bt-hex { width: 84px; height: 28px; margin-inline-start: 2px; padding: 0 8px; border: 1px solid var(--c-line); border-radius: calc(7px * var(--bt-rs, 1)); background: var(--c-field); color: var(--c-text); font: 12px var(--f-mono); outline: none; }
|
|
162
|
+
.bt-hex:focus { border-color: var(--c-accent); }
|
|
163
|
+
|
|
164
|
+
/* Inputs */
|
|
165
|
+
.bt-input, .btp-input { width: 100%; height: 32px; padding: 0 11px; border: 1px solid var(--c-line); border-radius: calc(9px * var(--bt-rs, 1)); background: var(--c-field); color: var(--c-text); font: inherit; outline: none; transition: border-color .15s, box-shadow .15s; }
|
|
166
|
+
.bt-input.is-mono { font-family: var(--f-mono); font-size: 12px; }
|
|
167
|
+
.bt-input:focus, .btp-input:focus { border-color: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-soft); }
|
|
168
|
+
.bt-inputrow { display: flex; width: min(420px, 100%); border: 1px solid var(--c-line); border-radius: calc(9px * var(--bt-rs, 1)); background: var(--c-field); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
|
|
169
|
+
.bt-inputrow:focus-within { border-color: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-soft); }
|
|
170
|
+
.bt-inputrow input { flex: 1; min-width: 0; height: 32px; padding: 0 11px; border: 0; background: transparent; color: var(--c-text); font: inherit; outline: none; }
|
|
171
|
+
.bt-inputrow input.is-mono { font: 12px var(--f-mono); }
|
|
172
|
+
.bt-inputrow button { flex: 0 0 auto; padding: 0 14px; border: 0; border-inline-start: 1px solid var(--c-line); background: var(--c-raise); font-weight: 560; cursor: pointer; }
|
|
173
|
+
.bt-inputrow button:hover:not(:disabled) { background: var(--c-raise); }
|
|
174
|
+
.bt-inputrow button:disabled { color: var(--c-faint); cursor: default; }
|
|
175
|
+
|
|
176
|
+
.bt-search { position: relative; display: flex; align-items: center; height: 30px; padding-block: 0; padding-inline: 10px 8px; gap: 7px; border: 1px solid var(--c-line); border-radius: calc(9px * var(--bt-rs, 1)); background: var(--c-field); color: var(--c-muted); transition: border-color .15s, box-shadow .15s; }
|
|
177
|
+
.bt-search:focus-within { border-color: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-soft); color: var(--c-text); }
|
|
178
|
+
.bt-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--c-text); font: inherit; outline: none; }
|
|
179
|
+
.bt-search input::-webkit-search-cancel-button { display: none; }
|
|
180
|
+
.bt-search input::placeholder { color: var(--c-faint); }
|
|
181
|
+
.bt-search button { width: 20px; height: 20px; padding: 0; border: 0; border-radius: calc(5px * var(--bt-rs, 1)); background: var(--c-raise); color: var(--c-muted); line-height: 1; cursor: pointer; }
|
|
182
|
+
|
|
183
|
+
/* Chips */
|
|
184
|
+
.bt-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
|
|
185
|
+
.bt-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; max-width: 100%; padding-block: 0; padding-inline: 10px 4px; border: 1px solid var(--c-line); border-radius: calc(999px * var(--bt-rs, 1)); background: var(--c-field); font-size: 12.5px; animation: bt-pop .16s var(--ease); }
|
|
186
|
+
.bt-chip > svg { flex: 0 0 auto; color: var(--c-muted); }
|
|
187
|
+
.bt-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
188
|
+
.bt-chip button { display: grid; place-items: center; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--c-muted); cursor: pointer; }
|
|
189
|
+
.bt-chip button:hover { background: rgba(255, 92, 108, .16); color: var(--c-danger); }
|
|
190
|
+
.bt-chips-empty { margin: 0; color: var(--c-faint); font-size: 12px; }
|
|
191
|
+
|
|
192
|
+
.bt-stepper { display: inline-flex; align-items: center; height: 30px; border: 1px solid var(--c-line); border-radius: calc(9px * var(--bt-rs, 1)); background: var(--c-field); overflow: hidden; }
|
|
193
|
+
.bt-stepper button { width: 30px; height: 100%; border: 0; background: transparent; color: var(--c-muted); font-size: 15px; cursor: pointer; }
|
|
194
|
+
.bt-stepper button:hover:not(:disabled) { background: var(--c-raise); color: var(--c-text); }
|
|
195
|
+
.bt-stepper button:disabled { opacity: .35; cursor: default; }
|
|
196
|
+
.bt-stepper output { min-width: 42px; text-align: center; font: 500 12.5px var(--f-mono); }
|
|
197
|
+
.bt-stepper output small { margin-inline-start: 2px; color: var(--c-muted); }
|
|
198
|
+
|
|
199
|
+
/* Empty state */
|
|
200
|
+
.bt-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 30px 20px 28px; text-align: center; }
|
|
201
|
+
.bt-empty-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 6px; border: 1px solid var(--c-line); border-radius: calc(13px * var(--bt-rs, 1)); background: linear-gradient(180deg, var(--c-raise), var(--c-field)); color: var(--c-muted); }
|
|
202
|
+
.bt-empty strong { font-size: 13.5px; font-weight: 600; }
|
|
203
|
+
.bt-empty p { max-width: 44ch; margin: 0; color: var(--c-muted); font-size: 12.5px; line-height: 1.5; }
|
|
204
|
+
.bt-empty-action { margin-top: 10px; }
|
|
205
|
+
.bt-snippet { margin: 8px 0 2px; padding: 10px 14px; border: 1px solid var(--c-line-soft); border-radius: calc(9px * var(--bt-rs, 1)); background: var(--c-ground); color: var(--c-text-2); font: 11.5px/1.6 var(--f-mono); text-align: start; white-space: pre; overflow-x: auto; max-width: 100%; }
|
|
206
|
+
|
|
207
|
+
/* Code editor (Custom CSS, theme JSON) */
|
|
208
|
+
.bt-code { display: flex; flex-direction: column; }
|
|
209
|
+
.bt-code textarea { width: 100%; min-height: 200px; padding: 14px 16px; border: 0; border-radius: calc(12px * var(--bt-rs, 1)) calc(12px * var(--bt-rs, 1)) 0 0; background: transparent; color: var(--c-text-2); font: 12px/1.65 var(--f-mono); resize: vertical; outline: none; tab-size: 2; }
|
|
210
|
+
.bt-code.is-compact textarea { min-height: 110px; border: 1px solid var(--c-line); border-bottom: 0; background: var(--c-chrome); }
|
|
211
|
+
.bt-code-bar { display: flex; align-items: center; gap: 8px; padding-block: 8px; padding-inline: 16px 10px; border-top: 1px solid var(--c-line-soft); }
|
|
212
|
+
.bt-code.is-compact .bt-code-bar { border: 1px solid var(--c-line); border-radius: 0 0 calc(10px * var(--bt-rs, 1)) calc(10px * var(--bt-rs, 1)); background: var(--c-chrome); }
|
|
213
|
+
.bt-code-bar small { margin-inline-end: auto; color: var(--c-faint); font-size: 11.5px; }
|
|
214
|
+
.bt-code-bar small.is-error { color: var(--c-danger); font-family: var(--f-ui); font-size: 12px; }
|
|
215
|
+
|
|
216
|
+
/* Theme gallery */
|
|
217
|
+
.bt-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
|
|
218
|
+
.bt-theme { position: relative; }
|
|
219
|
+
.bt-theme-hit { display: flex; flex-direction: column; width: 100%; padding: 0; overflow: hidden; border: 1px solid var(--c-line); border-radius: calc(13px * var(--bt-rs, 1)); background: var(--c-chrome); text-align: start; cursor: pointer; transition: border-color .18s, box-shadow .18s, transform .18s var(--ease); }
|
|
220
|
+
.bt-theme-hit:hover { border-color: var(--c-line-strong); transform: translateY(-1px); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
|
|
221
|
+
.bt-theme.is-on .bt-theme-hit { border-color: var(--c-accent); box-shadow: 0 0 0 1px var(--c-accent), 0 12px 36px rgba(59, 90, 200, .22); }
|
|
222
|
+
.bt-theme-hit .tp { border-bottom: 1px solid var(--c-line-soft); }
|
|
223
|
+
.bt-theme-info { display: flex; flex-direction: column; gap: 3px; padding: 11px 13px 12px; }
|
|
224
|
+
.bt-theme-title { display: flex; align-items: center; gap: 8px; }
|
|
225
|
+
.bt-theme-title strong { font-size: 13.5px; font-weight: 620; letter-spacing: -.01em; }
|
|
226
|
+
.bt-theme-check { display: grid; place-items: center; width: 18px; height: 18px; margin-inline-start: auto; border-radius: 50%; background: var(--c-accent); color: var(--c-accent-ink); }
|
|
227
|
+
.bt-theme-info small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--c-muted); font-size: 12px; line-height: 1.4; }
|
|
228
|
+
.bt-theme-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
|
|
229
|
+
.bt-theme-tags em { padding: 1px 6px; border-radius: calc(5px * var(--bt-rs, 1)); background: var(--c-field); color: var(--c-muted); font: normal 500 10.5px/16px var(--f-mono); }
|
|
230
|
+
.bt-theme-tags em.is-accent { color: var(--c-accent); background: var(--c-accent-soft); }
|
|
231
|
+
.bt-theme-remove { position: absolute; top: 8px; inset-inline-end: 8px; display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 1px solid rgba(255, 255, 255, .12); border-radius: calc(8px * var(--bt-rs, 1)); background: rgba(7, 8, 12, .72); color: #fff; backdrop-filter: blur(6px); opacity: 0; cursor: pointer; transition: opacity .15s; }
|
|
232
|
+
.bt-theme:hover .bt-theme-remove, .bt-theme-remove:focus-visible { opacity: 1; }
|
|
233
|
+
.bt-theme-remove:hover { background: var(--c-danger); border-color: var(--c-danger); }
|
|
234
|
+
|
|
235
|
+
.bt-import { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; border-bottom: 1px solid var(--c-line-soft); }
|
|
236
|
+
.bt-import-drop { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px dashed var(--c-line-strong); border-radius: calc(11px * var(--bt-rs, 1)); background: repeating-linear-gradient(135deg, rgba(123, 156, 255, .03) 0 8px, transparent 8px 16px); }
|
|
237
|
+
.bt-import-drop strong { font-size: 13px; font-weight: 600; }
|
|
238
|
+
.bt-import-drop p { margin: 0 0 6px; color: var(--c-muted); font-size: 12px; line-height: 1.5; }
|
|
239
|
+
@container panel (min-width: 620px) { .bt-import { grid-template-columns: 1fr 1fr; } }
|
|
240
|
+
|
|
241
|
+
/* Theme preview: a scaled X mock built from the theme document */
|
|
242
|
+
.tp { position: relative; width: 100%; overflow: hidden; }
|
|
243
|
+
.tp-stage { position: absolute; top: 0; left: 0; display: flex; justify-content: center; gap: 0; transform-origin: 0 0; color: var(--tp-text); font-family: var(--tp-ui); font-weight: var(--tp-weight); letter-spacing: var(--tp-track); overflow: hidden; }
|
|
244
|
+
.tp-stage b, .tp-stage strong { font-weight: var(--tp-bold); }
|
|
245
|
+
.tp-nav { flex: 0 0 auto; display: flex; flex-direction: column; gap: 2px; width: 206px; padding: 10px 12px 0 14px; }
|
|
246
|
+
.tp-logo { display: grid; place-items: center; width: 50px; height: 50px; }
|
|
247
|
+
.tp-nav-item { display: flex; align-items: center; gap: 18px; height: 50px; padding: 0 14px; border-radius: var(--tp-pill); }
|
|
248
|
+
.tp-nav-item.is-on { font-weight: var(--tp-bold); }
|
|
249
|
+
.tp-post-btn { display: grid; place-items: center; height: 50px; margin: 14px 12px 0 0; border-radius: var(--tp-pill); background: var(--tp-inverse); color: var(--tp-on-inverse); font-weight: var(--tp-bold); }
|
|
250
|
+
.tp-col { flex: 0 0 auto; height: 100%; background: var(--tp-bg); border-left: 1px solid var(--tp-border); border-right: 1px solid var(--tp-border); overflow: hidden; } /* rtl-ok: symmetric borders (theme preview mock of X) */
|
|
251
|
+
.tp-col-head { background: color-mix(in srgb, var(--tp-bg) 88%, transparent); border-bottom: 1px solid var(--tp-border); }
|
|
252
|
+
.tp-col-head > strong { display: block; padding: 14px 16px 0; }
|
|
253
|
+
.tp-tabs { display: flex; margin-top: 10px; }
|
|
254
|
+
.tp-tabs span { flex: 1; padding: 12px 0 14px; color: var(--tp-muted); text-align: center; font-weight: 500; }
|
|
255
|
+
.tp-tabs span.is-on { position: relative; color: var(--tp-text); font-weight: var(--tp-bold); }
|
|
256
|
+
.tp-tabs span.is-on::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 56px; height: 4px; margin-left: -28px; border-radius: calc(4px * var(--bt-rs, 1)); background: var(--tp-accent); } /* rtl-ok: centred with left: 50% */
|
|
257
|
+
.tp-feed.is-cards { padding: 6px 0; }
|
|
258
|
+
.tp-post { display: flex; gap: 12px; padding: var(--tp-pad) 16px; border-bottom: 1px solid var(--tp-border); }
|
|
259
|
+
.tp-feed.is-cards .tp-post { margin: calc(var(--tp-pad) / 2 + 2px) 12px; border: 1px solid var(--tp-border); border-radius: var(--tp-r); background: var(--tp-surface); }
|
|
260
|
+
.tp-avatar { flex: 0 0 auto; width: 40px; height: 40px; border-radius: var(--tp-avatar); background: var(--tp-elevated); }
|
|
261
|
+
.tp-avatar.is-sm { background: linear-gradient(135deg, #1d9bf0, #7856ff); }
|
|
262
|
+
.tp-post-body { flex: 1; min-width: 0; }
|
|
263
|
+
.tp-post-meta { display: flex; gap: 5px; white-space: nowrap; overflow: hidden; }
|
|
264
|
+
.tp-post-meta span { color: var(--tp-muted); }
|
|
265
|
+
.tp-post p { margin: 2px 0 0; font-family: var(--tp-body); }
|
|
266
|
+
.tp-media { height: 112px; margin-top: 10px; border: 1px solid var(--tp-border); border-radius: var(--tp-r); background: linear-gradient(135deg, color-mix(in srgb, var(--tp-accent) 70%, #000), color-mix(in srgb, var(--tp-accent) 25%, var(--tp-bg))); overflow: hidden; }
|
|
267
|
+
.tp-media span { display: block; width: 45%; height: 100%; margin-left: auto; background: radial-gradient(circle at 60% 40%, rgba(255, 255, 255, .35), transparent 60%); } /* rtl-ok: theme preview mock of X, which is LTR */
|
|
268
|
+
.tp-actions { display: flex; justify-content: space-between; max-width: 420px; margin-top: 10px; color: var(--tp-muted); }
|
|
269
|
+
.tp-actions span { display: inline-flex; align-items: center; gap: 5px; }
|
|
270
|
+
.tp-actions span.is-hot { color: #f91880; }
|
|
271
|
+
.tp-side { flex: 0 0 auto; padding: 8px 0 0 22px; }
|
|
272
|
+
.tp-searchbox { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border: 1px solid var(--tp-border); border-radius: var(--tp-pill); color: var(--tp-muted); background: var(--tp-bg); }
|
|
273
|
+
.tp-module { margin-top: 14px; padding: 12px 16px 6px; border: 1px solid var(--tp-border); border-radius: var(--tp-r); background: var(--tp-bg); }
|
|
274
|
+
.tp-module > strong { display: block; margin-bottom: 6px; }
|
|
275
|
+
.tp-trend { display: flex; flex-direction: column; padding: 7px 0; }
|
|
276
|
+
.tp-trend small { color: var(--tp-muted); }
|
|
277
|
+
.tp-follow { display: flex; align-items: center; gap: 10px; padding: 8px 0 10px; }
|
|
278
|
+
.tp-follow > div { display: flex; flex: 1; flex-direction: column; min-width: 0; }
|
|
279
|
+
.tp-follow small { color: var(--tp-muted); }
|
|
280
|
+
.tp-follow-btn { padding: 7px 16px; border-radius: var(--tp-pill); background: var(--tp-inverse); color: var(--tp-on-inverse); font-weight: var(--tp-bold); }
|
|
281
|
+
.tp-crt { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .16) 0 1px, transparent 1px 3px), radial-gradient(ellipse at center, transparent 60%, rgba(0, 0, 0, .45)); }
|
|
282
|
+
|
|
283
|
+
/* Search mode: sections without a matching row disappear */
|
|
284
|
+
.btp.is-searching .bt-section:not(:has(.bt-row)) { display: none; }
|
|
285
|
+
.btp-results .bt-section:first-child { margin-top: 0; }
|
|
286
|
+
|
|
287
|
+
/* Toast */
|
|
288
|
+
.btp-toast { position: absolute; left: 50%; bottom: 18px; z-index: 40; max-width: min(520px, calc(100% - 32px)); padding: 10px 14px; border: 1px solid var(--c-line-strong); border-radius: calc(11px * var(--bt-rs, 1)); background: #141824; box-shadow: 0 16px 40px rgba(0, 0, 0, .55); font-size: 12.5px; cursor: pointer; transform: translateX(-50%); animation: bt-toast .22s var(--ease); }
|
|
289
|
+
.btp-toast.is-error { border-color: rgba(255, 92, 108, .55); background: color-mix(in srgb, var(--c-danger) 12%, var(--c-card)); }
|
|
290
|
+
@keyframes bt-toast { from { opacity: 0; transform: translate(-50%, 8px); } }
|
|
291
|
+
|
|
292
|
+
@media (prefers-reduced-motion: reduce) { .btp *, .btp *::before, .btp *::after { transition: none !important; animation: none !important; } }
|
|
293
|
+
|
|
294
|
+
/* ---------------------------------------------------------------------------------------------
|
|
295
|
+
Lists and editors shared with Drafts, Accounts and Updates (btp-* grammar). */
|
|
296
|
+
.btp-group { padding: 0 0 6px; margin-bottom: 18px; }
|
|
297
|
+
.btp-group-head { margin: 0 2px 10px; }
|
|
298
|
+
.btp-group-head h2 { margin: 0; font-size: 13px; font-weight: 620; }
|
|
299
|
+
.btp-group-head p { margin: 2px 0 0; color: var(--c-muted); font-size: 12px; }
|
|
300
|
+
.btp-muted { color: var(--c-muted); font-size: 12px; margin-inline-end: auto; }
|
|
301
|
+
.btp-btn { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border: 1px solid var(--c-line); border-radius: calc(8px * var(--bt-rs, 1)); background: var(--c-field); cursor: pointer; font-weight: 540; white-space: nowrap; transition: border-color .15s, background-color .15s; }
|
|
302
|
+
.btp-btn:hover:not(:disabled) { border-color: var(--c-line-strong); background: var(--c-raise); }
|
|
303
|
+
.btp-btn:disabled { opacity: .42; cursor: default; }
|
|
304
|
+
.btp-btn.is-primary { background: var(--c-text); border-color: var(--c-text); color: var(--c-ground); }
|
|
305
|
+
.btp-btn.is-danger { background: var(--c-danger); border-color: var(--c-danger); color: #fff; }
|
|
306
|
+
.btp-link { border: 0; background: none; padding: 6px 0; color: var(--c-accent); cursor: pointer; font-weight: 540; }
|
|
307
|
+
.btp-row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
|
|
308
|
+
.btp-alert { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0; padding: 10px 12px; border: 1px solid rgba(255, 92, 108, .35); border-radius: calc(10px * var(--bt-rs, 1)); background: rgba(255, 92, 108, .08); font-size: 12px; }
|
|
309
|
+
.btp-alert .btp-btn { margin-inline-start: auto; }
|
|
310
|
+
.btp-toolbar { display: flex; gap: 8px; }
|
|
311
|
+
.btp-seg { display: inline-flex; gap: 2px; margin: 12px 0 8px; padding: 3px; border: 1px solid var(--c-line); border-radius: calc(10px * var(--bt-rs, 1)); background: var(--c-chrome); }
|
|
312
|
+
.btp-seg button { height: 26px; padding: 0 11px; border: 0; border-radius: calc(7px * var(--bt-rs, 1)); background: none; color: var(--c-muted); cursor: pointer; font-weight: 520; }
|
|
313
|
+
.btp-seg button.is-on { background: var(--c-raise); color: var(--c-text); box-shadow: 0 0 0 1px var(--c-line-strong); }
|
|
314
|
+
.btp-seg span { margin-inline-start: 5px; font: 11px var(--f-mono); opacity: .7; }
|
|
315
|
+
.btp-list { display: flex; flex-direction: column; gap: 6px; }
|
|
316
|
+
.btp-list-head { margin: 16px 2px 4px; color: var(--c-muted); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
|
|
317
|
+
.btp-list-head span { font-family: var(--f-mono); }
|
|
318
|
+
.btp-empty { margin: 0; padding: 26px 16px; border: 1px dashed var(--c-line); border-radius: calc(12px * var(--bt-rs, 1)); color: var(--c-muted); font-size: 12.5px; text-align: center; }
|
|
319
|
+
.btp-item { display: flex; flex-direction: column; gap: 3px; width: 100%; padding: 11px 13px; border: 1px solid var(--c-line-soft); border-radius: calc(11px * var(--bt-rs, 1)); background: var(--c-card); text-align: start; cursor: pointer; transition: border-color .15s, background-color .15s; }
|
|
320
|
+
.btp-item:hover { border-color: var(--c-line); background: var(--c-field); }
|
|
321
|
+
.btp-item.is-on { border-color: var(--c-accent); }
|
|
322
|
+
.btp-item-top { display: flex; align-items: baseline; gap: 8px; }
|
|
323
|
+
.btp-item-top strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
|
|
324
|
+
.btp-item-top small { flex: 0 0 auto; color: var(--c-muted); font: 11px var(--f-mono); }
|
|
325
|
+
.btp-item-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--c-muted); font-size: 12px; white-space: pre-wrap; }
|
|
326
|
+
.btp-item-meta { display: flex; gap: 6px; margin-top: 3px; }
|
|
327
|
+
.btp-item-meta em { padding: 0 6px; border-radius: calc(5px * var(--bt-rs, 1)); background: var(--c-field); color: var(--c-muted); font: normal 10.5px/17px var(--f-mono); }
|
|
328
|
+
.btp-item-meta em.is-warn { color: var(--c-warn); }
|
|
329
|
+
.btp-draft { padding-top: 2px; }
|
|
330
|
+
.btp-draft-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
|
|
331
|
+
.btp-save { font: 11px var(--f-mono); color: var(--c-muted); }
|
|
332
|
+
.btp-save.is-saved { color: var(--c-ok); }
|
|
333
|
+
.btp-save.is-error, .btp-save.is-conflict { color: var(--c-danger); }
|
|
334
|
+
.btp-draft-title { margin-bottom: 8px; font-weight: 600; }
|
|
335
|
+
.btp-draft-text { height: auto; min-height: 200px; padding: 12px; resize: vertical; line-height: 1.55; }
|
|
336
|
+
.btp-diff pre { margin: 6px 0 0; padding: 8px 10px; max-height: 180px; overflow: auto; border: 1px solid var(--c-line-soft); border-radius: calc(9px * var(--bt-rs, 1)); background: var(--c-card); font: 11.5px/1.5 var(--f-mono); white-space: pre-wrap; }
|
|
337
|
+
.btp-diff pre span { display: block; }
|
|
338
|
+
.btp-diff .is-del { background: rgba(255, 92, 108, .14); }
|
|
339
|
+
.btp-diff .is-add { background: rgba(61, 220, 151, .14); }
|
|
340
|
+
.btp-account { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--c-line-soft); border-radius: calc(11px * var(--bt-rs, 1)); background: var(--c-card); }
|
|
341
|
+
.btp-account.is-on { border-color: var(--c-line-strong); }
|
|
342
|
+
.btp-account .btp-input { flex: 1; }
|
|
343
|
+
.btp-dot { flex: 0 0 auto; width: 14px; height: 14px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; box-shadow: 0 0 0 3px var(--c-card), 0 0 0 4px var(--c-line); }
|
|
344
|
+
.btp-account-name { display: flex; flex: 1; min-width: 0; flex-direction: column; border: 0; background: none; text-align: start; cursor: pointer; }
|
|
345
|
+
.btp-account-name strong { font-weight: 600; }
|
|
346
|
+
.btp-account-name small { color: var(--c-muted); font-size: 11.5px; }
|
|
347
|
+
.btp-account.is-on .btp-account-name small { color: var(--c-accent); }
|
|
348
|
+
.btp-card { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--c-line-soft); border-radius: calc(12px * var(--bt-rs, 1)); background: var(--c-card); }
|
|
349
|
+
.btp-card > div { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 2px; }
|
|
350
|
+
.btp-card small { color: var(--c-muted); font-size: 12px; }
|
|
351
|
+
.btp-notes { margin: 6px 0 0; color: var(--c-muted); font-size: 12px; white-space: pre-wrap; }
|
|
352
|
+
|
|
353
|
+
/* Home: the wayBetter hero, highlights and About */
|
|
354
|
+
.btp-hero { position: relative; overflow: hidden; isolation: isolate; padding: 30px 24px 26px; border: 1px solid var(--c-line); border-radius: calc(18px * var(--bt-rs, 1)); background: radial-gradient(120% 90% at 0% 0%, rgba(79, 107, 255, .16), transparent 60%), radial-gradient(90% 80% at 100% 10%, rgba(168, 85, 247, .14), transparent 60%), var(--c-card); }
|
|
355
|
+
.btp-hero::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--c-brush); opacity: .9; }
|
|
356
|
+
.btp-hero-glow { position: absolute; z-index: -1; inset-inline-end: -60px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(34, 211, 238, .16), transparent 70%); filter: blur(8px); }
|
|
357
|
+
.btp-hero-mark { display: inline-grid; place-items: center; width: 76px; height: 76px; margin-bottom: 18px; border-radius: calc(20px * var(--bt-rs, 1)); background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 18px 40px -12px rgba(79, 107, 255, .55); }
|
|
358
|
+
.btp-hero-mark img { border-radius: calc(14px * var(--bt-rs, 1)); }
|
|
359
|
+
.btp-hero-kicker { margin: 0 0 6px; color: var(--c-muted); font-size: 12.5px; font-weight: 560; letter-spacing: .01em; }
|
|
360
|
+
.btp-hero-name { background: var(--c-brush); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 720; }
|
|
361
|
+
.btp-hero-title { margin: 0; font-size: clamp(24px, 6cqi, 34px); line-height: 1.08; font-weight: 700; letter-spacing: -.035em; }
|
|
362
|
+
.btp-hero-title em { font-style: normal; background: var(--c-brush); -webkit-background-clip: text; background-clip: text; color: transparent; }
|
|
363
|
+
.btp-hero-lede { max-width: 54ch; margin: 12px 0 0; color: var(--c-muted); font-size: 13.5px; line-height: 1.55; }
|
|
364
|
+
.btp-hero-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
|
|
365
|
+
.btp-chip { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border: 1px solid var(--c-line-strong); border-radius: calc(999px * var(--bt-rs, 1)); background: rgba(255, 255, 255, .03); color: var(--c-text); font-size: 11.5px; font-weight: 560; font-variant-numeric: tabular-nums; }
|
|
366
|
+
.btp-hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
|
|
367
|
+
.btp-hero-actions .btp-btn { height: 34px; padding: 0 16px; border-radius: calc(10px * var(--bt-rs, 1)); }
|
|
368
|
+
|
|
369
|
+
.btp-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; margin: 12px 0 26px; }
|
|
370
|
+
.btp-highlight { display: grid; grid-template-columns: auto 1fr; column-gap: 9px; row-gap: 3px; align-items: center; padding: 13px 14px; border: 1px solid var(--c-line-soft); border-radius: calc(12px * var(--bt-rs, 1)); background: var(--c-card); color: var(--c-text); text-align: start; cursor: pointer; transition: border-color .15s, background-color .15s, transform .15s; }
|
|
371
|
+
.btp-highlight:hover { border-color: var(--c-line-strong); background: var(--c-field); transform: translateY(-1px); }
|
|
372
|
+
.btp-highlight svg { color: var(--c-accent); }
|
|
373
|
+
.btp-highlight strong { font-size: 13px; font-weight: 640; }
|
|
374
|
+
.btp-highlight span { grid-column: 1 / -1; color: var(--c-muted); font-size: 12px; line-height: 1.45; }
|
|
375
|
+
|
|
376
|
+
.btp-about .btp-group-head p { max-width: 64ch; line-height: 1.55; font-size: 12.5px; margin-top: 4px; }
|
|
377
|
+
.btp-layers { display: grid; gap: 1px; margin: 12px 0 0; padding: 0; list-style: none; border: 1px solid var(--c-line-soft); border-radius: calc(12px * var(--bt-rs, 1)); overflow: hidden; background: var(--c-line-soft); }
|
|
378
|
+
.btp-layers li { display: flex; gap: 14px; align-items: baseline; padding: 13px 16px; background: var(--c-card); }
|
|
379
|
+
.btp-layers li div { display: grid; gap: 2px; }
|
|
380
|
+
.btp-layers strong { font-size: 13px; font-weight: 640; }
|
|
381
|
+
.btp-layers li div span { color: var(--c-muted); font-size: 12px; line-height: 1.45; }
|
|
382
|
+
.btp-layer-n { flex: 0 0 auto; background: var(--c-brush); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 12px; font-weight: 720; font-variant-numeric: tabular-nums; }
|
|
383
|
+
.btp-about-foot { display: flex; align-items: center; gap: 6px; margin: 14px 2px 0; color: var(--c-faint); font-size: 12px; }
|
|
384
|
+
.btp-about-foot b { color: var(--c-muted); font-weight: 600; }
|
|
385
|
+
.btp-about-foot .btp-link { padding: 0; font-size: 12px; }
|
|
386
|
+
|
|
387
|
+
@container panel (min-width: 720px) {
|
|
388
|
+
.btp-hero { padding: 40px 36px 34px; }
|
|
389
|
+
}
|
|
390
|
+
@media (prefers-reduced-motion: reduce) { .btp-highlight { transition: none; } .btp-highlight:hover { transform: none; } }
|
|
391
|
+
/* Icon pack install screen (Appearance > Icons > Import icon pack) */
|
|
392
|
+
.wb-pack-facts { display: grid; grid-template-columns: max-content 1fr; gap: 2px 12px; margin: 4px 0; font-size: 12px; }
|
|
393
|
+
.wb-pack-facts dt { color: var(--c-text-2, inherit); opacity: .75; }
|
|
394
|
+
.wb-pack-facts dd { margin: 0; overflow-wrap: anywhere; }
|
|
395
|
+
.wb-pack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(32px, 1fr)); gap: 6px; padding: 8px 0; }
|
|
396
|
+
.wb-pack-grid span { display: grid; place-items: center; height: 32px; border-radius: calc(8px * var(--bt-rs, 1)); background: rgba(127, 127, 127, .08); }
|
|
397
|
+
.wb-pack-grid .bt-glyph { width: 20px; height: 20px; }
|
|
398
|
+
.wb-pack-warning { color: var(--c-warn, #d9a441); font-size: 12px; }
|
|
399
|
+
.wb-pack-list { flex-wrap: wrap; margin-top: 6px; }
|
|
400
|
+
.wb-pack-row { display: flex; flex-direction: column; gap: 8px; width: 100%; }
|
|
401
|
+
.wb-pack-review { width: 100%; max-width: 560px; box-sizing: border-box; }
|