zotero/scss/elements/_styleConfigurator.scss

83 lines
1.7 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);
}
.style-list-container {
display: flex;
flex-direction: column;
gap: 8px;
2024-01-10 15:29:22 +00:00
}
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;
}
}
}
.style-selector-wrapper {
margin: var(--style-configurator-style-field-margin, 0);
}
.locale-selector-wrapper {
display: flex;
align-items: center;
gap: var(--style-configurator-locale-gap, 8px);
}
.display-as-wrapper {
display: flex;
flex-direction: row;
gap: var(--style-configurator-display-as-wrapper-gap, 8px);
radiogroup {
2024-01-10 15:29:22 +00:00
margin: 0;
display: flex;
flex-direction: row;
gap: var(--style-configurator-display-as-wrapper-gap, 8px);
}
2024-01-10 15:29:22 +00:00
radio {
margin: 0;
gap: 6px;
2024-01-10 15:29:22 +00:00
}
}
&:not([show-manage-styles]) {
#manage-styles {
display: none;
2024-01-10 15:29:22 +00:00
}
}
}
locale-selector {
menulist {
min-width: 200px;
margin: 0;
}
}