1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/themes/osx/mozapps/downloads/downloads.css Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,123 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +%include ../../global/shared.inc 1.9 + 1.10 +#downloadView { 1.11 + -moz-appearance: none; 1.12 + margin: 0; 1.13 + padding: 0; 1.14 + border-width: 0; 1.15 +} 1.16 + 1.17 +/* Download View Items */ 1.18 +richlistitem[type="download"] { 1.19 + padding: 5px; 1.20 + min-height: 44px !important; 1.21 + border: 1px solid transparent; 1.22 +} 1.23 + 1.24 +richlistitem[type="download"]:not([selected="true"]):nth-child(odd) { 1.25 + background-color: -moz-oddtreerow; 1.26 +} 1.27 + 1.28 +richlistitem[type="download"] .dateTime, 1.29 +richlistitem[type="download"] .status { 1.30 + font-size: smaller; 1.31 + color: #555; 1.32 +} 1.33 + 1.34 +richlistitem[selected="true"][type="download"] { 1.35 + outline: none; 1.36 +} 1.37 + 1.38 +richlistbox:focus > richlistitem[selected="true"][type="download"] .dateTime, 1.39 +richlistbox:focus > richlistitem[selected="true"][type="download"] .status { 1.40 + color: highlighttext; 1.41 +} 1.42 + 1.43 + 1.44 +richlistitem[type="download"] button { 1.45 + -moz-appearance: none; 1.46 + min-height: 16px; 1.47 + min-width: 16px; 1.48 + max-height: 16px; 1.49 + max-width: 16px; 1.50 + padding: 0; 1.51 + margin: 0 1px 0 1px; 1.52 +} 1.53 + 1.54 +/** 1.55 + * Images for buttons in the interface 1.56 + */ 1.57 +richlistitem[type="download"] button { 1.58 + list-style-image: url(chrome://mozapps/skin/downloads/buttons.png); 1.59 +} 1.60 +.cancel { 1.61 + -moz-image-region: rect(0px, 16px, 16px, 0px); 1.62 +} 1.63 +.cancel:hover { 1.64 + -moz-image-region: rect(0px, 32px, 16px, 16px); 1.65 +} 1.66 +.cancel:hover:active { 1.67 + -moz-image-region: rect(0px, 48px, 16px, 32px); 1.68 +} 1.69 + 1.70 +.pause { 1.71 + -moz-image-region: rect(48px, 16px, 64px, 0px); 1.72 +} 1.73 +.pause:hover { 1.74 + -moz-image-region: rect(48px, 32px, 64px, 16px); 1.75 +} 1.76 +.pause:not([disabled="true"]):hover:active { 1.77 + -moz-image-region: rect(48px, 48px, 64px, 32px); 1.78 +} 1.79 +.pause[disabled="true"] { 1.80 + -moz-image-region: rect(48px, 16px, 64px, 0px); 1.81 +} 1.82 + 1.83 +.resume { 1.84 + -moz-image-region: rect(16px, 16px, 32px, 0px); 1.85 +} 1.86 +.resume:hover { 1.87 + -moz-image-region: rect(16px, 32px, 32px, 16px); 1.88 +} 1.89 +.resume:hover:active { 1.90 + -moz-image-region: rect(16px, 48px, 32px, 32px); 1.91 +} 1.92 + 1.93 +.retry { 1.94 + -moz-image-region: rect(32px, 16px, 48px, 0px); 1.95 +} 1.96 +.retry:hover { 1.97 + -moz-image-region: rect(32px, 32px, 48px, 16px); 1.98 +} 1.99 +.retry:hover:active { 1.100 + -moz-image-region: rect(32px, 48px, 48px, 32px); 1.101 +} 1.102 + 1.103 +.blockedIcon { 1.104 + list-style-image: url(chrome://global/skin/icons/Error.png); 1.105 +} 1.106 + 1.107 +/* prevent flickering when changing states */ 1.108 +.downloadTypeIcon { 1.109 + height: 32px; 1.110 + width: 32px; 1.111 + -moz-padding-end: 2px; 1.112 +} 1.113 + 1.114 +#search { 1.115 + -moz-box-pack: end; 1.116 + -moz-padding-end: 4px; 1.117 + -moz-appearance: statusbar; 1.118 +} 1.119 + 1.120 +#clearListButton { 1.121 + -moz-appearance: toolbarbutton; 1.122 + min-height: 18px; 1.123 + min-width: 0; 1.124 + margin: 0 6px; 1.125 + text-shadow: @loweredShadow@; 1.126 +}