From da73257c1e9343060247f19b0b54edaf100afbb3 Mon Sep 17 00:00:00 2001 From: Marco Bonardo Date: Thu, 7 Feb 2013 01:12:13 +0100 Subject: [PATCH] Bug 831432 - Downloads button has no text in Text button mode. r=mconley --- .../components/downloads/content/downloads.css | 18 ++++++++++++++++++ .../downloads/content/indicatorOverlay.xul | 2 ++ .../themes/gnomestripe/downloads/downloads.css | 5 +++++ .../themes/pinstripe/downloads/downloads.css | 7 +++++++ .../themes/winstripe/downloads/downloads.css | 5 +++++ 5 files changed, 37 insertions(+) diff --git a/browser/components/downloads/content/downloads.css b/browser/components/downloads/content/downloads.css index 0b73af8a153..874f0e65d90 100644 --- a/browser/components/downloads/content/downloads.css +++ b/browser/components/downloads/content/downloads.css @@ -98,3 +98,21 @@ richlistitem[type="download"]:not([selected]) button { { display: none; } + +/* Hacks for toolbar full and text modes, until bug 573329 removes them */ + +toolbar[mode="text"] > #downloads-indicator { + display: -moz-box; + -moz-box-orient: vertical; + -moz-box-pack: center; +} + +toolbar[mode="text"] > #downloads-indicator > .toolbarbutton-text { + -moz-box-ordinal-group: 1; +} + +toolbar[mode="text"] > #downloads-indicator > .toolbarbutton-icon { + display: -moz-box; + -moz-box-ordinal-group: 2; + visibility: collapse; +} diff --git a/browser/components/downloads/content/indicatorOverlay.xul b/browser/components/downloads/content/indicatorOverlay.xul index 05defb37fde..efb6cab7573 100644 --- a/browser/components/downloads/content/indicatorOverlay.xul +++ b/browser/components/downloads/content/indicatorOverlay.xul @@ -53,6 +53,8 @@ +