mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 09:16:38 -04:00
Merge c7fa2151de
into 04a0b10a15
This commit is contained in:
commit
07a3f76578
6 changed files with 14 additions and 4 deletions
|
@ -262,6 +262,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: row;
|
flex-flow: row;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
border-color: var(--border-ui);
|
||||||
|
|
||||||
.inner {
|
.inner {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
@ -287,13 +288,13 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
.chevron {
|
.chevron {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
align-self: flex-end;
|
align-self: flex-end;
|
||||||
border-left: 1px solid var(--border-subtle);
|
border-left: 1px solid var(--border-ui);
|
||||||
}
|
}
|
||||||
|
|
||||||
:global([dir="rtl"]) {
|
:global([dir="rtl"]) {
|
||||||
.chevron {
|
.chevron {
|
||||||
border-left: none;
|
border-left: none;
|
||||||
border-right: 1px solid var(--border-subtle);
|
border-right: 1px solid var(--border-ui);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -210,7 +210,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
.spin-box {
|
.spin-box {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: var(--canvas-inset);
|
background: var(--canvas-inset);
|
||||||
border: 1px solid var(--border);
|
border: 1px solid var(--border-ui);
|
||||||
border-radius: var(--border-radius);
|
border-radius: var(--border-radius);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
|
@ -31,6 +31,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-check-input {
|
.form-check-input {
|
||||||
|
border-color: var(--border-ui);
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
appearance: none;
|
appearance: none;
|
||||||
height: 1.5em;
|
height: 1.5em;
|
||||||
|
|
|
@ -56,7 +56,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
page-break-inside: avoid;
|
page-break-inside: avoid;
|
||||||
}
|
}
|
||||||
h1 {
|
h1 {
|
||||||
border-bottom: 1px solid var(--border);
|
border-bottom: 1px solid var(--border-ui);
|
||||||
padding-bottom: 0.25em;
|
padding-bottom: 0.25em;
|
||||||
}
|
}
|
||||||
.help-badge {
|
.help-badge {
|
||||||
|
|
|
@ -17,6 +17,7 @@ $color-palette: (
|
||||||
7: #afafaf,
|
7: #afafaf,
|
||||||
8: #999999,
|
8: #999999,
|
||||||
9: #858585,
|
9: #858585,
|
||||||
|
10: #949494,
|
||||||
),
|
),
|
||||||
darkgray: (
|
darkgray: (
|
||||||
0: #737373,
|
0: #737373,
|
||||||
|
|
|
@ -178,6 +178,13 @@ $vars: (
|
||||||
dark: palette(blue, 5),
|
dark: palette(blue, 5),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
ui: (
|
||||||
|
"Border color of ui elements, designed for minimum A11Y contrast against the background.",
|
||||||
|
(
|
||||||
|
light: palette(lightgray, 10),
|
||||||
|
dark: palette(blue, 5),
|
||||||
|
),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
button: (
|
button: (
|
||||||
bg: (
|
bg: (
|
||||||
|
|
Loading…
Reference in a new issue