Files
aeternalis/client/src/theme.css
T

55 lines
3.0 KiB
CSS

:root[data-theme="light"] { color-scheme: light; }
.theme-toggle { font-size: 21px; line-height: 1; }
@media (max-width: 720px) { .site-header nav, .control-header { flex-wrap: wrap; } }
:root[data-theme="dark"] {
color-scheme: dark;
background: #111b17; color: #e3ece6;
--line: #34483c; --muted: #a5b8ac; --green: #337556; --red: #f094a2;
--progression-track: #2b4033; --progression-fill: #81c79e;
--progression-muted: #a5b8ac; --progression-border: #34483c;
--progression-positive: #88d5aa; --progression-negative: #f094a2;
}
[data-theme="dark"] .control-site { background: #111b17; }
[data-theme="dark"] .site-header,
[data-theme="dark"] .control-sidebar,
[data-theme="dark"] .journey-section,
[data-theme="dark"] dialog { background: #18251e; color: #e3ece6; }
[data-theme="dark"] dialog { box-shadow: 0 18px 70px #0008; }
[data-theme="dark"] dialog::backdrop { background: #060c09a6; }
[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea { background: #111b17; color: #e3ece6; border-color: #425a4a; }
[data-theme="dark"] ::placeholder { color: #99afa1; opacity: 1; }
[data-theme="dark"] .button.secondary,
[data-theme="dark"] .button.light,
[data-theme="dark"] .icon-button { background: #203227; color: #dfede4; border-color: var(--line); }
[data-theme="dark"] .button.secondary:hover:not(:disabled):not(.disabled),
[data-theme="dark"] .button.light:hover:not(:disabled):not(.disabled),
[data-theme="dark"] .icon-button:hover { background: #2c4535; color: #eff8f2; }
[data-theme="dark"] .button.danger { background: #a63249; color: #fff; }
[data-theme="dark"] .button.danger:hover:not(:disabled) { background: #85273a; }
[data-theme="dark"] .nav-item { color: #a5b8ac; }
[data-theme="dark"] .nav-item:hover { background: #203629; }
[data-theme="dark"] .nav-item.active { background: #284333; color: #bceace; }
[data-theme="dark"] .catalog-tabs button[aria-pressed="true"] { background: #326b4e; color: #fff; }
[data-theme="dark"] .message { background: #213b2c; border-color: #81c79e; }
[data-theme="dark"] th { background: #1c2b22; }
[data-theme="dark"] td { border-color: var(--line); }
[data-theme="dark"] tbody tr:hover { background: #1a2b21; }
[data-theme="dark"] .record-link { color: #9ad9b4; }
[data-theme="dark"] .world-emblem { background: #243c2d; color: #9ad9b4; }
[data-theme="dark"] .site-footer > span:first-child { color: #ccded2; }
[data-theme="dark"] .access-state > svg { color: #9ad9b4; }
[data-theme="dark"] .badge { background: #2b3830; color: #bacabf; }
[data-theme="dark"] .state-alive,
[data-theme="dark"] .state-gathering,
[data-theme="dark"] .state-completed { background: #203c2d; color: #98dfb5; }
[data-theme="dark"] .state-eligible,
[data-theme="dark"] .state-won { background: #223644; color: #a6d5f3; }
[data-theme="dark"] .state-cataclysm,
[data-theme="dark"] .state-pending,
[data-theme="dark"] .state-closed { background: #40351f; color: #f0ce88; }
[data-theme="dark"] .state-dead,
[data-theme="dark"] .state-lost,
[data-theme="dark"] .state-rejected { background: #412730; color: #f2a7b5; }