Revised download UI.
This commit is contained in:
Родитель
c50e2640aa
Коммит
ff8339e4b6
|
@ -1,4 +1,6 @@
|
|||
const kObserverServiceProgID = "@mozilla.org/observer-service;1";
|
||||
const NC_NS = "http://home.netscape.com/NC-rdf#";
|
||||
|
||||
var gDownloadView;
|
||||
var gDownloadManager;
|
||||
var gDownloadHistoryView;
|
||||
|
|
|
@ -49,22 +49,20 @@
|
|||
</rule>
|
||||
</template>
|
||||
</vbox>
|
||||
<splitter style="min-height: 3px; height: 3px; border-right: 0px"/>
|
||||
<splitter id="download-splitter" style="min-height: 3px; height: 3px;"/>
|
||||
<vbox flex="1">
|
||||
<sidebarheader align="center">
|
||||
<label value="&finishedDownloads.label;"/>
|
||||
</sidebarheader>
|
||||
<toolbox id="toolbox">
|
||||
<toolbar id="download-toolbar" tbalign="stretch" class="chromeclass-toolbar" persist="collapsed">
|
||||
<toolbarbutton label="&cmd.remove.label;" accesskey="&cmd.remove.accesskey;"
|
||||
command="cmd_remove"/>
|
||||
<toolbarseparator/>
|
||||
<toolbarbutton id="btn_openfile" label="&cmd.openfile.label;" accesskey="&cmd.openfile.accesskey;"
|
||||
command="cmd_openfile"/>
|
||||
<toolbarbutton id="btn_showinshell" label="&cmd.show.label;"
|
||||
accesskey="&cmd.show.accesskey;" command="cmd_showinshell"/>
|
||||
</toolbar>
|
||||
</toolbox>
|
||||
</sidebarheader>
|
||||
<toolbar id="download-toolbar" tbalign="stretch" class="chromeclass-toolbar" persist="collapsed">
|
||||
<toolbarbutton label="&cmd.remove.label;" accesskey="&cmd.remove.accesskey;"
|
||||
command="cmd_remove"/>
|
||||
<toolbarseparator/>
|
||||
<toolbarbutton id="btn_openfile" label="&cmd.openfile.label;" accesskey="&cmd.openfile.accesskey;"
|
||||
command="cmd_openfile"/>
|
||||
<toolbarbutton id="btn_showinshell" label="&cmd.show.label;"
|
||||
accesskey="&cmd.show.accesskey;" command="cmd_showinshell"/>
|
||||
</toolbar>
|
||||
|
||||
<listbox id="downloadHistoryView" flex="1" class="plain" seltype="multiple"
|
||||
datasources="rdf:null" ref="NC:DownloadsRoot" flags="dont-test-empty"
|
||||
|
|
|
@ -20,6 +20,13 @@ download {
|
|||
margin-left: 17px;
|
||||
}
|
||||
|
||||
listcell {
|
||||
margin-top: 2px;
|
||||
margin-bottom: 2px;
|
||||
margin-left: 4px;
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
.link {
|
||||
text-decoration: underline;
|
||||
color: blue;
|
||||
|
@ -34,4 +41,10 @@ download {
|
|||
|
||||
.link:focus {
|
||||
border: 1px dotted black;
|
||||
}
|
||||
|
||||
#download-splitter {
|
||||
border: none;
|
||||
border-bottom: 1px solid ThreeDLightShadow;
|
||||
-moz-appearance: toolbox;
|
||||
}
|
Загрузка…
Ссылка в новой задаче