Bug 985958 - fix CSS rules to make :active style work, r=mconley, a=sylvestre
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Fri, 28 Mar 2014 21:15:39 +0000
changeset 192429 0d716cd5c4dda00ebd81597a3473f20e52a5d380
parent 192428 391bd0ad49371f70f83c802bc1035b3bcb9751eb
child 192430 bfd99c9d0c474b0a40ad2d983a3924d7a6ec598b
push id474
push userasasaki@mozilla.com
push dateMon, 02 Jun 2014 21:01:02 +0000
treeherdermozilla-release@967f4cf1b31c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconley, sylvestre
bugs985958
milestone30.0a2
Bug 985958 - fix CSS rules to make :active style work, r=mconley, a=sylvestre
browser/themes/osx/browser.css
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -192,18 +192,17 @@ toolbarbutton.bookmark-item:not(.subview
 }
 
 .bookmark-item > .toolbarbutton-text,
 #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text {
   display: -moz-box !important; /* Force the display of the label for bookmarks */
   margin: 0 !important;
 }
 
-toolbarbutton.bookmark-item:not(.subviewbutton):not(#bookmarks-menu-button):hover,
-toolbarbutton.bookmark-item:not(#bookmarks-menu-button)[open="true"] {
+toolbarbutton.bookmark-item:not(.subviewbutton):not(#bookmarks-menu-button):hover {
   background-color: rgba(0, 0, 0, .205);
 }
 
 toolbarbutton.bookmark-item:hover:not(.subviewbutton),
 toolbarbutton.bookmark-item[open="true"]:not(.subviewbutton) {
   color: #FFF !important;
   text-shadow: 0 1px rgba(0, 0, 0, .4) !important;
 }
@@ -216,17 +215,17 @@ toolbarbutton.bookmark-item[open="true"]
 @media (min-resolution: 2dppx) {
   .bookmark-item:hover > .toolbarbutton-menu-dropmarker,
   .bookmark-item[open="true"] > .toolbarbutton-menu-dropmarker {
     -moz-image-region: rect(10px, 14px, 20px, 0);
   }
 }
 
 toolbarbutton.bookmark-item:not(.subviewbutton):not(#bookmarks-menu-button):active:hover,
-toolbarbutton.bookmark-item:not(#bookmarks-menu-button)[open="true"] {
+toolbarbutton.bookmark-item:not(.subviewbutton):not(#bookmarks-menu-button)[open="true"] {
   box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.4), 0 1px rgba(255, 255, 255, 0.4);
   background-color: rgba(0, 0, 0, .5);
 }
 
 toolbarbutton.bookmark-item > menupopup {
   margin-top: 2px;
   -moz-margin-start: 3px;
 }