a24cada451
- 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
42 lines
657 B
SCSS
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;
|
|
}
|
|
}
|
|
|