mirror of
https://github.com/nimbold/Firelink.git
synced 2026-07-26 20:18:37 +00:00
f3eff02069
Lower GNOME and minimal controls to the same titlebar baseline as Windows 11. Refs #31
3132 lines
71 KiB
CSS
3132 lines
71 KiB
CSS
@import "tailwindcss" source(none);
|
|
@source "../src";
|
|
@source "../index.html";
|
|
|
|
:root {
|
|
/* Default/fallback Light (macOS Light Mode) */
|
|
--main-bg: 0 0% 98%;
|
|
--sidebar-bg: 0 0% 95% / 0.8;
|
|
--sidebar-glass: 0 0% 95% / 0.8;
|
|
--border-color: 0 0% 88%;
|
|
--item-hover: 0 0% 0% / 0.05;
|
|
--item-selected: 211 100% 50%;
|
|
--accent-color: 211 100% 50%;
|
|
--stripe-bg: 0 0% 0% / 0.035;
|
|
|
|
--text-primary: 0 0% 10%;
|
|
--text-secondary: 0 0% 40%;
|
|
--text-muted: 0 0% 55%;
|
|
--bg-modal: 0 0% 100%;
|
|
--bg-input: 0 0% 100%;
|
|
--border-modal: 0 0% 85%;
|
|
--surface-raised: 0 0% 100%;
|
|
--surface-overlay: 0 0% 100% / 0.95;
|
|
--shadow-color: 220 10% 20% / 0.1;
|
|
--sidebar-shell-bg: 0 0% 92%;
|
|
--sidebar-panel-bg: 0 0% 93%;
|
|
--workspace-bg: 0 0% 98%;
|
|
--statusbar-bg: 0 0% 96%;
|
|
--status-completed: 136 62% 48%;
|
|
--status-paused: 0 0% 56%;
|
|
--status-downloading: 211 100% 56%;
|
|
--status-failed: 0 62% 58%;
|
|
--status-queued: 38 92% 50%;
|
|
--status-retrying: 50 100% 50%;
|
|
--sidebar-border: 0 0% 0% / 0.18;
|
|
--sidebar-hover: 0 0% 0% / 0.06;
|
|
--download-header-height: 32px;
|
|
--download-row-height: 32px;
|
|
--download-row-margin: 2px;
|
|
--download-row-padding-x: 16px;
|
|
--download-row-font-size: 12px;
|
|
--download-status-font-size: 10px;
|
|
--download-cell-gap: 9px;
|
|
--download-status-gap: 8px;
|
|
--download-progress-height: 14px;
|
|
}
|
|
|
|
.theme-light {
|
|
color-scheme: light;
|
|
--main-bg: 0 0% 98%;
|
|
--sidebar-bg: 0 0% 95% / 0.8;
|
|
--sidebar-glass: 0 0% 95% / 0.8;
|
|
--border-color: 0 0% 88%;
|
|
--item-hover: 0 0% 0% / 0.05;
|
|
--item-selected: 211 100% 50%;
|
|
--accent-color: 211 100% 50%;
|
|
--stripe-bg: 0 0% 0% / 0.035;
|
|
--text-primary: 0 0% 10%;
|
|
--text-secondary: 0 0% 40%;
|
|
--text-muted: 0 0% 55%;
|
|
--bg-modal: 0 0% 100%;
|
|
--bg-input: 0 0% 100%;
|
|
--border-modal: 0 0% 85%;
|
|
--surface-raised: 0 0% 100%;
|
|
--surface-overlay: 0 0% 100% / 0.95;
|
|
--shadow-color: 220 10% 20% / 0.1;
|
|
--sidebar-shell-bg: 0 0% 92%;
|
|
--sidebar-panel-bg: 0 0% 93%;
|
|
--workspace-bg: 0 0% 98%;
|
|
--statusbar-bg: 0 0% 96%;
|
|
--sidebar-border: 0 0% 0% / 0.18;
|
|
--sidebar-hover: 0 0% 0% / 0.06;
|
|
}
|
|
|
|
.theme-dark {
|
|
color-scheme: dark;
|
|
--main-bg: 0 0% 11%;
|
|
--sidebar-bg: 0 0% 13%;
|
|
--sidebar-glass: 0 0% 13%;
|
|
--surface-raised: 0 0% 12%;
|
|
--surface-overlay: 0 0% 14%;
|
|
--border-color: 0 0% 100% / 0.10;
|
|
--border-modal: 0 0% 100% / 0.14;
|
|
--item-hover: 0 0% 100% / 0.07;
|
|
--item-selected: 211 100% 56%;
|
|
--accent-color: 211 100% 56%;
|
|
--stripe-bg: 0 0% 100% / 0.025;
|
|
--text-primary: 0 0% 91%;
|
|
--text-secondary: 0 0% 75%;
|
|
--text-muted: 0 0% 50%;
|
|
--bg-modal: 0 0% 13%;
|
|
--bg-input: 0 0% 16%;
|
|
--shadow-color: 0 0% 0% / 0.30;
|
|
--status-completed: 136 62% 48%;
|
|
--status-paused: 0 0% 56%;
|
|
--status-downloading: 211 100% 56%;
|
|
--status-failed: 0 62% 58%;
|
|
--status-queued: 38 95% 55%;
|
|
--status-retrying: 50 100% 60%;
|
|
--sidebar-shell-bg: 0 0% 11%;
|
|
--sidebar-panel-bg: 0 0% 13%;
|
|
--workspace-bg: 0 0% 11%;
|
|
--statusbar-bg: 0 0% 11%;
|
|
--sidebar-border: 0 0% 100% / 0.11;
|
|
--sidebar-hover: 0 0% 100% / 0.07;
|
|
--add-window-bg: 0 0% 13%;
|
|
--add-left-bg: 0 0% 15%;
|
|
--add-settings-bg: 0 0% 12%;
|
|
--add-section-bg: 0 0% 17%;
|
|
--add-control-bg: 0 0% 12%;
|
|
--add-preview-bg: 0 0% 14%;
|
|
--add-header-bg: 0 0% 17%;
|
|
--add-footer-bg: 0 0% 15%;
|
|
--add-keyline: 0 0% 100% / 0.11;
|
|
--add-keyline-strong: 0 0% 100% / 0.16;
|
|
--add-shadow: 0 0% 0% / 0.28;
|
|
}
|
|
|
|
.theme-dracula {
|
|
color-scheme: dark;
|
|
--main-bg: 231 15% 18%;
|
|
--sidebar-bg: 232 14% 23%;
|
|
--sidebar-glass: 232 14% 23%;
|
|
--surface-raised: 232 14% 23%;
|
|
--surface-overlay: 231 15% 20%;
|
|
--border-color: 232 10% 55% / 0.24;
|
|
--border-modal: 232 10% 65% / 0.26;
|
|
--item-hover: 326 100% 74% / 0.10;
|
|
--item-selected: 326 100% 74%;
|
|
--accent-color: 326 100% 74%;
|
|
--stripe-bg: 0 0% 100% / 0.025;
|
|
--text-primary: 60 30% 96%;
|
|
--text-secondary: 228 14% 74%;
|
|
--text-muted: 229 12% 58%;
|
|
--bg-modal: 232 14% 23%;
|
|
--bg-input: 231 15% 20%;
|
|
--shadow-color: 231 20% 8% / 0.35;
|
|
--status-completed: 135 94% 65%;
|
|
--status-paused: 65 92% 76%;
|
|
--status-downloading: 191 97% 77%;
|
|
--status-failed: 0 100% 67%;
|
|
--status-queued: 38 95% 60%;
|
|
--status-retrying: 50 100% 65%;
|
|
--sidebar-shell-bg: 231 15% 15%;
|
|
--sidebar-panel-bg: 232 14% 23%;
|
|
--workspace-bg: 231 15% 18%;
|
|
--statusbar-bg: 231 15% 16%;
|
|
--sidebar-border: 326 100% 74% / 0.16;
|
|
--sidebar-hover: 326 100% 74% / 0.10;
|
|
--add-window-bg: 231 15% 18%;
|
|
--add-left-bg: 231 15% 20%;
|
|
--add-settings-bg: 231 16% 17%;
|
|
--add-section-bg: 232 14% 23%;
|
|
--add-control-bg: 231 16% 17%;
|
|
--add-preview-bg: 231 15% 19%;
|
|
--add-header-bg: 232 14% 23%;
|
|
--add-footer-bg: 231 15% 19%;
|
|
--add-keyline: 228 14% 74% / 0.14;
|
|
--add-keyline-strong: 228 14% 74% / 0.22;
|
|
--add-shadow: 231 30% 7% / 0.32;
|
|
}
|
|
|
|
.theme-nord {
|
|
color-scheme: dark;
|
|
--main-bg: 220 16% 22%;
|
|
--sidebar-bg: 220 17% 27%;
|
|
--sidebar-glass: 220 17% 27%;
|
|
--surface-raised: 220 17% 27%;
|
|
--surface-overlay: 220 16% 24%;
|
|
--border-color: 218 17% 51% / 0.28;
|
|
--border-modal: 218 17% 62% / 0.28;
|
|
--item-hover: 193 43% 67% / 0.12;
|
|
--item-selected: 193 43% 67%;
|
|
--accent-color: 193 43% 67%;
|
|
--stripe-bg: 0 0% 100% / 0.025;
|
|
--text-primary: 218 27% 92%;
|
|
--text-secondary: 219 28% 80%;
|
|
--text-muted: 218 17% 63%;
|
|
--bg-modal: 220 17% 27%;
|
|
--bg-input: 220 16% 24%;
|
|
--shadow-color: 220 25% 10% / 0.34;
|
|
--status-completed: 92 28% 65%;
|
|
--status-paused: 40 71% 73%;
|
|
--status-downloading: 193 43% 67%;
|
|
--status-failed: 354 42% 56%;
|
|
--status-queued: 40 71% 60%;
|
|
--status-retrying: 50 85% 55%;
|
|
--sidebar-shell-bg: 220 18% 18%;
|
|
--sidebar-panel-bg: 220 17% 27%;
|
|
--workspace-bg: 220 16% 22%;
|
|
--statusbar-bg: 220 18% 19%;
|
|
--sidebar-border: 193 43% 67% / 0.16;
|
|
--sidebar-hover: 193 43% 67% / 0.11;
|
|
--add-window-bg: 220 16% 22%;
|
|
--add-left-bg: 220 16% 24%;
|
|
--add-settings-bg: 220 18% 20%;
|
|
--add-section-bg: 220 17% 27%;
|
|
--add-control-bg: 220 18% 20%;
|
|
--add-preview-bg: 220 16% 23%;
|
|
--add-header-bg: 220 17% 27%;
|
|
--add-footer-bg: 220 17% 23%;
|
|
--add-keyline: 218 17% 75% / 0.15;
|
|
--add-keyline-strong: 218 17% 75% / 0.23;
|
|
--add-shadow: 220 28% 10% / 0.30;
|
|
}
|
|
|
|
@theme {
|
|
--color-sidebar-bg: hsl(var(--sidebar-bg));
|
|
--color-sidebar-glass: hsl(var(--sidebar-glass));
|
|
--color-main-bg: hsl(var(--main-bg));
|
|
--color-accent: hsl(var(--accent-color));
|
|
--color-border-color: hsl(var(--border-color));
|
|
--color-item-hover: hsl(var(--item-hover));
|
|
--color-item-selected: hsl(var(--item-selected));
|
|
|
|
--color-text-primary: hsl(var(--text-primary));
|
|
--color-text-secondary: hsl(var(--text-secondary));
|
|
--color-text-muted: hsl(var(--text-muted));
|
|
--color-bg-modal: hsl(var(--bg-modal));
|
|
--color-bg-input: hsl(var(--bg-input));
|
|
--color-border-modal: hsl(var(--border-modal));
|
|
--color-surface-raised: hsl(var(--surface-raised));
|
|
--color-surface-overlay: hsl(var(--surface-overlay));
|
|
--color-bg-context-menu: hsl(var(--surface-overlay));
|
|
|
|
/* Apple System Fonts */
|
|
--font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
}
|
|
|
|
@layer base {
|
|
html,
|
|
body {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
body.is-resizing,
|
|
body.is-resizing *,
|
|
body.is-column-resizing,
|
|
body.is-column-resizing * {
|
|
cursor: col-resize !important;
|
|
user-select: none !important;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
background-color: transparent;
|
|
color: var(--color-text-primary);
|
|
font-family: var(--font-sans);
|
|
overflow: hidden;
|
|
user-select: none;
|
|
-webkit-user-select: none;
|
|
cursor: default;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
transition: background-color 0.2s ease, color 0.2s ease;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
button,
|
|
input,
|
|
select,
|
|
textarea {
|
|
font: inherit;
|
|
}
|
|
|
|
button {
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
button:disabled {
|
|
cursor: default;
|
|
}
|
|
|
|
input:not([type]),
|
|
input[type="date"],
|
|
input[type="datetime-local"],
|
|
input[type="email"],
|
|
input[type="month"],
|
|
input[type="number"],
|
|
input[type="password"],
|
|
input[type="search"],
|
|
input[type="tel"],
|
|
input[type="text"],
|
|
input[type="time"],
|
|
input[type="url"],
|
|
input[type="week"],
|
|
textarea {
|
|
user-select: auto;
|
|
-webkit-user-select: auto;
|
|
cursor: text;
|
|
}
|
|
|
|
input[type="checkbox"],
|
|
input[type="radio"],
|
|
input[type="range"],
|
|
input[type="color"],
|
|
input[type="file"],
|
|
label:has(input[type="checkbox"]:not(:disabled)),
|
|
label:has(input[type="radio"]:not(:disabled)) {
|
|
cursor: pointer;
|
|
}
|
|
|
|
input:disabled,
|
|
label:has(input:disabled) {
|
|
cursor: default;
|
|
}
|
|
|
|
:focus-visible {
|
|
outline: 2px solid hsl(var(--accent-color) / 0.5);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
html[data-font-size="small"] {
|
|
font-size: 13px;
|
|
--download-row-font-size: 11px;
|
|
--download-status-font-size: 9px;
|
|
}
|
|
|
|
html[data-font-size="standard"] {
|
|
font-size: 14px;
|
|
--download-row-font-size: 12px;
|
|
--download-status-font-size: 10px;
|
|
}
|
|
|
|
html[data-font-size="large"] {
|
|
font-size: 16px;
|
|
--download-row-font-size: 13.5px;
|
|
--download-status-font-size: 11.5px;
|
|
}
|
|
|
|
html[data-list-density="compact"] {
|
|
--download-header-height: 28px;
|
|
--download-row-height: 26px;
|
|
--download-row-margin: 1px;
|
|
--download-row-padding-x: 12px;
|
|
--download-cell-gap: 7px;
|
|
--download-status-gap: 6px;
|
|
--download-progress-height: 10px;
|
|
}
|
|
|
|
html[data-list-density="standard"] {
|
|
--download-header-height: 32px;
|
|
--download-row-height: 32px;
|
|
--download-row-margin: 2px;
|
|
--download-row-padding-x: 16px;
|
|
--download-cell-gap: 9px;
|
|
--download-status-gap: 8px;
|
|
--download-progress-height: 14px;
|
|
}
|
|
|
|
html[data-list-density="relaxed"] {
|
|
--download-header-height: 38px;
|
|
--download-row-height: 42px;
|
|
--download-row-margin: 4px;
|
|
--download-row-padding-x: 20px;
|
|
--download-cell-gap: 12px;
|
|
--download-status-gap: 10px;
|
|
--download-progress-height: 16px;
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
width: 6px;
|
|
height: 6px;
|
|
}
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
::-webkit-scrollbar-thumb {
|
|
background: var(--color-border-color);
|
|
border-radius: 6px;
|
|
}
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: var(--color-text-muted);
|
|
}
|
|
|
|
::selection {
|
|
background: hsl(var(--accent-color) / 0.3);
|
|
color: var(--color-text-primary);
|
|
}
|
|
}
|
|
|
|
@layer components {
|
|
/* macOS Surfaces */
|
|
.app-surface {
|
|
background: hsl(var(--surface-raised));
|
|
border: 1px solid hsl(var(--border-color));
|
|
box-shadow:
|
|
inset 0 1px 0 hsl(0 0% 100% / 0.055),
|
|
0 18px 50px hsl(var(--shadow-color));
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.app-card {
|
|
background: hsl(var(--surface-raised));
|
|
border: 1px solid hsl(var(--border-color));
|
|
box-shadow:
|
|
inset 0 1px 0 hsl(0 0% 100% / 0.055),
|
|
0 18px 50px hsl(var(--shadow-color));
|
|
border-radius: 10px;
|
|
transition: none;
|
|
}
|
|
|
|
.app-control {
|
|
min-height: 28px;
|
|
border: 1px solid hsl(var(--border-modal));
|
|
border-radius: 6px;
|
|
background: hsl(var(--bg-input));
|
|
color: hsl(var(--text-primary));
|
|
font-family: var(--font-sans);
|
|
font-size: 13px;
|
|
line-height: 1.35;
|
|
transition: border-color 100ms ease;
|
|
}
|
|
|
|
.app-control::placeholder {
|
|
color: hsl(var(--text-muted));
|
|
opacity: 0.72;
|
|
}
|
|
|
|
.app-control:hover:not(:disabled) {
|
|
border-color: hsl(var(--text-muted));
|
|
}
|
|
|
|
.app-control:focus {
|
|
border-color: var(--color-accent);
|
|
box-shadow: 0 0 0 3px hsl(var(--accent-color) / 0.2);
|
|
outline: none;
|
|
}
|
|
|
|
.app-button {
|
|
display: inline-flex;
|
|
min-height: 28px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
border: 1px solid hsl(var(--border-modal));
|
|
border-radius: 6px;
|
|
background: hsl(var(--bg-input));
|
|
color: hsl(var(--text-primary));
|
|
font-weight: 500;
|
|
font-size: 13px;
|
|
transition: background-color 100ms ease, border-color 100ms ease, box-shadow 100ms ease, transform 100ms ease;
|
|
box-shadow: 0 1px 1px hsl(var(--shadow-color));
|
|
}
|
|
|
|
.app-button:hover:not(:disabled) {
|
|
background: hsl(var(--item-hover));
|
|
}
|
|
|
|
.app-button:active:not(:disabled) {
|
|
background: hsl(var(--border-color));
|
|
transform: scale(0.96);
|
|
}
|
|
|
|
.app-button-primary {
|
|
border-color: transparent;
|
|
background: var(--color-accent);
|
|
color: white;
|
|
}
|
|
|
|
.app-button-primary:hover:not(:disabled) {
|
|
background: hsl(var(--accent-color) / 0.9);
|
|
}
|
|
|
|
.app-icon-button {
|
|
display: inline-flex;
|
|
width: 28px;
|
|
height: 28px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 6px;
|
|
color: hsl(var(--text-secondary));
|
|
transition: background-color 100ms ease, transform 100ms ease;
|
|
}
|
|
|
|
.app-icon-button:hover:not(:disabled) {
|
|
background: hsl(var(--item-hover));
|
|
color: hsl(var(--text-primary));
|
|
}
|
|
|
|
.app-icon-button:active:not(:disabled) {
|
|
background: hsl(var(--border-color));
|
|
transform: scale(0.94);
|
|
}
|
|
|
|
.download-cell-right .app-icon-button:hover:not(:disabled) {
|
|
background: hsl(var(--accent-color) / 0.15);
|
|
color: hsl(var(--accent-color));
|
|
}
|
|
|
|
.download-cell-right .app-icon-button:active:not(:disabled) {
|
|
background: hsl(var(--accent-color) / 0.25);
|
|
transform: scale(0.94);
|
|
}
|
|
|
|
.app-modal-backdrop {
|
|
/* Keep the scrim animation from applying opacity to the modal subtree. */
|
|
background-color: hsl(0 0% 0% / 0.2);
|
|
animation: modal-backdrop-in 150ms ease-out;
|
|
overflow: auto;
|
|
padding: 16px;
|
|
}
|
|
|
|
.app-shell--window-chrome .app-modal-backdrop {
|
|
padding-top: 56px;
|
|
}
|
|
|
|
.app-modal-backdrop > .app-modal,
|
|
.app-modal-backdrop > .window-safe-modal {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
.app-modal {
|
|
background: hsl(var(--surface-overlay));
|
|
backdrop-filter: blur(40px);
|
|
-webkit-backdrop-filter: blur(40px);
|
|
border: 1px solid hsl(var(--border-modal));
|
|
border-radius: 12px;
|
|
box-shadow: 0 20px 40px hsl(var(--shadow-color));
|
|
animation: modal-in 150ms ease-out;
|
|
}
|
|
|
|
/* Add Download window */
|
|
.add-download-modal {
|
|
width: min(900px, 100%);
|
|
height: min(650px, 100%);
|
|
min-width: 0;
|
|
min-height: 0;
|
|
--add-surface: hsl(var(--surface-raised) / 0.72);
|
|
--add-highlight: hsl(0 0% 100% / 0.08);
|
|
background:
|
|
linear-gradient(180deg, hsl(var(--surface-overlay) / 0.94), hsl(var(--bg-modal) / 0.98));
|
|
backdrop-filter: blur(22px) saturate(1.12);
|
|
-webkit-backdrop-filter: blur(22px) saturate(1.12);
|
|
border-color: hsl(var(--border-modal));
|
|
border-radius: 14px;
|
|
box-shadow:
|
|
inset 0 1px 0 hsl(0 0% 100% / 0.08),
|
|
0 28px 70px hsl(var(--shadow-color)),
|
|
0 2px 10px hsl(var(--shadow-color));
|
|
}
|
|
|
|
.add-download-left {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
border-inline-end: 1px solid hsl(var(--border-modal));
|
|
background:
|
|
radial-gradient(circle at 18% 0%, hsl(var(--accent-color) / 0.055), transparent 34%),
|
|
hsl(var(--main-bg) / 0.56);
|
|
}
|
|
|
|
.add-download-settings {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
background: hsl(var(--bg-modal) / 0.7);
|
|
}
|
|
|
|
.add-download-section-title {
|
|
color: hsl(var(--text-primary));
|
|
font-size: 13px;
|
|
font-weight: 650;
|
|
letter-spacing: -0.005em;
|
|
}
|
|
|
|
.add-download-section {
|
|
border: 1px solid hsl(var(--border-modal));
|
|
border-radius: 11px;
|
|
background:
|
|
linear-gradient(180deg, var(--add-highlight), transparent 38%),
|
|
var(--add-surface);
|
|
padding: 14px;
|
|
box-shadow:
|
|
inset 0 1px 0 hsl(0 0% 100% / 0.045),
|
|
0 1px 2px hsl(var(--shadow-color));
|
|
}
|
|
|
|
.add-download-control {
|
|
min-height: 30px;
|
|
border: 1px solid hsl(var(--border-modal));
|
|
border-radius: 7px;
|
|
background:
|
|
linear-gradient(180deg, hsl(0 0% 100% / 0.035), transparent),
|
|
hsl(var(--bg-input) / 0.9);
|
|
color: hsl(var(--text-primary));
|
|
box-shadow:
|
|
inset 0 1px 2px hsl(var(--shadow-color)),
|
|
0 1px 0 hsl(0 0% 100% / 0.035);
|
|
transition:
|
|
border-color 120ms ease,
|
|
background-color 120ms ease,
|
|
box-shadow 120ms ease;
|
|
}
|
|
|
|
.add-download-control:hover:not(:disabled):not(:read-only) {
|
|
border-color: hsl(var(--text-muted) / 0.7);
|
|
}
|
|
|
|
.add-download-control:focus,
|
|
.add-download-control:focus-visible {
|
|
border-color: hsl(var(--accent-color) / 0.9);
|
|
outline: none;
|
|
box-shadow:
|
|
0 0 0 3px hsl(var(--accent-color) / 0.18),
|
|
inset 0 1px 2px hsl(var(--shadow-color));
|
|
}
|
|
|
|
.add-download-control:read-only {
|
|
background: hsl(var(--bg-input) / 0.62);
|
|
}
|
|
|
|
.add-download-control::placeholder {
|
|
color: hsl(var(--text-muted) / 0.82);
|
|
}
|
|
|
|
.add-download-links-input {
|
|
border-radius: 10px;
|
|
line-height: 1.55;
|
|
direction: ltr;
|
|
text-align: left;
|
|
}
|
|
|
|
.add-download-links-input--rtl:placeholder-shown {
|
|
direction: rtl;
|
|
text-align: right;
|
|
}
|
|
|
|
.add-download-link-button {
|
|
border-radius: 6px;
|
|
color: hsl(var(--accent-color));
|
|
padding: 3px 5px;
|
|
transition: background-color 120ms ease, color 120ms ease;
|
|
}
|
|
|
|
.add-download-link-button:hover {
|
|
background: hsl(var(--accent-color) / 0.1);
|
|
}
|
|
|
|
.add-download-summary-card {
|
|
min-width: 0;
|
|
padding: 10px 11px;
|
|
border: 1px solid hsl(var(--border-modal));
|
|
border-radius: 10px;
|
|
background:
|
|
linear-gradient(145deg, hsl(0 0% 100% / 0.055), transparent 55%),
|
|
var(--add-surface);
|
|
box-shadow:
|
|
inset 0 1px 0 hsl(0 0% 100% / 0.045),
|
|
0 1px 2px hsl(var(--shadow-color));
|
|
}
|
|
|
|
.add-download-preview {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
border: 1px solid hsl(var(--border-modal));
|
|
border-radius: 11px;
|
|
background: hsl(var(--bg-input) / 0.35);
|
|
box-shadow: inset 0 1px 2px hsl(var(--shadow-color));
|
|
}
|
|
|
|
.add-download-preview-header {
|
|
flex-shrink: 0;
|
|
border-bottom: 1px solid hsl(var(--border-modal));
|
|
background: hsl(var(--surface-raised) / 0.66);
|
|
}
|
|
|
|
.add-download-preview-row {
|
|
flex-shrink: 0;
|
|
transition:
|
|
background-color 100ms ease,
|
|
border-color 100ms ease,
|
|
box-shadow 100ms ease;
|
|
}
|
|
|
|
.add-download-preview-row:hover {
|
|
background: hsl(var(--item-hover));
|
|
}
|
|
|
|
.add-download-preview-row.is-selected {
|
|
border-color: hsl(var(--accent-color) / 0.34);
|
|
background: hsl(var(--accent-color) / 0.11);
|
|
box-shadow: inset 3px 0 0 hsl(var(--accent-color) / 0.85);
|
|
}
|
|
|
|
.add-download-preview-row:focus-visible,
|
|
.add-download-format-row:focus-visible {
|
|
outline: 2px solid hsl(var(--accent-color) / 0.6);
|
|
outline-offset: -1px;
|
|
}
|
|
|
|
.add-download-empty {
|
|
color: hsl(var(--text-muted) / 0.86);
|
|
}
|
|
|
|
.add-download-media-section {
|
|
border-color: hsl(272 70% 62% / 0.28);
|
|
background:
|
|
radial-gradient(circle at 100% 0%, hsl(272 75% 60% / 0.09), transparent 46%),
|
|
var(--add-surface);
|
|
}
|
|
|
|
.add-download-format-row {
|
|
border-color: hsl(var(--border-modal));
|
|
border-radius: 8px;
|
|
background: hsl(var(--bg-input) / 0.7);
|
|
transition:
|
|
background-color 100ms ease,
|
|
border-color 100ms ease,
|
|
box-shadow 100ms ease;
|
|
}
|
|
|
|
.add-download-format-row:hover {
|
|
background: hsl(var(--item-hover));
|
|
border-color: hsl(var(--text-muted) / 0.55);
|
|
}
|
|
|
|
.add-download-format-row.is-selected {
|
|
border-color: hsl(272 74% 62% / 0.42);
|
|
background: hsl(272 74% 58% / 0.12);
|
|
box-shadow: inset 3px 0 0 hsl(272 74% 62% / 0.9);
|
|
}
|
|
|
|
.add-download-quality-chip,
|
|
.download-quality-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: 18px;
|
|
padding: 1px 6px;
|
|
border: 1px solid hsl(272 74% 62% / 0.32);
|
|
border-radius: 999px;
|
|
background: hsl(272 74% 58% / 0.12);
|
|
color: hsl(272 74% 62%);
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
line-height: 1.2;
|
|
letter-spacing: 0.01em;
|
|
}
|
|
|
|
.add-download-quality-chip-button {
|
|
cursor: pointer;
|
|
transition: background-color 100ms ease, border-color 100ms ease;
|
|
}
|
|
|
|
.add-download-quality-chip-button:hover,
|
|
.add-download-quality-chip-button:focus-visible {
|
|
border-color: hsl(272 74% 62% / 0.72);
|
|
background: hsl(272 74% 58% / 0.24);
|
|
}
|
|
|
|
.add-download-select {
|
|
appearance: auto;
|
|
cursor: default;
|
|
}
|
|
|
|
.add-download-value {
|
|
min-width: 25px;
|
|
padding: 2px 4px;
|
|
border: 1px solid hsl(var(--border-modal));
|
|
border-radius: 5px;
|
|
background: hsl(var(--bg-input) / 0.68);
|
|
}
|
|
|
|
.add-download-checkbox {
|
|
appearance: none;
|
|
width: 15px;
|
|
height: 15px;
|
|
flex: 0 0 15px;
|
|
border: 1px solid hsl(var(--border-modal));
|
|
border-radius: 4px;
|
|
background: hsl(var(--bg-input) / 0.92);
|
|
box-shadow: inset 0 1px 1px hsl(var(--shadow-color));
|
|
cursor: default;
|
|
transition:
|
|
border-color 100ms ease,
|
|
background-color 100ms ease,
|
|
box-shadow 100ms ease;
|
|
}
|
|
|
|
.add-download-checkbox:hover {
|
|
border-color: hsl(var(--text-muted) / 0.8);
|
|
}
|
|
|
|
.add-download-checkbox:checked {
|
|
border-color: hsl(var(--accent-color));
|
|
background-color: hsl(var(--accent-color));
|
|
background-image:
|
|
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m2.4 6.2 2.2 2.2 5-5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
.add-download-checkbox:focus-visible {
|
|
outline: none;
|
|
box-shadow:
|
|
0 0 0 3px hsl(var(--accent-color) / 0.2),
|
|
inset 0 1px 1px hsl(var(--shadow-color));
|
|
}
|
|
|
|
.add-download-range {
|
|
height: 16px;
|
|
accent-color: hsl(var(--accent-color));
|
|
}
|
|
|
|
.add-download-range:disabled {
|
|
opacity: 0.42;
|
|
}
|
|
|
|
.add-download-advanced {
|
|
padding: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.add-download-advanced-toggle {
|
|
min-height: 42px;
|
|
padding: 0 14px;
|
|
border-radius: 10px;
|
|
transition: background-color 100ms ease, color 100ms ease;
|
|
}
|
|
|
|
.add-download-advanced-toggle:hover {
|
|
background: hsl(var(--item-hover));
|
|
color: hsl(var(--accent-color));
|
|
}
|
|
|
|
.add-download-advanced > div {
|
|
padding: 0 14px 14px;
|
|
}
|
|
|
|
.add-download-footer {
|
|
border-top: 1px solid hsl(var(--border-modal));
|
|
background:
|
|
linear-gradient(180deg, hsl(0 0% 100% / 0.035), transparent),
|
|
hsl(var(--surface-raised) / 0.78);
|
|
box-shadow: 0 -1px 0 hsl(0 0% 100% / 0.025);
|
|
}
|
|
|
|
.add-download-button {
|
|
display: inline-flex;
|
|
min-height: 30px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
border: 1px solid transparent;
|
|
border-radius: 7px;
|
|
color: hsl(var(--text-primary));
|
|
font-weight: 560;
|
|
letter-spacing: -0.005em;
|
|
transition:
|
|
background-color 100ms ease,
|
|
border-color 100ms ease,
|
|
box-shadow 100ms ease,
|
|
transform 70ms ease,
|
|
opacity 100ms ease;
|
|
}
|
|
|
|
.add-download-button:active:not(:disabled) {
|
|
transform: scale(0.96);
|
|
}
|
|
|
|
.add-download-button-secondary {
|
|
border-color: hsl(var(--border-modal));
|
|
background:
|
|
linear-gradient(180deg, hsl(0 0% 100% / 0.055), transparent),
|
|
hsl(var(--bg-input) / 0.88);
|
|
box-shadow:
|
|
inset 0 1px 0 hsl(0 0% 100% / 0.055),
|
|
0 1px 2px hsl(var(--shadow-color));
|
|
}
|
|
|
|
.add-download-button-secondary:hover:not(:disabled) {
|
|
border-color: hsl(var(--text-muted) / 0.65);
|
|
background:
|
|
linear-gradient(hsl(var(--item-hover)), hsl(var(--item-hover))),
|
|
hsl(var(--bg-input));
|
|
}
|
|
|
|
.add-download-button-primary {
|
|
border-color: hsl(var(--accent-color) / 0.86);
|
|
background:
|
|
linear-gradient(180deg, hsl(0 0% 100% / 0.16), transparent 52%),
|
|
hsl(var(--accent-color));
|
|
color: white;
|
|
box-shadow:
|
|
inset 0 1px 0 hsl(0 0% 100% / 0.18),
|
|
0 1px 2px hsl(var(--accent-color) / 0.32);
|
|
}
|
|
|
|
.add-download-button-primary:hover:not(:disabled) {
|
|
background:
|
|
linear-gradient(180deg, hsl(0 0% 100% / 0.2), transparent 52%),
|
|
hsl(var(--accent-color) / 0.92);
|
|
box-shadow:
|
|
inset 0 1px 0 hsl(0 0% 100% / 0.2),
|
|
0 2px 5px hsl(var(--accent-color) / 0.3);
|
|
}
|
|
|
|
.add-download-button:disabled {
|
|
opacity: 0.42;
|
|
filter: saturate(0.55);
|
|
}
|
|
|
|
.add-download-button:focus-visible,
|
|
.add-download-link-button:focus-visible,
|
|
.add-download-advanced-toggle:focus-visible {
|
|
outline: 2px solid hsl(var(--accent-color) / 0.65);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
:is(.theme-dark, .theme-dracula, .theme-nord) .add-download-modal {
|
|
--add-surface: hsl(var(--add-section-bg));
|
|
--add-highlight: transparent;
|
|
background: hsl(var(--add-window-bg));
|
|
backdrop-filter: none;
|
|
-webkit-backdrop-filter: none;
|
|
border-color: hsl(var(--add-keyline-strong));
|
|
box-shadow:
|
|
0 24px 64px hsl(var(--add-shadow)),
|
|
0 1px 4px hsl(var(--add-shadow));
|
|
}
|
|
|
|
:is(.theme-dark, .theme-dracula, .theme-nord) .add-download-left {
|
|
background: hsl(var(--add-left-bg));
|
|
}
|
|
|
|
:is(.theme-dark, .theme-dracula, .theme-nord) .add-download-settings {
|
|
background: hsl(var(--add-settings-bg));
|
|
}
|
|
|
|
:is(.theme-dark, .theme-dracula, .theme-nord) .add-download-section,
|
|
:is(.theme-dark, .theme-dracula, .theme-nord) .add-download-summary-card {
|
|
border-color: hsl(var(--add-keyline));
|
|
background: hsl(var(--add-section-bg));
|
|
box-shadow: 0 1px 2px hsl(var(--add-shadow));
|
|
}
|
|
|
|
:is(.theme-dark, .theme-dracula, .theme-nord) .add-download-control {
|
|
border-color: hsl(var(--add-keyline));
|
|
background: hsl(var(--add-control-bg));
|
|
box-shadow: none;
|
|
}
|
|
|
|
:is(.theme-dark, .theme-dracula, .theme-nord) .add-download-control:hover:not(:disabled):not(:read-only) {
|
|
border-color: hsl(var(--add-keyline-strong));
|
|
background: hsl(var(--add-control-bg));
|
|
}
|
|
|
|
:is(.theme-dark, .theme-dracula, .theme-nord) .add-download-control:focus,
|
|
:is(.theme-dark, .theme-dracula, .theme-nord) .add-download-control:focus-visible {
|
|
border-color: hsl(var(--accent-color) / 0.88);
|
|
box-shadow: 0 0 0 3px hsl(var(--accent-color) / 0.2);
|
|
}
|
|
|
|
:is(.theme-dark, .theme-dracula, .theme-nord) .add-download-control:read-only {
|
|
background: hsl(var(--add-control-bg));
|
|
}
|
|
|
|
:is(.theme-dark, .theme-dracula, .theme-nord) .add-download-preview {
|
|
border-color: hsl(var(--add-keyline));
|
|
background: hsl(var(--add-preview-bg));
|
|
box-shadow: none;
|
|
}
|
|
|
|
:is(.theme-dark, .theme-dracula, .theme-nord) .add-download-preview-header {
|
|
border-color: hsl(var(--add-keyline));
|
|
background: hsl(var(--add-header-bg));
|
|
}
|
|
|
|
:is(.theme-dark, .theme-dracula, .theme-nord) .add-download-media-section {
|
|
border-color: hsl(var(--accent-color) / 0.25);
|
|
background: hsl(var(--add-section-bg));
|
|
}
|
|
|
|
:is(.theme-dark, .theme-dracula, .theme-nord) .add-download-format-row {
|
|
border-color: hsl(var(--add-keyline));
|
|
background: hsl(var(--add-control-bg));
|
|
}
|
|
|
|
:is(.theme-dark, .theme-dracula, .theme-nord) .add-download-format-row:hover {
|
|
border-color: hsl(var(--add-keyline-strong));
|
|
background: hsl(var(--item-hover));
|
|
}
|
|
|
|
:is(.theme-dark, .theme-dracula, .theme-nord) .add-download-value,
|
|
:is(.theme-dark, .theme-dracula, .theme-nord) .add-download-checkbox {
|
|
border-color: hsl(var(--add-keyline));
|
|
background-color: hsl(var(--add-control-bg));
|
|
box-shadow: none;
|
|
}
|
|
|
|
:is(.theme-dark, .theme-dracula, .theme-nord) .add-download-checkbox:checked {
|
|
border-color: hsl(var(--accent-color));
|
|
background-color: hsl(var(--accent-color));
|
|
}
|
|
|
|
:is(.theme-dark, .theme-dracula, .theme-nord) .add-download-footer {
|
|
border-color: hsl(var(--add-keyline));
|
|
background: hsl(var(--add-footer-bg));
|
|
box-shadow: none;
|
|
}
|
|
|
|
:is(.theme-dark, .theme-dracula, .theme-nord) .add-download-button-secondary {
|
|
border-color: hsl(var(--add-keyline));
|
|
background: hsl(var(--add-section-bg));
|
|
box-shadow: none;
|
|
}
|
|
|
|
:is(.theme-dark, .theme-dracula, .theme-nord) .add-download-button-secondary:hover:not(:disabled) {
|
|
border-color: hsl(var(--add-keyline-strong));
|
|
background: hsl(var(--item-hover));
|
|
}
|
|
|
|
:is(.theme-dark, .theme-dracula, .theme-nord) .add-download-button-primary {
|
|
border-color: hsl(var(--accent-color));
|
|
background: hsl(var(--accent-color));
|
|
box-shadow: none;
|
|
}
|
|
|
|
:is(.theme-dark, .theme-dracula, .theme-nord) .add-download-button-primary:hover:not(:disabled) {
|
|
background: hsl(var(--accent-color) / 0.9);
|
|
box-shadow: none;
|
|
}
|
|
|
|
:is(.theme-dark, .theme-dracula, .theme-nord) .add-download-button:disabled {
|
|
opacity: 0.36;
|
|
filter: none;
|
|
}
|
|
|
|
.app-toast-item {
|
|
animation: toast-in 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
|
|
}
|
|
|
|
.app-shell {
|
|
--window-corner-radius: 18px;
|
|
direction: ltr;
|
|
background: hsl(var(--main-bg));
|
|
border: 1px solid hsl(var(--border-color));
|
|
border-radius: var(--window-corner-radius);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-sidebar-shell {
|
|
padding-block: 10px;
|
|
padding-inline-start: 10px;
|
|
background: transparent;
|
|
}
|
|
|
|
.app-sidebar-shell--left {
|
|
order: 0;
|
|
}
|
|
|
|
.app-sidebar-shell--right {
|
|
order: 2;
|
|
padding-inline-start: 0;
|
|
padding-inline-end: 10px;
|
|
}
|
|
|
|
.sidebar-resize-handle {
|
|
position: absolute;
|
|
top: 18px;
|
|
inset-inline-end: -4px;
|
|
bottom: 18px;
|
|
z-index: 60;
|
|
width: 8px;
|
|
cursor: col-resize;
|
|
-webkit-app-region: no-drag;
|
|
}
|
|
|
|
.sidebar-resize-handle::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
inset-inline-end: 3px;
|
|
bottom: 0;
|
|
width: 1px;
|
|
background: transparent;
|
|
transition: background-color 100ms ease;
|
|
}
|
|
|
|
.app-sidebar-shell--right .sidebar-resize-handle {
|
|
inset-inline-start: -4px;
|
|
inset-inline-end: auto;
|
|
}
|
|
|
|
.app-sidebar-shell--right .sidebar-resize-handle::after {
|
|
inset-inline-start: 3px;
|
|
inset-inline-end: auto;
|
|
}
|
|
|
|
.sidebar-resize-handle:hover::after,
|
|
body.is-resizing .sidebar-resize-handle::after {
|
|
background: hsl(var(--accent-color) / 0.55);
|
|
}
|
|
|
|
.app-sidebar-panel {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
|
|
background: hsl(var(--sidebar-panel-bg));
|
|
border: 1px solid hsl(var(--sidebar-border));
|
|
|
|
border-radius: var(--window-corner-radius);
|
|
|
|
box-shadow:
|
|
inset 0 1px 0 hsl(0 0% 100% / 0.045),
|
|
2px 0 10px hsl(0 0% 0% / 0.20);
|
|
}
|
|
|
|
|
|
.app-workspace {
|
|
order: 1;
|
|
direction: ltr;
|
|
background: hsl(var(--workspace-bg));
|
|
}
|
|
|
|
html[dir="rtl"] .app-sidebar-panel,
|
|
html[dir="rtl"] .app-workspace {
|
|
direction: rtl;
|
|
}
|
|
|
|
.app-sidebar-reveal-button {
|
|
position: absolute;
|
|
top: 12px;
|
|
left: 88px;
|
|
right: auto;
|
|
z-index: 80;
|
|
-webkit-app-region: no-drag;
|
|
}
|
|
|
|
.app-workspace--custom-window-controls .app-sidebar-reveal-button {
|
|
left: 124px;
|
|
}
|
|
|
|
.app-workspace--sidebar-right .app-sidebar-reveal-button {
|
|
left: auto;
|
|
right: 88px;
|
|
}
|
|
|
|
.app-workspace--sidebar-right.app-workspace--custom-window-controls .app-sidebar-reveal-button {
|
|
right: 124px;
|
|
}
|
|
|
|
.app-sidebar-shell--left .sidebar-nav-item {
|
|
direction: ltr;
|
|
text-align: left;
|
|
}
|
|
|
|
.app-sidebar-shell--right .sidebar-nav-item {
|
|
direction: rtl;
|
|
text-align: right;
|
|
}
|
|
|
|
.app-statusbar {
|
|
position: relative;
|
|
height: 26px;
|
|
font-size: 10px;
|
|
background: hsl(var(--statusbar-bg));
|
|
border-top: 1px solid hsl(var(--border-color));
|
|
box-shadow: none;
|
|
}
|
|
|
|
.app-statusbar-summary {
|
|
position: absolute;
|
|
left: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
max-width: min(52%, 560px);
|
|
overflow: hidden;
|
|
transform: translateX(-50%);
|
|
white-space: nowrap;
|
|
font-size: 10px;
|
|
line-height: 1;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.app-statusbar-summary-metric {
|
|
display: inline-flex;
|
|
align-items: baseline;
|
|
gap: 4px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.app-statusbar-summary-metric > span {
|
|
color: hsl(var(--text-muted));
|
|
}
|
|
|
|
.app-statusbar-summary-metric > strong {
|
|
overflow: hidden;
|
|
color: hsl(var(--text-secondary));
|
|
font-variant-numeric: tabular-nums;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.sidebar-nav-item {
|
|
height: 31px;
|
|
border-radius: 8px;
|
|
padding: 0 12px;
|
|
margin-bottom: 2px;
|
|
font-size: 12px;
|
|
transition: background-color 100ms ease;
|
|
}
|
|
|
|
.sidebar-nav-label {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
}
|
|
|
|
.sidebar-nav-item[data-active="true"] {
|
|
background: hsl(var(--accent-color)) !important;
|
|
color: white !important;
|
|
box-shadow:
|
|
inset 0 1px 0 hsl(0 0% 100% / 0.12),
|
|
0 1px 0 hsl(0 0% 0% / 0.10);
|
|
}
|
|
|
|
.sidebar-nav-item[data-active="true"] svg {
|
|
color: white !important;
|
|
}
|
|
|
|
.sidebar-nav-item[data-active="true"] .sidebar-count {
|
|
color: white !important;
|
|
background: hsl(0 0% 100% / 0.16) !important;
|
|
}
|
|
|
|
.sidebar-nav-item:not([data-active="true"]):hover {
|
|
background: hsl(var(--sidebar-hover));
|
|
color: hsl(var(--text-primary));
|
|
}
|
|
|
|
.sidebar-nav-item svg {
|
|
width: 15px;
|
|
height: 15px;
|
|
}
|
|
|
|
.sidebar-inner {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
min-height: 0;
|
|
}
|
|
|
|
.sidebar-top-region {
|
|
height: 40px;
|
|
flex-shrink: 0;
|
|
position: relative;
|
|
}
|
|
|
|
.sidebar-scroll {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 6px 10px 10px;
|
|
-ms-overflow-style: none;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.sidebar-scroll::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.sidebar-footer {
|
|
flex-shrink: 0;
|
|
padding: 7px 10px;
|
|
border-top: 1px solid hsl(var(--sidebar-border));
|
|
background: hsl(var(--sidebar-hover));
|
|
}
|
|
|
|
.sidebar-settings-button {
|
|
height: 31px;
|
|
border-radius: 8px;
|
|
font-size: 12px;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.sidebar-section-label {
|
|
padding: 0 12px;
|
|
margin-bottom: 7px;
|
|
font-size: 9px;
|
|
line-height: 1;
|
|
font-weight: 700;
|
|
letter-spacing: 0.18em;
|
|
text-transform: uppercase;
|
|
color: hsl(var(--text-muted));
|
|
}
|
|
|
|
.sidebar-section-label-toggle {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
border: 0;
|
|
background: transparent;
|
|
color: hsl(var(--text-muted));
|
|
cursor: default;
|
|
transition: color 140ms ease;
|
|
}
|
|
|
|
.sidebar-section-label-toggle:hover {
|
|
color: hsl(var(--text-secondary));
|
|
}
|
|
|
|
.sidebar-section-chevron {
|
|
flex-shrink: 0;
|
|
opacity: 0.8;
|
|
transform: rotate(0deg);
|
|
transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), opacity 140ms ease;
|
|
}
|
|
|
|
.sidebar-section-chevron.is-collapsed {
|
|
transform: rotate(-90deg);
|
|
opacity: 0.58;
|
|
}
|
|
|
|
.sidebar-collapse-grid {
|
|
display: grid;
|
|
grid-template-rows: 1fr;
|
|
transition: grid-template-rows 240ms cubic-bezier(0.22, 1, 0.36, 1);
|
|
}
|
|
|
|
.sidebar-collapse-grid.is-collapsed {
|
|
grid-template-rows: 0fr;
|
|
}
|
|
|
|
.sidebar-collapse-content {
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
transform-origin: top;
|
|
transition:
|
|
opacity 150ms ease,
|
|
transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
|
|
visibility 0s linear 0s;
|
|
}
|
|
|
|
.sidebar-collapse-grid.is-collapsed .sidebar-collapse-content {
|
|
opacity: 0;
|
|
transform: translateY(-6px);
|
|
pointer-events: none;
|
|
visibility: hidden;
|
|
transition:
|
|
opacity 120ms ease,
|
|
transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
|
|
visibility 0s linear 120ms;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.sidebar-section-chevron,
|
|
.sidebar-collapse-grid,
|
|
.sidebar-collapse-content {
|
|
transition: none;
|
|
}
|
|
}
|
|
|
|
.sidebar-section {
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.sidebar-toggle-button {
|
|
position: absolute;
|
|
top: 11px;
|
|
inset-inline-end: 12px;
|
|
z-index: 50;
|
|
|
|
width: 24px;
|
|
height: 24px;
|
|
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
border-radius: 6px;
|
|
color: hsl(var(--text-secondary));
|
|
background: transparent;
|
|
-webkit-app-region: no-drag;
|
|
}
|
|
|
|
.sidebar-toggle-button:hover {
|
|
background: hsl(var(--sidebar-hover));
|
|
color: hsl(var(--text-primary));
|
|
}
|
|
|
|
.settings-view,
|
|
.settings-scroll {
|
|
background: transparent;
|
|
}
|
|
|
|
.settings-toolbar {
|
|
border-bottom: 1px solid hsl(var(--border-color));
|
|
}
|
|
|
|
.settings-tab-strip {
|
|
padding: 16px 32px;
|
|
direction: ltr;
|
|
}
|
|
|
|
.settings-tab-strip--sidebar-right {
|
|
flex-direction: row-reverse;
|
|
}
|
|
|
|
.settings-tab-button {
|
|
min-height: 64px;
|
|
border-radius: 8px;
|
|
transition: none;
|
|
}
|
|
|
|
.settings-tab-button[data-active="true"] {
|
|
background: hsl(var(--accent-color));
|
|
box-shadow: none;
|
|
color: white;
|
|
}
|
|
|
|
.settings-pane {
|
|
padding: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
.settings-content-shell {
|
|
padding: 32px;
|
|
}
|
|
|
|
.settings-title {
|
|
margin: 0 0 24px;
|
|
font-size: 28px;
|
|
line-height: 1.15;
|
|
font-weight: 650;
|
|
letter-spacing: -0.025em;
|
|
}
|
|
|
|
.settings-section-title {
|
|
margin: 0 0 7px 12px;
|
|
font-size: 12px;
|
|
line-height: 1.2;
|
|
font-weight: 600;
|
|
color: hsl(var(--text-secondary));
|
|
}
|
|
|
|
.mac-settings-group {
|
|
background: hsl(var(--bg-modal));
|
|
border-radius: 9px;
|
|
border: 1px solid hsl(var(--border-color));
|
|
box-shadow: none;
|
|
overflow: hidden;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.settings-popup-group {
|
|
position: relative;
|
|
z-index: 10;
|
|
overflow: visible;
|
|
}
|
|
|
|
.mac-settings-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
min-height: 44px;
|
|
padding: 9px 14px;
|
|
border-bottom: 1px solid hsl(var(--border-color));
|
|
}
|
|
|
|
.mac-settings-row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.settings-row-label {
|
|
display: flex;
|
|
min-width: 0;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
font-size: 13px;
|
|
color: hsl(var(--text-primary));
|
|
}
|
|
|
|
.settings-row-label small {
|
|
font-size: 11px;
|
|
line-height: 1.25;
|
|
font-weight: 400;
|
|
color: hsl(var(--text-muted));
|
|
}
|
|
|
|
.settings-radio-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 7px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.settings-choice-row {
|
|
display: grid;
|
|
grid-template-columns: 180px minmax(0, 1fr);
|
|
align-items: start;
|
|
justify-content: initial;
|
|
}
|
|
|
|
.settings-radio-group label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
}
|
|
|
|
.settings-radio-group input {
|
|
accent-color: hsl(var(--accent-color));
|
|
}
|
|
|
|
.settings-network-row {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
|
|
gap: 18px;
|
|
align-items: start;
|
|
}
|
|
|
|
.settings-popup-group .settings-network-row:focus-within {
|
|
z-index: 20;
|
|
}
|
|
|
|
.settings-popup-group .settings-group-footer {
|
|
position: relative;
|
|
z-index: 0;
|
|
}
|
|
|
|
.settings-network-row > .settings-row-label {
|
|
padding-top: 3px;
|
|
}
|
|
|
|
.settings-network-input {
|
|
width: 100%;
|
|
min-width: 0;
|
|
padding: 6px 10px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.settings-port-input {
|
|
width: 112px;
|
|
padding: 6px 10px;
|
|
}
|
|
|
|
.settings-combobox {
|
|
position: relative;
|
|
min-width: 0;
|
|
}
|
|
|
|
.settings-combobox-menu {
|
|
position: absolute;
|
|
z-index: 100;
|
|
top: calc(100% + 6px);
|
|
right: 0;
|
|
left: 0;
|
|
display: flex;
|
|
max-height: 246px;
|
|
flex-direction: column;
|
|
overflow: auto;
|
|
border: 1px solid hsl(var(--border-modal));
|
|
border-radius: 8px;
|
|
background: hsl(var(--surface-overlay));
|
|
box-shadow:
|
|
0 18px 42px hsl(0 0% 0% / 0.28),
|
|
inset 0 1px 0 hsl(0 0% 100% / 0.06);
|
|
}
|
|
|
|
.settings-combobox-option {
|
|
display: grid;
|
|
gap: 3px;
|
|
width: 100%;
|
|
padding: 8px 10px;
|
|
border: 0;
|
|
border-bottom: 1px solid hsl(var(--border-color));
|
|
background: transparent;
|
|
color: hsl(var(--text-primary));
|
|
font: inherit;
|
|
text-align: start;
|
|
}
|
|
|
|
.settings-combobox-option:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.settings-combobox-option:hover,
|
|
.settings-combobox-option:focus-visible,
|
|
.settings-combobox-option[aria-selected="true"] {
|
|
background: hsl(var(--item-hover));
|
|
}
|
|
|
|
.settings-combobox-value {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-family: "SF Mono", Monaco, "Cascadia Code", "Fira Code", "JetBrains Mono", monospace;
|
|
font-size: 11px;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.settings-combobox-meta {
|
|
color: hsl(var(--text-muted));
|
|
font-size: 11px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.theme-option-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, minmax(72px, 1fr));
|
|
gap: 7px;
|
|
width: 100%;
|
|
}
|
|
|
|
.theme-option {
|
|
position: relative;
|
|
display: flex;
|
|
min-width: 0;
|
|
min-height: 58px;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
padding: 7px 6px;
|
|
border: 1px solid hsl(var(--border-modal));
|
|
border-radius: 7px;
|
|
background: hsl(var(--bg-input));
|
|
color: hsl(var(--text-secondary));
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
text-align: center;
|
|
}
|
|
|
|
.theme-option:hover {
|
|
background: hsl(var(--item-hover));
|
|
color: hsl(var(--text-primary));
|
|
}
|
|
|
|
.theme-option[data-active="true"] {
|
|
border-color: hsl(var(--accent-color));
|
|
color: hsl(var(--text-primary));
|
|
box-shadow: 0 0 0 1px hsl(var(--accent-color));
|
|
}
|
|
|
|
.theme-option input {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.theme-option-preview {
|
|
display: flex;
|
|
width: 30px;
|
|
height: 16px;
|
|
overflow: hidden;
|
|
border: 1px solid hsl(var(--border-modal));
|
|
border-radius: 5px;
|
|
box-shadow: 0 1px 2px hsl(var(--shadow-color));
|
|
}
|
|
|
|
.theme-option-preview span {
|
|
flex: 1;
|
|
}
|
|
|
|
.settings-group-footer {
|
|
margin: 0;
|
|
padding: 9px 14px;
|
|
border-top: 1px solid hsl(var(--border-color));
|
|
font-size: 11px;
|
|
line-height: 1.35;
|
|
color: hsl(var(--text-muted));
|
|
}
|
|
|
|
/* macOS Switch */
|
|
.mac-switch {
|
|
appearance: none;
|
|
width: 36px;
|
|
height: 20px;
|
|
background: hsl(var(--border-color));
|
|
border-radius: 20px;
|
|
position: relative;
|
|
cursor: default;
|
|
outline: none;
|
|
transition: background 0.2s ease;
|
|
}
|
|
.mac-switch::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 2px;
|
|
left: 2px;
|
|
width: 16px;
|
|
height: 16px;
|
|
background: white;
|
|
border-radius: 50%;
|
|
box-shadow: 0 1px 2px rgba(0,0,0,0.2);
|
|
transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
|
|
}
|
|
.mac-switch:checked {
|
|
background: var(--color-accent);
|
|
}
|
|
.mac-switch:checked::after {
|
|
transform: translateX(16px);
|
|
}
|
|
|
|
/* Switch thumbs use physical LTR transforms in every interface direction. */
|
|
button[role="switch"] {
|
|
direction: ltr;
|
|
}
|
|
.downloads-view {
|
|
background: hsl(var(--main-bg));
|
|
}
|
|
|
|
.window-controls {
|
|
position: fixed;
|
|
top: 20px;
|
|
left: 22px;
|
|
right: auto;
|
|
z-index: 60;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
direction: ltr;
|
|
gap: 9px;
|
|
-webkit-app-region: no-drag;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.app-shell--sidebar-right .window-controls {
|
|
left: auto;
|
|
right: 22px;
|
|
}
|
|
|
|
.window-controls--right {
|
|
left: auto;
|
|
right: 22px;
|
|
flex-direction: row-reverse;
|
|
}
|
|
|
|
.window-control {
|
|
width: 14px;
|
|
height: 14px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: hsl(0 0% 10% / 0);
|
|
border-radius: 999px;
|
|
border: 0.5px solid hsl(0 0% 0% / 0.28);
|
|
box-shadow:
|
|
inset 0 1px 0 hsl(0 0% 100% / 0.26),
|
|
0 1px 2px hsl(0 0% 0% / 0.16);
|
|
transition:
|
|
filter 120ms ease,
|
|
color 120ms ease,
|
|
transform 120ms ease;
|
|
-webkit-app-region: no-drag;
|
|
}
|
|
|
|
.window-control.close {
|
|
background: #ff5f57;
|
|
}
|
|
|
|
.window-control.minimize {
|
|
background: #ffbd2e;
|
|
}
|
|
|
|
.window-control.maximize {
|
|
background: #28c840;
|
|
}
|
|
|
|
.window-control:hover {
|
|
color: hsl(0 0% 8% / 0.68);
|
|
filter: saturate(1.14) brightness(1.05);
|
|
}
|
|
|
|
.window-controls:hover .window-control {
|
|
color: hsl(0 0% 8% / 0.68);
|
|
}
|
|
|
|
.window-control:active {
|
|
transform: scale(0.92);
|
|
filter: brightness(0.9);
|
|
}
|
|
|
|
/* Windows 11 caption-button treatment: full-width hit targets, neutral
|
|
glyphs, side-aware close placement, and rounded outer corners. */
|
|
.window-controls--style-windows {
|
|
top: 18px;
|
|
gap: 0;
|
|
flex-direction: row;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.window-controls--style-windows .window-control {
|
|
width: 46px;
|
|
height: 32px;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
color: hsl(var(--text-primary) / 0.84);
|
|
order: initial;
|
|
}
|
|
|
|
.window-controls--style-windows .window-control.minimize {
|
|
order: 2;
|
|
}
|
|
|
|
.window-controls--style-windows .window-control.maximize {
|
|
order: 3;
|
|
}
|
|
|
|
.window-controls--style-windows .window-control.close {
|
|
order: 1;
|
|
}
|
|
|
|
/* Keep the close action at the outer top corner on either sidebar side. */
|
|
.window-controls--right.window-controls--style-windows .window-control.minimize {
|
|
order: 1;
|
|
}
|
|
|
|
.window-controls--right.window-controls--style-windows .window-control.maximize {
|
|
order: 2;
|
|
}
|
|
|
|
.window-controls--right.window-controls--style-windows .window-control.close {
|
|
order: 3;
|
|
}
|
|
|
|
.window-controls--left.window-controls--style-windows .window-control.close {
|
|
border-radius: 10px 0 0 10px;
|
|
}
|
|
|
|
.window-controls--left.window-controls--style-windows .window-control.maximize {
|
|
border-radius: 0 10px 10px 0;
|
|
}
|
|
|
|
.window-controls--right.window-controls--style-windows .window-control.minimize {
|
|
border-radius: 10px 0 0 10px;
|
|
}
|
|
|
|
.window-controls--right.window-controls--style-windows .window-control.close {
|
|
border-radius: 0 10px 10px 0;
|
|
}
|
|
|
|
.window-controls--style-windows .window-control:hover {
|
|
color: hsl(var(--text-primary));
|
|
background: hsl(var(--item-hover));
|
|
filter: none;
|
|
}
|
|
|
|
.window-controls--style-windows .window-control.close:hover {
|
|
color: white;
|
|
background: #c42b1c;
|
|
}
|
|
|
|
.window-controls--style-windows .window-control:active {
|
|
transform: none;
|
|
filter: brightness(0.9);
|
|
}
|
|
|
|
/* GNOME/Adwaita header-bar treatment: compact, borderless icon buttons. */
|
|
.window-controls--style-gnome {
|
|
top: 18px;
|
|
gap: 4px;
|
|
}
|
|
|
|
.window-controls--style-gnome .window-control,
|
|
.window-controls--style-minimal .window-control {
|
|
border: 0;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
color: hsl(var(--text-primary) / 0.84);
|
|
}
|
|
|
|
.window-controls--style-gnome .window-control {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.window-controls--style-gnome .window-control:hover,
|
|
.window-controls--style-minimal .window-control:hover {
|
|
color: hsl(var(--text-primary));
|
|
background: hsl(var(--item-hover));
|
|
filter: none;
|
|
}
|
|
|
|
.window-controls--style-gnome .window-control.close,
|
|
.window-controls--style-gnome .window-control.minimize,
|
|
.window-controls--style-gnome .window-control.maximize,
|
|
.window-controls--style-minimal .window-control.close,
|
|
.window-controls--style-minimal .window-control.minimize,
|
|
.window-controls--style-minimal .window-control.maximize {
|
|
background: transparent;
|
|
}
|
|
|
|
/* Minimal keeps the compact footprint while removing colored circles. */
|
|
.window-controls--style-minimal {
|
|
top: 18px;
|
|
gap: 4px;
|
|
}
|
|
|
|
.window-controls--style-minimal .window-control {
|
|
width: 22px;
|
|
height: 22px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.window-controls--style-minimal .window-control:active,
|
|
.window-controls--style-gnome .window-control:active {
|
|
filter: none;
|
|
}
|
|
|
|
.main-titlebar {
|
|
height: 52px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 18px;
|
|
direction: ltr;
|
|
border-bottom: 1px solid hsl(var(--border-color));
|
|
background: hsl(var(--statusbar-bg));
|
|
}
|
|
|
|
.app-workspace--sidebar-right .main-titlebar {
|
|
flex-direction: row-reverse;
|
|
}
|
|
|
|
.app-workspace--sidebar-collapsed .main-titlebar {
|
|
padding-left: 124px;
|
|
padding-right: 18px;
|
|
}
|
|
|
|
.app-workspace--sidebar-collapsed.app-workspace--custom-window-controls .main-titlebar {
|
|
padding-left: 160px;
|
|
}
|
|
|
|
.app-workspace--sidebar-right.app-workspace--sidebar-collapsed .main-titlebar {
|
|
padding-left: 18px;
|
|
padding-right: 124px;
|
|
}
|
|
|
|
.app-workspace--sidebar-right.app-workspace--sidebar-collapsed.app-workspace--custom-window-controls .main-titlebar {
|
|
padding-right: 160px;
|
|
}
|
|
|
|
.main-titlebar-title {
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: hsl(var(--text-primary));
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.main-control-group {
|
|
margin: 0;
|
|
height: 28px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
overflow: hidden;
|
|
border-radius: 15px;
|
|
border: 1px solid hsl(var(--border-modal));
|
|
background: hsl(var(--bg-input));
|
|
-webkit-app-region: no-drag;
|
|
}
|
|
|
|
.main-control-button {
|
|
width: 30px;
|
|
height: 26px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: hsl(var(--text-secondary));
|
|
border-inline-end: 1px solid hsl(var(--border-color));
|
|
-webkit-app-region: no-drag;
|
|
}
|
|
|
|
.main-control-button svg {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
|
|
.main-control-button:last-child {
|
|
border-inline-end: 0;
|
|
}
|
|
|
|
.main-control-button:hover:not(:disabled) {
|
|
background: hsl(var(--item-hover));
|
|
color: hsl(var(--text-primary));
|
|
}
|
|
|
|
.main-control-button.primary {
|
|
color: hsl(var(--accent-color));
|
|
}
|
|
|
|
.main-control-button:disabled {
|
|
opacity: 0.38;
|
|
}
|
|
|
|
.downloads-content-header {
|
|
min-height: 58px;
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 8px 16px;
|
|
padding: 0 16px;
|
|
background: hsl(var(--main-bg));
|
|
}
|
|
|
|
.downloads-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
font-size: 17px;
|
|
line-height: 1;
|
|
font-weight: 700;
|
|
color: hsl(var(--text-primary));
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.downloads-count {
|
|
min-width: 20px;
|
|
height: 20px;
|
|
padding: 0 6px;
|
|
border-radius: 999px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
color: hsl(var(--text-secondary));
|
|
background: hsl(var(--item-hover));
|
|
}
|
|
|
|
.downloads-header-actions {
|
|
min-width: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-inline-start: auto;
|
|
}
|
|
|
|
.downloads-selection-status {
|
|
color: hsl(var(--text-primary));
|
|
font-size: 11px;
|
|
font-weight: 650;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.downloads-table {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
background: hsl(var(--main-bg));
|
|
}
|
|
|
|
.downloads-empty-state {
|
|
flex: 1;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 32px;
|
|
color: hsl(var(--text-muted));
|
|
text-align: center;
|
|
}
|
|
|
|
.downloads-empty-state > svg {
|
|
width: 38px;
|
|
height: 38px;
|
|
margin-bottom: 12px;
|
|
stroke-width: 1.35;
|
|
color: hsl(var(--text-muted));
|
|
}
|
|
|
|
.downloads-empty-title {
|
|
margin-bottom: 5px;
|
|
color: hsl(var(--text-secondary));
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.downloads-empty-description {
|
|
max-width: 360px;
|
|
font-size: 12px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.keyboard-symbol {
|
|
color: hsl(var(--text-secondary));
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.download-table-header {
|
|
flex-shrink: 0;
|
|
position: relative;
|
|
height: var(--download-header-height);
|
|
display: grid;
|
|
align-items: center;
|
|
column-gap: 0;
|
|
padding: 0 var(--download-row-padding-x);
|
|
border-bottom: 1px solid hsl(var(--border-color));
|
|
color: hsl(var(--text-primary));
|
|
font-size: var(--download-row-font-size);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.downloads-queue-reorder-hint {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
min-width: 0;
|
|
max-width: 420px;
|
|
min-height: 17px;
|
|
overflow: visible;
|
|
color: hsl(var(--text-muted));
|
|
font-size: 10px;
|
|
font-weight: 500;
|
|
line-height: 1.2;
|
|
letter-spacing: 0;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.downloads-queue-reorder-hint > span:first-child {
|
|
display: block;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
padding-block: 1px;
|
|
text-overflow: ellipsis;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.downloads-queue-reorder-shortcut {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
flex: 0 0 auto;
|
|
gap: 3px;
|
|
direction: ltr;
|
|
color: hsl(var(--text-muted));
|
|
}
|
|
|
|
.downloads-queue-reorder-shortcut kbd {
|
|
min-width: 16px;
|
|
height: 17px;
|
|
padding: 0 4px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 1px solid hsl(var(--border-color));
|
|
border-bottom-color: hsl(var(--border-color) / 0.72);
|
|
border-radius: 4px;
|
|
background: hsl(var(--item-hover));
|
|
color: hsl(var(--text-secondary));
|
|
font-family: inherit;
|
|
font-size: 9px;
|
|
font-weight: 650;
|
|
line-height: 1;
|
|
}
|
|
|
|
.download-table-scroll {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
min-width: 0;
|
|
overflow-x: auto;
|
|
overflow-y: hidden;
|
|
}
|
|
|
|
.download-table-header,
|
|
.download-row {
|
|
direction: ltr;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
min-width: 0;
|
|
--download-column-padding-x: 14px;
|
|
}
|
|
|
|
.download-column-header {
|
|
position: relative;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: var(--column-justify, flex-start);
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
padding-inline: var(--download-column-padding-x);
|
|
padding-right: calc(var(--download-column-padding-x) + 22px);
|
|
cursor: grab;
|
|
transition: background-color 120ms ease, opacity 120ms ease, box-shadow 120ms ease;
|
|
}
|
|
|
|
.download-column-header:active {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.download-column-header.is-dragging {
|
|
opacity: 0;
|
|
}
|
|
|
|
.download-column-header.is-drop-flashing {
|
|
animation: column-drop-flash 260ms ease-out;
|
|
}
|
|
|
|
.download-column-header-content {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
color: inherit;
|
|
font: inherit;
|
|
text-align: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.download-column-header-content > span {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.download-column-header-content:focus-visible,
|
|
.download-column-options:focus-visible {
|
|
outline: 2px solid hsl(var(--accent-color));
|
|
outline-offset: -2px;
|
|
}
|
|
|
|
.download-table-header > [data-column-key="Status"] {
|
|
padding-inline: 8px;
|
|
padding-right: 8px;
|
|
}
|
|
|
|
.download-table-header > [data-column-key="Status"]:hover,
|
|
.download-table-header > [data-column-key="Status"]:focus-within {
|
|
padding-right: 30px;
|
|
}
|
|
|
|
.download-column-options {
|
|
position: absolute;
|
|
right: 8px;
|
|
left: auto;
|
|
top: 50%;
|
|
z-index: 4;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 22px;
|
|
height: 22px;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
background: hsl(var(--surface-overlay) / 0.92);
|
|
color: hsl(var(--text-secondary));
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transform: translateY(-50%);
|
|
transition: opacity 120ms ease, color 120ms ease, background-color 120ms ease;
|
|
}
|
|
|
|
.download-column-header:hover .download-column-options,
|
|
.download-column-options:focus-visible {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.download-column-options:hover {
|
|
background: hsl(var(--item-hover));
|
|
color: hsl(var(--text-primary));
|
|
}
|
|
|
|
.download-column-header:first-child {
|
|
padding-inline-start: 0;
|
|
}
|
|
|
|
.download-column-header[data-column-key="File Name"] {
|
|
direction: ltr;
|
|
text-align: left;
|
|
}
|
|
|
|
.column-resize-handle {
|
|
position: absolute;
|
|
top: 0;
|
|
right: -4px;
|
|
left: auto;
|
|
bottom: 0;
|
|
z-index: 5;
|
|
width: 8px;
|
|
cursor: col-resize;
|
|
-webkit-app-region: no-drag;
|
|
}
|
|
|
|
.column-resize-handle::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 8px;
|
|
bottom: 8px;
|
|
left: 50%;
|
|
width: 1px;
|
|
transform: translateX(-0.5px);
|
|
background: hsl(var(--border-color));
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.column-resize-handle:hover,
|
|
body.is-column-resizing .column-resize-handle:hover {
|
|
background: hsl(var(--accent-color) / 0.16);
|
|
}
|
|
|
|
.column-resize-handle:hover::after,
|
|
body.is-column-resizing .column-resize-handle:hover::after {
|
|
width: 2px;
|
|
transform: translateX(-1px);
|
|
background: hsl(var(--accent-color));
|
|
opacity: 1;
|
|
}
|
|
|
|
.download-table-body {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.download-table-list {
|
|
position: relative;
|
|
height: 100%;
|
|
min-height: 0;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.download-table-list-content {
|
|
display: flex;
|
|
flex: 1 0 100%;
|
|
min-height: 100%;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.download-queue-drop-marker {
|
|
position: absolute;
|
|
inset-inline: 0;
|
|
z-index: 8;
|
|
height: 2px;
|
|
pointer-events: none;
|
|
border-radius: 999px;
|
|
background: hsl(var(--accent-color));
|
|
box-shadow: 0 0 0 1px hsl(var(--accent-color) / 0.18), 0 0 8px hsl(var(--accent-color) / 0.55);
|
|
transform: translateY(-1px);
|
|
transition: top 100ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 100ms ease;
|
|
will-change: top;
|
|
}
|
|
|
|
.download-queue-drag-preview {
|
|
position: absolute;
|
|
inset-inline: 0;
|
|
z-index: 10;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
height: var(--download-row-height);
|
|
margin: var(--download-row-margin) 0;
|
|
padding: 0 var(--download-row-padding-x);
|
|
overflow: hidden;
|
|
border: 1px solid hsl(var(--accent-color) / 0.58);
|
|
border-radius: 6px;
|
|
background: hsl(var(--surface-overlay) / 0.94);
|
|
box-shadow: 0 8px 20px hsl(0 0% 0% / 0.28), 0 0 0 1px hsl(var(--accent-color) / 0.14);
|
|
color: hsl(var(--text-primary));
|
|
font-size: var(--download-row-font-size);
|
|
pointer-events: none;
|
|
transform: translateZ(0);
|
|
will-change: top;
|
|
}
|
|
|
|
.download-queue-drag-preview-icon {
|
|
display: inline-flex;
|
|
flex: 0 0 auto;
|
|
align-items: center;
|
|
}
|
|
|
|
.download-queue-drag-preview-name {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
font-weight: 600;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.download-queue-drag-preview-count {
|
|
flex: 0 0 auto;
|
|
padding: 2px 6px;
|
|
border-radius: 999px;
|
|
background: hsl(var(--accent-color) / 0.2);
|
|
color: hsl(var(--text-primary));
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.download-row {
|
|
flex: 0 0 var(--download-row-height);
|
|
height: var(--download-row-height);
|
|
width: 100%;
|
|
margin: var(--download-row-margin) 0;
|
|
border-radius: 6px;
|
|
color: hsl(var(--text-primary));
|
|
font-size: var(--download-row-font-size);
|
|
overflow: visible;
|
|
user-select: none;
|
|
-webkit-user-select: none;
|
|
}
|
|
|
|
.download-row-motion {
|
|
display: grid;
|
|
align-items: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
padding: 0 var(--download-row-padding-x);
|
|
border-radius: inherit;
|
|
color: inherit;
|
|
font-size: inherit;
|
|
overflow: hidden;
|
|
user-select: inherit;
|
|
-webkit-user-select: inherit;
|
|
}
|
|
|
|
html[data-list-density="compact"] .download-row,
|
|
html[data-list-density="compact"] .download-ghost-row {
|
|
height: var(--download-row-height);
|
|
margin-block: var(--download-row-margin);
|
|
}
|
|
|
|
html[data-list-density="relaxed"] .download-row,
|
|
html[data-list-density="relaxed"] .download-ghost-row {
|
|
height: var(--download-row-height);
|
|
margin-block: var(--download-row-margin);
|
|
}
|
|
|
|
.download-row-motion > div {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
padding-inline: var(--download-column-padding-x);
|
|
}
|
|
|
|
.download-row-motion > div:first-child {
|
|
padding-inline-start: 0;
|
|
}
|
|
|
|
.download-row-motion > .download-status-cell {
|
|
padding-inline: 8px;
|
|
}
|
|
|
|
.download-row.is-selected .download-row-motion {
|
|
background: hsl(var(--accent-color) / 0.26) !important;
|
|
box-shadow: inset 0 0 0 1px hsl(var(--accent-color) / 0.28);
|
|
}
|
|
|
|
.download-row.is-selected:hover .download-row-motion {
|
|
background: hsl(var(--accent-color) / 0.32) !important;
|
|
}
|
|
|
|
.download-row.is-queue-drag-source {
|
|
opacity: 0.16;
|
|
box-shadow: inset 0 0 0 1px hsl(var(--accent-color) / 0.3);
|
|
}
|
|
|
|
.download-row.is-queue-reorderable {
|
|
cursor: grab;
|
|
touch-action: none;
|
|
transition: background-color 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
|
|
}
|
|
|
|
.download-row.is-queue-reorderable:active {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.download-table-list-content > .download-row:nth-child(even) .download-row-motion {
|
|
background: hsl(var(--stripe-bg));
|
|
}
|
|
|
|
body.is-queue-dragging,
|
|
body.is-queue-dragging * {
|
|
cursor: grabbing !important;
|
|
}
|
|
|
|
.download-row:focus-visible {
|
|
outline: 2px solid hsl(var(--accent-color) / 0.7);
|
|
outline-offset: -1px;
|
|
}
|
|
|
|
.download-row:hover .download-row-motion {
|
|
background: hsl(var(--item-hover));
|
|
}
|
|
|
|
.download-column-cell {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: var(--column-justify, flex-start);
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.download-file-cell {
|
|
direction: ltr;
|
|
text-align: left;
|
|
}
|
|
|
|
.download-cell-content {
|
|
display: block;
|
|
flex: 0 1 auto;
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.download-file-cell > .download-cell-content {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--download-cell-gap);
|
|
width: max-content;
|
|
}
|
|
|
|
.download-file-name {
|
|
direction: ltr;
|
|
text-align: left;
|
|
display: block;
|
|
flex: 0 1 auto;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
color: hsl(var(--text-primary));
|
|
font-weight: 650;
|
|
}
|
|
|
|
.download-cell-truncate {
|
|
text-align: start;
|
|
}
|
|
|
|
.download-size-content {
|
|
display: flex;
|
|
align-items: center;
|
|
width: max-content;
|
|
direction: ltr;
|
|
text-align: start;
|
|
}
|
|
|
|
.download-size-content > .download-size-progress {
|
|
flex: 0 1 auto;
|
|
text-align: start;
|
|
}
|
|
|
|
.download-size-content > .download-size-total {
|
|
flex: 0 1 auto;
|
|
text-align: start;
|
|
}
|
|
|
|
.download-size-content > .download-size-progress,
|
|
.download-size-content > .download-size-total {
|
|
max-width: 100%;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.download-cell-muted {
|
|
color: hsl(var(--text-muted));
|
|
}
|
|
|
|
.download-cell-right {
|
|
text-align: start;
|
|
}
|
|
|
|
.download-row-actions {
|
|
position: fixed;
|
|
right: 0;
|
|
display: flex;
|
|
align-self: stretch;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
z-index: 2;
|
|
max-width: 100%;
|
|
min-width: 0;
|
|
padding: 0;
|
|
background: transparent;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition: opacity 120ms ease;
|
|
}
|
|
|
|
.download-row.has-visible-actions .download-row-actions {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.download-row > .download-row-actions {
|
|
overflow: visible;
|
|
padding: 0;
|
|
}
|
|
|
|
.download-row-actions .app-icon-button,
|
|
.download-row-actions .app-icon-button:hover:not(:disabled),
|
|
.download-row-actions .app-icon-button:active:not(:disabled) {
|
|
background: transparent;
|
|
color: hsl(var(--text-secondary));
|
|
transition: background-color 120ms ease, box-shadow 120ms ease, color 120ms ease, transform 100ms ease;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.download-row-actions,
|
|
.download-row-actions .app-icon-button {
|
|
transition: none;
|
|
}
|
|
}
|
|
|
|
.download-row-actions .app-icon-button:hover:not(:disabled),
|
|
.download-row-actions .app-icon-button:focus-visible {
|
|
background: hsl(var(--accent-color) / 0.14);
|
|
box-shadow: 0 0 0 1px hsl(var(--accent-color) / 0.34);
|
|
color: hsl(var(--accent-color));
|
|
}
|
|
|
|
.download-row-actions .app-icon-button:active:not(:disabled) {
|
|
background: hsl(var(--accent-color) / 0.22);
|
|
box-shadow: 0 0 0 1px hsl(var(--accent-color) / 0.46);
|
|
color: hsl(var(--accent-color));
|
|
}
|
|
|
|
.download-column-menu {
|
|
width: 188px;
|
|
}
|
|
|
|
.download-column-menu-title {
|
|
font-weight: 650;
|
|
}
|
|
|
|
.download-column-menu-label {
|
|
letter-spacing: 0.12em;
|
|
}
|
|
|
|
.download-column-menu-item[aria-checked="true"] {
|
|
color: hsl(var(--accent-color));
|
|
}
|
|
|
|
.download-column-drag-preview {
|
|
position: fixed;
|
|
z-index: 120;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
height: var(--download-header-height);
|
|
padding: 0 12px;
|
|
border: 1px solid hsl(var(--accent-color) / 0.75);
|
|
border-radius: 8px;
|
|
background: hsl(var(--surface-overlay) / 0.96);
|
|
box-shadow: 0 12px 28px hsl(0 0% 0% / 0.28), 0 0 0 1px hsl(var(--accent-color) / 0.18);
|
|
color: hsl(var(--text-primary));
|
|
font-size: var(--download-row-font-size);
|
|
font-weight: 650;
|
|
pointer-events: none;
|
|
transition: top 120ms ease-out, width 120ms ease-out;
|
|
animation: column-drag-preview-in 120ms ease-out;
|
|
}
|
|
|
|
.download-column-drag-preview span {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.download-column-drop-marker {
|
|
position: fixed;
|
|
z-index: 119;
|
|
width: 2px;
|
|
height: var(--download-header-height);
|
|
border-radius: 999px;
|
|
background: hsl(var(--accent-color));
|
|
box-shadow: 0 0 0 2px hsl(var(--accent-color) / 0.18), 0 0 14px hsl(var(--accent-color) / 0.8);
|
|
pointer-events: none;
|
|
transform: translateX(-1px);
|
|
animation: column-drop-marker-pulse 700ms ease-in-out infinite;
|
|
}
|
|
|
|
.add-download-nested-fields {
|
|
padding-inline-start: 1.25rem;
|
|
border-inline-start: 2px solid hsl(var(--border-modal) / 0.5);
|
|
}
|
|
|
|
.add-download-advanced-fields {
|
|
padding-inline-start: 1.5rem;
|
|
}
|
|
|
|
.add-download-queue-menu {
|
|
inset-inline-end: 0;
|
|
}
|
|
|
|
.download-context-submenu {
|
|
inset-inline-start: 100%;
|
|
margin-inline-start: 0.25rem;
|
|
}
|
|
|
|
.app-workspace--sidebar-right .download-context-submenu {
|
|
inset-inline-start: auto;
|
|
inset-inline-end: 100%;
|
|
margin-inline-start: 0;
|
|
margin-inline-end: 0.25rem;
|
|
}
|
|
|
|
html[dir="rtl"] .download-context-menu-chevron {
|
|
transform: scaleX(-1);
|
|
}
|
|
|
|
.download-empty-row {
|
|
color: hsl(var(--text-muted));
|
|
}
|
|
|
|
.download-empty-row .download-file-name {
|
|
color: hsl(var(--text-muted));
|
|
font-weight: 500;
|
|
}
|
|
|
|
.download-ghost-row {
|
|
height: var(--download-row-height);
|
|
margin: var(--download-row-margin) 0;
|
|
border-radius: 6px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.download-ghost-row.striped,
|
|
.download-row.striped {
|
|
background: hsl(var(--stripe-bg));
|
|
}
|
|
|
|
.download-status-cell {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: var(--column-justify, flex-start);
|
|
gap: var(--download-status-gap);
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.download-status-content {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--download-status-gap);
|
|
width: 100%;
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.download-status-content-static {
|
|
justify-content: var(--column-justify, flex-start);
|
|
}
|
|
|
|
.download-status-cell[data-column-alignment="center"] > .download-status-content,
|
|
.download-status-cell[data-column-alignment="right"] > .download-status-content {
|
|
width: max-content;
|
|
}
|
|
|
|
.download-status-cell[data-column-alignment="center"] .download-progress-track,
|
|
.download-status-cell[data-column-alignment="right"] .download-progress-track {
|
|
flex: 1 1 128px;
|
|
width: auto;
|
|
}
|
|
|
|
.download-status-cell .download-status {
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
flex: 0 1 auto;
|
|
text-align: start;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: var(--download-status-font-size);
|
|
line-height: 1.2;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.download-progress-track {
|
|
flex: 1 1 auto;
|
|
width: auto;
|
|
max-width: 100%;
|
|
min-width: 0;
|
|
height: var(--download-progress-height);
|
|
border-radius: max(4px, calc(var(--download-progress-height) / 3));
|
|
overflow: hidden;
|
|
background: hsl(var(--border-color));
|
|
box-shadow: inset 0 1px 1px hsl(0 0% 0% / 0.22);
|
|
}
|
|
|
|
.download-progress-fill {
|
|
height: 100%;
|
|
border-radius: inherit;
|
|
background: hsl(var(--status-downloading));
|
|
}
|
|
|
|
.download-progress-fill.paused {
|
|
background: hsl(28 95% 56%);
|
|
}
|
|
|
|
.download-progress-fill.processing {
|
|
background: hsl(199 89% 48%);
|
|
}
|
|
|
|
.download-progress-fill.queued {
|
|
background: hsl(var(--status-queued));
|
|
}
|
|
|
|
.download-progress-fill.retrying {
|
|
background: hsl(var(--status-retrying));
|
|
animation: pulse-progress 1.5s ease-in-out infinite;
|
|
}
|
|
|
|
.download-status {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.download-status .truncate {
|
|
min-width: 0;
|
|
}
|
|
|
|
.download-status-paused {
|
|
color: hsl(var(--status-paused));
|
|
font-weight: 600;
|
|
}
|
|
|
|
.download-status-completed {
|
|
color: hsl(var(--status-completed));
|
|
font-weight: 700;
|
|
}
|
|
|
|
.download-status-failed {
|
|
color: hsl(var(--status-failed));
|
|
font-weight: 700;
|
|
}
|
|
|
|
.download-status-downloading {
|
|
color: hsl(var(--status-downloading));
|
|
font-weight: 600;
|
|
}
|
|
|
|
.download-status-processing {
|
|
color: hsl(199 89% 48%);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.download-status-queued {
|
|
color: hsl(var(--status-queued));
|
|
font-weight: 600;
|
|
}
|
|
|
|
.download-status-retrying {
|
|
color: hsl(var(--status-retrying));
|
|
font-weight: 600;
|
|
}
|
|
}
|
|
|
|
.glass-panel {
|
|
background: var(--color-sidebar-glass);
|
|
backdrop-filter: blur(30px);
|
|
-webkit-backdrop-filter: blur(30px);
|
|
}
|
|
|
|
.glass-card {
|
|
background: hsl(var(--bg-modal) / 0.8);
|
|
backdrop-filter: blur(20px);
|
|
-webkit-backdrop-filter: blur(20px);
|
|
border: 1px solid var(--color-border-color);
|
|
box-shadow: 0 4px 12px hsl(var(--shadow-color));
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.settings-tab-label {
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.settings-tab-label {
|
|
font-size: 9px;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.settings-tab-strip {
|
|
padding-inline: 20px;
|
|
}
|
|
|
|
.settings-choice-row {
|
|
grid-template-columns: 120px minmax(0, 1fr);
|
|
}
|
|
|
|
.theme-option-grid {
|
|
grid-template-columns: repeat(3, minmax(76px, 1fr));
|
|
}
|
|
}
|
|
|
|
/* Logs Console */
|
|
.logs-toolbar {
|
|
height: 42px;
|
|
border-bottom: 1px solid hsl(var(--border-color));
|
|
background: hsl(var(--statusbar-bg));
|
|
}
|
|
|
|
.logs-console {
|
|
background: hsl(0 0% 7%);
|
|
color: hsl(0 0% 82%);
|
|
font-family: "SF Mono", Monaco, "Cascadia Code", "Fira Code", "JetBrains Mono", monospace;
|
|
}
|
|
|
|
.logs-console .log-line {
|
|
display: flex;
|
|
gap: 8px;
|
|
padding: 0 4px;
|
|
min-height: 18px;
|
|
align-items: baseline;
|
|
border-radius: 2px;
|
|
white-space: pre-wrap;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.logs-console .log-level-tag {
|
|
flex-shrink: 0;
|
|
font-weight: 600;
|
|
min-width: 52px;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.logs-console .log-message {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.logs-console .log-error .log-level-tag,
|
|
.logs-console .log-error .log-message {
|
|
color: hsl(0 72% 58%);
|
|
}
|
|
|
|
.logs-console .log-warn .log-level-tag,
|
|
.logs-console .log-warn .log-message {
|
|
color: hsl(45 100% 50%);
|
|
}
|
|
|
|
.logs-console .log-info .log-level-tag,
|
|
.logs-console .log-info .log-message {
|
|
color: hsl(0 0% 75%);
|
|
}
|
|
|
|
.logs-console .log-debug .log-level-tag,
|
|
.logs-console .log-debug .log-message {
|
|
color: hsl(0 0% 45%);
|
|
}
|
|
|
|
.logs-console .log-line:hover {
|
|
background: hsl(0 0% 100% / 0.04);
|
|
}
|
|
|
|
@keyframes fade-in {
|
|
from { opacity: 0; }
|
|
to { opacity: 1; }
|
|
}
|
|
|
|
@keyframes modal-backdrop-in {
|
|
from { background-color: hsl(0 0% 0% / 0); }
|
|
to { background-color: hsl(0 0% 0% / 0.2); }
|
|
}
|
|
|
|
@keyframes pulse-progress {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.6; }
|
|
}
|
|
|
|
@keyframes modal-in {
|
|
from { opacity: 0; transform: scale(0.98); }
|
|
to { opacity: 1; transform: scale(1); }
|
|
}
|
|
|
|
@keyframes toast-in {
|
|
from { opacity: 0; transform: translateY(12px) scale(0.98); }
|
|
to { opacity: 1; transform: translateY(0) scale(1); }
|
|
}
|
|
|
|
@keyframes column-drag-preview-in {
|
|
from { opacity: 0; transform: translateY(4px) scale(0.98); }
|
|
to { opacity: 1; transform: translateY(0) scale(1); }
|
|
}
|
|
|
|
@keyframes column-drop-marker-pulse {
|
|
0%, 100% { opacity: 0.72; }
|
|
50% { opacity: 1; }
|
|
}
|
|
|
|
@keyframes column-drop-flash {
|
|
0% { box-shadow: inset 0 0 0 0 hsl(var(--accent-color) / 0); }
|
|
40% { box-shadow: inset 0 0 0 1px hsl(var(--accent-color) / 0.65); }
|
|
100% { box-shadow: inset 0 0 0 0 hsl(var(--accent-color) / 0); }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
scroll-behavior: auto !important;
|
|
animation-duration: 0.01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
transition-duration: 0.01ms !important;
|
|
}
|
|
}
|
|
|
|
html[dir="rtl"] .text-left {
|
|
text-align: right;
|
|
}
|
|
|
|
html[dir="rtl"] .font-mono,
|
|
html[dir="rtl"] input[type="number"] {
|
|
direction: ltr;
|
|
unicode-bidi: isolate;
|
|
}
|
|
|
|
.app-sidebar-shell--right .app-sidebar-panel {
|
|
box-shadow:
|
|
inset 0 1px 0 hsl(0 0% 100% / 0.045),
|
|
-2px 0 10px hsl(0 0% 0% / 0.20);
|
|
}
|
|
|
|
.app-sidebar-shell--left .app-sidebar-panel {
|
|
direction: ltr;
|
|
text-align: left;
|
|
}
|
|
|
|
.app-sidebar-shell--left .sidebar-section-label,
|
|
.app-sidebar-shell--left .sidebar-section-label-toggle {
|
|
direction: ltr;
|
|
text-align: left;
|
|
}
|
|
|
|
.app-sidebar-shell--left .sidebar-toggle-button {
|
|
inset-inline-start: auto;
|
|
inset-inline-end: auto;
|
|
left: auto;
|
|
right: 12px;
|
|
}
|
|
|
|
.app-sidebar-shell--right .sidebar-toggle-button {
|
|
inset-inline-start: auto;
|
|
inset-inline-end: auto;
|
|
left: 12px;
|
|
right: auto;
|
|
}
|
|
|
|
.app-sidebar-shell--left .sidebar-nav-item .sidebar-count {
|
|
margin-left: auto;
|
|
margin-right: 0;
|
|
}
|
|
|
|
.app-sidebar-shell--right .sidebar-nav-item .sidebar-count {
|
|
margin-left: 0;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.app-sidebar-shell--left .sidebar-nav-item > svg {
|
|
margin-left: 0;
|
|
margin-right: 0.75rem;
|
|
}
|
|
|
|
.app-sidebar-shell--left .sidebar-nav-label {
|
|
direction: ltr;
|
|
unicode-bidi: isolate;
|
|
}
|
|
|
|
.app-sidebar-shell--right .sidebar-nav-item > svg {
|
|
margin-left: 0.75rem;
|
|
margin-right: 0;
|
|
}
|
|
|
|
.app-sidebar-shell--right .sidebar-nav-label {
|
|
text-align: right;
|
|
}
|
|
|
|
.app-sidebar-shell--right .sidebar-section-label {
|
|
text-align: right;
|
|
}
|
|
|
|
.app-sidebar-shell--right .sidebar-section-label-toggle {
|
|
direction: rtl;
|
|
text-align: right;
|
|
}
|
|
|
|
.app-sidebar-shell--right .sidebar-add-queue-button,
|
|
.app-sidebar-shell--right .sidebar-queue-editor {
|
|
direction: rtl;
|
|
text-align: right;
|
|
}
|
|
|
|
html[dir="ltr"] .app-sidebar-shell--right .sidebar-queue-editor input {
|
|
direction: ltr;
|
|
text-align: right;
|
|
}
|
|
|
|
html[dir="ltr"] .app-sidebar-shell--right .sidebar-nav-label {
|
|
direction: ltr;
|
|
unicode-bidi: isolate;
|
|
}
|
|
|
|
html[dir="rtl"] .app-sidebar-shell--right .sidebar-nav-label {
|
|
direction: rtl;
|
|
unicode-bidi: isolate;
|
|
}
|
|
|
|
html[dir="rtl"] .mac-switch::after {
|
|
left: auto;
|
|
right: 2px;
|
|
}
|
|
|
|
html[dir="rtl"] .mac-switch:checked::after {
|
|
transform: translateX(-16px);
|
|
}
|