From e93dd15e9e3bf5829f02da7f0dc2b3ca9b583857 Mon Sep 17 00:00:00 2001 From: Matthew Noorenberghe Date: Tue, 10 Dec 2013 23:35:31 -0800 Subject: [PATCH] Bug 948807 - [Australis] UITour: Fix highlight position and clipping when a dimension is smaller than the minimum. r=Unfocused --- browser/base/content/browser.css | 10 +++++----- browser/base/content/browser.xul | 2 +- browser/modules/UITour.jsm | 15 ++++++++++++--- browser/themes/shared/UITour.inc.css | 2 +- 4 files changed, 19 insertions(+), 10 deletions(-) diff --git a/browser/base/content/browser.css b/browser/base/content/browser.css index 48f2d8e9d5a..02854937c83 100644 --- a/browser/base/content/browser.css +++ b/browser/base/content/browser.css @@ -975,26 +975,26 @@ toolbarpaletteitem[place="palette"][hidden] { } #UITourHighlightContainer, -html|div#UITourHighlight { +#UITourHighlight { pointer-events: none; } -html|div#UITourHighlight[active] { +#UITourHighlight[active] { animation-delay: 2s; animation-fill-mode: forwards; animation-iteration-count: infinite; animation-timing-function: linear; } -html|div#UITourHighlight[active="wobble"] { +#UITourHighlight[active="wobble"] { animation-name: uitour-wobble; animation-duration: 1s; } -html|div#UITourHighlight[active="zoom"] { +#UITourHighlight[active="zoom"] { animation-name: uitour-zoom; animation-duration: 1s; } -html|div#UITourHighlight[active="color"] { +#UITourHighlight[active="color"] { animation-name: uitour-color; animation-duration: 2s; } diff --git a/browser/base/content/browser.xul b/browser/base/content/browser.xul index 7dbca37c7c7..e9fcaa3c473 100644 --- a/browser/base/content/browser.xul +++ b/browser/base/content/browser.xul @@ -209,7 +209,7 @@ noautofocus="true" noautohide="true" consumeoutsideclicks="false"> - +