zotero/scss/base/_base.scss
abaevbog b0fa4415ee
fix focusring not appearing on linux (#4365)
-moz-accent-color variable doesn't seem to exist on linux.
Use --color-accent as the focus border, same as what is
already done in the reader.

Fixes: #4340
2024-07-10 00:41:13 -04:00

25 lines
849 B
SCSS

:root {
font-family: system-ui, -apple-system, sans-serif;
font-size: 13px;
font-style: normal;
line-height: 1.3333333333;
@media (-moz-platform: windows) {
--color-accent: var(--accent-blue);
@include light-dark(--color-focus-outer-border, var(--fill-primary), var(--accent-white));
@include light-dark(--color-focus-border, var(--accent-white), #00000080);
--width-focus-outer-border: 2px;
--width-focus-border: 1px;
}
@media (-moz-platform: macos) {
--color-accent: SelectedItem;
--color-focus-border: color-mix(in srgb, var(--color-accent) 50%, transparent);
--width-focus-border: 3px;
}
@media (-moz-platform: linux) {
--color-accent: SelectedItem;
--color-focus-border: var(--color-accent);
--width-focus-border: 2px;
}
// Only used on Windows
--color-form-element-base-background: var(--color-background);
}