zotero/scss/components/_button.scss

41 lines
583 B
SCSS
Raw Normal View History

//
// Button
// --------------------------------------------------
.btn {
font: {
family: inherit;
size: inherit;
}
line-height: inherit;
color: inherit;
text-align: center;
2023-12-22 15:10:26 +00:00
-moz-appearance: none;
&[disabled],
&.disabled {
opacity: $btn-disabled-opacity;
}
}
.btn-icon {
.icon {
svg, img {
vertical-align: middle;
}
}
span.menu-marker {
2023-12-22 15:10:26 +00:00
-moz-appearance: none;
display: inline-block;
margin-left: 4px;
}
}
2023-12-24 05:13:25 +00:00
button {
@media (-moz-platform: macos) {
// Prevent ugly non-native button styles on macOS
max-height: 25px;
margin: 0 -2px -1px;
}
}