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