gecko/toolkit/themes/pinstripe/mozapps/downloads/downloads.css

137 lines
3.0 KiB
CSS
Raw Normal View History

#downloadView {
-moz-appearance: none;
margin: 0;
padding: 0;
border-width: 0;
border-bottom: 1px solid #404040;
}
/* Download View Items */
richlistitem[type="download"] {
padding: 3px 8px;
min-height: 40px !important;
}
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[type="download"] button {
-moz-appearance: none;
min-height: 16px;
min-width: 16px;
max-height: 16px;
max-width: 16px;
padding: 0;
margin: 0 1px 0 1px;
}
/**
* Images for buttons in the interface
*/
richlistitem[type="download"] button {
list-style-image: url(chrome://mozapps/skin/downloads/buttons.png);
}
.cancel {
-moz-image-region: rect(0px, 16px, 16px, 0px);
}
.cancel:hover {
-moz-image-region: rect(0px, 32px, 16px, 16px);
}
.cancel:hover:active {
-moz-image-region: rect(0px, 48px, 16px, 32px);
}
.pause {
-moz-image-region: rect(48px, 16px, 64px, 0px);
}
.pause:hover {
-moz-image-region: rect(48px, 32px, 64px, 16px);
}
.pause:not([disabled="true"]):hover:active {
-moz-image-region: rect(48px, 48px, 64px, 32px);
}
.pause[disabled="true"] {
-moz-image-region: rect(48px, 16px, 64px, 0px);
}
.resume {
-moz-image-region: rect(16px, 16px, 32px, 0px);
}
.resume:hover {
-moz-image-region: rect(16px, 32px, 32px, 16px);
}
.resume:hover:active {
-moz-image-region: rect(16px, 48px, 32px, 32px);
}
.retry {
-moz-image-region: rect(32px, 16px, 48px, 0px);
}
.retry:hover {
-moz-image-region: rect(32px, 32px, 48px, 16px);
}
.retry:hover:active {
-moz-image-region: rect(32px, 48px, 48px, 32px);
}
.blockedIcon {
list-style-image: url(chrome://global/skin/icons/Error.png);
}
/* prevent flickering when changing states */
.downloadTypeIcon {
min-height: 32px;
min-width: 32px;
-moz-padding-end: 2px;
}
#search {
-moz-box-pack: end;
-moz-padding-end: 4px;
background-image: url("chrome://global/skin/toolbar/toolbar-background.gif");
background-color: #9f9f9f;
background-repeat: repeat-x;
background-position: top left;
}
#downloadManager:not([active="true"]) #search {
background-image: url("chrome://global/skin/toolbar/toolbar-background-inactive.png");
background-color: #cfcfcf;
}
#downloadManager:not([active="true"]) #search > * {
opacity: 0.7;
}
#clearListButton {
-moz-appearance: none;
border: 1px solid #5F5F5F;
-moz-border-radius: 4px;
background: url(chrome://global/skin/icons/white-gray-gradient.gif) #A09E9D repeat-x top center;
min-height: 0;
min-width: 0;
padding: 2px;
margin: 0 6px;
}
#clearListButton:hover:active:not([disabled="true"]) {
background: url(chrome://global/skin/icons/white-gray-gradient-active.gif);
}