176 lines
3.4 KiB
CSS
176 lines
3.4 KiB
CSS
html {
|
|
font-size: 14px;
|
|
position: relative;
|
|
min-height: 100%;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
html {
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
|
|
:root {
|
|
color-scheme: light;
|
|
--app-bg: #f4f7fb;
|
|
--app-text: #162033;
|
|
--app-muted: #5f6b7a;
|
|
--app-surface: #ffffff;
|
|
--app-surface-alt: #f8fafc;
|
|
--app-border: #d8e0ea;
|
|
--app-link: #0d6efd;
|
|
--app-link-hover: #0a58ca;
|
|
--app-shadow: 0 18px 40px rgba(22, 32, 51, 0.08);
|
|
--app-focus-ring: rgba(37, 140, 251, 0.35);
|
|
}
|
|
|
|
:root[data-theme="dark"] {
|
|
color-scheme: dark;
|
|
--app-bg: #111827;
|
|
--app-text: #e5eef9;
|
|
--app-muted: #9caecc;
|
|
--app-surface: #1a2332;
|
|
--app-surface-alt: #121a27;
|
|
--app-border: #314055;
|
|
--app-link: #7cc4ff;
|
|
--app-link-hover: #a6d9ff;
|
|
--app-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
|
|
--app-focus-ring: rgba(124, 196, 255, 0.35);
|
|
}
|
|
|
|
body {
|
|
margin-bottom: 60px;
|
|
background:
|
|
radial-gradient(circle at top, rgba(13, 110, 253, 0.12), transparent 30%),
|
|
linear-gradient(180deg, var(--app-surface-alt) 0%, var(--app-bg) 100%);
|
|
color: var(--app-text);
|
|
transition: background-color 0.2s ease, color 0.2s ease;
|
|
}
|
|
|
|
a {
|
|
color: var(--app-link);
|
|
}
|
|
|
|
a:hover,
|
|
a:focus {
|
|
color: var(--app-link-hover);
|
|
}
|
|
|
|
.container main,
|
|
.container footer {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.theme-toolbar {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1030;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.theme-toolbar > div {
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.theme-toggle {
|
|
border-color: var(--app-border);
|
|
background-color: rgba(255, 255, 255, 0.7);
|
|
color: var(--app-text);
|
|
backdrop-filter: blur(12px);
|
|
box-shadow: var(--app-shadow);
|
|
}
|
|
|
|
:root[data-theme="dark"] .theme-toggle {
|
|
background-color: rgba(26, 35, 50, 0.82);
|
|
}
|
|
|
|
.btn:focus,
|
|
.btn:active:focus,
|
|
.btn-link.nav-link:focus,
|
|
.form-control:focus,
|
|
.form-check-input:focus,
|
|
.form-select:focus {
|
|
box-shadow: 0 0 0 0.1rem var(--app-surface), 0 0 0 0.25rem var(--app-focus-ring);
|
|
}
|
|
|
|
.btn-outline-secondary {
|
|
color: var(--app-text);
|
|
border-color: var(--app-border);
|
|
}
|
|
|
|
.btn-outline-secondary:hover,
|
|
.btn-outline-secondary:focus {
|
|
color: var(--app-text);
|
|
background-color: var(--app-surface-alt);
|
|
border-color: var(--app-border);
|
|
}
|
|
|
|
.table,
|
|
.form-control,
|
|
.form-select,
|
|
.form-check-input,
|
|
.alert,
|
|
.card,
|
|
.list-group-item,
|
|
.modal-content,
|
|
.dropdown-menu {
|
|
--bs-body-bg: var(--app-bg);
|
|
--bs-body-color: var(--app-text);
|
|
--bs-border-color: var(--app-border);
|
|
--bs-secondary-bg: var(--app-surface-alt);
|
|
--bs-tertiary-bg: var(--app-surface-alt);
|
|
}
|
|
|
|
.table,
|
|
.form-control,
|
|
.form-select,
|
|
.alert,
|
|
.card,
|
|
.list-group-item,
|
|
.dropdown-menu {
|
|
background-color: var(--app-surface);
|
|
color: var(--app-text);
|
|
border-color: var(--app-border);
|
|
}
|
|
|
|
.table {
|
|
--bs-table-bg: transparent;
|
|
--bs-table-color: var(--app-text);
|
|
--bs-table-striped-color: var(--app-text);
|
|
--bs-table-striped-bg: rgba(127, 144, 167, 0.08);
|
|
--bs-table-active-color: var(--app-text);
|
|
--bs-table-hover-color: var(--app-text);
|
|
--bs-table-hover-bg: rgba(127, 144, 167, 0.12);
|
|
border-color: var(--app-border);
|
|
}
|
|
|
|
.table > :not(caption) > * > * {
|
|
color: inherit;
|
|
}
|
|
|
|
.form-control::placeholder {
|
|
color: var(--app-muted);
|
|
}
|
|
|
|
.form-text,
|
|
.text-muted,
|
|
footer.text-muted {
|
|
color: var(--app-muted) !important;
|
|
}
|
|
|
|
hr,
|
|
.border-top,
|
|
.border-bottom {
|
|
border-color: var(--app-border) !important;
|
|
}
|
|
|
|
.footer {
|
|
position: absolute;
|
|
bottom: 0;
|
|
width: 100%;
|
|
white-space: nowrap;
|
|
line-height: 60px;
|
|
background: transparent;
|
|
}
|