Bug 901094 - Progress indicator hidden when navbar is hidden [r=sfoster]
authorMatt Brubeck <mbrubeck@mozilla.com>
Tue, 06 Aug 2013 16:06:15 -0700
changeset 141659 7558a07a7ed6f1568584cecd1b93341f356c1478
parent 141658 601a721f5f40650b9ef02dfc0835675b49a87470
child 141660 950ab59626ab255251bd22954c3594359c7ee918
push id25068
push useremorley@mozilla.com
push dateWed, 07 Aug 2013 23:17:15 +0000
treeherdermozilla-central@45128af17739 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssfoster
bugs901094
milestone26.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 901094 - Progress indicator hidden when navbar is hidden [r=sfoster]
browser/metro/theme/browser.css
--- a/browser/metro/theme/browser.css
+++ b/browser/metro/theme/browser.css
@@ -439,16 +439,26 @@ documenttab[selected] .documenttab-selec
 #overlay-plus[mousedrag] {
   transition-property: left, right, transform, background-position,
                        background-color, background-size, border-color,
                        visibility, box-shadow;
 }
 
 /* Navigation bar ========================================================== */
 
+/* Most appbars are hidden by default, but we want to keep #navbar visible so
+ * we can show the progress bar at all times.  Instead, we hide only the
+ * toolbar portion of the navbar. */
+#navbar {
+  visibility: visible;
+}
+#navbar:not([hiding]):not([visible]) > #toolbar-overlay {
+  visibility: hidden;
+}
+
 .circularprogressindicator-progressRing {
   margin: 0 @toolbar_horizontal_spacing@;
   pointer-events:none;
   position: absolute;
 }
 
 /* Progress meter ---------------------------------------------------------- */