zotero/scss/elements/_styleConfigurator.scss

76 lines
1.6 KiB
SCSS
Raw Normal View History

style-configurator {
display: block;
width: 100%;
2024-01-10 15:29:22 +00:00
.style-configurator {
display: flex;
flex-direction: column;
gap: var(--style-configurator-gap, 24px);
}
2024-01-10 15:29:22 +00:00
.locale-selector-label {
margin: var(--style-configurator-locale-selector-label-margin, 0 8px 0 0);
}
style-selector {
display: block;
}
richlistbox {
2024-01-10 15:29:22 +00:00
padding: var(--style-configurator-richlistbox-padding, 4px 8px);
max-height: var(--style-configurator-richlistitem-max-height, 260px);
2024-01-10 15:29:22 +00:00
overflow: var(--style-configurator-richlistitem-overflow, hidden auto);
margin: var(--style-configurator-richlistbox-margin, 0);
richlistitem {
2024-01-10 15:29:22 +00:00
line-height: var(--style-configurator-richlistitem-line-height, 1.66666666em);
overflow: hidden;
text-overflow: ellipsis;
padding: var(--style-configurator-richlistitem-padding, 0px 8px 0px 4px);
border-radius: var(--style-configurator-richlistitem-border-radius, 5px);
}
@media (-moz-platform: macos) {
&:not(:focus) richlistitem[selected="true"] {
background-color: -moz-mac-secondaryhighlight;
}
}
}
label[for="style-selector"] {
2024-01-10 15:29:22 +00:00
margin: var(--style-configurator-label-margin, 0 $space-min 0 0);
}
.style-selector-wrapper {
margin: var(--style-configurator-style-field-margin, 0);
}
.locale-selector-wrapper {
display: flex;
align-items: center;
}
.display-as-wrapper {
radiogroup {
2024-01-10 15:29:22 +00:00
margin: 0;
display: flex;
flex-direction: row;
}
2024-01-10 15:29:22 +00:00
radio {
margin: 0;
}
radio + radio {
margin-left: var(--style-configurator-radio-margin-left, 16px);
}
}
}
locale-selector {
menulist {
min-width: 200px;
}
}