zotero/scss/components/_button.scss
Adomas Venčkauskas a24cada451 React Tag Selector polish, i18n and tests
- Added icon-button UI code for the menubutton
- Upgrade to React 16 to allow non-standard attrs, such as `tooltiptext`
to support XUL tooltips
- Add i18n support for React UI elements
- Update tests for reactified tag selector
2019-01-21 11:01:27 +02:00

42 lines
657 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 {
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;
}
}