| 1 | #extensionsBox { |
| 2 | margin: 10px 10px 0px 10px; |
| 3 | min-width: 1px; |
| 4 | } |
| 5 | |
| 6 | #extensionsView { |
| 7 | -moz-appearance: none; |
| 8 | -moz-border-radius: 3px; |
| 9 | border: 1px solid #9C9CFF; |
| 10 | margin: 0; |
| 11 | min-width: 245px; |
| 12 | } |
| 13 | |
| 14 | #resizerBox { |
| 15 | margin-top: -12px; |
| 16 | visibility: hidden; |
| 17 | } |
| 18 | |
| 19 | #resizerBox > resizer { |
| 20 | height: 10px; |
| 21 | max-height: 10px; |
| 22 | visibility: visible; |
| 23 | } |
| 24 | |
| 25 | .notification-inner { |
| 26 | border: none; |
| 27 | border-bottom: 1px solid #9C9CFF; |
| 28 | } |
| 29 | |
| 30 | /* Command Bar */ |
| 31 | #commandBarBottom { |
| 32 | margin: 5px 5px 10px 10px; |
| 33 | min-width: 1px; |
| 34 | } |
| 35 | |
| 36 | #commandBarBottom button { |
| 37 | margin: 0; |
| 38 | -moz-margin-end: 5px; |
| 39 | } |
| 40 | |
| 41 | /* List Items */ |
| 42 | richlistitem { |
| 43 | padding-top: 6px; |
| 44 | padding-bottom: 6px; |
| 45 | -moz-padding-start: 7px; |
| 46 | -moz-padding-end: 7px; |
| 47 | min-height: 25px; |
| 48 | border-bottom: 1px dotted #FF9F00; |
| 49 | } |
| 50 | |
| 51 | richlistitem[isDisabled="true"] .addonIcon { |
| 52 | opacity: 0.3; |
| 53 | } |
| 54 | |
| 55 | richlistitem[isDisabled="true"] { |
| 56 | color: #8050B0; |
| 57 | } |
| 58 | |
| 59 | richlistitem[newAddon="true"] { |
| 60 | background-color: #000000; |
| 61 | color: #FFCF00; |
| 62 | } |
| 63 | |
| 64 | richlistitem[selected="true"] { |
| 65 | background-color: #008484; |
| 66 | color: #000000; |
| 67 | } |
| 68 | |
| 69 | richlistitem[selected="true"] .text-link { |
| 70 | color: inherit; |
| 71 | } |
| 72 | |
| 73 | #extensionsView:focus > richlistitem[selected="true"] { |
| 74 | background-color: #008484; |
| 75 | color: #FFCF00; |
| 76 | } |
| 77 | |
| 78 | #extensionsView:focus > richlistitem[selected="true"][isDisabled="true"] { |
| 79 | background-color: #8050B0; |
| 80 | color: #000000; |
| 81 | } |
| 82 | |
| 83 | .descriptionWrap { |
| 84 | margin-bottom: 2px; |
| 85 | } |
| 86 | |
| 87 | richlistitem[selected="true"]:not([opType]) .descriptionCrop { |
| 88 | display: none; |
| 89 | } |
| 90 | |
| 91 | .addonName { |
| 92 | font-weight: bold; |
| 93 | } |
| 94 | |
| 95 | .previewText { |
| 96 | font-size: larger; |
| 97 | font-weight: bold; |
| 98 | color: #FF9F00; |
| 99 | text-align: center; |
| 100 | } |
| 101 | |
| 102 | #themePreviewArea { |
| 103 | -moz-border-radius: 3px; |
| 104 | border: 1px solid #9C9CFF; |
| 105 | background-color: #000000; |
| 106 | color: #FF9F00; |
| 107 | min-width: 65px; |
| 108 | overflow: auto; |
| 109 | } |
| 110 | |
| 111 | #previewImageDeck { |
| 112 | min-width: 220px; |
| 113 | } |
| 114 | |
| 115 | #themeSplitter { |
| 116 | border-width: 0; |
| 117 | } |
| 118 | |
| 119 | .addonIcon { |
| 120 | -moz-margin-end: 2px; |
| 121 | width: 32px; |
| 122 | height: 32px; |
| 123 | } |
| 124 | |
| 125 | .addonIcon > image { |
| 126 | max-width: 32px; |
| 127 | max-height: 32px; |
| 128 | } |
| 129 | |
| 130 | .updateBadge, |
| 131 | .notifyBadge { |
| 132 | width: 16px; |
| 133 | height: 16px; |
| 134 | margin-bottom: -3px; |
| 135 | list-style-image: url("chrome://mozapps/skin/extensions/notifyBadges.png"); |
| 136 | } |
| 137 | |
| 138 | richlistitem .updateBadge { |
| 139 | -moz-margin-end: -2px; |
| 140 | } |
| 141 | |
| 142 | richlistitem .notifyBadge { |
| 143 | -moz-margin-start: -2px; |
| 144 | } |
| 145 | |
| 146 | .updateBadge, |
| 147 | .updateAvailableBox, |
| 148 | .notifyBadge { |
| 149 | display: none; |
| 150 | } |
| 151 | |
| 152 | richlistitem[availableUpdateURL][updateable="true"] .updateBadge, |
| 153 | richlistitem[availableUpdateURL][updateable="true"] .updateAvailableBox, |
| 154 | richlistitem[compatible="false"] .notifyBadge, |
| 155 | richlistitem[providesUpdatesSecurely="false"] .notifyBadge, |
| 156 | richlistitem[blocklisted="true"] .notifyBadge, |
| 157 | richlistitem[blocklistedsoft="true"] .notifyBadge, |
| 158 | richlistitem[satisfiesDependencies="false"] .notifyBadge { |
| 159 | display: -moz-box; |
| 160 | } |
| 161 | |
| 162 | |
| 163 | /* Selected Add-on buttons |
| 164 | See content/extensions.css to hide / display buttons */ |
| 165 | .selectedButtons { |
| 166 | margin-top: 4px; |
| 167 | min-height: 2.1em; |
| 168 | } |
| 169 | |
| 170 | .selectedButtons > button { |
| 171 | margin-top: 0; |
| 172 | margin-bottom: 0; |
| 173 | } |
| 174 | |
| 175 | .enableButton, |
| 176 | .disableButton, |
| 177 | .optionsButton, |
| 178 | .useThemeButton { |
| 179 | -moz-margin-end: 0; |
| 180 | } |
| 181 | |
| 182 | .enableButton, .disableButton, |
| 183 | .uninstallButton, .cancelUninstallButton { |
| 184 | -moz-margin-start: 5px; |
| 185 | } |
| 186 | |
| 187 | /* Selected Add-on status messages and images */ |
| 188 | richlistitem[compatible="true"] .incompatibleBox, |
| 189 | richlistitem[providesUpdatesSecurely="true"] .insecureUpdateBox, |
| 190 | richlistitem[satisfiesDependencies="true"] .needsDependenciesBox, |
| 191 | richlistitem:not([blocklisted="true"]):not([blocklistedsoft="true"]) .blocklistedBox, |
| 192 | richlistitem[blocklistedsoft="false"]:not([selected="true"]) .blocklistedBox, |
| 193 | richlistitem[blocklisted="false"] .blocklistedLabel, |
| 194 | richlistitem[blocklistedsoft="false"] .softBlocklistedLabel, |
| 195 | richlistitem[opType="needs-uninstall"] .blocklistedBox, |
| 196 | richlistitem[opType="needs-uninstall"] .incompatibleBox, |
| 197 | richlistitem[opType="needs-uninstall"] .needsDependenciesBox, |
| 198 | richlistitem[opType="needs-uninstall"] .blocklistedBox { |
| 199 | display: none; |
| 200 | } |
| 201 | |
| 202 | richlistitem[loading="true"] .updateBadge { |
| 203 | display: -moz-box; |
| 204 | width: 16px; |
| 205 | height: 16px; |
| 206 | margin-bottom: -3px; |
| 207 | -moz-margin-end: -2px; |
| 208 | list-style-image: url("chrome://global/skin/icons/loading.gif"); |
| 209 | -moz-image-region: auto; |
| 210 | } |
| 211 | |
| 212 | .addonThrobber { |
| 213 | -moz-margin-start: 5px; |
| 214 | width: 16px; |
| 215 | height: 16px; |
| 216 | list-style-image: url("chrome://global/skin/icons/loading.gif"); |
| 217 | } |
| 218 | |
| 219 | .selectedStatusMsgs > hbox { |
| 220 | margin-top: 2px; |
| 221 | margin-bottom: 2px; |
| 222 | } |
| 223 | |
| 224 | .selectedStatusMsgs label { |
| 225 | font-weight: bold; |
| 226 | } |
| 227 | |
| 228 | .selectedStatusMsgs label.text-link { |
| 229 | font-weight: normal; |
| 230 | border: none; |
| 231 | } |
| 232 | |
| 233 | richlistitem[opType="needs-uninstall"] .notifyBadge { |
| 234 | display: none; |
| 235 | } |
| 236 | |
| 237 | .addon-search-details { |
| 238 | margin-top: 5px; |
| 239 | margin-bottom: 5px; |
| 240 | -moz-margin-start: 6px; |
| 241 | -moz-margin-end: 0; |
| 242 | } |
| 243 | |
| 244 | .addonThumbnailContainer { |
| 245 | background-color: #000000; |
| 246 | padding: 5px; |
| 247 | -moz-border-radius: 3px; |
| 248 | border: 1px solid #9C9CFF; |
| 249 | width: 135px; |
| 250 | min-height: 104px; |
| 251 | -moz-margin-end: 5px; |
| 252 | } |
| 253 | |
| 254 | .addonMissingThumbnail { |
| 255 | color: GrayText; |
| 256 | font-size: larger; |
| 257 | font-weight: bold; |
| 258 | } |
| 259 | |
| 260 | .addonFailure { |
| 261 | width: 16px; |
| 262 | height: 16px; |
| 263 | list-style-image: url("chrome://mozapps/skin/extensions/notifyBadges.png"); |
| 264 | } |
| 265 | |
| 266 | .addonRating { |
| 267 | display: none; |
| 268 | } |
| 269 | |
| 270 | .addonLearnMore { |
| 271 | margin-top: 4px; |
| 272 | margin-bottom: 4px; |
| 273 | } |
| 274 | |
| 275 | .addonRating[rating] { |
| 276 | display: -moz-box; |
| 277 | width: 68px; |
| 278 | height: 12px; |
| 279 | list-style-image: url("chrome://mozapps/skin/extensions/ratings.png"); |
| 280 | } |
| 281 | |
| 282 | .addonRating[rating="0"] { |
| 283 | -moz-image-region: rect(0px 68px 12px 0px); |
| 284 | } |
| 285 | |
| 286 | .addonRating[rating="1"] { |
| 287 | -moz-image-region: rect(12px 68px 24px 0px); |
| 288 | } |
| 289 | |
| 290 | .addonRating[rating="2"] { |
| 291 | -moz-image-region: rect(24px 68px 36px 0px); |
| 292 | } |
| 293 | |
| 294 | .addonRating[rating="3"] { |
| 295 | -moz-image-region: rect(36px 68px 48px 0px); |
| 296 | } |
| 297 | |
| 298 | .addonRating[rating="4"] { |
| 299 | -moz-image-region: rect(48px 68px 60px 0px); |
| 300 | } |
| 301 | |
| 302 | .addonRating[rating="5"] { |
| 303 | -moz-image-region: rect(60px 68px 72px 0px); |
| 304 | } |
| 305 | |
| 306 | .addonType image { |
| 307 | -moz-margin-start: 6px; |
| 308 | list-style-image: url("chrome://mozapps/skin/extensions/extensionIcons.png"); |
| 309 | width: 16px; |
| 310 | height: 16px; |
| 311 | } |
| 312 | |
| 313 | .addonTypeExtension image { |
| 314 | -moz-image-region: rect(0px 16px 16px 0px); |
| 315 | } |
| 316 | |
| 317 | .addonTypeTheme image { |
| 318 | -moz-image-region: rect(0px 32px 16px 16px); |
| 319 | } |
| 320 | |
| 321 | vbox[typeName="status"][type="search-failure"], |
| 322 | vbox[typeName="status"][type="recommended-failure"], |
| 323 | vbox[typeName="status"][type="message-norecommended"], |
| 324 | vbox[typeName="status"][type="message-nosearchresults"], |
| 325 | vbox[typeName="status"][type="retrieve-search"], |
| 326 | vbox[typeName="status"][type="retrieve-recommended"] { |
| 327 | margin-top: 2em; |
| 328 | } |
| 329 | |
| 330 | vbox[typeName="status"][type="footer-recommended"], |
| 331 | vbox[typeName="status"][type="footer-search"] { |
| 332 | margin-top: 1em; |
| 333 | } |
| 334 | |
| 335 | vbox[typeName="status"][type="header-recommended"] { |
| 336 | font-size: 150%; |
| 337 | background: #000000; |
| 338 | } |
| 339 | |
| 340 | #searchbox { |
| 341 | padding: 0; |
| 342 | } |
| 343 | |
| 344 | #progressBox { |
| 345 | padding: 5px 5px 5px 5px; |
| 346 | } |
| 347 | |
| 348 | #progressBox > hbox { |
| 349 | -moz-box-align: center; |
| 350 | } |
| 351 | |
| 352 | /* View buttons */ |
| 353 | .viewSelector { |
| 354 | border-bottom: 1px solid #9C9CFF; |
| 355 | margin: 0px; |
| 356 | padding-bottom: 3px; |
| 357 | -moz-padding-start: 10px; |
| 358 | background-color: #000000; |
| 359 | color: #FF9F00; |
| 360 | } |
| 361 | |
| 362 | #viewGroup radio { |
| 363 | -moz-border-radius: 5px; |
| 364 | margin: 0px; |
| 365 | padding: 1px 3px; |
| 366 | min-width: 4.5em; |
| 367 | list-style-image: url("chrome://mozapps/skin/extensions/viewButtons.png"); |
| 368 | border: 1px solid transparent; |
| 369 | } |
| 370 | |
| 371 | #viewGroup radio:hover { |
| 372 | background-color: #FFCF00; |
| 373 | color: #000000; |
| 374 | } |
| 375 | |
| 376 | #viewGroup radio[selected="true"] { |
| 377 | background-color: #008484; |
| 378 | color: #000000; |
| 379 | } |
| 380 | |
| 381 | .viewButtonIcon { |
| 382 | width: 32px; |
| 383 | height: 32px; |
| 384 | } |
| 385 | |
| 386 | radio#extensions-view { |
| 387 | -moz-image-region: rect(0px, 32px, 32px, 0px) |
| 388 | } |
| 389 | |
| 390 | radio#themes-view { |
| 391 | -moz-image-region: rect(0px, 64px, 32px, 32px) |
| 392 | } |
| 393 | |
| 394 | radio#locales-view { |
| 395 | -moz-image-region: rect(0px, 96px, 32px, 64px) |
| 396 | } |
| 397 | |
| 398 | radio#plugins-view { |
| 399 | -moz-image-region: rect(0px, 128px, 32px, 96px) |
| 400 | } |
| 401 | |
| 402 | radio#updates-view { |
| 403 | -moz-image-region: rect(0px, 160px, 32px, 128px) |
| 404 | } |
| 405 | |
| 406 | radio#installs-view { |
| 407 | -moz-image-region: rect(0px, 192px, 32px, 160px) |
| 408 | } |
| 409 | |
| 410 | radio#search-view { |
| 411 | -moz-image-region: rect(0px, 224px, 32px, 192px) |
| 412 | } |
| 413 | |
| 414 | /* Update view checkbox */ |
| 415 | .includeUpdate { |
| 416 | -moz-user-focus: none; |
| 417 | } |
| 418 | |
| 419 | richlistitem[selected="true"] .includeUpdate { |
| 420 | -moz-user-focus: normal; |
| 421 | } |
| 422 | |
| 423 | #infoDisplay { |
| 424 | overflow-y: auto; |
| 425 | } |
| 426 | |
| 427 | #infoDisplay body { |
| 428 | padding: 5px; |
| 429 | } |
| 430 | |
| 431 | #infoDisplay h1, |
| 432 | #infoDisplay h2, |
| 433 | #infoDisplay h3 { |
| 434 | text-align: left; |
| 435 | font-weight: bold; |
| 436 | margin: 0 0 0.7em 0; |
| 437 | } |
| 438 | |
| 439 | #infoDisplay h1 { |
| 440 | font-size: 150%; |
| 441 | } |
| 442 | |
| 443 | #infoDisplay h2 { |
| 444 | font-size: 125%; |
| 445 | } |
| 446 | |
| 447 | #infoDisplay h3 { |
| 448 | font-size: 100%; |
| 449 | } |
| 450 | |
| 451 | #infoDisplay ol, |
| 452 | #infoDisplay ul { |
| 453 | margin: 0 0 0.7em 0; |
| 454 | } |
| 455 | |
| 456 | #infoDisplay li { |
| 457 | text-align: left; |
| 458 | } |
| 459 | |
| 460 | #infoDisplay p { |
| 461 | text-align: justify; |
| 462 | margin: 0 0 0.7em 0; |
| 463 | } |