Bug 1451592 - Only transition the background-color of buttons; r?jryans draft
authorBrian Birtles <birtles@gmail.com>
Mon, 16 Apr 2018 19:49:38 +0200
changeset 783181 84491a9db65d0afc151b299839e88e562b8c8c86
parent 783180 244294e7aae5b3022eabda9bee76380cfac34769
child 783182 ce3e8d4a097c8c688760a13f242a57d2f7f012ef
push id106636
push userbbirtles@mozilla.com
push dateMon, 16 Apr 2018 19:27:19 +0000
reviewersjryans
bugs1451592
milestone61.0a1
Bug 1451592 - Only transition the background-color of buttons; r?jryans Otherwise when we add the frames button the arrow on the right will animate in since we end up transitioning the background-x and background-y properties. MozReview-Commit-ID: JcAHrDSMwFi
devtools/client/themes/common.css
--- a/devtools/client/themes/common.css
+++ b/devtools/client/themes/common.css
@@ -233,17 +233,17 @@ checkbox:-moz-focusring {
 .devtools-menulist,
 .devtools-toolbarbutton,
 .devtools-button {
   -moz-appearance: none;
   background: transparent;
   border: 1px solid var(--toolbarbutton-border-color);
   border-radius: 2px;
   color: var(--theme-body-color);
-  transition: background 0.05s ease-in-out;
+  transition: background-color 0.05s ease-in-out;
   -moz-box-align: center;
   text-shadow: none;
   padding: 1px;
   margin: 1px;
 
   /* Button text should not wrap on multiple lines */
   white-space: nowrap;
 }