| 1 | /* ***** BEGIN LICENSE BLOCK ***** |
| 2 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
| 3 | * |
| 4 | * The contents of this file are subject to the Mozilla Public License Version |
| 5 | * 1.1 (the "License"); you may not use this file except in compliance with |
| 6 | * the License. You may obtain a copy of the License at |
| 7 | * http://www.mozilla.org/MPL/ |
| 8 | * |
| 9 | * Software distributed under the License is distributed on an "AS IS" basis, |
| 10 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
| 11 | * for the specific language governing rights and limitations under the |
| 12 | * License. |
| 13 | * |
| 14 | * The Original Code is the Extension Manager UI. |
| 15 | * |
| 16 | * The Initial Developer of the Original Code is |
| 17 | * the Mozilla Foundation. |
| 18 | * Portions created by the Initial Developer are Copyright (C) 2010 |
| 19 | * the Initial Developer. All Rights Reserved. |
| 20 | * |
| 21 | * Contributor(s): |
| 22 | * Blair McBride <bmcbride@mozilla.com> |
| 23 | * |
| 24 | * Alternatively, the contents of this file may be used under the terms of |
| 25 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
| 26 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
| 27 | * in which case the provisions of the GPL or the LGPL are applicable instead |
| 28 | * of those above. If you wish to allow use of your version of this file only |
| 29 | * under the terms of either the GPL or the LGPL, and not to allow others to |
| 30 | * use your version of this file under the terms of the MPL, indicate your |
| 31 | * decision by deleting the provisions above and replace them with the notice |
| 32 | * and other provisions required by the GPL or the LGPL. If you do not delete |
| 33 | * the provisions above, a recipient may use your version of this file under |
| 34 | * the terms of any one of the MPL, the GPL or the LGPL. |
| 35 | * |
| 36 | * ***** END LICENSE BLOCK ***** */ |
| 37 | |
| 38 | #addons-page { |
| 39 | background-color: #000000; |
| 40 | margin: 20px; |
| 41 | } |
| 42 | |
| 43 | #view-port { |
| 44 | border: 1px solid #9C9CFF; |
| 45 | border-radius: 5px; |
| 46 | } |
| 47 | |
| 48 | .nav-button { |
| 49 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); |
| 50 | min-width: 0; |
| 51 | -moz-margin-end: 0; |
| 52 | } |
| 53 | |
| 54 | #back-btn:-moz-locale-dir(ltr), |
| 55 | #forward-btn:-moz-locale-dir(rtl) { |
| 56 | -moz-image-region: rect(42px 25px 63px 0px); |
| 57 | } |
| 58 | |
| 59 | #back-btn[disabled="true"]:-moz-locale-dir(ltr), |
| 60 | #forward-btn[disabled="true"]:-moz-locale-dir(rtl) { |
| 61 | -moz-image-region: rect(42px 50px 63px 25px); |
| 62 | } |
| 63 | |
| 64 | #back-btn:-moz-locale-dir(rtl), |
| 65 | #forward-btn:-moz-locale-dir(ltr) { |
| 66 | -moz-image-region: rect(63px 25px 84px 0px); |
| 67 | } |
| 68 | |
| 69 | #back-btn[disabled="true"]:-moz-locale-dir(rtl), |
| 70 | #forward-btn[disabled="true"]:-moz-locale-dir(ltr) { |
| 71 | -moz-image-region: rect(63px 50px 84px 25px); |
| 72 | } |
| 73 | |
| 74 | /*** global warnings ***/ |
| 75 | |
| 76 | .global-warning { |
| 77 | -moz-box-align: center; |
| 78 | padding: 0 8px; |
| 79 | color: #000000; |
| 80 | font-weight: bold; |
| 81 | } |
| 82 | |
| 83 | #addons-page[warning] .global-warning-container { |
| 84 | background-color: #FFCF00; |
| 85 | } |
| 86 | |
| 87 | #detail-view .global-warning { |
| 88 | padding: 4px 12px; |
| 89 | border-bottom: 3px solid #000000; |
| 90 | } |
| 91 | |
| 92 | /*** notification icons ***/ |
| 93 | |
| 94 | .warning-icon { |
| 95 | list-style-image: url("chrome://global/skin/icons/warning-16.png"); |
| 96 | width: 16px; |
| 97 | height: 16px; |
| 98 | margin: 1px 0; |
| 99 | } |
| 100 | |
| 101 | .error-icon { |
| 102 | list-style-image: url("chrome://global/skin/icons/error-16.png"); |
| 103 | width: 16px; |
| 104 | height: 16px; |
| 105 | margin: 1px 0; |
| 106 | } |
| 107 | |
| 108 | .pending-icon, |
| 109 | .info-icon { |
| 110 | list-style-image: url("chrome://global/skin/icons/information-16.png"); |
| 111 | width: 16px; |
| 112 | height: 16px; |
| 113 | margin: 1px 0; |
| 114 | } |
| 115 | |
| 116 | /*** category selector ***/ |
| 117 | |
| 118 | #categories { |
| 119 | -moz-appearance: none; |
| 120 | border: none; |
| 121 | -moz-margin-end: -1px; |
| 122 | background-color: transparent; |
| 123 | position: relative; |
| 124 | } |
| 125 | |
| 126 | .category { |
| 127 | border-width: 1px; |
| 128 | -moz-border-end-width: 0; |
| 129 | border-style: solid; |
| 130 | border-color: transparent; |
| 131 | padding: 10px 4px; |
| 132 | -moz-box-align: center; |
| 133 | overflow: hidden; |
| 134 | min-height: 0px; |
| 135 | } |
| 136 | |
| 137 | .category:-moz-locale-dir(ltr) { |
| 138 | border-top-left-radius: 5px; |
| 139 | border-bottom-left-radius: 5px; |
| 140 | } |
| 141 | |
| 142 | .category:-moz-locale-dir(rtl) { |
| 143 | border-top-right-radius: 5px; |
| 144 | border-bottom-right-radius: 5px; |
| 145 | } |
| 146 | |
| 147 | .category[disabled] { |
| 148 | height: 0px; |
| 149 | opacity: 0; |
| 150 | -moz-transition-property: height, opacity; |
| 151 | -moz-transition-duration: 1s, 0.8s; |
| 152 | } |
| 153 | |
| 154 | .category:not([disabled]) { |
| 155 | height: 52px; |
| 156 | -moz-transition-property: height, opacity; |
| 157 | -moz-transition-duration: 1s, 0.8s; |
| 158 | } |
| 159 | |
| 160 | .category[selected] { |
| 161 | color: FFCF00; |
| 162 | border-color: #9C9CFF; |
| 163 | } |
| 164 | |
| 165 | .category-name { |
| 166 | font-size: 150%; |
| 167 | } |
| 168 | |
| 169 | .category-badge { |
| 170 | background-color: #E7ADE7; |
| 171 | padding: 2px 8px; |
| 172 | margin: 6px 0px; |
| 173 | border-radius: 10000px; |
| 174 | color: #000000; |
| 175 | font-weight: bold; |
| 176 | text-align: center; |
| 177 | } |
| 178 | |
| 179 | .category-badge[value="0"] { |
| 180 | visibility: hidden; |
| 181 | } |
| 182 | |
| 183 | .category-icon { |
| 184 | width: 32px; |
| 185 | height: 32px; |
| 186 | -moz-margin-start: 6px; |
| 187 | } |
| 188 | |
| 189 | #category-search > .category-icon { |
| 190 | list-style-image: url("chrome://mozapps/skin/extensions/category-search.png"); |
| 191 | } |
| 192 | #category-discover > .category-icon { |
| 193 | list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png"); |
| 194 | } |
| 195 | #category-languages > .category-icon { |
| 196 | list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png"); |
| 197 | } |
| 198 | #category-searchengines > .category-icon { |
| 199 | list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png"); |
| 200 | } |
| 201 | #category-extensions > .category-icon { |
| 202 | list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png"); |
| 203 | } |
| 204 | #category-themes > .category-icon { |
| 205 | list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png"); |
| 206 | } |
| 207 | #category-plugins > .category-icon { |
| 208 | list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png"); |
| 209 | } |
| 210 | #category-availableUpdates > .category-icon { |
| 211 | list-style-image: url("chrome://mozapps/skin/extensions/category-available.png"); |
| 212 | } |
| 213 | #category-recentUpdates > .category-icon { |
| 214 | list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png"); |
| 215 | } |
| 216 | |
| 217 | |
| 218 | /*** header ***/ |
| 219 | |
| 220 | #header { |
| 221 | margin-bottom: 20px; |
| 222 | height: 2em; |
| 223 | } |
| 224 | |
| 225 | #header-name, #header-link { |
| 226 | color: #000000; |
| 227 | } |
| 228 | |
| 229 | #header-name { |
| 230 | font-size: 180%; |
| 231 | } |
| 232 | |
| 233 | #header-link { |
| 234 | -moz-appearance: none; |
| 235 | border: none; |
| 236 | background: transparent; |
| 237 | font-size: 120%; |
| 238 | cursor: pointer; |
| 239 | list-style-image: url("chrome://mozapps/skin/extensions/go-back.png"); |
| 240 | } |
| 241 | |
| 242 | #header-link .button-icon { |
| 243 | -moz-margin-end: 6px; |
| 244 | } |
| 245 | |
| 246 | #header-searching { |
| 247 | list-style-image: url("chrome://global/skin/icons/loading.gif"); |
| 248 | } |
| 249 | |
| 250 | #header-utils-btn { |
| 251 | min-width: 4.5em; |
| 252 | list-style-image: url("chrome://mozapps/skin/extensions/utilities.png"); |
| 253 | } |
| 254 | |
| 255 | #header-utils-btn:hover, |
| 256 | #header-utils-btn:hover:active, |
| 257 | #header-utils-btn[open="true"] { |
| 258 | list-style-image: url("chrome://mozapps/skin/extensions/utilities-hover.png"); |
| 259 | } |
| 260 | |
| 261 | #header-utils-btn:-moz-focusring > .button-box { |
| 262 | border: none; |
| 263 | } |
| 264 | |
| 265 | #header-utils-btn > .button-box > .button-menu-dropmarker { |
| 266 | border: none; |
| 267 | background: transparent; |
| 268 | } |
| 269 | |
| 270 | #header-utils-btn:hover > .button-box > .button-menu-dropmarker { |
| 271 | list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); |
| 272 | } |
| 273 | |
| 274 | .view-header { |
| 275 | border-radius: 8px; |
| 276 | padding: 0px 1em; |
| 277 | margin: 3px; |
| 278 | } |
| 279 | |
| 280 | |
| 281 | /*** sorters ***/ |
| 282 | |
| 283 | .sort-controls { |
| 284 | -moz-appearance: none; |
| 285 | border-right: 3px solid #000000; |
| 286 | } |
| 287 | |
| 288 | .sorter { |
| 289 | -moz-appearance: none; |
| 290 | border: none; |
| 291 | border-left: 3px solid #000000; |
| 292 | background-color: transparent; |
| 293 | color: #8050B0; |
| 294 | border-radius: 0; |
| 295 | padding: 0px 6px; |
| 296 | -moz-padding-start: 6px; |
| 297 | -moz-padding-end: 3px; |
| 298 | margin: 0px; |
| 299 | min-width: 12px !important; |
| 300 | -moz-box-direction: reverse; |
| 301 | } |
| 302 | .sorter:hover { |
| 303 | background-color: #FFCF00; |
| 304 | color: #000000; |
| 305 | } |
| 306 | |
| 307 | .sorter[checkState="1"], |
| 308 | .sorter[checkState="2"] { |
| 309 | background-color: #008484; |
| 310 | color: #FFCF00; |
| 311 | } |
| 312 | |
| 313 | .sorter[checkState="1"] { |
| 314 | list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); |
| 315 | } |
| 316 | |
| 317 | .sorter[checkState="2"] { |
| 318 | list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); |
| 319 | } |
| 320 | |
| 321 | .sorter .button-icon { |
| 322 | -moz-margin-start: 4px; |
| 323 | } |
| 324 | |
| 325 | |
| 326 | /*** empty list notification ***/ |
| 327 | |
| 328 | .empty-list-notice { |
| 329 | -moz-box-align: center; |
| 330 | } |
| 331 | |
| 332 | .empty-list-notice > button { |
| 333 | margin: 20px; |
| 334 | } |
| 335 | |
| 336 | |
| 337 | /*** list ***/ |
| 338 | |
| 339 | .list { |
| 340 | margin: 0px; |
| 341 | border: none; |
| 342 | background-color: transparent; |
| 343 | } |
| 344 | |
| 345 | .addon { |
| 346 | border-bottom: 1px solid #9C9CFF; |
| 347 | padding: 5px; |
| 348 | } |
| 349 | |
| 350 | .addon[status="installing"] { |
| 351 | -moz-box-align: center; |
| 352 | } |
| 353 | |
| 354 | .details { |
| 355 | cursor: pointer; |
| 356 | margin: 0; |
| 357 | -moz-margin-start: 10px; |
| 358 | } |
| 359 | |
| 360 | .icon-container { |
| 361 | width: 48px; |
| 362 | height: 48px; |
| 363 | margin: 7px; |
| 364 | } |
| 365 | |
| 366 | .icon { |
| 367 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); |
| 368 | max-width: 48px; |
| 369 | max-height: 48px; |
| 370 | } |
| 371 | |
| 372 | .addon-view[type="theme"] .icon { |
| 373 | list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png"); |
| 374 | } |
| 375 | |
| 376 | .addon-view[type="locale"] .icon { |
| 377 | list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png"); |
| 378 | } |
| 379 | |
| 380 | .addon-view[type="plugin"] .icon { |
| 381 | list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); |
| 382 | } |
| 383 | |
| 384 | .name-container { |
| 385 | font-size: 150%; |
| 386 | margin-bottom: 0px; |
| 387 | } |
| 388 | |
| 389 | .description-container { |
| 390 | margin-top: 8px; |
| 391 | -moz-margin-start: 6px; |
| 392 | } |
| 393 | |
| 394 | .description { |
| 395 | margin: 0; |
| 396 | } |
| 397 | |
| 398 | .warning, .pending, .error, .info { |
| 399 | -moz-margin-start: 48px; |
| 400 | } |
| 401 | |
| 402 | .addon-view:not([selected]) .warning { |
| 403 | color: #FFCF00; |
| 404 | } |
| 405 | |
| 406 | .addon-view:not([selected]) .error { |
| 407 | color: #FF0000; |
| 408 | } |
| 409 | |
| 410 | .addon-view:not([selected]) .pending { |
| 411 | color: #008484; |
| 412 | } |
| 413 | |
| 414 | .addon-view[notification="warning"] { |
| 415 | background-color : #FFCF00; |
| 416 | color: #000000; |
| 417 | } |
| 418 | |
| 419 | .addon-view[notification="warning"] .warning { |
| 420 | color: #000000; |
| 421 | } |
| 422 | |
| 423 | .addon-view[notification="error"] { |
| 424 | background-color: #FF0000; |
| 425 | color: #000000; |
| 426 | } |
| 427 | |
| 428 | .addon-view[notification="error"] .error { |
| 429 | color: #000000; |
| 430 | } |
| 431 | |
| 432 | .addon-view[notification="info"] { |
| 433 | background-color: #9C9CFF; |
| 434 | color: #000000; |
| 435 | } |
| 436 | |
| 437 | .addon-view[pending="enable"], |
| 438 | .addon-view[pending="upgrade"], |
| 439 | .addon-view[pending="install"] { |
| 440 | background-color: #008484; |
| 441 | } |
| 442 | |
| 443 | .addon-view[pending="enable"] .pending, |
| 444 | .addon-view[pending="upgrade"] .pending, |
| 445 | .addon-view[pending="install"] .pending { |
| 446 | color: #000000; |
| 447 | } |
| 448 | |
| 449 | .addon-view[pending="disable"], |
| 450 | .addon-view[pending="uninstall"] { |
| 451 | color: #8050B0; |
| 452 | } |
| 453 | |
| 454 | .addon .relnotes-container { |
| 455 | -moz-box-align: start; |
| 456 | height: 0px; |
| 457 | overflow: hidden; |
| 458 | opacity: 0; |
| 459 | -moz-transition-property: height, opacity; |
| 460 | -moz-transition-duration: 0.5s, 0.5s; |
| 461 | } |
| 462 | |
| 463 | .addon[show-relnotes] .relnotes-container { |
| 464 | opacity: 1; |
| 465 | -moz-transition-property: height, opacity; |
| 466 | -moz-transition-duration: 0.5s, 0.5s; |
| 467 | } |
| 468 | |
| 469 | .addon .relnotes-header { |
| 470 | font-weight: bold; |
| 471 | margin: 10px 0px; |
| 472 | } |
| 473 | |
| 474 | .addon .relnotes-toggle { |
| 475 | border: none; |
| 476 | background: transparent; |
| 477 | font-weight: bold; |
| 478 | -moz-box-direction: reverse; |
| 479 | cursor: pointer; |
| 480 | list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); |
| 481 | } |
| 482 | |
| 483 | .addon .relnotes-toggle > .button-box > .button-icon { |
| 484 | -moz-padding-start: 4px; |
| 485 | } |
| 486 | |
| 487 | .addon[show-relnotes] .relnotes-toggle { |
| 488 | list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); |
| 489 | } |
| 490 | |
| 491 | |
| 492 | /*** item - uninstalled ***/ |
| 493 | |
| 494 | .addon[status="uninstalled"] { |
| 495 | border: none; |
| 496 | } |
| 497 | |
| 498 | .addon[status="uninstalled"] > .container { |
| 499 | -moz-box-align: center; |
| 500 | padding: 4px 20px; |
| 501 | background-color: #8050B0; |
| 502 | border-radius: 8px; |
| 503 | font-size: 120%; |
| 504 | } |
| 505 | |
| 506 | .addon[status="uninstalled"][selected] { |
| 507 | background-color: transparent; |
| 508 | } |
| 509 | |
| 510 | |
| 511 | /*** search view ***/ |
| 512 | |
| 513 | #search-filter { |
| 514 | padding: 5px 20px; |
| 515 | -moz-box-align: center; |
| 516 | background-color: #000000; |
| 517 | font-size: 120%; |
| 518 | } |
| 519 | |
| 520 | #search-filter-label { |
| 521 | font-weight: bold; |
| 522 | color: #FFCF00; |
| 523 | } |
| 524 | |
| 525 | .search-filter-radio { |
| 526 | padding: 0px 6px; |
| 527 | margin: 0px 3px; |
| 528 | border-radius: 10000px; |
| 529 | } |
| 530 | |
| 531 | .search-filter-radio[selected] { |
| 532 | background-color: #008484; |
| 533 | color: #000000; |
| 534 | } |
| 535 | |
| 536 | .search-filter-radio .radio-check-box1 { |
| 537 | display: none; |
| 538 | } |
| 539 | |
| 540 | .search-filter-radio .radio-icon { |
| 541 | display: none; |
| 542 | } |
| 543 | |
| 544 | #search-allresults-link { |
| 545 | margin-top: 1em; |
| 546 | margin-bottom: 2em; |
| 547 | } |
| 548 | |
| 549 | /*** detail view ***/ |
| 550 | |
| 551 | #detail-view[active="false"] .fade { |
| 552 | opacity: 0.5; |
| 553 | } |
| 554 | |
| 555 | #detail-view .loading { |
| 556 | opacity: 0; |
| 557 | } |
| 558 | |
| 559 | #detail-view:not([loading]) .loading { |
| 560 | visibility: collapse; |
| 561 | } |
| 562 | |
| 563 | #detail-view[loading-extended] .loading { |
| 564 | -moz-box-align: center; |
| 565 | -moz-box-pack: center; |
| 566 | opacity: 1; |
| 567 | -moz-transition-property: opacity; |
| 568 | -moz-transition-duration: 1s; |
| 569 | } |
| 570 | |
| 571 | #detail-view .loading > image { |
| 572 | list-style-image: url("chrome://global/skin/icons/loading.gif"); |
| 573 | } |
| 574 | |
| 575 | .detail-view-container { |
| 576 | overflow: auto; |
| 577 | padding: 2em; |
| 578 | font-size: 110%; |
| 579 | } |
| 580 | |
| 581 | #detail-notifications { |
| 582 | margin-bottom: 2em; |
| 583 | } |
| 584 | |
| 585 | #detail-notifications .warning, |
| 586 | #detail-notifications .pending, |
| 587 | #detail-notifications .error, |
| 588 | #detail-notifications .info { |
| 589 | -moz-margin-start: 0; |
| 590 | } |
| 591 | |
| 592 | #detail-icon { |
| 593 | -moz-margin-end: 10px; |
| 594 | } |
| 595 | |
| 596 | #detail-summary { |
| 597 | margin-bottom: 2em; |
| 598 | } |
| 599 | |
| 600 | #detail-name-container { |
| 601 | font-size: 200%; |
| 602 | } |
| 603 | |
| 604 | #detail-screenshot { |
| 605 | -moz-margin-end: 2em; |
| 606 | } |
| 607 | |
| 608 | #detail-desc-container { |
| 609 | margin-bottom: 2em; |
| 610 | /* This is necessary to fix layout issues with multi-line descriptions, see |
| 611 | bug 592712*/ |
| 612 | outline: solid transparent; |
| 613 | } |
| 614 | |
| 615 | #detail-desc { |
| 616 | -moz-margin-start: 6px; |
| 617 | white-space: pre-wrap; |
| 618 | } |
| 619 | |
| 620 | #detail-contributions { |
| 621 | border-radius: 5px; |
| 622 | border: 1px solid #9C9CFF; |
| 623 | margin-bottom: 2em; |
| 624 | padding: 1em; |
| 625 | background: #FFCF00; |
| 626 | } |
| 627 | |
| 628 | #detail-contrib-description { |
| 629 | font-style: italic; |
| 630 | margin-bottom: 1em; |
| 631 | } |
| 632 | |
| 633 | #detail-contrib-suggested { |
| 634 | color: grey; |
| 635 | } |
| 636 | |
| 637 | #detail-contrib-button { |
| 638 | list-style-image: url("chrome://mozapps/skin/extensions/heart.png"); |
| 639 | } |
| 640 | |
| 641 | #detail-contrib-button .button-icon { |
| 642 | -moz-margin-end: 3px; |
| 643 | } |
| 644 | |
| 645 | #detail-grid { |
| 646 | margin-bottom: 2em; |
| 647 | } |
| 648 | |
| 649 | .detail-row, |
| 650 | .detail-row-complex { |
| 651 | border-bottom: 1px solid #9C9CFF; |
| 652 | -moz-box-align: center; |
| 653 | } |
| 654 | |
| 655 | .detail-row-value { |
| 656 | -moz-margin-start: 0; |
| 657 | } |
| 658 | |
| 659 | |
| 660 | /*** creator ***/ |
| 661 | |
| 662 | .creator > label { |
| 663 | -moz-margin-start: 0px; |
| 664 | -moz-margin-end: 0px; |
| 665 | } |
| 666 | |
| 667 | .creator > .text-link { |
| 668 | margin-top: 1px; |
| 669 | margin-bottom: 1px; |
| 670 | } |
| 671 | |
| 672 | |
| 673 | /*** rating ***/ |
| 674 | |
| 675 | .meta-rating { |
| 676 | -moz-margin-start: 0px; |
| 677 | -moz-margin-end: 0px; |
| 678 | vertical-align: text-top; |
| 679 | } |
| 680 | |
| 681 | .meta-rating[showrating="average"] > .star { |
| 682 | list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png"); |
| 683 | padding: 0px 1px; |
| 684 | } |
| 685 | |
| 686 | .meta-rating[showrating="user"] > .star { |
| 687 | list-style-image: url("chrome://mozapps/skin/extensions/rating-unrated.png"); |
| 688 | padding: 2px 3px; |
| 689 | } |
| 690 | |
| 691 | .meta-rating > .star[on="true"], |
| 692 | .meta-rating[showrating="user"] > .star[hover] { |
| 693 | list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png"); |
| 694 | padding: 0px 1px; |
| 695 | } |
| 696 | |
| 697 | |
| 698 | /*** download progress ***/ |
| 699 | |
| 700 | .download-progress { |
| 701 | background-color: #000000; |
| 702 | border-radius: 10000px; |
| 703 | border: 1px solid #FF9F00; |
| 704 | width: 200px; |
| 705 | height: 24px; |
| 706 | margin: 0px 8px; |
| 707 | } |
| 708 | |
| 709 | .download-progress .start-cap, |
| 710 | .download-progress[complete] .end-cap, |
| 711 | .download-progress .progress .progress-bar { |
| 712 | background-color: #008484; |
| 713 | } |
| 714 | |
| 715 | .download-progress .progress { |
| 716 | background-color: transparent; |
| 717 | } |
| 718 | |
| 719 | .download-progress .start-cap, .download-progress .end-cap { |
| 720 | width: 12px; |
| 721 | } |
| 722 | |
| 723 | .download-progress .start-cap:-moz-locale-dir(ltr), |
| 724 | .download-progress .end-cap:-moz-locale-dir(rtl) { |
| 725 | border-radius: 10000px 0 0 10000px; |
| 726 | } |
| 727 | |
| 728 | .download-progress .end-cap:-moz-locale-dir(ltr), |
| 729 | .download-progress .start-cap:-moz-locale-dir(rtl) { |
| 730 | border-radius: 0 10000px 10000px 0; |
| 731 | } |
| 732 | |
| 733 | .download-progress .progress { |
| 734 | -moz-appearance: none; |
| 735 | padding: 0px; |
| 736 | margin: 0px; |
| 737 | border: none; |
| 738 | } |
| 739 | |
| 740 | .download-progress .pause, .download-progress .cancel { |
| 741 | -moz-appearance: none; |
| 742 | background-color: #8050B0; |
| 743 | border-width: 1px 0px 0px 1px; |
| 744 | padding-right: 1px; |
| 745 | border-style: solid; |
| 746 | border-radius: 10000px; |
| 747 | min-width: 16px; |
| 748 | width: 16px; |
| 749 | height: 16px; |
| 750 | margin: 3px; |
| 751 | } |
| 752 | |
| 753 | .download-progress .pause { |
| 754 | list-style-image: url('chrome://mozapps/skin/extensions/pause.png'); |
| 755 | } |
| 756 | |
| 757 | .download-progress .cancel { |
| 758 | list-style-image: url('chrome://mozapps/skin/extensions/cancel.png'); |
| 759 | } |
| 760 | |
| 761 | .download-progress .status-container { |
| 762 | -moz-box-align: center; |
| 763 | } |
| 764 | |
| 765 | |
| 766 | /*** install status ***/ |
| 767 | |
| 768 | .install-status { |
| 769 | -moz-box-align: center; |
| 770 | } |
| 771 | |
| 772 | |
| 773 | /*** check for updates ***/ |
| 774 | |
| 775 | #updates-container { |
| 776 | -moz-box-align: center; |
| 777 | } |
| 778 | |
| 779 | #updates-installed, #updates-downloaded { |
| 780 | color: #008484; |
| 781 | font-weight: bold; |
| 782 | } |
| 783 | |
| 784 | #update-selected { |
| 785 | margin: 12px; |
| 786 | } |
| 787 | |
| 788 | /*** buttons ***/ |
| 789 | |
| 790 | .addon-control[disabled="true"] { |
| 791 | display: none; |
| 792 | } |
| 793 | |
| 794 | .button-link { |
| 795 | background: transparent; |
| 796 | border: none; |
| 797 | text-decoration: underline; |
| 798 | color: blue; |
| 799 | cursor: pointer; |
| 800 | min-width: 0; |
| 801 | margin: 0 6px; |
| 802 | } |