Files
web/src/app.css

210 lines
4.6 KiB
CSS
Raw Normal View History

2026-11-02 04:23:13 +03:00
/* ── Токены Bionyx ── */
2026-11-02 03:47:53 +03:00
:root {
2026-11-02 04:23:13 +03:00
--bg: #06080a;
--surface: rgba(255, 255, 255, 0.022);
--surface-2: rgba(255, 255, 255, 0.05);
--line: rgba(150, 255, 220, 0.1);
--line-2: rgba(150, 255, 220, 0.24);
--text: #d7e0de;
--dim: #8a9997;
--hi: #f3f8f6;
--acc: #4ff0b7;
--acc-soft: rgba(79, 240, 183, 0.12);
--sans: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
--mono: ui-monospace, 'JetBrains Mono', 'SF Mono', Consolas, monospace;
--r: 16px;
color-scheme: dark;
}
*,
*::before,
*::after {
box-sizing: border-box;
2026-11-02 03:47:53 +03:00
}
2026-11-02 04:23:13 +03:00
html {
-webkit-text-size-adjust: 100%;
2026-11-02 03:55:06 +03:00
}
2026-11-02 04:23:13 +03:00
body {
margin: 0;
min-height: 100dvh;
background:
radial-gradient(90% 55% at 50% -10%, rgba(79, 240, 183, 0.1) 0%, transparent 62%),
radial-gradient(70% 50% at 100% 100%, rgba(79, 240, 183, 0.05) 0%, transparent 60%),
var(--bg);
background-attachment: fixed;
2026-11-02 03:55:06 +03:00
color: var(--text);
font-family: var(--sans);
font-size: 15px;
2026-11-02 04:23:13 +03:00
line-height: 1.6;
2026-11-02 03:55:06 +03:00
-webkit-font-smoothing: antialiased;
2026-11-02 03:47:53 +03:00
}
2026-11-02 04:23:13 +03:00
/* техническая сетка поверх фона */
body::before {
content: '';
position: fixed;
inset: 0;
z-index: 0;
pointer-events: none;
background-image:
linear-gradient(to right, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
linear-gradient(to bottom, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
background-size: 64px 64px;
-webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 75%);
mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 75%);
2026-11-02 03:55:06 +03:00
}
2026-11-02 04:23:13 +03:00
#app {
position: relative;
z-index: 1;
2026-11-02 03:55:06 +03:00
}
2026-11-02 04:23:13 +03:00
::selection {
background: rgba(79, 240, 183, 0.28);
color: #fff;
2026-11-02 03:55:06 +03:00
}
2026-11-02 04:23:13 +03:00
::-webkit-scrollbar {
width: 10px;
height: 8px;
2026-11-02 03:55:06 +03:00
}
2026-11-02 04:23:13 +03:00
::-webkit-scrollbar-track {
background: transparent;
2026-11-02 03:55:06 +03:00
}
2026-11-02 04:23:13 +03:00
::-webkit-scrollbar-thumb {
background: rgba(150, 255, 220, 0.14);
border-radius: 8px;
2026-11-02 03:55:06 +03:00
}
2026-11-02 04:23:13 +03:00
/* ── Общие примитивы контента (используются внутри карточек) ── */
.bx-label {
margin: 0;
2026-11-02 03:55:06 +03:00
font-family: var(--mono);
2026-11-02 04:23:13 +03:00
font-size: 11px;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--dim);
2026-11-02 03:55:06 +03:00
}
2026-11-02 04:23:13 +03:00
.bx-p {
margin: 0;
2026-11-02 03:55:06 +03:00
}
2026-11-02 04:23:13 +03:00
.bx-note {
margin: 0;
color: var(--dim);
font-size: 13.5px;
2026-11-02 03:55:06 +03:00
}
2026-11-02 04:23:13 +03:00
.bx-list {
2026-11-02 03:55:06 +03:00
list-style: none;
2026-11-02 04:23:13 +03:00
margin: 0;
padding: 0;
2026-11-02 03:55:06 +03:00
display: flex;
flex-direction: column;
2026-11-02 04:23:13 +03:00
gap: 8px;
2026-11-02 03:55:06 +03:00
}
2026-11-02 04:23:13 +03:00
.bx-list > li {
2026-11-02 03:55:06 +03:00
position: relative;
2026-11-02 04:23:13 +03:00
padding-left: 16px;
2026-11-02 03:55:06 +03:00
}
2026-11-02 04:23:13 +03:00
.bx-list > li::before {
content: '';
2026-11-02 03:55:06 +03:00
position: absolute;
2026-11-02 04:23:13 +03:00
left: 2px;
top: 0.62em;
width: 5px;
height: 5px;
background: var(--acc);
opacity: 0.65;
transform: rotate(45deg);
2026-11-02 03:55:06 +03:00
}
2026-11-02 04:23:13 +03:00
.bx-steps {
margin: 0;
padding-left: 20px;
display: flex;
flex-direction: column;
gap: 8px;
2026-11-02 03:55:06 +03:00
}
2026-11-02 04:23:13 +03:00
.bx-steps > li::marker {
color: var(--acc);
2026-11-02 03:55:06 +03:00
font-family: var(--mono);
font-size: 12px;
}
2026-11-04 15:29:29 +03:00
/* ── Выпадающие списки (платформа установки, выбор субъектов) ── */
.bx-select {
appearance: none;
-webkit-appearance: none;
min-width: 0;
padding: 8px 32px 8px 12px;
border: 1px solid var(--line);
border-radius: 10px;
background: var(--surface)
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' fill='none' stroke='%238a9997' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
no-repeat right 10px center / 12px 12px;
color: var(--hi);
font-family: var(--mono);
font-size: 12.5px;
letter-spacing: 0.04em;
cursor: pointer;
transition: border-color 0.18s ease;
}
.bx-select:hover { border-color: var(--line-2); }
.bx-select:focus-visible { outline: 1px solid var(--line-2); outline-offset: 2px; }
.bx-select option,
.bx-select optgroup {
background: #0a0e10;
color: var(--text);
font-family: var(--mono);
}
/* уменьшенная версия списка (версия ОС и т.п.) */
.bx-select.sm {
padding: 5px 26px 5px 10px;
border-radius: 8px;
font-size: 11.5px;
background-position: right 8px center;
background-size: 10px 10px;
}
2026-11-02 04:23:13 +03:00
code {
2026-11-02 03:55:06 +03:00
font-family: var(--mono);
2026-11-02 04:23:13 +03:00
font-size: 0.88em;
color: var(--acc);
background: var(--acc-soft);
border: 1px solid rgba(79, 240, 183, 0.16);
border-radius: 6px;
padding: 1px 6px;
overflow-wrap: anywhere;
}
b,
strong {
color: var(--hi);
2026-11-02 03:55:06 +03:00
font-weight: 600;
}
2026-11-02 04:23:13 +03:00
.up {
color: var(--acc);
2026-11-02 03:55:06 +03:00
font-weight: 600;
}
2026-11-02 04:23:13 +03:00
.justify {
text-align: justify;
text-justify: inter-word;
-webkit-hyphens: auto;
hyphens: auto;
2026-11-02 03:55:06 +03:00
}
2026-11-02 04:23:13 +03:00
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
transition-duration: 0.01ms !important;
}
2026-11-02 03:47:53 +03:00
}