Bug 1194590 - URL and search bar border and box-shadow transition should only be used for the default theme. r=gijs
authorDão Gottwald <dao@mozilla.com>
Fri, 14 Aug 2015 21:27:51 +0200
changeset 257883 28133afb0caf1dc32e981c68ac269f26b900fe10
parent 257882 6b2f7170700f60fc65324e7dd6cc94b2ae49a19b
child 257884 208e060b123a86c9d442bad82adc9eda2718cb88
push id29232
push userkwierso@gmail.com
push dateFri, 14 Aug 2015 23:21:05 +0000
treeherdermozilla-central@6bb8ca8a857c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgijs
bugs1194590
milestone43.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1194590 - URL and search bar border and box-shadow transition should only be used for the default theme. r=gijs
browser/themes/windows/browser.css
--- a/browser/themes/windows/browser.css
+++ b/browser/themes/windows/browser.css
@@ -1247,16 +1247,18 @@ toolbarbutton[constrain-size="true"][cui
   }
 
   @media (-moz-os-version: windows-win10) {
     #urlbar:not(:-moz-lwtheme),
     .searchbar-textbox:not(:-moz-lwtheme) {
       border-color: hsl(0,0%,90%);
       padding: 1px;
       -moz-padding-end: 3px;
+      transition-property: border-color, box-shadow;
+      transition-duration: .1s;
     }
 
     #urlbar:not(:-moz-lwtheme):hover,
     .searchbar-textbox:not(:-moz-lwtheme):hover {
       border-color: hsl(0,0%,80%);
     }
 
     #urlbar:not(:-moz-lwtheme)[focused],
@@ -1278,18 +1280,16 @@ toolbarbutton[constrain-size="true"][cui
   }
 }
 
 @media (-moz-os-version: windows-win10) {
   #urlbar,
   .searchbar-textbox {
     font-size: 1.15em;
     min-height: 28px;
-    transition-property: border-color, box-shadow;
-    transition-duration: .1s;
   }
 
   :root {
     /* let toolbar buttons match the location and search bar's minimum height */
     --toolbarbutton-vertical-inner-padding: 4px;
     --toolbarbutton-vertical-outer-padding: 5px;
   }
 }