Bug 517788 - [Mac Classic] Download Manager polish. r=Mnyromyr, sr=Neil, a2.0=KaiRo.

This commit is contained in:
stefanh@inbox.com 2009-09-23 19:11:35 +02:00
Родитель f498bd14a6
Коммит a6fbd7e831
5 изменённых файлов: 43 добавлений и 11 удалений

Просмотреть файл

@ -378,6 +378,7 @@
<textbox id="search-box"
clickSelectsAll="true"
type="search"
class="compact"
emptytext="&search.emptytext;"
oncommand="searchDownloads(this.value);"/>
<spacer flex="1"/>

Просмотреть файл

@ -45,8 +45,9 @@
<!DOCTYPE window SYSTEM "chrome://communicator/locale/downloads/progressDialog.dtd">
<window xmlns:html="http://www.w3.org/1999/xhtml"
<window id="dlProgressWindow"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"
onload="progressStartup();" onunload="progressShutdown();"
title="&progress.title;"
style="width:40em;">
@ -146,7 +147,7 @@
<button id="cancelButton" class="mini-button"
command="cmd_cancel" tooltiptext="&cmd.cancel.tooltip;"/>
</hbox>
<hbox>
<hbox id="progressBox">
<progressmeter id="progressMeter" mode="determined" flex="1"/>
<label id="progressText" value=""/>
</hbox>

Просмотреть файл

@ -18,6 +18,7 @@ classic.jar:
skin/classic/communicator/bookmarks/bookmark-folder-active.png (mac/communicator/bookmarks/bookmark-folder-active.png)
skin/classic/communicator/bookmarks/bookmarksToolbar.css (mac/communicator/bookmarks/bookmarksToolbar.css)
skin/classic/communicator/downloads/downloadButtons.png (mac/communicator/downloads/downloadButtons.png)
skin/classic/communicator/downloads/progressBg.png (mac/communicator/downloads/progressBg.png)
skin/classic/communicator/downloads/downloadmanager.css (mac/communicator/downloads/downloadmanager.css)
skin/classic/communicator/sidebar/sidebar.css (mac/communicator/sidebar/sidebar.css)
skin/classic/communicator/icons/communicatoricons.png (mac/communicator/icons/communicatoricons.png)

Просмотреть файл

@ -46,28 +46,28 @@
-moz-appearance: none;
-moz-box-orient: vertical;
-moz-box-align: center;
font: menu;
text-shadow: rgba(255, 255, 255, 0.4) 0 1px;
margin: 0;
padding: 3px 1px 3px 1px;
height: 24px;
padding: 0;
margin: 2px 4px 0 4px;
min-height: 20px;
min-width: 0;
border: solid transparent;
border-width: 0 6px;
-moz-border-image: url("chrome://global/skin/toolbar/roundrectbutton.png") 0 6 repeat stretch;
-moz-border-image: url("chrome://global/skin/toolbar/roundrectbutton.png") 0 6 round stretch;
}
#clearListButton:active:hover:not([disabled="true"]) {
-moz-border-image: url("chrome://global/skin/toolbar/roundrectbutton-down.png") 0 6 repeat stretch;
-moz-border-image: url("chrome://global/skin/toolbar/roundrectbutton-down.png") 0 6 round stretch;
}
#clearListButton[disabled="true"],
:root:not([active]) #clearListButton {
color: #7C7C7C !important; /* remove this when we support click-through */
-moz-border-image: url("chrome://global/skin/toolbar/roundrectbutton-inactive.png") 0 6 repeat stretch;
-moz-border-image: url("chrome://global/skin/toolbar/roundrectbutton-inactive.png") 0 6 round stretch;
}
#clearListButton > .button-icon {
margin: 0;
treechildren::-moz-tree-image {
-moz-margin-start: -1px;
}
#ActionPlay {
@ -115,8 +115,30 @@ treechildren::-moz-tree-image(ActionStop, inactive) {
-moz-image-region: auto;
}
/* There's no way this will look like a native progressbar, but we can at least
try to mimic the aqua, graphite and non-active colors. */
treechildren::-moz-tree-progressmeter {
background: url("chrome://communicator/skin/downloads/progressBg.png") repeat-x;
color: rgba(0, 115, 255, 0.5);
border: none;
padding-bottom: 1px;
margin-top: 3px;
}
treechildren:-moz-system-metric(mac-graphite-theme)::-moz-tree-progressmeter {
color: rgba(43, 71, 106, 0.5);
}
:root:not([active]) treechildren::-moz-tree-progressmeter {
color: rgba(0, 0, 0, 0.1);
}
/* progress dialogs */
#dlProgressWindow {
padding: 14px;
}
/* focusable label, focus ring like .link-text but not a link */
#fileName, #fileSource {
border: 1px solid transparent;
@ -126,6 +148,7 @@ treechildren::-moz-tree-image(ActionStop, inactive) {
-moz-margin-start: 5px;
-moz-margin-end: 4px;
}
#fileName:focus,
#fileSource:focus {
border: 1px dotted -moz-DialogText;
@ -133,6 +156,7 @@ treechildren::-moz-tree-image(ActionStop, inactive) {
#fileName {
font-weight: bold;
margin-bottom: 6px;
}
.mini-button {
@ -149,3 +173,8 @@ treechildren::-moz-tree-image(ActionStop, inactive) {
-moz-appearance: none;
padding: 0 !important;
}
#progressBox {
margin-top: 6px;
margin-bottom: 6px;
}

Двоичные данные
suite/themes/classic/mac/communicator/downloads/progressBg.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 151 B