mirror of
https://github.com/zotero/zotero.git
synced 2026-08-28 05:25:31 +00:00
Followup to 06ef9ab
Fix <html> based form elements, in citation dialog item popover.
Set slightly smaller default border width of buttons.
48 lines
757 B
SCSS
48 lines
757 B
SCSS
//
|
|
// Button
|
|
// --------------------------------------------------
|
|
|
|
.btn {
|
|
font: {
|
|
family: inherit;
|
|
size: inherit;
|
|
}
|
|
line-height: inherit;
|
|
color: inherit;
|
|
text-align: center;
|
|
-moz-appearance: none;
|
|
|
|
&[disabled],
|
|
&.disabled {
|
|
opacity: $btn-disabled-opacity;
|
|
}
|
|
}
|
|
|
|
.btn-icon {
|
|
.icon {
|
|
svg, img {
|
|
vertical-align: middle;
|
|
}
|
|
}
|
|
span.menu-marker {
|
|
-moz-appearance: none;
|
|
display: inline-block;
|
|
margin-left: 4px;
|
|
}
|
|
}
|
|
|
|
button {
|
|
@media (-moz-platform: macos) {
|
|
// Prevent ugly non-native button styles on macOS
|
|
max-height: 25px;
|
|
margin: 0 -2px -1px;
|
|
}
|
|
|
|
@media (-moz-platform: linux) {
|
|
// fx140 form element styling fix
|
|
appearance: none;
|
|
border-radius: 5px;
|
|
border: 1px solid ThreeDShadow;
|
|
padding: 0.3em 1.5em;
|
|
}
|
|
}
|