Bug 610545, tweak bookmark panel animations, patch by philipp sackl, r=enn
authorNeil Deakin <neil@mozilla.com>
Tue, 08 Apr 2014 08:45:52 -0400
changeset 177563 c2c661f15fcd6ffa27be80b23023fb38d9f8a91d
parent 177562 0f1702d62ee107fce5642c05897d4179ca5f0f0a
child 177564 ed66b387798ada63dbabbc45f4d2b547ae6fc9b7
push id26556
push userryanvm@gmail.com
push dateTue, 08 Apr 2014 22:16:57 +0000
treeherdermozilla-central@5811efc11011 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersenn
bugs610545
milestone31.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 610545, tweak bookmark panel animations, patch by philipp sackl, r=enn
browser/base/content/browser.css
--- a/browser/base/content/browser.css
+++ b/browser/base/content/browser.css
@@ -917,21 +917,21 @@ chatbox:-moz-full-screen-ancestor > .cha
 }
 
 /* Give this menupopup an arrow panel styling */
 #BMB_bookmarksPopup {
   -moz-appearance: none;
   -moz-binding: url("chrome://browser/content/places/menu.xml#places-popup-arrow");
   background: transparent;
   border: none;
-  transform: scale(.1);
+  transform: scale(.7);
   opacity: 0;
   transition-property: transform, opacity;
-  transition-duration: 0.25s;
-  transition-timing-function: cubic-bezier(.6, 1.0, .65, 1.0), ease;
+  transition-duration: 0.15s;
+  transition-timing-function: ease;
   /* The popup inherits -moz-image-region from the button, must reset it */
   -moz-image-region: auto;
 }
 
 #BMB_bookmarksPopup[animate="open"] {
   transform: none;
   opacity: 1.0;
 }
@@ -949,22 +949,22 @@ chatbox:-moz-full-screen-ancestor > .cha
 }
 
 #BMB_bookmarksPopup[arrowposition="before_end"] {
   transform-origin: calc(100% - 20px) bottom;
 }
 
 #BMB_bookmarksPopup[arrowposition="after_start"][animate="cancel"],
 #BMB_bookmarksPopup[arrowposition="before_end"][animate="cancel"] {
-  transform: scale(.1) skew(30deg, 20deg);
+  transform: scale(.7) skew(30deg, 20deg);
 }
 
 #BMB_bookmarksPopup[arrowposition="after_end"][animate="cancel"],
 #BMB_bookmarksPopup[arrowposition="before_start"][animate="cancel"] {
-  transform: scale(.1) skew(-30deg, -20deg);
+  transform: scale(.7) skew(-30deg, -20deg);
 }
 
 
 /* Customize mode */
 #navigator-toolbox,
 #browser-bottombox,
 #content-deck {
   transition-property: margin-left, margin-right;