Bug 1202287 - Remove end padding on URL bar. r=ntim a=ritu
authorDão Gottwald <dao@mozilla.com>
Tue, 08 Sep 2015 05:14:50 +0200
changeset 289165 01fe675a1e34dd4701e85af5579e178443650603
parent 289164 e951db598423e5896c81f076b9e5528c6b93172a
child 289166 f5dd5cd1f96f307d2d38e5dfa88c186066265619
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersntim, ritu
bugs1202287
milestone42.0a2
Bug 1202287 - Remove end padding on URL bar. r=ntim a=ritu
browser/themes/osx/browser.css
browser/themes/windows/browser.css
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -1622,17 +1622,16 @@ toolbarbutton[constrain-size="true"][cui
   box-shadow: @focusRingShadow@;
 }
 
 #urlbar-container {
   -moz-box-align: center;
 }
 
 #urlbar {
-  -moz-padding-end: 4px;
   border-radius: @toolbarbuttonCornerRadius@;
 }
 
 @conditionalForwardWithUrlbar@ > #urlbar {
   -moz-border-start: none;
   margin-left: 0;
 }
 
--- a/browser/themes/windows/browser.css
+++ b/browser/themes/windows/browser.css
@@ -1223,20 +1223,16 @@ toolbarbutton[constrain-size="true"][cui
 .searchbar-textbox {
   -moz-appearance: none;
   margin: 0 3px;
   padding: 0;
   background-clip: padding-box;
   border: 1px solid ThreeDShadow;
 }
 
-#urlbar {
-  -moz-padding-end: 2px;
-}
-
 /* overlap the urlbar's border */
 #PopupAutoCompleteRichResult {
   margin-top: -1px;
 }
 
 @media (-moz-os-version: windows-xp),
        (-moz-os-version: windows-vista),
        (-moz-os-version: windows-win7) {
@@ -1264,17 +1260,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],