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