zotero/scss/components/_button.scss

43 lines
657 B
SCSS
Raw Normal View History

//
// 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 {
padding: $btn-icon-padding;
.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;
}
}