fix: resolve new audit styles

This commit is contained in:
2026-08-31 10:38:35 +05:00
parent 95f1eeeecc
commit 80def1f380
6 changed files with 24 additions and 18 deletions
-1
View File
@@ -26,7 +26,6 @@
font-family: var(--font-mono); font-family: var(--font-mono);
font-size: 10px; font-size: 10px;
border: 1px solid var(--line); border: 1px solid var(--line);
border-radius: var(--radius);
color: var(--muted); color: var(--muted);
} }
.badge--accent { .badge--accent {
@@ -61,7 +61,6 @@
width: 14px; width: 14px;
height: 14px; height: 14px;
border: 1px solid var(--line); border: 1px solid var(--line);
border-radius: var(--radius);
flex: none; flex: none;
} }
.color-field input { .color-field input {
+2 -3
View File
@@ -36,7 +36,6 @@
display: flex; display: flex;
height: 32px; height: 32px;
border: 1px solid var(--line); border: 1px solid var(--line);
border-radius: var(--radius);
overflow: hidden; overflow: hidden;
background: var(--background); background: var(--background);
} }
@@ -48,8 +47,8 @@
background: 0 0; background: 0 0;
flex: 1; flex: 1;
} }
.segment + .segment { .segment:last-child {
border-left: 1px solid var(--line); border-right: 0px;
} }
.segment.selected { .segment.selected {
background: var(--blue); background: var(--blue);
+1 -5
View File
@@ -48,21 +48,16 @@
grid-template-columns: 46px 20px 1fr; grid-template-columns: 46px 20px 1fr;
min-height: 138px; min-height: 138px;
border: 1px solid var(--line); border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--panel); background: var(--panel);
overflow: hidden; overflow: hidden;
} }
.step-index { .step-index {
grid-column: 1;
grid-row: 1;
font: 11px var(--font-mono); font: 11px var(--font-mono);
color: var(--blue); color: var(--blue);
padding: 17px 0 0px 15px; padding: 17px 0 0px 15px;
border-right: 1px solid var(--line); border-right: 1px solid var(--line);
} }
.step-body { .step-body {
grid-column: 2;
grid-row: 1 / span 2;
padding: 15px 18px 18px; padding: 15px 18px 18px;
} }
.step-heading { .step-heading {
@@ -94,6 +89,7 @@
cursor: pointer; cursor: pointer;
line-height: inherit; line-height: inherit;
& :global(svg) { & :global(svg) {
display: block;
line-height: inherit; line-height: inherit;
} }
} }
-1
View File
@@ -125,7 +125,6 @@
display: flex; display: flex;
align-items: center; align-items: center;
border: 1px solid var(--line); border: 1px solid var(--line);
border-radius: var(--radius);
overflow: hidden; overflow: hidden;
} }
.lang-btn { .lang-btn {
+21 -7
View File
@@ -51,13 +51,24 @@
text-rendering: optimizeLegibility; text-rendering: optimizeLegibility;
} }
/* Форм-контролы не наследуют шрифт семьи по умолчанию (браузер ставит Arial). */
button, button,
input, input,
select, select,
textarea, optgroup,
optgroup { textarea {
font: inherit; font: inherit;
font-feature-settings: inherit;
font-variation-settings: inherit;
letter-spacing: inherit;
color: inherit;
opacity: 1;
background-color: #0000;
border-radius: 0;
}
button,
input:where([type="button"], [type="reset"], [type="submit"]) {
appearance: button;
} }
/* Перебивки глобальных правил старого app.css (слой app ниже), чтобы при /* Перебивки глобальных правил старого app.css (слой app ниже), чтобы при
@@ -65,18 +76,21 @@
Пустые — заполни при необходимости. */ Пустые — заполни при необходимости. */
a, a,
a:hover { a:hover {
/* color: inherit; text-decoration: none; */ color: inherit;
text-decoration: none;
} }
h1, h1,
h2 { h2 {
/* font-size: revert; line-height: revert; letter-spacing: revert; */ font-size: revert;
line-height: revert;
letter-spacing: revert;
} }
p, p,
label { label {
/* font-size: revert; */ font-size: revert;
} }
:focus-visible { :focus-visible {
/* outline: revert; */ outline: revert;
} }
svg { svg {
vertical-align: middle; vertical-align: middle;