Bug 1097236 - Make -moz-image-region override for .searchbar-dropmarker-image.patch specific to dark theme. r=bgrins, a=lsblakk
authorTim Nguyen <ntim.bugs@gmail.com>
Tue, 11 Nov 2014 15:09:24 -0800
changeset 233864 92a9effa0ed40659237ad8fbf2e2e61535ed2463
parent 233863 621176ae1dcf364ae1f5fc67dba3a483b862fa58
child 233865 3d78aaf8a9c7ac0b82b35617362fee16d7b85a88
push id4187
push userbhearsum@mozilla.com
push dateFri, 28 Nov 2014 15:29:12 +0000
treeherdermozilla-beta@f23cc6a30c11 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbgrins, lsblakk
bugs1097236
milestone35.0a2
Bug 1097236 - Make -moz-image-region override for .searchbar-dropmarker-image.patch specific to dark theme. r=bgrins, a=lsblakk
browser/themes/windows/devedition.css
--- a/browser/themes/windows/devedition.css
+++ b/browser/themes/windows/devedition.css
@@ -99,17 +99,18 @@
   @media not all and (-moz-windows-compositor) {
     #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen])[chromehidden~="menubar"] #toolbar-menubar ~ #TabsToolbar,
     #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar {
       margin-top: 28px;
     }
   }
 }
 
-.searchbar-dropmarker-image {
+/* This rule is specific to the dark theme, because we only set the dropdown image there */
+:root[devtoolstheme="dark"] .searchbar-dropmarker-image {
   /* Reset image-region from the windows theme */
   -moz-image-region: auto !important;
   /* Add margin otherwise it looks weird */
   -moz-margin-start: 2px;
 }
 
 /* Tab styling - make sure to use an inverted icon for the selected tab
    (brighttext only covers the unselected tabs) */