Bug 458199 - Use gradients on selected items in the download manager on Mac OS X. ui-r=faaborg, r=dao, a191=beltzner

This commit is contained in:
Markus Stange 2009-05-31 10:39:39 +02:00
parent 5e6ee64e65
commit d73a058e2d
7 changed files with 37 additions and 9 deletions

View File

@ -7,27 +7,50 @@
/* Download View Items */
richlistitem[type="download"] {
padding: 3px 8px;
min-height: 40px !important;
padding: 5px;
min-height: 44px !important;
border: 1px solid transparent;
}
richlistitem[type="download"]:not([selected="true"]):nth-child(odd) {
background-color: -moz-oddtreerow;
}
richlistitem[type="download"] .name {
font-size: small;
}
richlistitem[type="download"] .dateTime,
richlistitem[type="download"] .status {
font-size: smaller;
color: #555;
}
richlistbox:focus > richlistitem[selected="true"][type="download"] .dateTime,
richlistbox:focus > richlistitem[selected="true"][type="download"] .status {
color: highlighttext;
richlistitem[selected="true"][type="download"] {
background-color: #3973C0;
-moz-border-image: url(chrome://mozapps/skin/downloads/listitem.png) 1 stretch;
}
richlistbox:focus > richlistitem[selected="true"][type="download"] {
background-color: #8496B9;
-moz-border-image: url(chrome://mozapps/skin/downloads/listitem-focused.png) 1 stretch;
outline: none;
}
richlistitem[selected="true"][type="download"]:-moz-system-metric(mac-graphite-theme) {
background-color: #60748A;
-moz-border-image: url(chrome://mozapps/skin/downloads/listitem-graphite.png) 1 stretch;
}
richlistbox:focus > richlistitem[selected="true"][type="download"]:-moz-system-metric(mac-graphite-theme) {
background-color: #95A4B2;
-moz-border-image: url(chrome://mozapps/skin/downloads/listitem-graphite-focused.png) 1 stretch;
}
:root:not([active]) richlistitem[selected="true"][type="download"] {
background-color: #A1A1A1;
-moz-border-image: url(chrome://mozapps/skin/downloads/listitem-inactive.png) 1 stretch;
}
richlistitem[selected="true"][type="download"] label {
color: HighlightText;
text-shadow: 0 1px rgba(0, 0, 0, 0.4);
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 B

View File

@ -4,6 +4,11 @@ classic.jar:
skin/classic/mozapps/downloads/downloadIcon.png (downloads/downloadIcon.png)
skin/classic/mozapps/downloads/downloadStatusIcon.png (downloads/downloadStatusIcon.png)
skin/classic/mozapps/downloads/downloads.css (downloads/downloads.css)
skin/classic/mozapps/downloads/listitem.png (downloads/listitem.png)
skin/classic/mozapps/downloads/listitem-focused.png (downloads/listitem-focused.png)
skin/classic/mozapps/downloads/listitem-graphite.png (downloads/listitem-graphite.png)
skin/classic/mozapps/downloads/listitem-graphite-focused.png (downloads/listitem-graphite-focused.png)
skin/classic/mozapps/downloads/listitem-inactive.png (downloads/listitem-inactive.png)
skin/classic/mozapps/downloads/unknownContentType.css (downloads/unknownContentType.css)
skin/classic/mozapps/extensions/extensionItem.png (extensions/extensionItem.png)
skin/classic/mozapps/extensions/itemDisabledFader.png (extensions/itemDisabledFader.png)