| 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 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 39 | |
| 40 | #addons-page { |
| 41 | background-color: #CCD0DD; |
| 42 | color: #000000; |
| 43 | margin: 20px; |
| 44 | } |
| 45 | |
| 46 | #view-port-container { |
| 47 | /* Needed to allow the radius to clip the inner content, see bug 595656 */ |
| 48 | /* Disabled because of bug 623615 |
| 49 | overflow: hidden; |
| 50 | */ |
| 51 | background-color: #FFFFFF; |
| 52 | border: 1px solid #666699; |
| 53 | } |
| 54 | |
| 55 | .nav-button { |
| 56 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); |
| 57 | } |
| 58 | |
| 59 | #forward-btn { |
| 60 | -moz-border-start: none; |
| 61 | } |
| 62 | |
| 63 | #back-btn:-moz-locale-dir(ltr), |
| 64 | #forward-btn:-moz-locale-dir(rtl) { |
| 65 | -moz-image-region: rect(42px 25px 63px 0px); |
| 66 | } |
| 67 | |
| 68 | #back-btn[disabled="true"]:-moz-locale-dir(ltr), |
| 69 | #forward-btn[disabled="true"]:-moz-locale-dir(rtl) { |
| 70 | -moz-image-region: rect(42px 50px 63px 25px); |
| 71 | } |
| 72 | |
| 73 | #back-btn:-moz-locale-dir(rtl), |
| 74 | #forward-btn:-moz-locale-dir(ltr) { |
| 75 | -moz-image-region: rect(63px 25px 84px 0px); |
| 76 | } |
| 77 | |
| 78 | #back-btn[disabled="true"]:-moz-locale-dir(rtl), |
| 79 | #forward-btn[disabled="true"]:-moz-locale-dir(ltr) { |
| 80 | -moz-image-region: rect(63px 50px 84px 25px); |
| 81 | } |
| 82 | |
| 83 | |
| 84 | /*** global warnings ***/ |
| 85 | |
| 86 | .global-warning-container { |
| 87 | overflow-x: hidden; |
| 88 | } |
| 89 | |
| 90 | .global-warning { |
| 91 | -moz-box-align: center; |
| 92 | padding: 0 8px; |
| 93 | color: #000000; |
| 94 | font-weight: bold; |
| 95 | } |
| 96 | |
| 97 | #addons-page[warning] .global-warning-container { |
| 98 | background-color: #FFFFCC; |
| 99 | } |
| 100 | |
| 101 | #detail-view .global-warning { |
| 102 | padding: 4px 12px; |
| 103 | border-bottom: 1px solid #9999CC; |
| 104 | } |
| 105 | |
| 106 | @media all and (max-width: 600px) { |
| 107 | .global-warning-text { |
| 108 | display: none; |
| 109 | } |
| 110 | |
| 111 | .global-warning .warning-icon { |
| 112 | /* background-color: #FFF; |
| 113 | box-shadow: 0px 0px 2px 5px #FFF; |
| 114 | border-radius: 10px; */ |
| 115 | } |
| 116 | } |
| 117 | |
| 118 | /* Plugins aren't yet disabled by safemode (bug 342333), |
| 119 | so don't show that warning when viewing plugins. */ |
| 120 | #addons-page[warning="safemode"] .view-pane[type="plugin"] .global-warning-container, |
| 121 | #addons-page[warning="safemode"] #detail-view[loading="true"] .global-warning-container { |
| 122 | background-color: inherit; |
| 123 | background-image: none; |
| 124 | } |
| 125 | |
| 126 | |
| 127 | /*** notification icons ***/ |
| 128 | |
| 129 | .warning-icon { |
| 130 | list-style-image: url("chrome://global/skin/icons/warning-16.png"); |
| 131 | width: 16px; |
| 132 | height: 16px; |
| 133 | margin: 3px 0; |
| 134 | } |
| 135 | |
| 136 | .error-icon { |
| 137 | list-style-image: url("chrome://global/skin/icons/error-16.png"); |
| 138 | width: 16px; |
| 139 | height: 16px; |
| 140 | margin: 3px 0; |
| 141 | } |
| 142 | |
| 143 | .pending-icon, |
| 144 | .info-icon { |
| 145 | list-style-image: url("chrome://global/skin/icons/information-16.png"); |
| 146 | width: 16px; |
| 147 | height: 16px; |
| 148 | margin: 3px 0; |
| 149 | } |
| 150 | |
| 151 | .addon-view[pending="disable"] .pending-icon, |
| 152 | .addon-view[pending="uninstall"] .pending-icon { |
| 153 | list-style-image: url("chrome://global/skin/icons/warning-16.png"); |
| 154 | width: 16px; |
| 155 | height: 15px; |
| 156 | margin: 3px 0; |
| 157 | } |
| 158 | |
| 159 | |
| 160 | /*** view alert boxes ***/ |
| 161 | |
| 162 | .alert-container { |
| 163 | -moz-box-align: center; |
| 164 | } |
| 165 | |
| 166 | .alert-spacer-before { |
| 167 | -moz-box-flex: 1; |
| 168 | } |
| 169 | |
| 170 | .alert-spacer-after { |
| 171 | -moz-box-flex: 3; |
| 172 | } |
| 173 | |
| 174 | .alert { |
| 175 | -moz-box-align: center; |
| 176 | padding: 10px; |
| 177 | color: #000000; |
| 178 | border: 1px inset #CCD0DD; |
| 179 | border-radius: 8px; |
| 180 | background-color: #CCD0DD; |
| 181 | background-clip: padding-box; |
| 182 | } |
| 183 | |
| 184 | .alert .alert-title { |
| 185 | font-weight: bold; |
| 186 | font-size: 200%; |
| 187 | margin-bottom: 15px; |
| 188 | } |
| 189 | |
| 190 | .alert .addon-control { |
| 191 | margin: 1em 2em; |
| 192 | } |
| 193 | |
| 194 | .loading { |
| 195 | list-style-image: url("chrome://global/skin/icons/loading.gif"); |
| 196 | padding-left: 20px; |
| 197 | padding-right: 20px; |
| 198 | } |
| 199 | |
| 200 | |
| 201 | /*** category selector ***/ |
| 202 | |
| 203 | #categories { |
| 204 | -moz-appearance: none; |
| 205 | border: none; |
| 206 | -moz-margin-end: -1px; |
| 207 | background-color: transparent; |
| 208 | position: relative; |
| 209 | margin-top: 31px; |
| 210 | } |
| 211 | |
| 212 | .category { |
| 213 | background-color: transparent; |
| 214 | color: #404040; |
| 215 | min-height: 0; |
| 216 | padding: 10px 4px; |
| 217 | border-width: 1px; |
| 218 | border-style: solid; |
| 219 | border-color: transparent; |
| 220 | -moz-box-align: center; |
| 221 | overflow: hidden; |
| 222 | } |
| 223 | |
| 224 | .category[disabled] { |
| 225 | border-top: 0; |
| 226 | border-bottom: 0; |
| 227 | height: 0; |
| 228 | opacity: 0; |
| 229 | -moz-transition-property: height, opacity; |
| 230 | -moz-transition-duration: 1s, 0.8s; |
| 231 | } |
| 232 | |
| 233 | .category:not([disabled]) { |
| 234 | height: 52px; |
| 235 | -moz-transition-property: height, opacity; |
| 236 | -moz-transition-duration: 1s, 0.8s; |
| 237 | } |
| 238 | |
| 239 | .category[selected] { |
| 240 | background-color: #FFFFFF; |
| 241 | color: #000000; |
| 242 | border-color: #666699; |
| 243 | } |
| 244 | |
| 245 | .category-name { |
| 246 | font-size: 150%; |
| 247 | } |
| 248 | |
| 249 | /* Maximize the size of the viewport when the window is small */ |
| 250 | @media all and (max-width: 800px) { |
| 251 | .category-name { |
| 252 | display: none; |
| 253 | } |
| 254 | } |
| 255 | |
| 256 | .category-badge { |
| 257 | background-color: #666699; |
| 258 | padding: 2px 8px; |
| 259 | margin: 6px 0; |
| 260 | border: 1px outset #666699; |
| 261 | color: #FFFFFF; |
| 262 | font-weight: bold; |
| 263 | text-align: center; |
| 264 | } |
| 265 | |
| 266 | .category-badge[value="0"] { |
| 267 | visibility: hidden; |
| 268 | } |
| 269 | |
| 270 | .category-icon { |
| 271 | width: 32px; |
| 272 | height: 32px; |
| 273 | -moz-margin-start: 6px; |
| 274 | } |
| 275 | |
| 276 | #category-search > .category-icon { |
| 277 | list-style-image: url("chrome://mozapps/skin/extensions/category-search.png"); |
| 278 | } |
| 279 | #category-discover > .category-icon { |
| 280 | list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png"); |
| 281 | } |
| 282 | #category-languages > .category-icon { |
| 283 | list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png"); |
| 284 | } |
| 285 | #category-searchengines > .category-icon { |
| 286 | list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png"); |
| 287 | } |
| 288 | #category-extensions > .category-icon { |
| 289 | list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png"); |
| 290 | } |
| 291 | #category-themes > .category-icon { |
| 292 | list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png"); |
| 293 | } |
| 294 | #category-plugins > .category-icon { |
| 295 | list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png"); |
| 296 | } |
| 297 | #category-availableUpdates > .category-icon { |
| 298 | list-style-image: url("chrome://mozapps/skin/extensions/category-available.png"); |
| 299 | } |
| 300 | #category-recentUpdates > .category-icon { |
| 301 | list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png"); |
| 302 | } |
| 303 | |
| 304 | |
| 305 | /*** header ***/ |
| 306 | |
| 307 | #header { |
| 308 | margin-bottom: 18px; |
| 309 | height: 2em; |
| 310 | } |
| 311 | |
| 312 | #header-search { |
| 313 | color: #000000; |
| 314 | border: 1px inset #CCD0DD; |
| 315 | padding: 3px; |
| 316 | background-color: #CCD0DD; |
| 317 | margin: 0; |
| 318 | } |
| 319 | |
| 320 | #header-search .textbox-input:-moz-placeholder { |
| 321 | color: #808080; |
| 322 | } |
| 323 | |
| 324 | #header-search[focused] { |
| 325 | background-color: #FFFFFF; |
| 326 | } |
| 327 | |
| 328 | #header-utils-btn { |
| 329 | list-style-image: url("chrome://mozapps/skin/extensions/utilities.png"); |
| 330 | -moz-margin-end: 16px; |
| 331 | } |
| 332 | |
| 333 | .view-header { |
| 334 | background-color: #9999CC; |
| 335 | padding: 4px; |
| 336 | margin: 0; |
| 337 | min-height: 31px; |
| 338 | border-bottom: 1px solid #666699; |
| 339 | } |
| 340 | |
| 341 | |
| 342 | /*** sorters ***/ |
| 343 | |
| 344 | .sort-controls { |
| 345 | -moz-appearance: none; |
| 346 | } |
| 347 | |
| 348 | .sorter { |
| 349 | -moz-appearance: none; |
| 350 | border: 1px solid transparent; |
| 351 | background-color: transparent; |
| 352 | color: #000000; |
| 353 | padding: 0 5px; |
| 354 | margin: 0 6px; |
| 355 | min-width: 12px !important; |
| 356 | -moz-box-direction: reverse; |
| 357 | } |
| 358 | |
| 359 | .sorter .button-box { |
| 360 | padding-top: 0; |
| 361 | padding-bottom: 0; |
| 362 | } |
| 363 | |
| 364 | .sorter:hover { |
| 365 | border: 1px outset #666699; |
| 366 | } |
| 367 | |
| 368 | .sorter[checkState="1"], |
| 369 | .sorter[checkState="2"] { |
| 370 | background-color: #666699; |
| 371 | color: #FFFFFF; |
| 372 | border: 1px inset #666699; |
| 373 | } |
| 374 | |
| 375 | .sorter[checkState="1"] { |
| 376 | list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); |
| 377 | } |
| 378 | |
| 379 | .sorter[checkState="2"] { |
| 380 | list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); |
| 381 | } |
| 382 | |
| 383 | .sorter .button-icon { |
| 384 | -moz-margin-start: 4px; |
| 385 | } |
| 386 | |
| 387 | |
| 388 | /*** discover view ***/ |
| 389 | |
| 390 | .discover-spacer-before, |
| 391 | .discover-spacer-after { |
| 392 | -moz-box-flex: 1; |
| 393 | } |
| 394 | |
| 395 | #discover-error .alert { |
| 396 | max-width: 45em; |
| 397 | -moz-box-flex: 1; |
| 398 | } |
| 399 | |
| 400 | .discover-logo { |
| 401 | list-style-image: url("chrome://mozapps/skin/extensions/discover-logo.png"); |
| 402 | -moz-margin-end: 15px; |
| 403 | } |
| 404 | |
| 405 | .discover-title { |
| 406 | font-weight: bold; |
| 407 | font-size: 24px; |
| 408 | /* font-family: MetaWebPro-Book, "Trebuchet MS", sans-serif; */ |
| 409 | margin: 0 0 15px 0; |
| 410 | } |
| 411 | |
| 412 | .discover-description { |
| 413 | text-align: justify; |
| 414 | margin: 0 0 15px 0; |
| 415 | } |
| 416 | |
| 417 | .discover-footer { |
| 418 | text-align: justify; |
| 419 | } |
| 420 | |
| 421 | |
| 422 | /*** list ***/ |
| 423 | |
| 424 | .list { |
| 425 | margin: 0; |
| 426 | border: none; |
| 427 | background-color: transparent; |
| 428 | } |
| 429 | |
| 430 | .addon { |
| 431 | border-bottom: 1px solid #9999CC; |
| 432 | padding: 5px; |
| 433 | background-origin: border-box; |
| 434 | } |
| 435 | |
| 436 | .details { |
| 437 | cursor: pointer; |
| 438 | margin: 0; |
| 439 | -moz-margin-start: 10px; |
| 440 | } |
| 441 | |
| 442 | .icon-container { |
| 443 | width: 48px; |
| 444 | height: 48px; |
| 445 | margin: 3px 7px; |
| 446 | -moz-box-align: center; |
| 447 | -moz-box-pack: center; |
| 448 | } |
| 449 | |
| 450 | .icon { |
| 451 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); |
| 452 | max-width: 48px; |
| 453 | max-height: 48px; |
| 454 | } |
| 455 | |
| 456 | .addon[active="false"] .icon { |
| 457 | /* filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); */ |
| 458 | } |
| 459 | |
| 460 | .addon-view[type="theme"] .icon { |
| 461 | list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png"); |
| 462 | } |
| 463 | |
| 464 | .addon-view[type="locale"] .icon { |
| 465 | list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png"); |
| 466 | } |
| 467 | |
| 468 | .addon-view[type="plugin"] .icon { |
| 469 | list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); |
| 470 | } |
| 471 | |
| 472 | .name-container { |
| 473 | font-size: 150%; |
| 474 | font-weight: bold; |
| 475 | color: #404040; |
| 476 | margin-bottom: 0; |
| 477 | -moz-box-align: end; |
| 478 | -moz-box-flex: 1; |
| 479 | } |
| 480 | |
| 481 | .creator { |
| 482 | font-weight: bold; |
| 483 | } |
| 484 | |
| 485 | .creator .text-link { |
| 486 | /* color: #0066CC; */ |
| 487 | } |
| 488 | |
| 489 | .description-container { |
| 490 | -moz-margin-start: 6px; |
| 491 | -moz-box-align: center; |
| 492 | } |
| 493 | |
| 494 | .description { |
| 495 | margin: 0; |
| 496 | } |
| 497 | |
| 498 | .warning, |
| 499 | .pending, |
| 500 | .error, |
| 501 | .info { |
| 502 | -moz-margin-start: 48px; |
| 503 | font-weight: bold; |
| 504 | -moz-box-align: center; |
| 505 | } |
| 506 | |
| 507 | .content-container, |
| 508 | .basicinfo-container { |
| 509 | -moz-box-align: start; |
| 510 | } |
| 511 | |
| 512 | .addon[status="installing"] > .content-container { |
| 513 | -moz-box-align: stretch; |
| 514 | } |
| 515 | |
| 516 | .advancedinfo-container, |
| 517 | .update-info-container { |
| 518 | -moz-box-align: center; |
| 519 | } |
| 520 | |
| 521 | .update-available { |
| 522 | -moz-box-align: end; |
| 523 | } |
| 524 | |
| 525 | .install-status-container { |
| 526 | -moz-box-pack: end; |
| 527 | -moz-box-align: end; |
| 528 | } |
| 529 | |
| 530 | .name-outer-container { |
| 531 | -moz-box-pack: center; |
| 532 | } |
| 533 | |
| 534 | .relnotes-toggle-container, |
| 535 | .icon-outer-container { |
| 536 | -moz-box-pack: start; |
| 537 | } |
| 538 | |
| 539 | .status-container, |
| 540 | .control-container { |
| 541 | -moz-box-pack: end; |
| 542 | } |
| 543 | |
| 544 | .addon-view .warning { |
| 545 | color: #808000; |
| 546 | } |
| 547 | |
| 548 | .addon-view .error { |
| 549 | color: #FF0000; |
| 550 | } |
| 551 | |
| 552 | .addon-view .pending { |
| 553 | color: #33FF33; |
| 554 | } |
| 555 | |
| 556 | .addon-view[pending="disable"] .pending, |
| 557 | .addon-view[pending="uninstall"] .pending { |
| 558 | color: #000000; |
| 559 | } |
| 560 | |
| 561 | .addon .relnotes-container { |
| 562 | -moz-box-align: start; |
| 563 | -moz-margin-start: 6px; |
| 564 | height: 0; |
| 565 | overflow: hidden; |
| 566 | opacity: 0; |
| 567 | -moz-transition-property: height, opacity; |
| 568 | -moz-transition-duration: 0.5s, 0.5s; |
| 569 | } |
| 570 | |
| 571 | .addon[show-relnotes] .relnotes-container { |
| 572 | opacity: 1; |
| 573 | -moz-transition-property: height, opacity; |
| 574 | -moz-transition-duration: 0.5s, 0.5s; |
| 575 | } |
| 576 | |
| 577 | .addon .relnotes-header { |
| 578 | font-weight: bold; |
| 579 | margin: 10px 0; |
| 580 | } |
| 581 | |
| 582 | .addon .relnotes-toggle { |
| 583 | border: none; |
| 584 | background: transparent; |
| 585 | font-weight: bold; |
| 586 | -moz-box-direction: reverse; |
| 587 | cursor: pointer; |
| 588 | list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); |
| 589 | } |
| 590 | |
| 591 | .addon .relnotes-toggle > .button-box > .button-icon { |
| 592 | -moz-padding-start: 4px; |
| 593 | } |
| 594 | |
| 595 | .addon[show-relnotes] .relnotes-toggle { |
| 596 | list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); |
| 597 | } |
| 598 | |
| 599 | .addon[active="false"] { |
| 600 | /* background-color: rgba(135, 135, 135, 0.1); */ |
| 601 | } |
| 602 | |
| 603 | .addon-view[active="false"], |
| 604 | .addon-view[active="false"] .name-container { |
| 605 | color: #666699; |
| 606 | } |
| 607 | |
| 608 | .addon-view[notification="warning"] { |
| 609 | background-color: #FFFFCC; |
| 610 | } |
| 611 | |
| 612 | .addon-view[notification="error"] { |
| 613 | background-color: #FFD0DD; |
| 614 | } |
| 615 | |
| 616 | .addon-view[notification="info"] { |
| 617 | background-color: #9999CC; |
| 618 | } |
| 619 | |
| 620 | .addon-view[pending="enable"], |
| 621 | .addon-view[pending="upgrade"], |
| 622 | .addon-view[pending="install"] { |
| 623 | background-color: #CCFFDD; |
| 624 | } |
| 625 | |
| 626 | .addon-view[pending="enable"] .pending, |
| 627 | .addon-view[pending="upgrade"] .pending, |
| 628 | .addon-view[pending="install"] .pending { |
| 629 | color: #008000; |
| 630 | } |
| 631 | |
| 632 | .addon-view[pending="disable"], |
| 633 | .addon-view[pending="uninstall"] { |
| 634 | background-color: #808080; |
| 635 | } |
| 636 | |
| 637 | .addon[selected] { |
| 638 | background-color: #336699; |
| 639 | color: #FFFFFF; |
| 640 | } |
| 641 | |
| 642 | .addon[selected] .name-container { |
| 643 | color: #FFFFFF; |
| 644 | } |
| 645 | |
| 646 | .addon[active="false"][selected] { |
| 647 | color: #000000; |
| 648 | } |
| 649 | |
| 650 | .addon[active="false"][selected] .name-container { |
| 651 | color: #222233; |
| 652 | } |
| 653 | |
| 654 | |
| 655 | /*** item - uninstalled ***/ |
| 656 | |
| 657 | .addon[status="uninstalled"] { |
| 658 | border: none; |
| 659 | } |
| 660 | |
| 661 | .addon[status="uninstalled"] > .container { |
| 662 | -moz-box-align: center; |
| 663 | padding: 4px 20px; |
| 664 | background-color: #808080; |
| 665 | border-radius: 8px; |
| 666 | font-size: 120%; |
| 667 | } |
| 668 | |
| 669 | .addon[status="uninstalled"][selected] { |
| 670 | background-color: transparent; |
| 671 | } |
| 672 | |
| 673 | |
| 674 | /*** search view ***/ |
| 675 | |
| 676 | #search-filter { |
| 677 | padding: 5px 20px; |
| 678 | -moz-box-align: center; |
| 679 | background-color: #FFFFFF; |
| 680 | font-size: 120%; |
| 681 | border-bottom: 1px solid #666699; |
| 682 | overflow-x: hidden; |
| 683 | } |
| 684 | |
| 685 | #search-filter-label { |
| 686 | font-weight: bold; |
| 687 | color: #808080; |
| 688 | } |
| 689 | |
| 690 | .search-filter-radio { |
| 691 | -moz-appearance: none; |
| 692 | padding: 0 6px; |
| 693 | margin: 0 3px; |
| 694 | border-radius: 10000px; |
| 695 | } |
| 696 | |
| 697 | .search-filter-radio[selected] { |
| 698 | background-color: #3366699; |
| 699 | color: #000000; |
| 700 | } |
| 701 | |
| 702 | .search-filter-radio .radio-check-box1 { |
| 703 | display: none; |
| 704 | } |
| 705 | |
| 706 | .search-filter-radio .radio-icon { |
| 707 | display: none; |
| 708 | } |
| 709 | |
| 710 | #search-allresults-link { |
| 711 | margin-top: 1em; |
| 712 | margin-bottom: 2em; |
| 713 | } |
| 714 | |
| 715 | /*** detail view ***/ |
| 716 | |
| 717 | #detail-view .loading { |
| 718 | opacity: 0; |
| 719 | } |
| 720 | |
| 721 | #detail-view[loading-extended] .loading { |
| 722 | opacity: 1; |
| 723 | -moz-transition-property: opacity; |
| 724 | -moz-transition-duration: 1s; |
| 725 | } |
| 726 | |
| 727 | .detail-view-container { |
| 728 | padding: 0 2em 2em 2em; |
| 729 | font-size: 110%; |
| 730 | } |
| 731 | |
| 732 | #detail-notifications { |
| 733 | margin-top: 1em; |
| 734 | margin-bottom: 2em; |
| 735 | } |
| 736 | |
| 737 | #detail-notifications .warning, |
| 738 | #detail-notifications .pending, |
| 739 | #detail-notifications .error { |
| 740 | -moz-margin-start: 0; |
| 741 | } |
| 742 | |
| 743 | #detail-icon { |
| 744 | -moz-margin-end: 10px; |
| 745 | margin-top: 6px; |
| 746 | max-width: 64px; |
| 747 | max-height: 64px; |
| 748 | } |
| 749 | |
| 750 | #detail-summary { |
| 751 | margin-bottom: 2em; |
| 752 | } |
| 753 | |
| 754 | #detail-name-container { |
| 755 | font-size: 200%; |
| 756 | } |
| 757 | |
| 758 | #detail-screenshot { |
| 759 | -moz-margin-end: 2em; |
| 760 | max-width: 300px; |
| 761 | max-height: 300px; |
| 762 | } |
| 763 | |
| 764 | #detail-desc-container { |
| 765 | margin-bottom: 2em; |
| 766 | } |
| 767 | |
| 768 | #detail-desc, #detail-fulldesc { |
| 769 | -moz-margin-start: 6px; |
| 770 | white-space: pre-wrap; |
| 771 | /* This is necessary to fix layout issues with multi-line descriptions, see |
| 772 | bug 592712*/ |
| 773 | outline: solid transparent; |
| 774 | min-width: 8em; |
| 775 | } |
| 776 | |
| 777 | #detail-fulldesc { |
| 778 | margin-top: 1em; |
| 779 | } |
| 780 | |
| 781 | #detail-contributions { |
| 782 | border-radius: 5px; |
| 783 | border: 1px solid #666699; |
| 784 | margin-bottom: 2em; |
| 785 | padding: 1em; |
| 786 | background-color: #FFFFCC; |
| 787 | } |
| 788 | |
| 789 | #detail-contrib-description { |
| 790 | font-style: italic; |
| 791 | margin-bottom: 1em; |
| 792 | color: #000000; |
| 793 | } |
| 794 | |
| 795 | #detail-contrib-suggested { |
| 796 | color: #808080; |
| 797 | font-weight: bold; |
| 798 | } |
| 799 | |
| 800 | #detail-contrib-btn { |
| 801 | list-style-image: url("chrome://mozapps/skin/extensions/heart.png"); |
| 802 | } |
| 803 | |
| 804 | #detail-contrib-btn .button-icon { |
| 805 | -moz-margin-end: 3px; |
| 806 | } |
| 807 | |
| 808 | #detail-grid { |
| 809 | margin-bottom: 2em; |
| 810 | } |
| 811 | |
| 812 | .detail-row[first-row="true"], |
| 813 | .detail-row-complex[first-row="true"] { |
| 814 | border-top: none; |
| 815 | } |
| 816 | |
| 817 | .detail-row, |
| 818 | .detail-row-complex { |
| 819 | border-top: 1px solid #808080; |
| 820 | -moz-box-align: center; |
| 821 | } |
| 822 | |
| 823 | .detail-row-value { |
| 824 | -moz-margin-start: 0; |
| 825 | } |
| 826 | |
| 827 | #detail-controls { |
| 828 | margin-bottom: 1em; |
| 829 | } |
| 830 | |
| 831 | #detail-view[active="false"]:not([pending]):not([notification]) { |
| 832 | /* background-color: foo; */ |
| 833 | } |
| 834 | |
| 835 | /*** creator ***/ |
| 836 | |
| 837 | .creator > label { |
| 838 | -moz-margin-start: 0; |
| 839 | -moz-margin-end: 0; |
| 840 | } |
| 841 | |
| 842 | .creator > .text-link { |
| 843 | margin-top: 1px; |
| 844 | margin-bottom: 1px; |
| 845 | } |
| 846 | |
| 847 | |
| 848 | /*** rating ***/ |
| 849 | |
| 850 | .meta-rating { |
| 851 | -moz-margin-start: 0; |
| 852 | -moz-margin-end: 0; |
| 853 | padding-top: 2px; |
| 854 | } |
| 855 | |
| 856 | .meta-rating > .star { |
| 857 | list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png"); |
| 858 | padding: 0 1px; |
| 859 | } |
| 860 | |
| 861 | .meta-rating > .star[on="true"] { |
| 862 | list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png"); |
| 863 | } |
| 864 | |
| 865 | |
| 866 | /*** download progress ***/ |
| 867 | |
| 868 | .download-progress { |
| 869 | background-color: #CCD0DD; |
| 870 | border: 1px solid #808080; |
| 871 | width: 200px; |
| 872 | height: 21px; |
| 873 | margin: 0 8px; |
| 874 | } |
| 875 | |
| 876 | .download-progress[mode="undetermined"] .status-container { |
| 877 | padding: 0 2px; |
| 878 | } |
| 879 | |
| 880 | .download-progress .start-cap, |
| 881 | .download-progress[complete] .end-cap, |
| 882 | .download-progress[mode="undetermined"] .end-cap, |
| 883 | .download-progress .progress .progress-bar { |
| 884 | background-color: #336699; |
| 885 | } |
| 886 | |
| 887 | .download-progress .progress .progress-bar { |
| 888 | border-left-width: 0; |
| 889 | border-right-width: 0; |
| 890 | min-height: 21px; |
| 891 | } |
| 892 | |
| 893 | .download-progress .progress { |
| 894 | background-color: transparent; |
| 895 | padding: 0; |
| 896 | margin: 0; |
| 897 | border: none; |
| 898 | } |
| 899 | |
| 900 | .download-progress .start-cap, .download-progress .end-cap { |
| 901 | width: 12px; |
| 902 | } |
| 903 | |
| 904 | .download-progress .start-cap:-moz-locale-dir(ltr), |
| 905 | .download-progress .end-cap:-moz-locale-dir(rtl) { |
| 906 | border-radius: 3px 0 0 3px; |
| 907 | } |
| 908 | |
| 909 | .download-progress .end-cap:-moz-locale-dir(ltr), |
| 910 | .download-progress .start-cap:-moz-locale-dir(rtl) { |
| 911 | border-radius: 0 3px 3px 0; |
| 912 | } |
| 913 | |
| 914 | .download-progress .cancel { |
| 915 | -moz-appearance: none; |
| 916 | background-color: #CCD0DD; |
| 917 | border: 1px solid #666699; |
| 918 | padding: 3px; |
| 919 | min-width: 0; |
| 920 | margin: 3px; |
| 921 | } |
| 922 | |
| 923 | .download-progress .cancel .button-box { |
| 924 | padding: 0; |
| 925 | border: none; |
| 926 | } |
| 927 | |
| 928 | .download-progress .cancel .button-text { |
| 929 | display: none; |
| 930 | } |
| 931 | |
| 932 | .download-progress .cancel .button-icon { |
| 933 | -moz-margin-start: 0; |
| 934 | } |
| 935 | |
| 936 | .download-progress .cancel { |
| 937 | list-style-image: url('chrome://mozapps/skin/extensions/cancel.png'); |
| 938 | } |
| 939 | |
| 940 | .download-progress .status-container { |
| 941 | -moz-box-align: center; |
| 942 | } |
| 943 | |
| 944 | .download-progress .status { |
| 945 | /* text-shadow: #FFF 0 0 2px; */ |
| 946 | } |
| 947 | |
| 948 | /*** install status ***/ |
| 949 | |
| 950 | .install-status { |
| 951 | -moz-box-align: center; |
| 952 | } |
| 953 | |
| 954 | |
| 955 | /*** check for updates ***/ |
| 956 | |
| 957 | #updates-container { |
| 958 | -moz-box-align: center; |
| 959 | } |
| 960 | |
| 961 | #updates-container .button-link { |
| 962 | font-weight: bold; |
| 963 | } |
| 964 | |
| 965 | #updates-installed, |
| 966 | #updates-downloaded { |
| 967 | color: #00CC00; |
| 968 | font-weight: bold; |
| 969 | } |
| 970 | |
| 971 | #update-selected { |
| 972 | margin: 12px; |
| 973 | } |
| 974 | |
| 975 | /*** buttons ***/ |
| 976 | |
| 977 | .addon-control[disabled="true"] { |
| 978 | display: none; |
| 979 | } |
| 980 | |
| 981 | .button-link { |
| 982 | background: transparent; |
| 983 | border: none; |
| 984 | text-decoration: underline; |
| 985 | color: #0000FF; |
| 986 | cursor: pointer; |
| 987 | min-width: 0; |
| 988 | margin: 0 6px; |
| 989 | } |