mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-01 00:42:49 +08:00
1206 lines
21 KiB
CSS
1206 lines
21 KiB
CSS
.ts-app {
|
|
--bg: #ffffff;
|
|
--bg-toolbar-1: #f5f6f8;
|
|
--bg-toolbar-2: #dfe2e6;
|
|
--border: #b7bcc3;
|
|
--border-soft: #d3d7db;
|
|
--text: #1a1a1a;
|
|
--text-muted: #888;
|
|
--accent: #2b4a6b;
|
|
--input-bg: #ffffff;
|
|
--input-text: #1a1a1a;
|
|
--button-bg-1: #fdfdfd;
|
|
--button-bg-2: #dde2e8;
|
|
--button-bg-hover-1: #ffffff;
|
|
--button-bg-hover-2: #e7ecf1;
|
|
--row-hover: #cfe4fb;
|
|
--client-text: #333;
|
|
--self-text: #0b5fa5;
|
|
--log-bg: #f7f8f9;
|
|
--log-text: #333;
|
|
--log-error: #b3261e;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100vh;
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
color-scheme: light;
|
|
}
|
|
|
|
.ts-app.ts-theme-dark {
|
|
--bg: #1e1f22;
|
|
--bg-toolbar-1: #2b2d31;
|
|
--bg-toolbar-2: #232428;
|
|
--border: #3a3c42;
|
|
--border-soft: #35373d;
|
|
--text: #e3e5e8;
|
|
--text-muted: #9a9ca1;
|
|
--accent: #9db4d1;
|
|
--input-bg: #313338;
|
|
--input-text: #e3e5e8;
|
|
--button-bg-1: #3a3c42;
|
|
--button-bg-2: #2b2d31;
|
|
--button-bg-hover-1: #45474e;
|
|
--button-bg-hover-2: #35373d;
|
|
--row-hover: #35404d;
|
|
--client-text: #d5d7db;
|
|
--self-text: #7db2f0;
|
|
--log-bg: #202124;
|
|
--log-text: #c7c9cc;
|
|
--log-error: #f2867a;
|
|
color-scheme: dark;
|
|
}
|
|
|
|
/* Toolbar */
|
|
|
|
.ts-menubar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1.1rem;
|
|
padding: 0.25rem 0.75rem;
|
|
background: var(--bg-toolbar-1);
|
|
border-bottom: 1px solid var(--border-soft);
|
|
flex-shrink: 0;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.ts-menubar-item {
|
|
color: var(--text-muted);
|
|
cursor: default;
|
|
}
|
|
|
|
.ts-menubar-item-active {
|
|
color: var(--text);
|
|
cursor: pointer;
|
|
padding: 0.1rem 0.3rem;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.ts-menubar-item-active:hover {
|
|
background: var(--row-hover);
|
|
}
|
|
|
|
.ts-menubar-dropdown {
|
|
position: relative;
|
|
}
|
|
|
|
.ts-menu {
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
z-index: 20;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 260px;
|
|
padding: 0.25rem;
|
|
background: var(--bg-toolbar-1);
|
|
border: 1px solid var(--border);
|
|
border-radius: 4px;
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.ts-menu-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
border: none;
|
|
background: transparent;
|
|
color: var(--text);
|
|
padding: 0.35rem 0.5rem;
|
|
border-radius: 2px;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
text-align: left;
|
|
}
|
|
|
|
.ts-menu-item:hover:not(:disabled) {
|
|
background: var(--row-hover);
|
|
}
|
|
|
|
.ts-menu-item:disabled {
|
|
opacity: 0.4;
|
|
cursor: default;
|
|
}
|
|
|
|
.ts-menu-item-icon {
|
|
width: 1.1rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.ts-menu-item-label {
|
|
flex: 1;
|
|
}
|
|
|
|
.ts-menu-item-shortcut {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.ts-menu-separator {
|
|
height: 1px;
|
|
margin: 0.25rem 0.3rem;
|
|
background: var(--border-soft);
|
|
}
|
|
|
|
.ts-toolbar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.4rem;
|
|
padding: 0.4rem 0.75rem;
|
|
background: linear-gradient(to bottom, var(--bg-toolbar-1), var(--bg-toolbar-2));
|
|
border-bottom: 1px solid var(--border);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.ts-toolbar-icons {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
.ts-icon-button {
|
|
border: 1px solid var(--border);
|
|
border-radius: 3px;
|
|
background: linear-gradient(to bottom, var(--button-bg-1), var(--button-bg-2));
|
|
color: var(--text);
|
|
padding: 0.25rem 0.5rem;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.ts-icon-button:hover {
|
|
background: linear-gradient(to bottom, var(--button-bg-hover-1), var(--button-bg-hover-2));
|
|
}
|
|
|
|
.ts-icon-button:disabled {
|
|
opacity: 0.4;
|
|
cursor: default;
|
|
}
|
|
|
|
.ts-toolbar-sep {
|
|
width: 1px;
|
|
align-self: stretch;
|
|
background: var(--border);
|
|
margin: 0 0.2rem;
|
|
}
|
|
|
|
.ts-icon-slider,
|
|
.ts-icon-select {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.3rem;
|
|
color: var(--text);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.ts-icon-slider input[type="range"] {
|
|
width: 80px;
|
|
}
|
|
|
|
.ts-icon-select select {
|
|
border: 1px solid var(--border);
|
|
border-radius: 2px;
|
|
padding: 0.1rem 0.3rem;
|
|
font-size: 12px;
|
|
background: var(--input-bg);
|
|
color: var(--input-text);
|
|
max-width: 160px;
|
|
}
|
|
|
|
.ts-app-title {
|
|
font-weight: 600;
|
|
color: var(--accent);
|
|
margin-left: auto;
|
|
}
|
|
|
|
.ts-toolbar-fields {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.ts-toolbar-fields label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
color: var(--text);
|
|
}
|
|
|
|
.ts-toolbar-fields input:not([type="range"]) {
|
|
border: 1px solid var(--border);
|
|
border-radius: 2px;
|
|
padding: 0.15rem 0.4rem;
|
|
font-size: 12px;
|
|
background: var(--input-bg);
|
|
color: var(--input-text);
|
|
}
|
|
|
|
.ts-toolbar-fields input[type="range"] {
|
|
width: 80px;
|
|
}
|
|
|
|
.ts-toolbar-fields select {
|
|
border: 1px solid var(--border);
|
|
border-radius: 2px;
|
|
padding: 0.1rem 0.3rem;
|
|
font-size: 12px;
|
|
background: var(--input-bg);
|
|
color: var(--input-text);
|
|
max-width: 200px;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.ts-toolbar-fields button {
|
|
max-width: 220px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.ts-toolbar-fields button {
|
|
border: 1px solid var(--border);
|
|
border-radius: 3px;
|
|
background: linear-gradient(to bottom, var(--button-bg-1), var(--button-bg-2));
|
|
color: var(--text);
|
|
padding: 0.25rem 0.9rem;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.ts-toolbar-fields button:hover {
|
|
background: linear-gradient(to bottom, var(--button-bg-hover-1), var(--button-bg-hover-2));
|
|
}
|
|
|
|
/* Body / tree */
|
|
|
|
.ts-body {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
background: var(--bg);
|
|
}
|
|
|
|
.ts-upper {
|
|
display: flex;
|
|
flex-shrink: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ts-tree-panel {
|
|
flex-shrink: 0;
|
|
overflow-y: auto;
|
|
padding: 0.4rem 0.5rem;
|
|
}
|
|
|
|
.ts-resize-handle-vertical {
|
|
width: 4px;
|
|
flex-shrink: 0;
|
|
cursor: col-resize;
|
|
background: var(--border-soft);
|
|
}
|
|
|
|
.ts-resize-handle-vertical:hover,
|
|
.ts-resize-handle-horizontal:hover {
|
|
background: var(--accent);
|
|
}
|
|
|
|
.ts-resize-handle-horizontal {
|
|
height: 4px;
|
|
flex-shrink: 0;
|
|
cursor: row-resize;
|
|
background: var(--border-soft);
|
|
}
|
|
|
|
.ts-side-panel {
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.ts-banner-panel {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #000;
|
|
border-bottom: 1px solid var(--border-soft);
|
|
}
|
|
|
|
.ts-server-banner {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
display: block;
|
|
}
|
|
|
|
.ts-info-panel {
|
|
flex-shrink: 0;
|
|
overflow-y: auto;
|
|
padding: 0.6rem 0.9rem;
|
|
background: var(--bg-toolbar-1);
|
|
}
|
|
|
|
.ts-info-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
color: var(--accent);
|
|
margin-bottom: 0.3rem;
|
|
}
|
|
|
|
.ts-info-row {
|
|
display: flex;
|
|
gap: 0.4rem;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.ts-row-selected {
|
|
background: var(--row-hover);
|
|
outline: 1px solid var(--border);
|
|
}
|
|
|
|
.ts-tree-empty {
|
|
color: var(--text-muted);
|
|
padding: 1rem;
|
|
font-style: italic;
|
|
}
|
|
|
|
.ts-tree-list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding-left: 1.1rem;
|
|
}
|
|
|
|
.ts-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
padding: 1px 0.3rem;
|
|
border-radius: 2px;
|
|
white-space: nowrap;
|
|
line-height: 18px;
|
|
}
|
|
|
|
.ts-server-row {
|
|
font-weight: 600;
|
|
color: var(--accent);
|
|
padding-left: 0.3rem;
|
|
margin-bottom: 0.15rem;
|
|
}
|
|
|
|
.ts-channel-row {
|
|
cursor: pointer;
|
|
color: var(--text);
|
|
}
|
|
|
|
.ts-channel-row:hover {
|
|
background: var(--row-hover);
|
|
}
|
|
|
|
.ts-client-row {
|
|
color: var(--client-text);
|
|
padding-left: 0.65rem;
|
|
}
|
|
|
|
.ts-client-row.ts-self {
|
|
font-weight: 700;
|
|
color: var(--self-text);
|
|
}
|
|
|
|
.ts-client-row:not(.ts-self) {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ts-client-row:not(.ts-self):hover {
|
|
background: var(--row-hover);
|
|
}
|
|
|
|
.ts-client-row.ts-talking {
|
|
outline: 1px solid #4caf50;
|
|
border-radius: 2px;
|
|
background: color-mix(in srgb, #4caf50 15%, transparent);
|
|
}
|
|
|
|
.ts-status-icons {
|
|
display: inline-flex;
|
|
gap: 0.15rem;
|
|
font-size: 11px;
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.ts-poke-button {
|
|
margin-left: auto;
|
|
background: transparent;
|
|
border: none;
|
|
cursor: pointer;
|
|
font-size: 11px;
|
|
padding: 0 0.2rem;
|
|
opacity: 0;
|
|
transition: opacity 0.1s;
|
|
}
|
|
|
|
.ts-client-row:hover .ts-poke-button {
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.ts-poke-button:hover {
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.ts-mic-on {
|
|
background: color-mix(in srgb, #4caf50 30%, var(--button-bg-1)) !important;
|
|
}
|
|
|
|
.ts-muted-on {
|
|
background: color-mix(in srgb, var(--log-error) 30%, var(--button-bg-1)) !important;
|
|
}
|
|
|
|
.ts-client-away-message {
|
|
color: var(--text-muted);
|
|
font-style: italic;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.ts-toolbar-away {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.ts-icon-caret {
|
|
border: 1px solid var(--border);
|
|
border-left: none;
|
|
border-radius: 0 3px 3px 0;
|
|
background: linear-gradient(to bottom, var(--button-bg-1), var(--button-bg-2));
|
|
color: var(--text);
|
|
padding: 0.25rem 0.3rem;
|
|
cursor: pointer;
|
|
font-size: 10px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.ts-icon-caret:hover:not(:disabled) {
|
|
background: linear-gradient(to bottom, var(--button-bg-hover-1), var(--button-bg-hover-2));
|
|
}
|
|
|
|
.ts-icon-caret:disabled {
|
|
opacity: 0.4;
|
|
cursor: default;
|
|
}
|
|
|
|
.ts-toolbar-away .ts-icon-button {
|
|
border-radius: 3px 0 0 3px;
|
|
}
|
|
|
|
.ts-away-on {
|
|
background: color-mix(in srgb, #e8a53d 30%, var(--button-bg-1)) !important;
|
|
}
|
|
|
|
.ts-menu-away {
|
|
min-width: 220px;
|
|
}
|
|
|
|
/* Chat */
|
|
|
|
.ts-chat-panel {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
}
|
|
|
|
.ts-chat-tabs {
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
gap: 2px;
|
|
padding: 0 0.5rem 0.3rem;
|
|
border-top: 1px solid var(--border-soft);
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.ts-chat-tab {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
border: 1px solid var(--border-soft);
|
|
border-top: none;
|
|
border-radius: 0 0 3px 3px;
|
|
background: var(--bg-toolbar-1);
|
|
color: var(--text-muted);
|
|
padding: 0.25rem 0.6rem;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.ts-chat-tab-active {
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.ts-chat-tab-unread:not(.ts-chat-tab-active) {
|
|
color: var(--self-text);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.ts-chat-tab-close {
|
|
color: var(--text-muted);
|
|
padding: 0 0.15rem;
|
|
}
|
|
|
|
.ts-chat-tab-close:hover {
|
|
color: var(--log-error);
|
|
}
|
|
|
|
.ts-chat-messages {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 0.5rem 0.75rem;
|
|
}
|
|
|
|
.ts-chat-line {
|
|
padding: 1px 0;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.ts-chat-from {
|
|
font-weight: 600;
|
|
color: var(--accent);
|
|
}
|
|
|
|
.ts-chat-input-row {
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
gap: 0.4rem;
|
|
padding: 0.4rem 0.6rem;
|
|
border-top: 1px solid var(--border-soft);
|
|
}
|
|
|
|
.ts-chat-input-row input {
|
|
flex: 1;
|
|
border: 1px solid var(--border);
|
|
border-radius: 2px;
|
|
padding: 0.3rem 0.5rem;
|
|
font-size: 12px;
|
|
background: var(--input-bg);
|
|
color: var(--input-text);
|
|
}
|
|
|
|
.ts-chat-input-row button {
|
|
border: 1px solid var(--border);
|
|
border-radius: 3px;
|
|
background: linear-gradient(to bottom, var(--button-bg-1), var(--button-bg-2));
|
|
color: var(--text);
|
|
padding: 0.2rem 0.9rem;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* Log */
|
|
|
|
.ts-log {
|
|
flex-shrink: 0;
|
|
max-height: 6.5rem;
|
|
overflow-y: auto;
|
|
border-top: 1px solid var(--border-soft);
|
|
background: var(--log-bg);
|
|
padding: 0.3rem 0.6rem;
|
|
font-family: ui-monospace, Consolas, monospace;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.ts-log-info {
|
|
color: var(--log-text);
|
|
}
|
|
|
|
.ts-log-error {
|
|
color: var(--log-error);
|
|
}
|
|
|
|
.ts-connect-error {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.75rem;
|
|
padding: 0.5rem 0.9rem;
|
|
background: var(--log-error);
|
|
color: #fff;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.ts-connect-error button {
|
|
background: transparent;
|
|
border: none;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.ts-connect-error button:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.ts-dialog-backdrop {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.4);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 15;
|
|
}
|
|
|
|
.ts-dialog {
|
|
background: var(--bg-toolbar-1);
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
|
|
color: var(--text);
|
|
}
|
|
|
|
.ts-connect-dialog {
|
|
width: 480px;
|
|
}
|
|
|
|
.ts-favorites-dialog {
|
|
width: 760px;
|
|
}
|
|
|
|
.ts-away-dialog {
|
|
width: 420px;
|
|
}
|
|
|
|
.ts-away-dialog .ts-dialog-row {
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.ts-dialog-away-label {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.ts-away-dialog .ts-dialog-field {
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
.ts-away-message-input {
|
|
border: 1px solid var(--border);
|
|
border-radius: 2px;
|
|
padding: 0.6rem;
|
|
font-size: 13px;
|
|
background: var(--input-bg);
|
|
color: var(--input-text);
|
|
}
|
|
|
|
.ts-favorites-body {
|
|
display: flex;
|
|
gap: 0;
|
|
}
|
|
|
|
.ts-favorites-list-col {
|
|
width: 220px;
|
|
flex-shrink: 0;
|
|
border-right: 1px solid var(--border-soft);
|
|
padding: 0.75rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.3rem;
|
|
}
|
|
|
|
.ts-favorites-list-group-title {
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
color: var(--text-muted);
|
|
margin-top: 0.4rem;
|
|
}
|
|
|
|
.ts-favorites-list-group-title:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.ts-favorites-list-empty {
|
|
font-size: 11px;
|
|
font-style: italic;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.ts-favorites-list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.ts-favorites-list-item {
|
|
padding: 0.3rem 0.4rem;
|
|
border-radius: 2px;
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.ts-favorites-list-item:hover {
|
|
background: var(--row-hover);
|
|
}
|
|
|
|
.ts-favorites-list-item-selected {
|
|
background: var(--row-hover);
|
|
outline: 1px solid var(--border);
|
|
}
|
|
|
|
.ts-favorites-fields-col {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.6rem;
|
|
padding: 0.75rem;
|
|
}
|
|
|
|
.ts-favorites-profile-col {
|
|
width: 200px;
|
|
flex-shrink: 0;
|
|
border-left: 1px solid var(--border-soft);
|
|
padding: 0.75rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.6rem;
|
|
}
|
|
|
|
.ts-options-dialog {
|
|
width: 640px;
|
|
}
|
|
|
|
.ts-options-body {
|
|
display: flex;
|
|
height: min(420px, 70vh);
|
|
}
|
|
|
|
.ts-options-sidebar {
|
|
width: 200px;
|
|
flex-shrink: 0;
|
|
border-right: 1px solid var(--border-soft);
|
|
padding: 0.5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.15rem;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.ts-options-sidebar-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.4rem 0.5rem;
|
|
border-radius: 2px;
|
|
font-size: 12px;
|
|
text-align: left;
|
|
background: none;
|
|
border: none;
|
|
color: var(--text);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ts-options-sidebar-item:hover {
|
|
background: var(--row-hover);
|
|
}
|
|
|
|
.ts-options-sidebar-item-active {
|
|
background: var(--row-hover);
|
|
outline: 1px solid var(--border);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.ts-options-sidebar-icon {
|
|
width: 1.2em;
|
|
text-align: center;
|
|
}
|
|
|
|
.ts-options-content {
|
|
flex: 1;
|
|
padding: 1rem;
|
|
overflow-y: auto;
|
|
min-width: 0;
|
|
}
|
|
|
|
.ts-options-content h3 {
|
|
margin: 0 0 0.5rem;
|
|
}
|
|
|
|
.ts-options-placeholder {
|
|
font-size: 12px;
|
|
font-style: italic;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.ts-options-subtitle {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
margin: 0 0 0.75rem;
|
|
}
|
|
|
|
.ts-options-columns {
|
|
display: flex;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.ts-options-profile-list {
|
|
width: 110px;
|
|
flex-shrink: 0;
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.ts-options-profile-item-active {
|
|
padding: 0.3rem 0.4rem;
|
|
border-radius: 2px;
|
|
font-size: 12px;
|
|
background: var(--row-hover);
|
|
outline: 1px solid var(--border);
|
|
}
|
|
|
|
.ts-options-fields {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.6rem;
|
|
min-width: 0;
|
|
}
|
|
|
|
.ts-options-field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.2rem;
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.ts-options-field select,
|
|
.ts-options-field-inline input {
|
|
background: var(--input-bg);
|
|
color: var(--text);
|
|
border: 1px solid var(--border);
|
|
border-radius: 2px;
|
|
padding: 0.3rem;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.ts-options-field select:disabled {
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.ts-options-slider-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.ts-options-slider-label {
|
|
font-weight: 600;
|
|
color: var(--text);
|
|
}
|
|
|
|
.ts-options-slider-with-value {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.ts-options-slider-with-value input[type="range"] {
|
|
flex: 1;
|
|
}
|
|
|
|
.ts-options-db-value {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
width: 4.5em;
|
|
text-align: right;
|
|
}
|
|
|
|
.ts-options-fieldset {
|
|
border: 1px solid var(--border-soft);
|
|
border-radius: 4px;
|
|
padding: 0.5rem 0.75rem 0.75rem;
|
|
margin: 0;
|
|
}
|
|
|
|
.ts-options-fieldset legend {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
padding: 0 0.3rem;
|
|
}
|
|
|
|
.ts-options-checkbox,
|
|
.ts-options-radio {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
font-size: 12px;
|
|
padding: 0.15rem 0;
|
|
}
|
|
|
|
.ts-options-dsp-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 0.2rem 1rem;
|
|
}
|
|
|
|
.ts-options-level-wrap {
|
|
position: relative;
|
|
margin: 0.5rem 0;
|
|
}
|
|
|
|
.ts-options-level-track {
|
|
height: 8px;
|
|
border-radius: 4px;
|
|
background: var(--input-bg);
|
|
border: 1px solid var(--border-soft);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ts-options-level-fill {
|
|
height: 100%;
|
|
background: var(--accent);
|
|
transition: width 0.05s linear;
|
|
}
|
|
|
|
.ts-options-level-threshold {
|
|
width: 100%;
|
|
margin-top: 0.3rem;
|
|
}
|
|
|
|
.ts-options-field-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.ts-options-field-inline {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.3rem;
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.ts-options-field-inline input[type="number"] {
|
|
width: 4em;
|
|
}
|
|
|
|
.ts-options-test-dot {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
background: var(--border);
|
|
display: inline-block;
|
|
}
|
|
|
|
.ts-options-test-dot-on {
|
|
background: #4caf50;
|
|
}
|
|
|
|
.ts-dialog-titlebar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0.5rem 0.75rem;
|
|
border-bottom: 1px solid var(--border-soft);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.ts-dialog-titlebar button {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.ts-dialog-titlebar button:hover {
|
|
color: var(--text);
|
|
}
|
|
|
|
.ts-dialog-body {
|
|
padding: 0.75rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.6rem;
|
|
}
|
|
|
|
.ts-dialog-row {
|
|
display: flex;
|
|
gap: 0.6rem;
|
|
}
|
|
|
|
.ts-dialog-field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.2rem;
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.ts-dialog-field-grow {
|
|
flex: 1;
|
|
}
|
|
|
|
.ts-dialog-field input,
|
|
.ts-dialog-field select {
|
|
border: 1px solid var(--border);
|
|
border-radius: 2px;
|
|
padding: 0.3rem 0.4rem;
|
|
font-size: 13px;
|
|
background: var(--input-bg);
|
|
color: var(--input-text);
|
|
}
|
|
|
|
.ts-dialog-field input:disabled,
|
|
.ts-dialog-field select:disabled {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.ts-dialog-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 0.6rem;
|
|
padding-top: 0.4rem;
|
|
border-top: 1px solid var(--border-soft);
|
|
}
|
|
|
|
.ts-dialog-checkbox {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
align-self: end;
|
|
}
|
|
|
|
.ts-dialog-buttons {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0.6rem 0.75rem;
|
|
border-top: 1px solid var(--border-soft);
|
|
}
|
|
|
|
.ts-dialog-buttons-right {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.ts-dialog-buttons button {
|
|
border: 1px solid var(--border);
|
|
border-radius: 3px;
|
|
background: linear-gradient(to bottom, var(--button-bg-1), var(--button-bg-2));
|
|
color: var(--text);
|
|
padding: 0.3rem 0.8rem;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.ts-dialog-buttons button:hover:not(:disabled) {
|
|
background: linear-gradient(to bottom, var(--button-bg-hover-1), var(--button-bg-hover-2));
|
|
}
|
|
|
|
.ts-dialog-buttons button:disabled {
|
|
opacity: 0.4;
|
|
cursor: default;
|
|
}
|
|
|
|
.ts-poke-compose-backdrop {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.35);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 10;
|
|
}
|
|
|
|
.ts-poke-compose {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.9rem 1.1rem;
|
|
background: var(--bg-toolbar-1);
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
color: var(--text);
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.ts-poke-compose input {
|
|
background: var(--input-bg);
|
|
color: var(--input-text);
|
|
border: 1px solid var(--border);
|
|
border-radius: 3px;
|
|
padding: 0.3rem 0.5rem;
|
|
min-width: 220px;
|
|
}
|
|
|
|
.ts-poke-compose button {
|
|
background: linear-gradient(var(--button-bg-1), var(--button-bg-2));
|
|
border: 1px solid var(--border);
|
|
border-radius: 3px;
|
|
color: var(--text);
|
|
cursor: pointer;
|
|
padding: 0.3rem 0.7rem;
|
|
}
|
|
|
|
.ts-poke-compose button:hover {
|
|
background: linear-gradient(var(--button-bg-hover-1), var(--button-bg-hover-2));
|
|
}
|
|
|
|
.ts-poke-notice {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.75rem;
|
|
padding: 0.5rem 0.9rem;
|
|
background: #e8a53d;
|
|
color: #1a1a1a;
|
|
font-size: 13px;
|
|
animation: ts-poke-flash 0.4s ease-in-out 2;
|
|
}
|
|
|
|
@keyframes ts-poke-flash {
|
|
0%, 100% {
|
|
filter: brightness(1);
|
|
}
|
|
50% {
|
|
filter: brightness(1.3);
|
|
}
|
|
}
|
|
|
|
.ts-poke-notice button {
|
|
background: transparent;
|
|
border: none;
|
|
color: #1a1a1a;
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.ts-poke-notice button:hover {
|
|
opacity: 1;
|
|
}
|