зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1349137 - Consolidate button color rules. r=johannh
MozReview-Commit-ID: BS5WuQy7ykN --HG-- extra : rebase_source : 94f0da4067fc687c6fad46a7ee0a39e7bed4b21b
This commit is contained in:
Родитель
6d421894ad
Коммит
30e2bfc300
|
@ -12,7 +12,7 @@
|
|||
|
||||
button {
|
||||
-moz-appearance: button;
|
||||
margin: 1px 5px 2px 5px;
|
||||
margin: 1px 5px 2px;
|
||||
min-width: 6.3em;
|
||||
color: ButtonText;
|
||||
text-shadow: none;
|
||||
|
@ -33,22 +33,13 @@ button {
|
|||
|
||||
/* .......... hover state .......... */
|
||||
|
||||
button:hover {
|
||||
button:hover:not(:-moz-any(:active,[disabled="true"],[open="true"],[checked="true"])) {
|
||||
color: -moz-buttonhovertext;
|
||||
}
|
||||
|
||||
/* .......... active/open/checked state .......... */
|
||||
|
||||
button:hover:active,
|
||||
button[open="true"],
|
||||
button[checked="true"] {
|
||||
color: ButtonText;
|
||||
}
|
||||
|
||||
/* .......... disabled state .......... */
|
||||
|
||||
button[disabled="true"],
|
||||
button[disabled="true"]:hover:active {
|
||||
button[disabled="true"] {
|
||||
color: GrayText;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче