2009-09-27 14:01:22 -07:00
|
|
|
%include ../../global/shared.inc
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
#downloadView {
|
2008-01-27 16:53:12 -08:00
|
|
|
-moz-appearance: none;
|
2007-08-11 14:53:21 -07:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2008-01-27 16:53:12 -08:00
|
|
|
border-width: 0;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2007-08-11 14:53:21 -07:00
|
|
|
/* Download View Items */
|
|
|
|
richlistitem[type="download"] {
|
2009-06-11 02:24:45 -07:00
|
|
|
padding: 5px;
|
|
|
|
min-height: 44px !important;
|
|
|
|
border: 1px solid transparent;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2008-06-11 07:11:14 -07:00
|
|
|
richlistitem[type="download"]:not([selected="true"]):nth-child(odd) {
|
2008-04-24 01:08:33 -07:00
|
|
|
background-color: -moz-oddtreerow;
|
2007-10-29 11:31:27 -07:00
|
|
|
}
|
|
|
|
|
2008-01-27 16:53:12 -08:00
|
|
|
richlistitem[type="download"] .dateTime,
|
|
|
|
richlistitem[type="download"] .status {
|
2007-12-14 02:00:16 -08:00
|
|
|
font-size: smaller;
|
2008-01-27 16:53:12 -08:00
|
|
|
color: #555;
|
|
|
|
}
|
|
|
|
|
2009-06-11 02:24:45 -07:00
|
|
|
richlistitem[selected="true"][type="download"] {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2008-01-27 16:53:12 -08:00
|
|
|
richlistbox:focus > richlistitem[selected="true"][type="download"] .dateTime,
|
|
|
|
richlistbox:focus > richlistitem[selected="true"][type="download"] .status {
|
|
|
|
color: highlighttext;
|
2007-12-14 02:00:16 -08:00
|
|
|
}
|
|
|
|
|
2008-01-27 16:53:12 -08:00
|
|
|
|
2007-08-11 14:53:21 -07:00
|
|
|
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;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2007-08-11 14:53:21 -07:00
|
|
|
/**
|
|
|
|
* Images for buttons in the interface
|
|
|
|
*/
|
2007-12-17 11:10:46 -08:00
|
|
|
richlistitem[type="download"] button {
|
2007-08-11 14:53:21 -07:00
|
|
|
list-style-image: url(chrome://mozapps/skin/downloads/buttons.png);
|
2007-03-30 12:54:17 -07:00
|
|
|
}
|
2007-08-11 14:53:21 -07:00
|
|
|
.cancel {
|
2008-04-07 18:41:11 -07:00
|
|
|
-moz-image-region: rect(0px, 16px, 16px, 0px);
|
|
|
|
}
|
|
|
|
.cancel:hover {
|
2007-08-11 14:53:21 -07:00
|
|
|
-moz-image-region: rect(0px, 32px, 16px, 16px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
2008-04-07 18:41:11 -07:00
|
|
|
.cancel:hover:active {
|
2008-01-28 21:16:35 -08:00
|
|
|
-moz-image-region: rect(0px, 48px, 16px, 32px);
|
|
|
|
}
|
2008-04-07 18:41:11 -07:00
|
|
|
|
|
|
|
.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);
|
|
|
|
}
|
2008-01-28 21:16:35 -08:00
|
|
|
.pause[disabled="true"] {
|
2008-04-07 18:41:11 -07:00
|
|
|
-moz-image-region: rect(48px, 16px, 64px, 0px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
2008-04-07 18:41:11 -07:00
|
|
|
|
2007-08-11 14:53:21 -07:00
|
|
|
.resume {
|
2008-04-07 18:41:11 -07:00
|
|
|
-moz-image-region: rect(16px, 16px, 32px, 0px);
|
|
|
|
}
|
|
|
|
.resume:hover {
|
|
|
|
-moz-image-region: rect(16px, 32px, 32px, 16px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
2008-04-07 18:41:11 -07:00
|
|
|
.resume:hover:active {
|
|
|
|
-moz-image-region: rect(16px, 48px, 32px, 32px);
|
|
|
|
}
|
|
|
|
|
2007-08-11 14:53:21 -07:00
|
|
|
.retry {
|
2008-04-07 18:41:11 -07:00
|
|
|
-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);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2007-08-21 09:37:39 -07:00
|
|
|
.blockedIcon {
|
|
|
|
list-style-image: url(chrome://global/skin/icons/Error.png);
|
|
|
|
}
|
|
|
|
|
2007-08-11 14:53:21 -07:00
|
|
|
/* prevent flickering when changing states */
|
|
|
|
.downloadTypeIcon {
|
|
|
|
min-height: 32px;
|
|
|
|
min-width: 32px;
|
2008-01-27 16:53:12 -08:00
|
|
|
-moz-padding-end: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#search {
|
|
|
|
-moz-box-pack: end;
|
|
|
|
-moz-padding-end: 4px;
|
2009-01-06 07:47:14 -08:00
|
|
|
-moz-appearance: statusbar;
|
2008-05-03 07:47:03 -07:00
|
|
|
}
|
|
|
|
|
2010-03-17 11:58:46 -07:00
|
|
|
:root:not([active]) #searchbox {
|
2008-05-03 07:47:03 -07:00
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
|
2008-04-22 20:57:05 -07:00
|
|
|
#clearListButton {
|
|
|
|
-moz-appearance: none;
|
2009-04-24 03:01:21 -07:00
|
|
|
min-height: 18px;
|
2008-04-22 20:57:05 -07:00
|
|
|
min-width: 0;
|
2008-04-24 22:59:31 -07:00
|
|
|
margin: 0 6px;
|
2009-04-24 03:01:21 -07:00
|
|
|
padding: 0 2px;
|
2009-09-27 14:01:22 -07:00
|
|
|
text-shadow: @loweredShadow@;
|
|
|
|
border: 1px solid @toolbarbuttonBorderColor@;
|
|
|
|
-moz-border-radius: @toolbarbuttonCornerRadius@;
|
|
|
|
-moz-box-shadow: @loweredShadow@;
|
|
|
|
background: @toolbarbuttonBackground@;
|
|
|
|
-moz-background-origin: border;
|
2008-04-22 20:57:05 -07:00
|
|
|
}
|
|
|
|
|
2008-04-24 22:59:31 -07:00
|
|
|
#clearListButton:hover:active:not([disabled="true"]) {
|
2009-09-27 14:01:22 -07:00
|
|
|
background: @toolbarbuttonPressedBackgroundColor@;
|
|
|
|
text-shadow: @loweredShadow@;
|
|
|
|
-moz-box-shadow: @toolbarbuttonPressedInnerShadow@, @loweredShadow@;
|
2009-04-24 03:01:21 -07:00
|
|
|
}
|
|
|
|
|
2010-03-17 11:58:46 -07:00
|
|
|
:root:not([active]) #clearListButton {
|
2009-09-27 14:01:22 -07:00
|
|
|
color: @toolbarbuttonInactiveFontColor@ !important; /* remove this when we support click-through, bug 392188 */
|
|
|
|
border-color: @toolbarbuttonInactiveBorderColor@;
|
|
|
|
background-image: @toolbarbuttonInactiveBackgroundImage@;
|
2008-04-22 20:57:05 -07:00
|
|
|
}
|