Bug 826729 - about:downloads download item buttons look strange, and context menus don't update. r=mak.

This commit is contained in:
Mike Conley 2013-01-04 16:01:22 -05:00
parent c27eb373cc
commit 85d9ee8a63
4 changed files with 25 additions and 2 deletions

View File

@ -43,7 +43,10 @@
seltype="multiple"
id="downloadsRichListBox" context="downloadsContextMenu"
onkeypress="return this._placesView.onKeyPress(event);"
oncontextmenu="return this._placesView.onContextMenu(event);"/>
oncontextmenu="return this._placesView.onContextMenu(event);"
onfocus="goUpdateDownloadCommands();"
onselect="goUpdateDownloadCommands();"
onblur="goUpdateDownloadCommands();"/>
<commandset id="downloadCommands"
commandupdater="true"

View File

@ -4,3 +4,13 @@
@import url("chrome://global/skin/inContentUI.css");
.downloadButton {
box-shadow: none;
}
.downloadButton:not([disabled="true"]):hover:active,
.downloadButton:not([disabled]):hover:active {
background: transparent;
border: none;
box-shadow: none;
}

View File

@ -51,7 +51,7 @@
list-style-image: url("chrome://browser/skin/downloads/buttons.png");
}
/*** Button icons ***/
/*** Button icons ***/
.downloadButton.downloadCancel {
-moz-image-region: rect(0px, 16px, 16px, 0px);

View File

@ -4,3 +4,13 @@
@import url("chrome://global/skin/inContentUI.css");
.downloadButton {
box-shadow: none;
}
.downloadButton:not([disabled="true"]):hover:active,
.downloadButton:not([disabled]):hover:active {
background: transparent;
border: none;
box-shadow: none;
}