Source code
Revision control
Copy as Markdown
Other Tools
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
/* ===== button.css =====================================================
== Styles used by the XUL button element.
======================================================================= */
/* :::::::::: button :::::::::: */
button {
margin: 1px 5px 2px;
min-width: 6.3em;
color: ButtonText;
background-color: ButtonFace;
text-shadow: none;
border: 1px solid Buttonborder;
padding-block: 2px 3px;
padding-inline: 5px;
&:where(:hover) {
background-color: -moz-buttonhoverface;
border-color: -moz-buttonhoverborder;
color: -moz-buttonhovertext;
}
&:where(:hover:active) {
background-color: -moz-buttonactiveface;
border-color: -moz-buttonactiveborder;
color: -moz-buttonactivetext;
}
&:where(:focus-visible) {
outline: auto;
}
&:where([disabled="true"]) {
color: GrayText;
border-color: -moz-buttondisabledborder;
background-color: -moz-buttondisabledface;
}
&.plain {
margin: 0 !important;
padding: 0 !important;
}
}
.button-text {
margin: 0;
text-align: center;
}