Bug 593001 - pageaction buttons and prompt buttons should not be highlighted if they are disabled [r=mbrubeck]
authorVivien Nicolas <21@vingtetun.org>
Fri, 03 Sep 2010 03:28:12 +0200
changeset 66527 9517703d45c379e33e65f2aac4671980870897d6
parent 66526 404e7296a9a6f2f8f41ae963599e010e024d4e1d
child 66528 0ed34990f81ccd8c06f9967ece7eca5f9f409a57
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmbrubeck
bugs593001
Bug 593001 - pageaction buttons and prompt buttons should not be highlighted if they are disabled [r=mbrubeck]
mobile/themes/core/browser.css
--- a/mobile/themes/core/browser.css
+++ b/mobile/themes/core/browser.css
@@ -922,16 +922,17 @@ autocompleteresult.noresults > .autocomp
 
 #awesome-header > toolbarbutton.choice-history {
   list-style-image: url(chrome://browser/skin/images/history-48.png);
 }
 
 #awesome-header > toolbarbutton.choice-remotetabs {
   list-style-image: url(chrome://browser/skin/images/remotetabs-48.png);
 }
+
 #awesome-header > toolbarbutton:hover:active,
 #awesome-header > toolbarbutton[checked="true"] {
   border-color: #36373b !important;
   color: white !important;
   background: -moz-radial-gradient(#757575, #636363, #666769) !important;
 }
 
 #awesome-header > toolbarbutton[checked="true"],
@@ -1234,18 +1235,18 @@ pageaction[selector="last-child"] {
   background-image: -moz-linear-gradient(top, rgb(235,235,235) 0%, rgb(215,215,215) 90%);
 }
 
 .prompt-button:first-child,
 pageaction[selector="first-child"] {
   background-image: -moz-linear-gradient(top, rgb(255,255,255) 0%, rgb(235,235,235) 90%);
 }
 
-.prompt-button:hover:active,
-pageaction:hover:active {
+.prompt-button:not([disabled]):hover:active,
+pageaction:not([disabled]):hover:active {
   background-image: none !important;
   background-color: #8db8d8 !important;
 }
 
 pageaction > hbox > .pageaction-image {
   width: 32px;
   height: 32px;
   -moz-margin-end: 8px;