From 30e2bfc300d26effa2b9081b8d2f75c37d232aa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A3o=20Gottwald?= Date: Tue, 21 Mar 2017 09:44:37 +0100 Subject: [PATCH] Bug 1349137 - Consolidate button color rules. r=johannh MozReview-Commit-ID: BS5WuQy7ykN --HG-- extra : rebase_source : 94f0da4067fc687c6fad46a7ee0a39e7bed4b21b --- toolkit/themes/linux/global/button.css | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/toolkit/themes/linux/global/button.css b/toolkit/themes/linux/global/button.css index d7c1399bd0ec..64dc3a8595e1 100644 --- a/toolkit/themes/linux/global/button.css +++ b/toolkit/themes/linux/global/button.css @@ -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; }