zotero/scss/elements/_styleConfigurator.scss
Tom Najdek c7286194f8 Convert theme to css variables
* Opt-in for light and dark color schemes
* Convert scss variables in _light.scss to css variables
* Add _dark.scss for dark color scheme
* Remove unused, theme-related variables
2024-01-24 03:42:29 -05:00

53 lines
1.2 KiB
SCSS

style-configurator {
display: block;
width: 100%;
style-selector {
display: block;
}
richlistbox {
padding: var(--style-configurator-richlistbox-padding, 2px);
max-height: var(--style-configurator-richlistitem-max-height, 260px);
overflow: var(--style-configurator-richlistitem-overflow, auto scroll);
richlistitem {
line-height: var(--style-configurator-richlistitem-line-height, 1.5em);
}
@media (-moz-platform: macos) {
&:not(:focus) richlistitem[selected="true"] {
background-color: -moz-mac-secondaryhighlight;
}
}
}
.locale-selector-wrapper,
.style-selector-wrapper,
.display-as-wrapper {
margin: var(--style-configurator-field-margin, .5em 0 0 0);
padding: var(--style-configurator-field-padding, $space-xs);
}
label[for="style-selector"] {
margin: var(--style-configurator-label-margin, .5em 0 0 0);
font-size: var(--style-configurator-label-font-size, 13px);
}
.style-selector-wrapper {
margin: var(--style-configurator-style-field-margin, 0);
}
.locale-selector-wrapper {
display: flex;
align-items: center;
}
.display-as-wrapper {
radiogroup {
display: flex;
flex-direction: row;
}
}
}