Bug 1506869 - Rename roundButtonBackground and roundButtonPressedBackground. r=jaws, a=RyanVM
authorDão Gottwald <dao@mozilla.com>
Sat, 15 Dec 2018 12:25:53 +0100
changeset 509008 8f78e91a61b8a533c282ce009be7ed195c1a03b9
parent 509007 d68c09b685cc5a7fb915fed38c0201c0c48a62ff
child 509009 7cc9c0386e876a8768f0b78fd11372851a29c3a1
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws, RyanVM
bugs1506869
milestone65.0
Bug 1506869 - Rename roundButtonBackground and roundButtonPressedBackground. r=jaws, a=RyanVM
toolkit/themes/osx/global/findBar.css
toolkit/themes/osx/global/global.css
toolkit/themes/osx/global/shared.inc
--- a/toolkit/themes/osx/global/findBar.css
+++ b/toolkit/themes/osx/global/findBar.css
@@ -35,17 +35,17 @@ label.findbar-find-fast:-moz-lwtheme {
 }
 
 .findbar-find-next:not(:-moz-lwtheme),
 .findbar-find-previous:not(:-moz-lwtheme),
 .findbar-button {
   border-style: @roundButtonBorderStyle@;
   border-color: @roundButtonBorderColor@;
   color: @roundButtonColor@;
-  background-image: @roundButtonBackground@;
+  background-image: @roundButtonBackgroundImage@;
 }
 
 .findbar-button {
   -moz-appearance: none;
   border-width: @roundButtonBorderWidth@;
   margin-inline-end: 5px;
   padding: 2px 9px;
   border-radius: 10000px;
@@ -55,17 +55,17 @@ label.findbar-find-fast:-moz-lwtheme {
 .findbar-find-previous:-moz-lwtheme {
   border-color: var(--lwt-toolbar-field-border-color, @roundButtonBorderColor@);
 }
 
 .findbar-find-next:not(:-moz-lwtheme):not([disabled]):hover:active,
 .findbar-find-previous:not(:-moz-lwtheme):not([disabled]):hover:active,
 .findbar-button:not([disabled]):hover:active,
 .findbar-button:not([disabled])[checked="true"] {
-  background-image: @roundButtonPressedBackground@;
+  background-image: @roundButtonPressedBackgroundImage@;
   box-shadow: @roundButtonPressedShadow@;
 }
 
 @media (-moz-mac-yosemite-theme: 0) {
   .findbar-textbox,
   .findbar-find-next {
     border-radius: 10000px;
   }
--- a/toolkit/themes/osx/global/global.css
+++ b/toolkit/themes/osx/global/global.css
@@ -223,23 +223,23 @@ notification > hbox > button {
   padding: 1px 10px;
   min-width: 60px;
   min-height: 16px;
   -moz-appearance: none;
   border-radius: 10000px;
   border: @roundButtonBorderWidth@ @roundButtonBorderStyle@ @roundButtonBorderColor@;
   text-shadow: @loweredShadow@;
   color: @roundButtonColor@;
-  background: @roundButtonBackground@;
+  background: @roundButtonBackgroundImage@;
   box-shadow: @roundButtonShadow@;
 }
 
 notification > hbox > button:active:hover {
   color: @roundButtonColor@;
-  background: @roundButtonPressedBackground@;
+  background: @roundButtonPressedBackgroundImage@;
   box-shadow: @roundButtonPressedShadow@;
 }
 
 notification > hbox > button:-moz-focusring {
   box-shadow: var(--focus-ring-box-shadow), @roundButtonShadow@;
 }
 
 notification > hbox > button:active:hover:-moz-focusring {
--- a/toolkit/themes/osx/global/shared.inc
+++ b/toolkit/themes/osx/global/shared.inc
@@ -2,19 +2,19 @@
 
 %define loweredShadow 0 1px rgba(255, 255, 255, .4)
 %define focusRingShadow 0 0 0 1px -moz-mac-focusring inset, 0 0 0 1px -moz-mac-focusring
 
 %define roundButtonBorderWidth 1px
 %define roundButtonBorderStyle solid
 %define roundButtonBorderColor rgba(0,0,0,.35)
 %define roundButtonColor black
-%define roundButtonBackground linear-gradient(#f6f6f6, #e9e9e9)
+%define roundButtonBackgroundImage linear-gradient(#f6f6f6, #e9e9e9)
 %define roundButtonShadow 0 1px rgba(255,255,255,.5), inset 0 1px 1px rgba(255,255,255,.5)
-%define roundButtonPressedBackground linear-gradient(#dadada, #dadada)
+%define roundButtonPressedBackgroundImage linear-gradient(#dadada, #dadada)
 %define roundButtonPressedShadow 0 1px rgba(255,255,255,.4), inset 0 1px 3px rgba(0,0,0,.2)
 
 %define scopeBarBackground linear-gradient(#E8E8E8, #D0D0D0) repeat-x
 %define scopeBarSeparatorBorder 1px solid #888
 %define scopeBarTitleColor #6D6D6D
 
 %define toolbarbuttonBackground linear-gradient(#FFF, #ADADAD) repeat-x
 %define toolbarbuttonPressedInnerShadow inset rgba(0, 0, 0, 0.3) 0 -6px 10px, inset #000 0 1px 3px, inset rgba(0, 0, 0, 0.2) 0 1px 3px