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