1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mobile/android/themes/core/aboutAddons.css Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,266 @@ 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 +%filter substitution 1.9 +%include defines.inc 1.10 + 1.11 +.details { 1.12 + width: 100%; 1.13 +} 1.14 + 1.15 +.details > div { 1.16 + display: inline; 1.17 +} 1.18 + 1.19 +.version { 1.20 + /* title is not localized, so keep the margin on the left side */ 1.21 + margin-left: .67em; 1.22 +} 1.23 + 1.24 +#header-button { 1.25 + background-image: url("chrome://browser/skin/images/amo-logo.png"), url("chrome://browser/skin/images/chevron.png"); 1.26 + background-size: 20px 20px, 8px 20px; 1.27 + background-position: left, right 3px center; 1.28 +} 1.29 + 1.30 +.description { 1.31 + width: 100%; 1.32 + overflow: hidden; 1.33 + white-space: nowrap; 1.34 + text-overflow: ellipsis; 1.35 +} 1.36 + 1.37 +.status { 1.38 + background-color: @color_about_item_inner@; 1.39 + border-top: 2px solid; 1.40 + -moz-border-top-colors: #bac2ac #ffffff; 1.41 + font-weight: bold; 1.42 + padding: 0.5em; 1.43 + width: 100%; 1.44 +} 1.45 + 1.46 +.options-header { 1.47 + font-weight: bold; 1.48 + text-transform: uppercase; 1.49 + margin-top: 1em; 1.50 +} 1.51 + 1.52 +.addon-item[isDisabled="true"] .options-header, 1.53 +.addon-item:not([optionsURL]) .options-header, 1.54 +.addon-item[optionsURL=""] .options-header, 1.55 +.addon-item[isDisabled="true"] .options-box, 1.56 +.addon-item:not([optionsURL]) .options-box, 1.57 +.addon-item[optionsURL=""] .options-box { 1.58 + display: none; 1.59 +} 1.60 + 1.61 +/* Settings */ 1.62 + 1.63 +setting { 1.64 + padding-bottom: 1em; 1.65 + -moz-box-align: center; 1.66 + box-sizing: border-box; 1.67 + width: 100%; 1.68 +} 1.69 + 1.70 +setting[type="integer"], 1.71 +setting[type="string"], 1.72 +setting[type="menulist"], 1.73 +setting[type="control"] { 1.74 + -moz-box-orient: vertical; 1.75 + -moz-box-align: start; 1.76 +} 1.77 + 1.78 +setting > vbox { 1.79 + -moz-box-flex: 1; 1.80 +} 1.81 + 1.82 +.preferences-description { 1.83 + margin-top: 4px; 1.84 + color: #666; 1.85 +} 1.86 + 1.87 +.preferences-description:empty { 1.88 + display: none; 1.89 +} 1.90 + 1.91 +/* Checkbox */ 1.92 + 1.93 +checkbox { 1.94 + -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing") !important; 1.95 + margin: 0; 1.96 +} 1.97 + 1.98 +checkbox[label=""] > .checkbox-label-box, 1.99 +checkbox:not([label]) > .checkbox-label-box { 1.100 + display: none; 1.101 +} 1.102 + 1.103 +.checkbox-check { 1.104 + background-color: transparent; 1.105 + background-image: url("chrome://browser/skin/images/checkbox_unchecked.png"); 1.106 + border: none; 1.107 + height: 48px; 1.108 + width: 48px; 1.109 +} 1.110 + 1.111 +setting:active checkbox > .checkbox-spacer-box > .checkbox-check { 1.112 + background-image: url("chrome://browser/skin/images/checkbox_unchecked_pressed.png"); 1.113 +} 1.114 + 1.115 +checkbox[disabled="true"] > .checkbox-spacer-box > .checkbox-check { 1.116 + background-image: url("chrome://browser/skin/images/checkbox_unchecked_disabled.png"); 1.117 +} 1.118 + 1.119 +checkbox[checked="true"] > .checkbox-spacer-box > .checkbox-check { 1.120 + background-image: url("chrome://browser/skin/images/checkbox_checked.png"); 1.121 +} 1.122 + 1.123 +setting:active checkbox[checked="true"] > .checkbox-spacer-box > .checkbox-check { 1.124 + background-image: url("chrome://browser/skin/images/checkbox_checked_pressed.png"); 1.125 +} 1.126 + 1.127 +checkbox[checked="true"][disabled="true"] > .checkbox-spacer-box > .checkbox-check { 1.128 + background-image: url("chrome://browser/skin/images/checkbox_checked_disabled.png"); 1.129 +} 1.130 + 1.131 +/* Textbox */ 1.132 + 1.133 +textbox[type="number"] > spinbuttons { 1.134 + visibility: collapse; 1.135 +} 1.136 + 1.137 +textbox { 1.138 + min-width: 200px; 1.139 + margin: 2px 0; 1.140 + padding: 0.5em !important; 1.141 + background: #fff; 1.142 + border: 1px solid #ccc; 1.143 + border-radius: 4px; 1.144 + color: #333; 1.145 +} 1.146 + 1.147 +/* Button */ 1.148 + 1.149 +button { 1.150 + margin: 2px 0; 1.151 + background: #fff; 1.152 + border: 1px solid #ccc; 1.153 + padding: 0.5em; 1.154 +} 1.155 + 1.156 +/* Menulist */ 1.157 + 1.158 +menulist { 1.159 + -moz-appearance: none !important; 1.160 + -moz-user-focus: ignore; 1.161 + min-width: 200px; 1.162 + margin: 2px 0; 1.163 + background: #fff; 1.164 + border: 1px solid #ccc; 1.165 + border-radius: 4px; 1.166 + padding: 0.5em; 1.167 +} 1.168 + 1.169 +menulist > dropmarker { 1.170 + height: 1.8em; 1.171 + width: 1.8em; 1.172 + margin-left: @margin_snormal@; 1.173 + background-color: transparent; 1.174 + border: none; 1.175 + -moz-box-align: center; 1.176 + -moz-box-pack: center; 1.177 + list-style-image: url("chrome://browser/skin/images/dropmarker.svg") !important; 1.178 + -moz-image-region: auto; 1.179 + display: block; 1.180 +} 1.181 + 1.182 +/* Select */ 1.183 + 1.184 +select { 1.185 + min-width: 200px; 1.186 + margin: 2px 0; 1.187 + background: #fff; 1.188 + border: 1px solid #ccc; 1.189 + border-radius: 4px; 1.190 + padding: 1em; 1.191 +} 1.192 + 1.193 +/* XBL bindings */ 1.194 + 1.195 +settings { 1.196 + -moz-binding: url("chrome://mozapps/content/extensions/setting.xml#settings"); 1.197 +} 1.198 + 1.199 +setting { 1.200 + display: none; 1.201 +} 1.202 + 1.203 +setting[type="bool"] { 1.204 + display: -moz-box; 1.205 + -moz-binding: url("chrome://browser/content/bindings/settings.xml#setting-fulltoggle-bool"); 1.206 +} 1.207 + 1.208 +setting[type="bool"][localized="true"] { 1.209 + display: -moz-box; 1.210 + -moz-binding: url("chrome://browser/content/bindings/settings.xml#setting-fulltoggle-localized-bool"); 1.211 +} 1.212 + 1.213 +setting[type="boolint"] { 1.214 + display: -moz-box; 1.215 + -moz-binding: url("chrome://browser/content/bindings/settings.xml#setting-fulltoggle-boolint"); 1.216 +} 1.217 + 1.218 +setting[type="integer"] { 1.219 + display: -moz-box; 1.220 + -moz-binding: url("chrome://mozapps/content/extensions/setting.xml#setting-integer"); 1.221 +} 1.222 + 1.223 +setting[type="control"] { 1.224 + display: -moz-box; 1.225 + -moz-binding: url("chrome://mozapps/content/extensions/setting.xml#setting-control"); 1.226 +} 1.227 + 1.228 +setting[type="string"] { 1.229 + display: -moz-box; 1.230 + -moz-binding: url("chrome://mozapps/content/extensions/setting.xml#setting-string"); 1.231 +} 1.232 + 1.233 +setting[type="radio"], 1.234 +setting[type="menulist"] { 1.235 + display: -moz-box; 1.236 + -moz-binding: url("chrome://mozapps/content/extensions/setting.xml#setting-multi"); 1.237 +} 1.238 + 1.239 +.hide-on-enable, 1.240 +.show-on-error, 1.241 +.show-on-uninstall, 1.242 +.show-on-install, 1.243 +.show-on-restart, 1.244 +div[isDisabled="true"] .hide-on-disable { 1.245 + display: none; 1.246 +} 1.247 + 1.248 +div[error] .show-on-error, 1.249 +div[opType="needs-restart"] .show-on-restart, 1.250 +div[opType="needs-uninstall"] .show-on-uninstall, 1.251 +div[opType="needs-install"] .show-on-install, 1.252 +div[opType="needs-enable"] .show-on-enable, 1.253 +div[opType="needs-disable"] .show-on-disable, 1.254 +div[isDisabled="true"] .show-on-disable { 1.255 + display: -moz-box; 1.256 +} 1.257 + 1.258 +div[opType="needs-restart"] .hide-on-restart, 1.259 +div[opType="needs-uninstall"] .hide-on-uninstall, 1.260 +div[isDisabled="true"][opType="needs-uninstall"], 1.261 +div[opType="needs-install"] .hide-on-install, 1.262 +div[opType="needs-enable"] .hide-on-enable, 1.263 +div[opType="needs-disable"] .hide-on-disable { 1.264 + display: none; 1.265 +} 1.266 + 1.267 +#addons-list, #addons-details { 1.268 + display: none; 1.269 +}