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