mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 824265 - Part 2 of 2 - Empty Downloads view should show that there are no downloads in the list. r=mano
This commit is contained in:
parent
6e4250b126
commit
af4082bb00
@ -0,0 +1,11 @@
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#downloadsListEmptyDescription {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#downloadsRichListBox:empty + #downloadsListEmptyDescription {
|
||||
display: -moz-box;
|
||||
}
|
@ -5,6 +5,7 @@
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
<?xml-stylesheet href="chrome://global/skin/"?>
|
||||
<?xml-stylesheet href="chrome://browser/content/downloads/contentAreaDownloadsView.css"?>
|
||||
<?xml-stylesheet href="chrome://browser/skin/downloads/contentAreaDownloadsView.css"?>
|
||||
|
||||
<?xul-overlay href="chrome://browser/content/downloads/allDownloadsViewOverlay.xul"?>
|
||||
@ -34,7 +35,11 @@
|
||||
#endif
|
||||
</keyset>
|
||||
|
||||
<richlistbox id="downloadsRichListBox"/>
|
||||
<stack flex="1">
|
||||
<richlistbox id="downloadsRichListBox"/>
|
||||
<description id="downloadsListEmptyDescription"
|
||||
value="&downloadsListEmpty.label;"/>
|
||||
</stack>
|
||||
<commandset id="downloadCommands"/>
|
||||
<menupopup id="downloadsContextMenu"/>
|
||||
</window>
|
||||
|
@ -15,3 +15,4 @@ browser.jar:
|
||||
content/browser/downloads/allDownloadsViewOverlay.css (content/allDownloadsViewOverlay.css)
|
||||
* content/browser/downloads/contentAreaDownloadsView.xul (content/contentAreaDownloadsView.xul)
|
||||
content/browser/downloads/contentAreaDownloadsView.js (content/contentAreaDownloadsView.js)
|
||||
content/browser/downloads/contentAreaDownloadsView.css (content/contentAreaDownloadsView.css)
|
||||
|
@ -79,7 +79,8 @@
|
||||
<!ENTITY clearDownloadsButton.tooltip "Clears completed, canceled and failed downloads">
|
||||
|
||||
<!-- LOCALIZATION NOTE (downloadsListEmpty.label):
|
||||
This string is shown when there are no items in the Downloads view.
|
||||
This string is shown when there are no items in the Downloads view, when it
|
||||
is displayed inside a browser tab.
|
||||
-->
|
||||
<!ENTITY downloadsListEmpty.label "There are no downloads.">
|
||||
|
||||
|
@ -4,3 +4,8 @@
|
||||
|
||||
@import url("chrome://global/skin/inContentUI.css");
|
||||
|
||||
#downloadsListEmptyDescription {
|
||||
margin: 1em;
|
||||
text-align: center;
|
||||
color: GrayText;
|
||||
}
|
||||
|
@ -14,3 +14,9 @@
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#downloadsListEmptyDescription {
|
||||
margin: 1em;
|
||||
text-align: center;
|
||||
color: GrayText;
|
||||
}
|
||||
|
@ -14,3 +14,9 @@
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#downloadsListEmptyDescription {
|
||||
margin: 1em;
|
||||
text-align: center;
|
||||
color: GrayText;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user