Files
SHiNE-server/shine-UI/styles/main.css
T
2026-09-22 14:09:02 +03:00

104 lines
2.6 KiB
CSS

:root {
--background: #101b20;
--surface: #17272d;
--surface-selected: #213b3a;
--text-primary: #e8f2f1;
--text-secondary: #98adaf;
--border-subtle: #2a3b40;
--border-control: #71888a;
--accent: #94e1ce;
--on-accent: #102c27;
--focus-ring: #94e1ce;
--reaction-active: #f29aab;
--danger: #ffaba8;
--success: #94e1ce;
--warning: #e6c184;
--scrim: #00000099;
--bg-0: var(--background);
--bg-1: var(--surface);
--bg-2: var(--surface-selected);
--card: var(--surface);
--card-soft: var(--surface-selected);
--line: var(--border-subtle);
--text: var(--text-primary);
--text-muted: var(--text-secondary);
--accent-soft: color-mix(in srgb, var(--accent) 16%, transparent);
--ok: var(--success);
/* Единый цвет основных действий: стартовые/регистрационные кнопки,
* настройки и scroll-down. */
--shine-action-blue: #1248a3;
--shine-action-blue-hover: #1b62cf;
--shine-action-blue-pressed: #0d3577;
--shine-action-blue-rgb: 18, 72, 163;
--radius-lg: 14px;
--radius-md: 12px;
--radius-sm: 9px;
--shadow: 0 16px 42px rgba(0, 0, 0, 0.26);
--font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
:root[data-theme='light'] {
--background: #faf7f0;
--surface: #fffdf8;
--surface-selected: #efe6d6;
--text-primary: #302c25;
--text-secondary: #706658;
--border-subtle: #e6dfd1;
--border-control: #978b79;
--accent: #93511e;
--on-accent: #fffaf3;
--focus-ring: #93511e;
--reaction-active: #a43350;
--danger: #b13135;
--success: #346a48;
--warning: #845b14;
--scrim: #302c2566;
--shadow: 0 16px 42px rgba(65, 49, 28, 0.14);
}
* {
box-sizing: border-box;
}
html,
body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
min-height: 100%;
overflow: hidden;
overscroll-behavior: none;
background: var(--background);
color: var(--text);
font-family: var(--font-main);
}
button,
input {
font: inherit;
color: inherit;
}
h1,
h2,
h3,
p {
margin: 0;
}
a {
color: inherit;
text-decoration: none;
}
.notification-card--new { background: rgba(108, 92, 231, .10); border-color: rgba(143, 126, 255, .42); }
.notification-card--new::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; position: absolute; right: 12px; top: 12px; opacity: .9; }
.notification-card { position: relative; }
.notification-new-divider { text-align: center; font-size: 11px; letter-spacing: .12em; opacity: .72; padding: 6px 0; }
.channel-view-topbar { position: relative; }