Files
web/src/app.css

210 lines
4.6 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* ── Токены Bionyx ── */
:root {
--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;
}
html {
-webkit-text-size-adjust: 100%;
}
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;
color: var(--text);
font-family: var(--sans);
font-size: 15px;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
/* техническая сетка поверх фона */
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%);
}
#app {
position: relative;
z-index: 1;
}
::selection {
background: rgba(79, 240, 183, 0.28);
color: #fff;
}
::-webkit-scrollbar {
width: 10px;
height: 8px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: rgba(150, 255, 220, 0.14);
border-radius: 8px;
}
/* ── Общие примитивы контента (используются внутри карточек) ── */
.bx-label {
margin: 0;
font-family: var(--mono);
font-size: 11px;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--dim);
}
.bx-p {
margin: 0;
}
.bx-note {
margin: 0;
color: var(--dim);
font-size: 13.5px;
}
.bx-list {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
gap: 8px;
}
.bx-list > li {
position: relative;
padding-left: 16px;
}
.bx-list > li::before {
content: '';
position: absolute;
left: 2px;
top: 0.62em;
width: 5px;
height: 5px;
background: var(--acc);
opacity: 0.65;
transform: rotate(45deg);
}
.bx-steps {
margin: 0;
padding-left: 20px;
display: flex;
flex-direction: column;
gap: 8px;
}
.bx-steps > li::marker {
color: var(--acc);
font-family: var(--mono);
font-size: 12px;
}
/* ── Выпадающие списки (платформа установки, выбор субъектов) ── */
.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;
}
code {
font-family: var(--mono);
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);
font-weight: 600;
}
.up {
color: var(--acc);
font-weight: 600;
}
.justify {
text-align: justify;
text-justify: inter-word;
-webkit-hyphens: auto;
hyphens: auto;
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
transition-duration: 0.01ms !important;
}
}