| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 /*! This file is auto-generated */ 2 /** 3 * Manage Themes 4 */ 5 .themes-php { 6 overflow-y: scroll; 7 } 8 9 .themes-php #adminmenuwrap { 10 z-index: 10001; /* above Theme Overlay */ 11 } 12 13 body.js .theme-browser.search-loading { 14 display: none; 15 } 16 17 .theme-browser .themes { 18 clear: both; 19 } 20 21 .themes-php .wrap h1 .button { 22 margin-right: 20px; 23 } 24 25 /* Search form */ 26 .themes-php .search-form { 27 display: inline-flex; 28 align-items: center; 29 position: relative; 30 top: 0; 31 gap: 0.5rem; 32 width: 100%; 33 justify-content: end; 34 } 35 36 .themes-php .wp-filter-search { 37 position: relative; 38 margin: 0; 39 width: 280px; 40 } 41 42 /* Position admin messages */ 43 .theme .notice, 44 .theme .notice.is-dismissible { 45 right: 0; 46 margin: 0; 47 position: absolute; 48 left: 0; 49 top: 0; 50 } 51 52 /** 53 * Main theme element 54 * (has flexible margins) 55 */ 56 .theme-browser .theme { 57 cursor: pointer; 58 float: right; 59 margin: 0 0 4% 4%; 60 position: relative; 61 width: 30.6%; 62 background: #fff; 63 border: 1px solid rgba(0, 0, 0, 0.1); 64 border-radius: 8px; 65 box-sizing: border-box; 66 overflow: hidden; 67 } 68 69 .theme-browser .theme:nth-child(3n) { 70 margin-left: 0; 71 } 72 73 .theme-browser .theme:hover, 74 .theme-browser .theme.focus { 75 cursor: pointer; 76 } 77 78 .theme-browser .theme .theme-name { 79 font-size: 15px; 80 font-weight: 600; 81 height: 18px; 82 margin: 0; 83 padding: 16px 15px; 84 border-top: 1px solid rgba(0, 0, 0, 0.1); 85 overflow: hidden; 86 white-space: nowrap; 87 text-overflow: ellipsis; 88 background: #fff; 89 } 90 91 /* Activate and Customize buttons, shown on hover and focus */ 92 .theme-browser .theme .theme-actions { 93 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; 94 opacity: 0; 95 transition: opacity 0.1s ease-in-out; 96 height: auto; 97 background: rgba(246, 247, 247, 0.7); 98 border-right: 1px solid rgba(0, 0, 0, 0.05); 99 } 100 101 .theme-browser .theme:hover .theme-actions, 102 .theme-browser .theme.focus .theme-actions { 103 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; 104 opacity: 1; 105 } 106 107 .theme-browser .theme .theme-actions .button-primary { 108 margin-left: 3px; 109 } 110 111 /* Use compact size for space-constrained theme cards */ 112 .theme-browser .theme .theme-actions .button.updated-message, 113 .theme-browser .theme .theme-actions .button.updating-message, 114 .theme-browser .theme .theme-actions .button { 115 float: none; 116 margin-right: 3px; 117 } 118 119 .theme-browser .theme .theme-actions .button.updated-message::before, 120 .theme-browser .theme .theme-actions .button.updating-message::before { 121 line-height: 1; 122 vertical-align: text-bottom; 123 position: relative; 124 top: 2px; 125 } 126 127 /* Secondary buttons need white background for visibility on semi-transparent overlay */ 128 .theme-browser .theme .theme-actions .button:not(.button-primary) { 129 background: #fff; 130 } 131 132 .theme-browser .theme .theme-actions .button:not(.button-primary):hover { 133 background: #f0f0f0; 134 } 135 136 .theme-browser .theme .theme-actions .button:not(.button-primary):focus { 137 background: #fff; 138 } 139 140 /** 141 * Theme Screenshot 142 * 143 * Has a fixed aspect ratio of 1.5 to 1 regardless of screenshot size 144 * It is also responsive. 145 */ 146 .theme-browser .theme .theme-screenshot { 147 display: block; 148 overflow: hidden; 149 position: relative; 150 -webkit-backface-visibility: hidden; /* Prevents flicker of the screenshot on hover. */ 151 transition: opacity 0.2s ease-in-out; 152 } 153 154 .theme-browser .theme .theme-screenshot::after { 155 content: ""; 156 display: block; 157 padding-top: 66.66666%; /* using a 3/2 aspect ratio */ 158 } 159 160 .theme-browser .theme .theme-screenshot img { 161 height: auto; 162 position: absolute; 163 right: 0; 164 top: 0; 165 width: 100%; 166 transition: opacity 0.2s ease-in-out; 167 } 168 169 .theme-browser .theme:hover .theme-screenshot, 170 .theme-browser .theme.focus .theme-screenshot { 171 background: #fff; 172 } 173 174 .theme-browser.rendered .theme:hover .theme-screenshot img, 175 .theme-browser.rendered .theme.focus .theme-screenshot img { 176 opacity: 0.4; 177 } 178 179 .theme-browser .theme .more-details { 180 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; 181 opacity: 0; 182 position: absolute; 183 top: 35%; 184 left: 20%; 185 right: 20%; 186 width: 60%; 187 background: #1d2327; 188 background: rgba(0, 0, 0, 0.7); 189 color: #fff; 190 font-size: 15px; 191 text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6); 192 -webkit-font-smoothing: antialiased; 193 font-weight: 600; 194 padding: 15px 12px; 195 text-align: center; 196 border-radius: 3px; 197 border: none; 198 transition: opacity 0.1s ease-in-out; 199 cursor: pointer; 200 } 201 202 .theme-browser .theme .more-details:focus { 203 box-shadow: 0 0 0 var(--wp-admin-border-width-focus, 1.5px) var(--wp-admin-theme-color, #3858e9); 204 } 205 206 .theme-browser .theme.focus { 207 border-color: var(--wp-admin-theme-color); 208 box-shadow: 0 0 0 var(--wp-admin-border-width-focus, 1.5px) var(--wp-admin-theme-color, #3858e9); 209 /* Only visible in Windows High Contrast mode */ 210 outline: 2px solid transparent; 211 } 212 213 .theme-browser .theme.focus .more-details { 214 opacity: 1; 215 } 216 217 /* Current theme needs to have its action always on view */ 218 .theme-browser .theme.active.focus .theme-actions { 219 display: block; 220 } 221 222 .theme-browser.rendered .theme:hover .more-details, 223 .theme-browser.rendered .theme.focus .more-details { 224 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; 225 opacity: 1; 226 } 227 228 /** 229 * The currently active theme 230 */ 231 .theme-browser .theme.active .theme-name { 232 background: #1d2327; 233 color: #fff; 234 padding-left: 115px; 235 font-weight: 300; 236 box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.5); 237 } 238 239 .theme-browser .customize-control .theme.active .theme-name { 240 padding-left: 15px; 241 } 242 243 .theme-browser .theme.active .theme-name span { 244 font-weight: 600; 245 } 246 247 .theme-browser .theme.active .theme-actions { 248 background: transparent; 249 border-right: none; 250 opacity: 1; 251 } 252 253 .theme-browser .theme.active .theme-actions .button-primary { 254 border-color: #fff; 255 margin-left: 0; 256 } 257 258 .theme-id-container { 259 position: relative; 260 } 261 262 .theme-browser .theme.active .theme-actions, 263 .theme-browser .theme .theme-actions { 264 position: absolute; 265 top: 50%; 266 transform: translateY(-50%); 267 left: 0; 268 padding: 9px 12px; 269 } 270 271 .theme-browser .theme:not(.active) .theme-actions { 272 box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1); 273 } 274 275 /* Active theme secondary buttons need white background for visibility on dark overlay */ 276 .theme-browser .theme.active .theme-actions .button:not(.button-primary) { 277 background: #fff; 278 } 279 280 .theme-browser .theme.active .theme-actions .button:not(.button-primary):hover { 281 background: #f0f0f0; 282 } 283 284 .theme-browser .theme.active .theme-actions .button:not(.button-primary):focus { 285 background: #fff; 286 box-shadow: 287 0 0 0 var(--wp-admin-border-width-focus, 1.5px) #fff, 288 inset 0 0 0 1px var(--wp-admin-theme-color, #3858e9); 289 outline: 1px solid transparent; 290 } 291 292 /* Active theme card: uses white outer ring against the colored banner. */ 293 .theme-browser .theme.active .theme-actions .button.disabled:focus { 294 box-shadow: 0 0 0 var(--wp-admin-border-width-focus, 1.5px) #fff, inset 0 0 0 1px var(--wp-admin-theme-color, #3858e9) !important; 295 outline: 1px solid transparent; 296 } 297 298 /* Other theme cards: standard focus ring on the card white background. */ 299 .theme-browser .theme:not(.active) .theme-actions .button.disabled:focus { 300 box-shadow: 0 0 0 var(--wp-admin-border-width-focus, 1.5px) var(--wp-admin-theme-color, #3858e9) !important; 301 outline: 1px solid transparent; 302 } 303 304 .theme-browser .theme .theme-author { 305 background: #1d2327; 306 color: #f0f0f1; 307 display: none; 308 font-size: 14px; 309 margin: 0 10px; 310 padding: 5px 10px; 311 position: absolute; 312 bottom: 56px; 313 } 314 315 .theme-browser .theme.display-author .theme-author { 316 display: block; 317 } 318 319 .theme-browser .theme.display-author .theme-author a { 320 color: inherit; 321 } 322 323 /** 324 * Add new theme 325 */ 326 .theme-browser .theme.add-new-theme { 327 background: transparent; 328 border: none; 329 overflow: visible; 330 } 331 332 .theme-browser .theme.add-new-theme a { 333 text-decoration: none; 334 display: block; 335 position: relative; 336 z-index: 1; 337 } 338 339 .theme-browser .theme.add-new-theme a::after { 340 display: block; 341 content: ""; 342 background: transparent; 343 background: rgba(0, 0, 0, 0); 344 position: absolute; 345 top: 0; 346 right: 0; 347 left: 0; 348 bottom: 0; 349 padding: 0; 350 text-shadow: none; 351 border: 5px dashed #dcdcde; 352 border: 5px dashed rgba(0, 0, 0, 0.1); 353 box-sizing: border-box; 354 } 355 356 .theme-browser .theme.add-new-theme span::after { 357 background: #dcdcde; 358 background: rgba(140, 143, 148, 0.1); 359 border-radius: 50%; 360 display: inline-block; 361 content: "\f132"; 362 content: "\f132" / ""; 363 -webkit-font-smoothing: antialiased; 364 font: 400 74px/115px dashicons; 365 width: 100px; 366 height: 100px; 367 vertical-align: middle; 368 text-align: center; 369 color: #8c8f94; 370 position: absolute; 371 top: 30%; 372 right: 50%; 373 margin-right: -50px; 374 text-indent: -4px; 375 padding: 0; 376 text-shadow: none; 377 z-index: 4; 378 } 379 380 .rtl .theme-browser .theme.add-new-theme span::after { 381 text-indent: 4px; 382 } 383 384 .theme-browser .theme.add-new-theme a:hover .theme-screenshot, 385 .theme-browser .theme.add-new-theme a:focus .theme-screenshot { 386 background: none; 387 } 388 389 .theme-browser .theme.add-new-theme a:hover span::after, 390 .theme-browser .theme.add-new-theme a:focus span::after { 391 background: #fff; 392 color: #2271b1; 393 } 394 395 .theme-browser .theme.add-new-theme a:hover::after, 396 .theme-browser .theme.add-new-theme a:focus::after { 397 border-color: transparent; 398 color: #fff; 399 background: #2271b1; 400 content: ""; 401 } 402 403 .theme-browser .theme.add-new-theme .theme-name { 404 background: none; 405 border: none; 406 text-align: center; 407 font-weight: 400; 408 position: relative; 409 top: 0; 410 margin-top: -18px; 411 padding-top: 0; 412 padding-bottom: 48px; 413 } 414 415 .theme-browser .theme.add-new-theme a:hover .theme-name, 416 .theme-browser .theme.add-new-theme a:focus .theme-name { 417 color: #fff; 418 z-index: 2; 419 } 420 421 /** 422 * Theme Overlay 423 * Shown when clicking a theme 424 */ 425 .theme-overlay .theme-backdrop { 426 position: absolute; 427 right: -20px; 428 left: 0; 429 top: 0; 430 bottom: 0; 431 background: #f0f0f1; 432 background: rgba(240, 240, 241, 0.9); 433 z-index: 10000; /* Over WP Pointers. */ 434 min-height: calc(100vh - var(--wp-admin--admin-bar--height, 32px)); 435 } 436 437 .theme-overlay .theme-header { 438 position: absolute; 439 top: 0; 440 right: 0; 441 left: 0; 442 height: 48px; 443 border-bottom: 1px solid #dcdcde; 444 } 445 446 .theme-overlay .theme-header button { 447 padding: 0; 448 } 449 450 .theme-overlay .theme-header .close { 451 cursor: pointer; 452 height: 48px; 453 width: 50px; 454 text-align: center; 455 float: left; 456 border: 0; 457 border-right: 1px solid #dcdcde; 458 background-color: transparent; 459 transition: color 0.1s ease-in-out, background 0.1s ease-in-out; 460 } 461 462 .theme-overlay .theme-header .close::before { 463 font: 400 22px/50px dashicons !important; 464 color: #50575e; 465 display: inline-block; 466 content: "\f335"; 467 content: "\f335" / ""; 468 font-weight: 300; 469 } 470 471 /* Left and right navigation */ 472 .theme-overlay .theme-header .right, 473 .theme-overlay .theme-header .left { 474 cursor: pointer; 475 color: #50575e; 476 background-color: transparent; 477 height: 48px; 478 width: 54px; 479 float: right; 480 text-align: center; 481 border: 0; 482 border-left: 1px solid #dcdcde; 483 transition: color 0.1s ease-in-out, background 0.1s ease-in-out; 484 } 485 486 .theme-overlay .theme-header .close:focus, 487 .theme-overlay .theme-header .close:hover, 488 .theme-overlay .theme-header .right:focus, 489 .theme-overlay .theme-header .right:hover, 490 .theme-overlay .theme-header .left:focus, 491 .theme-overlay .theme-header .left:hover { 492 background: #dcdcde; 493 border-color: #c3c4c7; 494 color: #000; 495 } 496 497 .theme-overlay .theme-header .close:focus::before, 498 .theme-overlay .theme-header .close:hover::before { 499 color: #000; 500 } 501 502 .theme-overlay .theme-header .close:focus, 503 .theme-overlay .theme-header .right:focus, 504 .theme-overlay .theme-header .left:focus { 505 box-shadow: none; 506 /* Only visible in Windows High Contrast mode */ 507 outline: 2px solid transparent; 508 } 509 510 .theme-overlay .theme-header .left.disabled, 511 .theme-overlay .theme-header .right.disabled, 512 .theme-overlay .theme-header .left.disabled:hover, 513 .theme-overlay .theme-header .right.disabled:hover { 514 color: #c3c4c7; 515 background: inherit; 516 cursor: inherit; 517 } 518 519 .theme-overlay .theme-header .right::before, 520 .theme-overlay .theme-header .left::before { 521 font: 400 20px/50px dashicons !important; 522 display: inline; 523 font-weight: 300; 524 } 525 526 .theme-overlay .theme-header .left::before { 527 content: "\f345"; 528 content: "\f345" / ""; 529 } 530 531 .theme-overlay .theme-header .right::before { 532 content: "\f341"; 533 content: "\f341" / ""; 534 } 535 536 .theme-overlay .theme-wrap { 537 clear: both; 538 position: fixed; 539 top: 9%; 540 right: 190px; 541 left: 30px; 542 bottom: 3%; 543 background: #fff; 544 box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1); 545 z-index: 10000; /* Over WP Pointers. */ 546 box-sizing: border-box; 547 -webkit-overflow-scrolling: touch; 548 } 549 550 body.folded .theme-browser ~ .theme-overlay .theme-wrap { 551 right: 70px; 552 } 553 554 .theme-overlay .theme-about { 555 position: absolute; 556 top: 49px; 557 bottom: 57px; 558 right: 0; 559 left: 0; 560 overflow: auto; 561 padding: 2% 4%; 562 } 563 564 .theme-overlay .theme-actions { 565 position: absolute; 566 text-align: center; 567 bottom: 0; 568 right: 0; 569 left: 0; 570 padding: 10px 25px 5px; 571 background: #f6f7f7; 572 z-index: 30; 573 box-sizing: border-box; 574 border-top: 1px solid #f0f0f1; 575 display: flex; 576 justify-content: center; 577 gap: 5px; 578 } 579 580 .theme-overlay .theme-actions .button { 581 margin-bottom: 5px; 582 } 583 584 /* Hide-if-customize for items we can't add classes to */ 585 .customize-support .theme-overlay .theme-actions a[href="themes.php?page=custom-header"], 586 .customize-support .theme-overlay .theme-actions a[href="themes.php?page=custom-background"] { 587 display: none; 588 } 589 590 .broken-themes a.delete-theme, 591 .theme-overlay .theme-actions .delete-theme { 592 color: #b32d2e; 593 text-decoration: none; 594 border-color: transparent; 595 box-shadow: none; 596 background: transparent; 597 } 598 599 .broken-themes a.delete-theme:hover, 600 .broken-themes a.delete-theme:focus, 601 .theme-overlay .theme-actions .delete-theme:hover, 602 .theme-overlay .theme-actions .delete-theme:focus { 603 background: #b32d2e; 604 color: #fff; 605 border-color: #b32d2e; 606 box-shadow: 0 0 0 1px #b32d2e; 607 } 608 609 .theme-overlay .theme-actions .active-theme, 610 .theme-overlay.active .theme-actions .inactive-theme { 611 display: none; 612 } 613 614 .theme-overlay .theme-actions .inactive-theme, 615 .theme-overlay.active .theme-actions .active-theme { 616 display: block; 617 } 618 619 /** 620 * Theme Screenshots gallery 621 */ 622 .theme-overlay .theme-screenshots { 623 float: right; 624 margin: 0 0 0 30px; 625 width: 55%; 626 max-width: 1200px; /* Recommended theme screenshot width, set here to avoid stretching */ 627 text-align: center; 628 } 629 630 /* First screenshot, shown big */ 631 .theme-overlay .screenshot { 632 border: 1px solid #fff; 633 box-sizing: border-box; 634 overflow: hidden; 635 position: relative; 636 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2); 637 } 638 639 .theme-overlay .screenshot::after { 640 content: ""; 641 display: block; 642 padding-top: 75%; /* using a 4/3 aspect ratio */ 643 } 644 645 .theme-overlay .screenshot img { 646 height: auto; 647 position: absolute; 648 right: 0; 649 top: 0; 650 width: 100%; 651 } 652 /* Handles old 300px screenshots */ 653 .theme-overlay.small-screenshot .theme-screenshots { 654 position: absolute; 655 width: 302px; 656 } 657 658 .theme-overlay.small-screenshot .theme-info { 659 margin-right: 350px; 660 width: auto; 661 } 662 663 /* Other screenshots, shown small and square */ 664 .theme-overlay .screenshot.thumb { 665 background: #c3c4c7; 666 border: 1px solid #f0f0f1; 667 float: none; 668 display: inline-block; 669 margin: 10px 5px 0; 670 width: 140px; 671 height: 80px; 672 cursor: pointer; 673 } 674 675 .theme-overlay .screenshot.thumb::after { 676 content: ""; 677 display: block; 678 padding-top: 100%; /* using a 1/1 aspect ratio */ 679 } 680 681 .theme-overlay .screenshot.thumb img { 682 cursor: pointer; 683 position: absolute; 684 right: 0; 685 top: 0; 686 width: 100%; 687 height: auto; 688 } 689 690 .theme-overlay .screenshot.selected { 691 background: transparent; 692 border: 2px solid #72aee6; 693 } 694 695 .theme-overlay .screenshot.selected img { 696 opacity: 0.8; 697 } 698 699 /* No screenshot placeholder */ 700 .theme-browser .theme .theme-screenshot.blank, 701 .theme-overlay .screenshot.blank { 702 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYGWO8d+/efwYkoKioiMRjYGBC4WHhUK6A8T8QIJt8//59ZC493AAAQssKpBK4F5AAAAAASUVORK5CYII=); 703 } 704 705 /** 706 * Theme heading information 707 */ 708 .theme-overlay .theme-info { 709 width: 40%; 710 float: right; 711 } 712 713 .theme-overlay .current-label { 714 background: #2c3338; 715 color: #fff; 716 font-size: 11px; 717 display: inline-block; 718 padding: 2px 8px; 719 border-radius: 2px; 720 margin: 0 0 -10px; 721 -webkit-user-select: none; 722 user-select: none; 723 } 724 725 .theme-overlay .theme-name { 726 color: #1d2327; 727 font-size: 32px; 728 font-weight: 100; 729 margin: 10px 0 0; 730 line-height: 1.3; 731 word-wrap: break-word; 732 overflow-wrap: break-word; 733 } 734 735 .theme-overlay .theme-version { 736 color: #646970; 737 font-size: 13px; 738 font-weight: 400; 739 float: none; 740 display: inline-block; 741 margin-right: 10px; 742 } 743 744 .theme-overlay .theme-author { 745 margin: 15px 0 25px; 746 color: #646970; 747 font-size: 16px; 748 font-weight: 400; 749 line-height: inherit; 750 } 751 752 .theme-overlay .toggle-auto-update { 753 /* Better align spin icon and text. */ 754 display: inline-flex; 755 align-items: center; 756 /* Prevents content after the auto-update toggler from jumping down and up. */ 757 min-height: 20px; /* Same height as the spinning dashicon. */ 758 vertical-align: top; 759 } 760 761 .theme-overlay .theme-autoupdate .toggle-auto-update { 762 text-decoration: none; 763 } 764 765 .theme-overlay .theme-autoupdate .toggle-auto-update .label { 766 text-decoration: underline; 767 } 768 769 .theme-overlay .theme-description { 770 color: #50575e; 771 font-size: 15px; 772 font-weight: 400; 773 line-height: 1.5; 774 margin: 30px 0 0; 775 } 776 777 .theme-overlay .theme-tags { 778 border-top: 3px solid #f0f0f1; 779 color: #646970; 780 font-size: 13px; 781 font-weight: 400; 782 margin: 30px 0 0; 783 padding-top: 20px; 784 } 785 786 .theme-overlay .theme-tags span { 787 color: #3c434a; 788 font-weight: 600; 789 margin-left: 5px; 790 } 791 792 .theme-overlay .parent-theme { 793 background: #fff; 794 border: 1px solid #f0f0f1; 795 border-right: 4px solid #72aee6; 796 font-size: 14px; 797 font-weight: 400; 798 margin-top: 30px; 799 padding: 10px 20px 10px 10px; 800 } 801 802 .theme-overlay .parent-theme strong { 803 font-weight: 600; 804 } 805 806 /** 807 * Single Theme Mode 808 * Displays detailed view inline when a user has no switch capabilities 809 */ 810 .single-theme .theme-overlay .theme-backdrop, 811 .single-theme .theme-overlay .theme-header, 812 .single-theme .theme { 813 display: none; 814 } 815 816 .single-theme .theme-overlay .theme-wrap { 817 clear: both; 818 min-height: 330px; 819 position: relative; 820 right: auto; 821 left: auto; 822 top: auto; 823 bottom: auto; 824 z-index: 10; 825 } 826 827 .single-theme .theme-overlay .theme-about { 828 padding: 30px 30px 70px; 829 position: static; 830 } 831 832 .single-theme .theme-overlay .theme-actions { 833 position: absolute; 834 } 835 836 /** 837 * Basic Responsive structure... 838 * 839 * Shuffles theme columns around based on screen width 840 */ 841 842 @media only screen and (min-width: 2000px) { 843 #wpwrap .theme-browser .theme { 844 width: 17.6%; 845 margin: 0 0 3% 3%; 846 } 847 848 #wpwrap .theme-browser .theme:nth-child(3n), 849 #wpwrap .theme-browser .theme:nth-child(4n) { 850 margin-left: 3%; 851 } 852 853 #wpwrap .theme-browser .theme:nth-child(5n) { 854 margin-left: 0; 855 } 856 } 857 858 @media only screen and (min-width: 1680px) { 859 .theme-overlay .theme-wrap { 860 width: 1450px; 861 margin: 0 auto; 862 } 863 } 864 865 /* Maximum screenshot width reaches 440px */ 866 @media only screen and (min-width: 1640px) { 867 .theme-browser .theme { 868 width: 22.7%; 869 margin: 0 0 3% 3%; 870 } 871 872 .theme-browser .theme .theme-screenshot::after { 873 padding-top: 75%; /* using a 4/3 aspect ratio */ 874 } 875 876 .theme-browser .theme:nth-child(3n) { 877 margin-left: 3%; 878 } 879 880 .theme-browser .theme:nth-child(4n) { 881 margin-left: 0; 882 } 883 } 884 /* Maximum screenshot width reaches 440px */ 885 @media only screen and (max-width: 1120px) { 886 .theme-browser .theme { 887 width: 47.5%; 888 margin-left: 0; 889 } 890 891 .theme-browser .theme:nth-child(even) { 892 margin-left: 0; 893 } 894 895 .theme-browser .theme:nth-child(odd) { 896 margin-left: 5%; 897 } 898 } 899 900 /* Admin menu is folded */ 901 @media only screen and (max-width: 960px) { 902 .theme-overlay .theme-wrap { 903 right: 65px; 904 } 905 } 906 907 @media only screen and (max-width: 782px) { 908 body.folded .theme-overlay .theme-wrap, 909 .theme-overlay .theme-wrap { 910 top: 0; /* The adminmenu isn't fixed on mobile, so this can use the full viewport height */ 911 left: 0; 912 bottom: 0; 913 right: 0; 914 padding: 70px 20px 20px; 915 border: none; 916 z-index: 100000; /* should overlap #wpadminbar. */ 917 position: fixed; 918 } 919 920 .theme-browser .theme.active .theme-name span { 921 /* Hide the "Active: " label on smaller screens. */ 922 display: none; 923 } 924 925 .theme-overlay .theme-screenshots { 926 width: 40%; 927 } 928 929 .theme-overlay .theme-info { 930 width: 50%; 931 } 932 933 .single-theme .theme-wrap { 934 padding: 10px; 935 } 936 937 .theme-browser .theme .theme-actions { 938 padding: 5px 10px 4px; 939 } 940 941 .theme-overlay.small-screenshot .theme-screenshots { 942 position: static; 943 float: none; 944 max-width: 302px; 945 } 946 947 .theme-overlay.small-screenshot .theme-info { 948 margin-right: 0; 949 width: auto; 950 } 951 952 .theme:not(.active):hover .theme-actions, 953 .theme:not(.active):focus .theme-actions, 954 .theme:hover .more-details, 955 .theme.focus .more-details { 956 display: none; 957 } 958 959 .theme-browser.rendered .theme:hover .theme-screenshot img, 960 .theme-browser.rendered .theme.focus .theme-screenshot img { 961 opacity: 1; 962 } 963 } 964 965 @media only screen and (max-width: 480px) { 966 .theme-browser .theme { 967 width: 100%; 968 margin-left: 0; 969 } 970 971 .theme-browser .theme:nth-child(2n), 972 .theme-browser .theme:nth-child(3n) { 973 margin-left: 0; 974 } 975 976 .theme-overlay .theme-about { 977 bottom: 105px; 978 } 979 980 .theme-overlay .theme-actions { 981 padding-right: 4%; 982 padding-left: 4%; 983 } 984 985 .theme-install-php .wp-filter .filter-count { 986 margin-top: 10px; 987 } 988 } 989 990 @media only screen and (max-width: 650px) { 991 .theme-overlay .theme-description { 992 margin-right: 0; 993 } 994 995 .theme-overlay .theme-actions .delete-theme { 996 position: relative; 997 left: auto; 998 bottom: auto; 999 } 1000 1001 .theme-overlay .theme-actions .inactive-theme { 1002 display: inline; 1003 } 1004 1005 .theme-overlay .theme-screenshots { 1006 width: 100%; 1007 float: none; 1008 margin: 0; 1009 } 1010 1011 .theme-overlay .theme-info { 1012 width: 100%; 1013 } 1014 1015 .theme-overlay .theme-author { 1016 margin: 5px 0 15px; 1017 } 1018 1019 .theme-overlay .current-label { 1020 margin-top: 10px; 1021 font-size: 13px; 1022 } 1023 1024 .themes-php .wp-filter-search { 1025 width: 100%; 1026 } 1027 1028 .theme-install-php .wp-filter p.search-box { 1029 display: grid; 1030 row-gap: 0.5rem; 1031 } 1032 1033 .theme-browser .theme.add-new-theme span::after { 1034 font: 400 60px/90px dashicons; 1035 width: 80px; 1036 height: 80px; 1037 top: 30%; 1038 right: 50%; 1039 text-indent: 0; 1040 margin-right: -40px; 1041 } 1042 1043 .single-theme .theme-wrap { 1044 margin: 0 -10px 0 -12px; 1045 padding: 10px; 1046 } 1047 1048 .single-theme .theme-overlay .theme-about { 1049 padding: 10px; 1050 overflow: visible; 1051 } 1052 1053 .single-theme .current-label { 1054 display: none; 1055 } 1056 1057 .single-theme .theme-overlay .theme-actions { 1058 position: static; 1059 } 1060 } 1061 1062 .broken-themes { 1063 clear: both; 1064 } 1065 1066 .broken-themes table { 1067 text-align: right; 1068 width: 50%; 1069 border-spacing: 3px; 1070 padding: 3px; 1071 } 1072 1073 /** 1074 * Install Themes 1075 */ 1076 .update-php .wrap { 1077 max-width: 40rem; 1078 } 1079 1080 /* Already installed theme */ 1081 .theme-browser .theme .theme-installed { 1082 background: #2271b1; 1083 } 1084 1085 .theme-browser .theme .notice-success p::before { 1086 color: #68de7c; 1087 content: "\f147"; 1088 content: "\f147" / ""; 1089 display: inline-block; 1090 font: 400 20px/1 dashicons; 1091 -webkit-font-smoothing: antialiased; 1092 -moz-osx-font-smoothing: grayscale; 1093 vertical-align: top; 1094 } 1095 1096 .theme-install.updated-message::before { 1097 content: ""; 1098 } 1099 1100 .theme-install-php .wp-filter { 1101 padding-right: 20px; 1102 } 1103 1104 /* Override column gap adjustment in media library. */ 1105 @media only screen and (max-width: 1000px) { 1106 .theme-install-php .wp-filter p.search-box { 1107 column-gap: 0.5rem; 1108 } 1109 } 1110 1111 .theme-install-php a.upload, 1112 .theme-install-php a.browse-themes { 1113 cursor: pointer; 1114 } 1115 1116 .upload-view-toggle .browse, 1117 .plugin-install-tab-upload .upload-view-toggle .upload { 1118 display: none; 1119 } 1120 1121 .plugin-install-tab-upload .upload-view-toggle .browse { 1122 display: inline; 1123 } 1124 1125 .upload-theme, 1126 .upload-plugin { 1127 box-sizing: border-box; 1128 display: none; 1129 margin: 0; 1130 padding: 50px 0; 1131 width: 100%; 1132 overflow: hidden; 1133 position: relative; 1134 top: 10px; 1135 text-align: center; 1136 } 1137 1138 .show-upload-view .upload-theme, 1139 .show-upload-view .upload-plugin, 1140 .show-upload-view .upload-plugin-wrap, 1141 .plugin-install-tab-upload .upload-plugin { 1142 display: block; 1143 } 1144 1145 .upload-theme .wp-upload-form, 1146 .upload-plugin .wp-upload-form { 1147 position: relative; 1148 margin: 30px; 1149 display: inline-flex; 1150 justify-content: space-between; 1151 align-items: center; 1152 border: 1px solid #c3c4c7; 1153 background: #f6f7f7; 1154 } 1155 1156 .upload-theme .wp-upload-form input[type="file"], 1157 .upload-plugin .wp-upload-form input[type="file"] { 1158 background: transparent; 1159 margin: 0; 1160 padding: 30px 30px 30px 0; 1161 } 1162 1163 .wp-upload-form input[type="submit"].button { 1164 margin-left: 30px; 1165 } 1166 1167 .upload-theme .install-help, 1168 .upload-plugin .install-help { 1169 color: #50575e; /* #f1f1f1 background */ 1170 font-size: 18px; 1171 font-style: normal; 1172 margin: 0; 1173 padding: 0; 1174 text-align: center; 1175 } 1176 1177 p.no-themes, 1178 p.no-themes-local { 1179 clear: both; 1180 color: #646970; 1181 font-size: 18px; 1182 font-style: normal; 1183 margin: 0; 1184 padding: 100px 0; 1185 text-align: center; 1186 display: none; 1187 } 1188 1189 .no-results p.no-themes { 1190 display: block; 1191 } 1192 1193 .theme-install-php .add-new-theme { 1194 display: none !important; 1195 } 1196 1197 @media only screen and (max-width: 1120px) { 1198 .upload-plugin .wp-upload-form, 1199 .upload-theme .wp-upload-form { 1200 margin: 20px 0; 1201 max-width: 100%; 1202 } 1203 1204 .upload-theme .install-help { 1205 font-size: 15px; 1206 padding: 20px 0 0; 1207 } 1208 } 1209 1210 .theme-details .theme-rating { 1211 line-height: 1.9; 1212 } 1213 1214 .theme-details .star-rating { 1215 display: inline; 1216 } 1217 1218 .theme-details .num-ratings, 1219 .theme-details .no-rating { 1220 font-size: 11px; 1221 color: #646970; 1222 } 1223 1224 .theme-details .no-rating { 1225 display: block; 1226 line-height: 1.9; 1227 } 1228 1229 .update-from-upload-comparison { 1230 border-top: 1px solid #dcdcde; 1231 border-bottom: 1px solid #dcdcde; 1232 text-align: right; 1233 margin: 1rem 0 1.4rem; 1234 border-collapse: collapse; 1235 width: 100%; 1236 } 1237 1238 .update-from-upload-comparison tr:last-child td { 1239 height: 1.4rem; 1240 vertical-align: top; 1241 } 1242 1243 .update-from-upload-comparison tr:first-child th { 1244 font-weight: 700; 1245 height: 1.4rem; 1246 vertical-align: bottom; 1247 } 1248 1249 .update-from-upload-comparison td.name-label { 1250 text-align: left; 1251 } 1252 1253 .update-from-upload-comparison td, 1254 .update-from-upload-comparison th { 1255 padding: 0.4rem 1.4rem; 1256 } 1257 1258 .update-from-upload-comparison td.warning { 1259 color: #d63638; 1260 } 1261 1262 .update-from-upload-actions { 1263 margin-top: 1.4rem; 1264 } 1265 1266 /** 1267 * Custom Header Screen 1268 */ 1269 .appearance_page_custom-header #headimg { 1270 border: 1px solid #dcdcde; 1271 overflow: hidden; 1272 width: 100%; 1273 } 1274 1275 .appearance_page_custom-header #upload-form p label { 1276 font-size: 12px; 1277 } 1278 1279 .appearance_page_custom-header .available-headers .default-header { 1280 float: right; 1281 margin: 0 0 20px 20px; 1282 } 1283 1284 .appearance_page_custom-header .random-header { 1285 clear: both; 1286 margin: 0 0 20px 20px; 1287 vertical-align: middle; 1288 } 1289 1290 .appearance_page_custom-header .available-headers label input, 1291 .appearance_page_custom-header .random-header label input { 1292 margin-left: 10px; 1293 } 1294 1295 .appearance_page_custom-header .available-headers label img { 1296 vertical-align: middle; 1297 } 1298 1299 /** 1300 * Custom Background Screen 1301 */ 1302 div#custom-background-image { 1303 min-height: 100px; 1304 border: 1px solid #dcdcde; 1305 } 1306 1307 div#custom-background-image img { 1308 max-width: 400px; 1309 max-height: 300px; 1310 } 1311 1312 .background-position-control input[type="radio"]:checked ~ .button { 1313 background: #f0f0f1; 1314 border-color: #8c8f94; 1315 box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5); 1316 z-index: 1; 1317 } 1318 1319 .background-position-control input[type="radio"]:focus ~ .button { 1320 border-color: #4f94d4; 1321 box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 3px rgba(34, 113, 177, 0.8); 1322 color: #1d2327; 1323 } 1324 1325 .background-position-control .background-position-center-icon, 1326 .background-position-control .background-position-center-icon::before { 1327 display: inline-block; 1328 line-height: 1; 1329 text-align: center; 1330 transition: background-color 0.1s ease-in; 1331 } 1332 1333 .background-position-control .background-position-center-icon { 1334 height: 20px; 1335 margin-top: 13px; 1336 vertical-align: top; 1337 width: 20px; 1338 } 1339 1340 .background-position-control .background-position-center-icon::before { 1341 background-color: #50575e; 1342 border-radius: 50%; 1343 content: ""; 1344 height: 12px; 1345 width: 12px; 1346 } 1347 1348 .background-position-control .button:hover .background-position-center-icon::before, 1349 .background-position-control input[type="radio"]:focus ~ .button .background-position-center-icon::before { 1350 background-color: #1d2327; 1351 } 1352 1353 .background-position-control .button-group { 1354 display: block; 1355 } 1356 1357 .background-position-control .button-group .button { 1358 border-radius: 0; 1359 box-shadow: none; 1360 /* Following properties are overridden by buttons responsive styles (see: wp-includes/css/buttons.css). */ 1361 height: 40px !important; 1362 line-height: 2.9 !important; 1363 margin: 0 0 0 -1px !important; 1364 padding: 0 10px 1px !important; 1365 position: relative; 1366 } 1367 1368 .background-position-control .button-group .button:active, 1369 .background-position-control .button-group .button:hover, 1370 .background-position-control .button-group .button:focus { 1371 z-index: 1; 1372 } 1373 1374 .background-position-control .button-group:last-child .button { 1375 box-shadow: 0 1px 0 #c3c4c7; 1376 } 1377 1378 .background-position-control .button-group > label { 1379 margin: 0 !important; 1380 } 1381 1382 .background-position-control .button-group:first-child > label:first-child .button { 1383 border-radius: 0 3px 0 0; 1384 } 1385 1386 .background-position-control .button-group:first-child > label:first-child .dashicons { 1387 transform: rotate(-45deg); 1388 } 1389 1390 .background-position-control .button-group:first-child > label:last-child .button { 1391 border-radius: 3px 0 0 0; 1392 } 1393 1394 .background-position-control .button-group:first-child > label:last-child .dashicons { 1395 transform: rotate(45deg); 1396 } 1397 1398 .background-position-control .button-group:last-child > label:first-child .button { 1399 border-radius: 0 0 3px 0; 1400 } 1401 1402 .background-position-control .button-group:last-child > label:first-child .dashicons { 1403 transform: rotate(45deg); 1404 } 1405 1406 .background-position-control .button-group:last-child > label:last-child .button { 1407 border-radius: 0 0 0 3px; 1408 } 1409 1410 .background-position-control .button-group:last-child > label:last-child .dashicons { 1411 transform: rotate(-45deg); 1412 } 1413 1414 .background-position-control .button-group + .button-group { 1415 margin-top: -1px; 1416 } 1417 1418 /** 1419 * Full Overlay w/ Sidebar 1420 */ 1421 body.full-overlay-active { 1422 overflow: hidden; 1423 /* Hide all the content, the Customizer overlay is then made visible to be the only available content. */ 1424 visibility: hidden; 1425 } 1426 1427 /* Make sure the ARIA live regions are visible, as they inherit the hidden visibility from the body. */ 1428 .a11y-speak-intro-text, 1429 .a11y-speak-region { 1430 visibility: visible; 1431 } 1432 1433 .wp-full-overlay { 1434 background: #1d2327; 1435 z-index: 500000; 1436 position: fixed; 1437 overflow: visible; 1438 top: 0; 1439 bottom: 0; 1440 right: 0; 1441 left: 0; 1442 height: 100%; 1443 min-width: 0; 1444 } 1445 1446 .wp-full-overlay-sidebar { 1447 box-sizing: border-box; 1448 position: fixed; 1449 min-width: 300px; 1450 max-width: 600px; 1451 width: 18%; 1452 height: 100%; 1453 top: 0; 1454 bottom: 0; 1455 right: 0; 1456 padding: 0; 1457 margin: 0; 1458 z-index: 10; 1459 background: #f0f0f1; 1460 border-left: none; 1461 } 1462 1463 .wp-full-overlay.collapsed .wp-full-overlay-sidebar { 1464 overflow: visible; 1465 margin-right: -300px; 1466 } 1467 1468 .wp-full-overlay.collapsed, 1469 .wp-full-overlay.expanded .wp-full-overlay-sidebar { 1470 margin-right: 0 !important; 1471 } 1472 1473 .wp-full-overlay.expanded { 1474 margin-right: 300px; 1475 } 1476 1477 @media screen and (min-width: 1667px) { 1478 .wp-full-overlay.expanded { 1479 margin-right: 18%; 1480 } 1481 1482 .wp-full-overlay.collapsed .wp-full-overlay-sidebar { 1483 margin-right: -18%; 1484 } 1485 } 1486 1487 @media screen and (min-width: 3333px) { 1488 .wp-full-overlay.expanded { 1489 margin-right: 600px; 1490 } 1491 1492 .wp-full-overlay.collapsed .wp-full-overlay-sidebar { 1493 margin-right: -600px; 1494 } 1495 } 1496 1497 .wp-full-overlay-sidebar::after { 1498 content: ""; 1499 display: block; 1500 position: absolute; 1501 top: 0; 1502 bottom: 0; 1503 left: 0; 1504 width: 3px; 1505 z-index: 1000; 1506 } 1507 1508 .wp-full-overlay-main { 1509 position: absolute; 1510 right: 0; 1511 left: 0; 1512 top: 0; 1513 bottom: 0; 1514 height: 100%; 1515 background-color: #f0f0f1; 1516 } 1517 1518 .wp-full-overlay-sidebar .wp-full-overlay-header { 1519 position: absolute; 1520 right: 0; 1521 left: 0; 1522 height: 45px; 1523 padding: 0 15px; 1524 line-height: 3.2; 1525 z-index: 10; 1526 margin: 0; 1527 border-top: none; 1528 box-shadow: none; 1529 } 1530 1531 .wp-full-overlay-sidebar .wp-full-overlay-header a.back { 1532 margin-top: 3px; /* Vertically center 40px button in 45px header */ 1533 } 1534 1535 .wp-full-overlay-sidebar .wp-full-overlay-footer { 1536 bottom: 0; 1537 border-bottom: none; 1538 border-top: none; 1539 box-shadow: none; 1540 } 1541 1542 .wp-full-overlay-sidebar .wp-full-overlay-sidebar-content { 1543 position: absolute; 1544 top: 45px; 1545 bottom: 45px; 1546 right: 0; 1547 left: 0; 1548 overflow: auto; 1549 } 1550 1551 /* Close & Navigation Links */ 1552 .theme-install-overlay .wp-full-overlay-sidebar .wp-full-overlay-header { 1553 padding: 0; 1554 } 1555 1556 .theme-install-overlay .close-full-overlay, 1557 .theme-install-overlay .previous-theme, 1558 .theme-install-overlay .next-theme { 1559 display: block; 1560 position: relative; 1561 float: right; 1562 width: 45px; 1563 height: 45px; 1564 background: #f0f0f1; 1565 border-top: 0; 1566 border-left: 1px solid #dcdcde; 1567 border-bottom: 0; 1568 border-right: 0; 1569 color: #3c434a; 1570 cursor: pointer; 1571 text-decoration: none; 1572 transition: color 0.1s ease-in-out, background 0.1s ease-in-out; 1573 } 1574 1575 .theme-install-overlay .close-full-overlay:hover, 1576 .theme-install-overlay .close-full-overlay:focus, 1577 .theme-install-overlay .previous-theme:hover, 1578 .theme-install-overlay .previous-theme:focus, 1579 .theme-install-overlay .next-theme:hover, 1580 .theme-install-overlay .next-theme:focus { 1581 background: #dcdcde; 1582 border-color: #c3c4c7; 1583 color: #000; 1584 outline: none; 1585 box-shadow: none; 1586 } 1587 1588 .theme-install-overlay .close-full-overlay:focus, 1589 .theme-install-overlay .previous-theme:focus, 1590 .theme-install-overlay .next-theme:focus { 1591 /* Always visible also in Windows High Contrast mode */ 1592 outline: 1px solid #c3c4c7; 1593 outline-offset: -1px; 1594 } 1595 1596 .theme-install-overlay .close-full-overlay::before { 1597 font: 400 22px/1 dashicons; 1598 content: "\f335"; 1599 content: "\f335" / ""; 1600 position: relative; 1601 top: 7px; 1602 right: 13px; 1603 } 1604 1605 .theme-install-overlay .previous-theme::before { 1606 font: 400 20px/1 dashicons; 1607 content: "\f345"; 1608 content: "\f345" / ""; 1609 position: relative; 1610 top: 6px; 1611 right: 14px; 1612 } 1613 1614 .theme-install-overlay .next-theme::before { 1615 font: 400 20px/1 dashicons; 1616 content: "\f341"; 1617 content: "\f341" / ""; 1618 position: relative; 1619 top: 6px; 1620 right: 13px; 1621 } 1622 1623 .theme-install-overlay .previous-theme.disabled, 1624 .theme-install-overlay .next-theme.disabled, 1625 .theme-install-overlay .previous-theme.disabled:hover, 1626 .theme-install-overlay .previous-theme.disabled:focus, 1627 .theme-install-overlay .next-theme.disabled:hover, 1628 .theme-install-overlay .next-theme.disabled:focus { 1629 color: #c3c4c7; 1630 background: #f0f0f1; 1631 cursor: default; 1632 } 1633 1634 .theme-install-overlay .close-full-overlay::before, 1635 .theme-install-overlay .previous-theme::before, 1636 .theme-install-overlay .next-theme::before { 1637 top: 2px; 1638 right: 0; 1639 } 1640 1641 /* Collapse Button */ 1642 .wp-core-ui .wp-full-overlay .collapse-sidebar { 1643 position: fixed; 1644 bottom: 0; 1645 right: 0; 1646 padding: 9px 10px 9px 0; 1647 height: 45px; 1648 color: #646970; 1649 outline: 0; 1650 line-height: 1; 1651 background-color: transparent !important; 1652 border: none !important; 1653 box-shadow: none !important; 1654 border-radius: 0 !important; 1655 } 1656 1657 .wp-core-ui .wp-full-overlay .collapse-sidebar:hover, 1658 .wp-core-ui .wp-full-overlay .collapse-sidebar:focus { 1659 color: #2271b1; 1660 } 1661 1662 .wp-full-overlay .collapse-sidebar-arrow, 1663 .wp-full-overlay .collapse-sidebar-label { 1664 display: inline-block; 1665 vertical-align: middle; 1666 line-height: 1.6; 1667 } 1668 1669 .wp-full-overlay .collapse-sidebar-arrow { 1670 width: 20px; 1671 height: 20px; 1672 margin: 0 2px; /* avoid the focus box-shadow to be cut-off */ 1673 border-radius: 50%; 1674 overflow: hidden; 1675 } 1676 1677 .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow, 1678 .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow { 1679 box-shadow: 0 0 0 var(--wp-admin-border-width-focus, 1.5px) var(--wp-admin-theme-color, #3858e9); 1680 /* Only visible in Windows High Contrast mode */ 1681 outline: 2px solid transparent; 1682 } 1683 1684 .wp-full-overlay .collapse-sidebar-label { 1685 margin-right: 3px; 1686 } 1687 1688 .wp-full-overlay.collapsed .collapse-sidebar-label { 1689 display: none; 1690 } 1691 1692 .wp-full-overlay .collapse-sidebar-arrow::before { 1693 display: block; 1694 content: "\f148"; 1695 content: "\f148" / ""; 1696 background: #f0f0f1; 1697 font: 400 20px/1 dashicons; 1698 padding: 0; 1699 -webkit-font-smoothing: antialiased; 1700 -moz-osx-font-smoothing: grayscale; 1701 } 1702 1703 .wp-core-ui .wp-full-overlay.collapsed .collapse-sidebar { 1704 padding: 9px 10px; 1705 } 1706 1707 /* rtl:ignore */ 1708 .wp-full-overlay.collapsed .collapse-sidebar-arrow::before, 1709 .rtl .wp-full-overlay .collapse-sidebar-arrow::before { 1710 transform: rotate(180.001deg); /* Firefox: promoting to its own layer to trigger anti-aliasing */ 1711 } 1712 1713 .rtl .wp-full-overlay.collapsed .collapse-sidebar-arrow::before { 1714 transform: none; 1715 } 1716 1717 /* Animations */ 1718 @media (prefers-reduced-motion: no-preference) { 1719 .wp-full-overlay, 1720 .wp-full-overlay-sidebar, 1721 .wp-full-overlay .collapse-sidebar, 1722 .wp-full-overlay-main { 1723 transition-property: right, left, top, bottom, width, margin; 1724 transition-duration: 0.2s; 1725 } 1726 } 1727 1728 /* Device/preview size toggles */ 1729 1730 .expanded .wp-full-overlay-footer { 1731 position: fixed; 1732 bottom: 0; 1733 right: 0; 1734 min-width: 299px; 1735 max-width: 599px; 1736 width: 18%; 1737 width: calc(18% - 1px); 1738 height: 45px; 1739 border-top: 1px solid #dcdcde; 1740 background: #f0f0f1; 1741 } 1742 1743 .wp-full-overlay-footer .devices-wrapper { 1744 float: left; 1745 } 1746 1747 .wp-full-overlay-footer .devices { 1748 position: relative; 1749 background: #f0f0f1; 1750 box-shadow: 20px 0 10px -5px #f0f0f1; 1751 } 1752 1753 .wp-full-overlay-footer .devices button { 1754 cursor: pointer; 1755 background: transparent; 1756 border: none; 1757 height: 45px; 1758 min-width: 50px; 1759 padding: 0 3px; 1760 margin: 0 -4px 0 0; 1761 box-shadow: none; 1762 border-top: 1px solid transparent; 1763 border-bottom: 4px solid transparent; 1764 transition: 1765 0.15s color ease-in-out, 1766 0.15s background-color ease-in-out, 1767 0.15s border-color ease-in-out; 1768 } 1769 1770 .wp-full-overlay-footer .devices button:focus { 1771 box-shadow: none; 1772 outline: none; 1773 } 1774 1775 .wp-full-overlay-footer .devices button::before { 1776 display: inline-block; 1777 -webkit-font-smoothing: antialiased; 1778 font: 400 20px/20px dashicons; 1779 vertical-align: top; 1780 margin: 0 0 -2px; 1781 padding: 4px 8px; 1782 color: #646970; 1783 } 1784 1785 .wp-full-overlay-footer .devices button.active { 1786 border-bottom-color: #1d2327; 1787 } 1788 1789 .wp-full-overlay-footer .devices button:hover, 1790 .wp-full-overlay-footer .devices button:focus { 1791 background-color: #fff; 1792 } 1793 1794 .wp-full-overlay-footer .devices button:focus, 1795 .wp-full-overlay-footer .devices button.active:hover { 1796 border-bottom-color: #2271b1; 1797 } 1798 1799 .wp-full-overlay-footer .devices button.active::before { 1800 color: #1d2327; 1801 } 1802 1803 .wp-full-overlay-footer .devices button:hover::before, 1804 .wp-full-overlay-footer .devices button:focus::before { 1805 color: #2271b1; 1806 } 1807 1808 .wp-full-overlay-footer .devices .preview-desktop::before { 1809 content: "\f472"; 1810 content: "\f472" / ""; 1811 } 1812 1813 .wp-full-overlay-footer .devices .preview-tablet::before { 1814 content: "\f471"; 1815 content: "\f471" / ""; 1816 } 1817 1818 .wp-full-overlay-footer .devices .preview-mobile::before { 1819 content: "\f470"; 1820 content: "\f470" / ""; 1821 } 1822 1823 .wp-full-overlay-footer .devices .devices__preview-label { 1824 display: block; 1825 font-size: 10px; 1826 line-height: 1; 1827 } 1828 1829 @media screen and (max-width: 1024px) { 1830 .wp-full-overlay-footer .devices { 1831 display: none; 1832 } 1833 } 1834 1835 .collapsed .wp-full-overlay-footer .devices button::before { 1836 display: none; 1837 } 1838 1839 .preview-mobile .wp-full-overlay-main { 1840 margin: auto -160px auto 0; 1841 width: 320px; 1842 height: 480px; 1843 max-height: 100%; 1844 max-width: 100%; 1845 right: 50%; 1846 } 1847 1848 .preview-tablet .wp-full-overlay-main { 1849 margin: auto -360px auto 0; 1850 width: 720px; /* Size is loosely based on a typical "tablet" device size. Intentionally ambiguous - this does not represent any particular device precisely. */ 1851 height: 1080px; 1852 max-height: 100%; 1853 max-width: 100%; 1854 right: 50%; 1855 } 1856 1857 /** 1858 * Customize Loader 1859 */ 1860 .no-customize-support .hide-if-no-customize, 1861 .customize-support .hide-if-customize, 1862 .no-customize-support.wp-core-ui .hide-if-no-customize, 1863 .no-customize-support .wp-core-ui .hide-if-no-customize, 1864 .customize-support.wp-core-ui .hide-if-customize, 1865 .customize-support .wp-core-ui .hide-if-customize { 1866 display: none; 1867 } 1868 1869 #customize-container, 1870 #customize-controls .notice.notification-overlay { 1871 background: #f0f0f1; 1872 z-index: 500000; 1873 position: fixed; 1874 overflow: visible; 1875 top: 0; 1876 bottom: 0; 1877 right: 0; 1878 left: 0; 1879 height: 100%; 1880 } 1881 1882 #customize-container { 1883 display: none; 1884 } 1885 1886 /* Make the Customizer and Theme installer overlays the only available content. */ 1887 #customize-container, 1888 .theme-install-overlay { 1889 visibility: visible; 1890 } 1891 1892 .customize-loading #customize-container iframe { 1893 opacity: 0; 1894 } 1895 1896 #customize-container iframe, 1897 .theme-install-overlay iframe { 1898 height: 100%; 1899 width: 100%; 1900 transition: opacity 0.3s; 1901 isolation: isolate; /* Creates a new stacking context to make the iframe sit on top of the spinner. */ 1902 } 1903 1904 #customize-controls { 1905 margin-top: 0; 1906 } 1907 1908 .theme-install-overlay { 1909 display: none; 1910 } 1911 1912 .theme-install-overlay.single-theme { 1913 display: block; 1914 } 1915 1916 .install-theme-info { 1917 display: none; 1918 padding: 10px 20px 60px; 1919 } 1920 1921 .single-theme .install-theme-info { 1922 padding-top: 15px; 1923 } 1924 1925 .theme-install-overlay .install-theme-info { 1926 display: block; 1927 } 1928 1929 .install-theme-info .theme-install { 1930 float: left; 1931 margin-top: 18px; 1932 } 1933 1934 .install-theme-info .theme-name { 1935 font-size: 16px; 1936 line-height: 1.5; 1937 margin-bottom: 0; 1938 margin-top: 0; 1939 } 1940 1941 .install-theme-info .theme-screenshot { 1942 margin: 15px 0; 1943 width: 258px; 1944 border: 1px solid #c3c4c7; 1945 position: relative; 1946 overflow: hidden; 1947 } 1948 1949 .install-theme-info .theme-screenshot > img { 1950 width: 100%; 1951 height: auto; 1952 position: absolute; 1953 right: 0; 1954 top: 0; 1955 } 1956 1957 .install-theme-info .theme-screenshot::after { 1958 content: ""; 1959 display: block; 1960 padding-top: 66.66666666%; 1961 } 1962 1963 .install-theme-info .theme-details { 1964 overflow: hidden; 1965 } 1966 1967 .theme-details .theme-version { 1968 margin: 15px 0; 1969 } 1970 1971 .theme-details .theme-description { 1972 float: right; 1973 color: #646970; 1974 line-height: 1.6; 1975 max-width: 100%; 1976 } 1977 1978 .theme-install-overlay .wp-full-overlay-header .button { 1979 float: left; 1980 margin: 7px 0 0 10px; /* Vertically center 32px button in 45px header */ 1981 min-height: 32px; 1982 line-height: 2.30769231; /* 30px for 32px height with 13px font */ 1983 } 1984 1985 .theme-install-overlay .wp-full-overlay-header .button.updating-message::before, 1986 .theme-install-overlay .wp-full-overlay-header .button.updated-message::before { 1987 line-height: 1.5; /* 30px (20px * 1.5) - matches the button above */ 1988 } 1989 1990 .theme-install-overlay .wp-full-overlay-sidebar { 1991 background: #f0f0f1; 1992 border-left: 1px solid #dcdcde; 1993 } 1994 1995 .theme-install-overlay .wp-full-overlay-sidebar-content { 1996 background: #fff; 1997 border-top: 1px solid #dcdcde; 1998 border-bottom: 1px solid #dcdcde; 1999 } 2000 2001 .theme-install-overlay .wp-full-overlay-main { 2002 position: absolute; 2003 background-color: #f0f0f1; 2004 } 2005 2006 .customize-loading #customize-container { 2007 background-color: #f0f0f1; 2008 } 2009 2010 #customize-preview.wp-full-overlay-main::before, 2011 .customize-loading #customize-container::before, 2012 #customize-controls .notice.notification-overlay.notification-loading::before, 2013 .theme-install-overlay .wp-full-overlay-main::before { 2014 content: ""; 2015 display: block; 2016 width: 20px; 2017 height: 20px; 2018 position: absolute; 2019 right: 50%; 2020 top: 50%; 2021 margin: -10px -10px 0 0; 2022 transform: translateZ(0); 2023 background: transparent url(../images/spinner.gif) no-repeat center center; 2024 background-size: 20px 20px; 2025 } 2026 2027 #customize-preview.wp-full-overlay-main.iframe-ready::before, 2028 .theme-install-overlay.iframe-ready .wp-full-overlay-main::before { 2029 background-image: none; 2030 } 2031 2032 /** 2033 * HiDPI Displays 2034 */ 2035 @media print, 2036 (min-resolution: 120dpi) { 2037 .wp-full-overlay .collapse-sidebar-arrow { 2038 background-image: url(../images/arrows-2x.png); 2039 background-size: 15px 123px; 2040 } 2041 2042 #customize-preview.wp-full-overlay-main::before, 2043 .customize-loading #customize-container::before, 2044 #customize-controls .notice.notification-overlay.notification-loading::before, 2045 .theme-install-overlay .wp-full-overlay-main::before { 2046 background-image: url(../images/spinner-2x.gif); 2047 } 2048 } 2049 2050 @media screen and (max-width: 782px) { 2051 .available-theme .action-links .delete-theme { 2052 float: none; 2053 margin: 0; 2054 padding: 0; 2055 clear: both; 2056 } 2057 2058 .available-theme .action-links .delete-theme a { 2059 padding: 0; 2060 } 2061 2062 .broken-themes table { 2063 width: 100%; 2064 } 2065 2066 .theme-install-overlay .wp-full-overlay-header .button { 2067 font-size: 13px; 2068 } 2069 2070 .theme-browser .theme .theme-actions .button { 2071 margin-bottom: 0; 2072 } 2073 2074 .theme-browser .theme.active .theme-actions, 2075 .theme-browser .theme .theme-actions { 2076 padding-top: 4px; 2077 padding-bottom: 4px; 2078 } 2079 2080 .upload-plugin .wp-upload-form, 2081 .upload-theme .wp-upload-form { 2082 width: 100%; 2083 box-sizing: border-box; 2084 } 2085 2086 .upload-plugin .wp-upload-form input[type="file"], 2087 .upload-theme .wp-upload-form input[type="file"] { 2088 padding: 30px 30px 30px 0; 2089 width: 100%; 2090 } 2091 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Mon Nov 23 08:20:01 2026 | Cross-referenced by PHPXref |