From 85f24f0d0044f8456ddac924f5edba3e63ec9ea4 Mon Sep 17 00:00:00 2001 From: Sam Foster Date: Thu, 25 Jul 2013 20:54:52 -0700 Subject: [PATCH] Bug 890148 - Streamline transitions when showing the find appbar. r=mbrubeck --HG-- extra : rebase_source : ce97851f3e729795871a9c4bb1ef38ae3b34635f --- browser/metro/theme/browser.css | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/browser/metro/theme/browser.css b/browser/metro/theme/browser.css index 1a98e4b536c2..fba2a72cd6ff 100644 --- a/browser/metro/theme/browser.css +++ b/browser/metro/theme/browser.css @@ -268,17 +268,18 @@ documenttab[selected] .documenttab-selection { transition-duration: .3s; transition-timing-function: ease-in-out; } - #browsers browser { - transition: padding-bottom @metro_animation_duration@ @metro_animation_easing@; + /* unset padding-bottom immediately */ + transition-duration: 0s; + transition-delay: 0s; + transition-property: padding-bottom; } - #browsers[findbar] browser { + /* delay setting padding-bottom until the findbar has transitioned in */ + transition-delay: @metro_animation_duration@; padding-bottom: @findbar_height@; } - /* Selection overlay and monocles */ - #page, .selection-overlay { -moz-stack-sizing: ignore;