zotero/scss/components/_button.scss
2019-01-21 11:01:33 +02:00

40 lines
632 B
SCSS

//
// Button
// --------------------------------------------------
.btn {
font: {
family: inherit;
size: inherit;
}
line-height: inherit;
color: inherit;
text-align: center;
-moz-appearance: toolbarbutton;
&[disabled],
&.disabled {
opacity: $btn-disabled-opacity;
}
}
.btn-icon {
.icon {
&:first-child {
margin-left: -5px;
}
&:last-child {
margin-right: -5px;
}
svg, img {
vertical-align: middle;
}
}
span.menu-marker {
-moz-appearance: toolbarbutton-dropdown;
display: inline-block;
vertical-align: middle;
margin-right: -5px;
}
}