| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 /* 2 column liquid layout */ 2 #wpwrap { 3 height: auto; 4 min-height: 100%; 5 width: 100%; 6 position: relative; 7 -webkit-font-smoothing: subpixel-antialiased; 8 } 9 10 #wpcontent { 11 height: 100%; 12 padding-left: 20px; 13 } 14 15 #wpcontent, 16 #wpfooter { 17 margin-left: 160px; 18 } 19 20 .folded #wpcontent, 21 .folded #wpfooter { 22 margin-left: 36px; 23 } 24 25 #wpbody-content { 26 padding-bottom: 65px; 27 float: left; 28 width: 100%; 29 overflow: visible; 30 } 31 32 /* inner 2 column liquid layout */ 33 34 .inner-sidebar { 35 float: right; 36 clear: right; 37 display: none; 38 width: 281px; 39 position: relative; 40 } 41 42 .columns-2 .inner-sidebar { 43 margin-right: auto; 44 width: 286px; 45 display: block; 46 } 47 48 .inner-sidebar #side-sortables, 49 .columns-2 .inner-sidebar #side-sortables { 50 min-height: 300px; 51 width: 280px; 52 padding: 0; 53 } 54 55 .has-right-sidebar .inner-sidebar { 56 display: block; 57 } 58 59 .has-right-sidebar #post-body { 60 float: left; 61 clear: left; 62 width: 100%; 63 margin-right: -2000px; 64 } 65 66 .has-right-sidebar #post-body-content { 67 margin-right: 300px; 68 float: none; 69 width: auto; 70 } 71 72 /* 2 columns main area */ 73 74 #col-left { 75 float: left; 76 width: 35%; 77 } 78 79 #col-right { 80 float: right; 81 width: 65%; 82 } 83 84 #col-left .col-wrap { 85 padding: 0 6px 0 0; 86 } 87 88 #col-right .col-wrap { 89 padding: 0 0 0 6px; 90 } 91 92 /* utility classes */ 93 .alignleft { 94 float: left; 95 } 96 97 .alignright { 98 float: right; 99 } 100 101 .textleft { 102 text-align: left; 103 } 104 105 .textright { 106 text-align: right; 107 } 108 109 .clear { 110 clear: both; 111 } 112 113 /* modern clearfix */ 114 .wp-clearfix::after { 115 content: ""; 116 display: table; 117 clear: both; 118 } 119 120 /* Hide visually but not from screen readers */ 121 .screen-reader-text, 122 .screen-reader-text span, 123 .ui-helper-hidden-accessible { 124 border: 0; 125 clip-path: inset(50%); 126 height: 1px; 127 margin: -1px; 128 overflow: hidden; 129 padding: 0; 130 position: absolute; 131 width: 1px; 132 /* Many screen reader and browser combinations announce broken words as they would appear visually. */ 133 word-wrap: normal !important; 134 word-break: normal !important; 135 } 136 137 .button .screen-reader-text { 138 height: auto; /* Fixes a Safari+VoiceOver bug, see ticket #42006 */ 139 } 140 141 .screen-reader-text + .dashicons-external { 142 margin-top: -1px; 143 margin-left: 2px; 144 text-decoration: none; 145 } 146 147 .screen-reader-shortcut { 148 position: absolute; 149 top: -1000em; 150 left: 6px; 151 height: auto; 152 width: auto; 153 display: block; 154 font-size: 14px; 155 font-weight: 600; 156 padding: 15px 23px 14px; 157 /* Background and color set to prevent false positives in automated accessibility tests. */ 158 background: #fff; 159 color: var(--wp-admin-theme-color, #3858e9); 160 z-index: 100000; 161 line-height: normal; 162 } 163 164 .screen-reader-shortcut:focus { 165 top: -25px; 166 /* Overrides a:focus in the admin. See ticket #56789. */ 167 color: var(--wp-admin-theme-color, #3858e9); 168 box-shadow: 0 0 0 var(--wp-admin-border-width-focus, 1.5px) var(--wp-admin-theme-color, #3858e9); 169 text-decoration: none; 170 /* Only visible in Windows High Contrast mode */ 171 outline: 2px solid transparent; 172 outline-offset: -2px; 173 } 174 175 .hidden, 176 .js .closed .inside, 177 .js .hide-if-js, 178 .no-js .hide-if-no-js, 179 .js.wp-core-ui .hide-if-js, 180 .js .wp-core-ui .hide-if-js, 181 .no-js.wp-core-ui .hide-if-no-js, 182 .no-js .wp-core-ui .hide-if-no-js { 183 display: none; 184 } 185 186 /* @todo: Take a second look. Large chunks of shared color, from the colors.css merge */ 187 .widget-top, 188 .menu-item-handle, 189 .widget-inside, 190 #menu-settings-column .accordion-container, 191 #menu-management .menu-edit, 192 .manage-menus, 193 table.widefat, 194 .stuffbox, 195 p.popular-tags, 196 .widgets-holder-wrap, 197 .wp-editor-container, 198 .popular-tags, 199 .feature-filter, 200 .comment-ays { 201 border: 1px solid #c3c4c7; 202 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); 203 } 204 205 table.widefat, 206 .wp-editor-container, 207 .stuffbox, 208 p.popular-tags, 209 .widgets-holder-wrap, 210 .popular-tags, 211 .feature-filter, 212 .comment-ays { 213 background: #fff; 214 } 215 216 /* general */ 217 html, 218 body { 219 height: 100%; 220 margin: 0; 221 padding: 0; 222 } 223 224 body { 225 background: #f0f0f1; 226 color: #3c434a; 227 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 228 font-size: 13px; 229 line-height: 1.4; 230 min-width: 600px; 231 } 232 233 body.iframe { 234 min-width: 0; 235 padding-top: 1px; 236 } 237 238 body.modal-open { 239 overflow: hidden; 240 } 241 242 body.modal-open .editor-post-excerpt__dropdown__content { 243 z-index: 99999; 244 } 245 246 body.mobile.modal-open #wpwrap { 247 overflow: hidden; 248 position: fixed; 249 height: 100%; 250 } 251 252 iframe, 253 img { 254 border: 0; 255 } 256 257 td { 258 font-family: inherit; 259 font-size: inherit; 260 font-weight: inherit; 261 line-height: inherit; 262 } 263 264 /* Any change to the default link style must be applied to button-link too. */ 265 a { 266 color: #2271b1; 267 transition-property: border, background, color; 268 transition-duration: 0.05s; 269 transition-timing-function: ease-in-out; 270 } 271 272 a, 273 div { 274 outline: 0; 275 } 276 277 a:hover, 278 a:active { 279 color: #135e96; 280 } 281 282 a:focus, 283 a:focus .media-icon img, 284 a:focus .plugin-icon, 285 .wp-person a:focus .gravatar { 286 color: #043959; 287 border-radius: 2px; 288 box-shadow: 0 0 0 var(--wp-admin-border-width-focus, 1.5px) var(--wp-admin-theme-color, #3858e9); 289 /* Only visible in Windows High Contrast mode */ 290 outline: 2px solid transparent; 291 } 292 293 #adminmenu a:focus { 294 box-shadow: none; 295 /* Only visible in Windows High Contrast mode */ 296 outline: 1px solid transparent; 297 outline-offset: -1px; 298 } 299 300 .screen-reader-text:focus { 301 box-shadow: none; 302 outline: none; 303 } 304 305 blockquote, 306 q { 307 quotes: none; 308 } 309 310 blockquote::before, 311 blockquote::after, 312 q::before, 313 q::after { 314 content: ""; 315 content: none; 316 } 317 318 p, 319 .wp-die-message { 320 font-size: 13px; 321 line-height: 1.5; 322 margin: 1em 0; 323 } 324 325 blockquote { 326 margin: 1em; 327 } 328 329 li, 330 dd { 331 margin-bottom: 6px; 332 } 333 334 h1, 335 h2, 336 h3, 337 h4, 338 h5, 339 h6 { 340 display: block; 341 font-weight: 600; 342 } 343 344 h1 { 345 color: #1d2327; 346 font-size: 2em; 347 margin: 0.67em 0; 348 } 349 350 h2, 351 h3 { 352 color: #1d2327; 353 font-size: 1.3em; 354 margin: 1em 0; 355 } 356 357 .update-core-php h2 { 358 margin-top: 4em; 359 } 360 361 .update-php h2, 362 .update-messages h2, 363 h4 { 364 font-size: 1em; 365 margin: 1.33em 0; 366 } 367 368 h5 { 369 font-size: 0.83em; 370 margin: 1.67em 0; 371 } 372 373 h6 { 374 font-size: 0.67em; 375 margin: 2.33em 0; 376 } 377 378 ul, 379 ol { 380 padding: 0; 381 } 382 383 ul { 384 list-style: none; 385 } 386 387 ol { 388 list-style-type: decimal; 389 margin-left: 2em; 390 } 391 392 ul.ul-disc { 393 list-style: disc outside; 394 } 395 396 ul.ul-square { 397 list-style: square outside; 398 } 399 400 ol.ol-decimal { 401 list-style: decimal outside; 402 } 403 404 ul.ul-disc, 405 ul.ul-square, 406 ol.ol-decimal { 407 margin-left: 1.8em; 408 } 409 410 ul.ul-disc > li, 411 ul.ul-square > li, 412 ol.ol-decimal > li { 413 margin: 0 0 0.5em; 414 } 415 416 /* rtl:ignore */ 417 .ltr { 418 direction: ltr; 419 } 420 421 /* rtl:ignore */ 422 .code, 423 code { 424 font-family: Consolas, Monaco, monospace; 425 direction: ltr; 426 unicode-bidi: embed; 427 } 428 429 kbd, 430 code { 431 padding: 3px 5px 2px; 432 margin: 0 1px; 433 background: #f0f0f1; 434 background: rgba(0, 0, 0, 0.07); 435 font-size: 13px; 436 } 437 438 .subsubsub { 439 list-style: none; 440 margin: 8px 0 0; 441 padding: 0; 442 font-size: 13px; 443 float: left; 444 color: #646970; 445 } 446 447 .subsubsub a { 448 line-height: 2; 449 padding: 0.2em; 450 text-decoration: none; 451 } 452 453 .subsubsub a .count, 454 .subsubsub a.current .count { 455 color: #50575e; /* #f1f1f1 background */ 456 font-weight: 400; 457 } 458 459 .subsubsub a.current { 460 font-weight: 600; 461 border: none; 462 } 463 464 .subsubsub li { 465 display: inline-block; 466 margin: 0; 467 padding: 0; 468 white-space: nowrap; 469 } 470 471 /* .widefat - main style for tables */ 472 .widefat { 473 border-spacing: 0; 474 width: 100%; 475 clear: both; 476 margin: 0; 477 } 478 479 .widefat * { 480 word-wrap: break-word; 481 } 482 483 .widefat a, 484 .widefat button.button-link { 485 text-decoration: none; 486 } 487 488 .widefat .column-comment a:not(.row-actions a) { 489 text-decoration: underline; 490 } 491 492 .widefat td, 493 .widefat th { 494 padding: 8px 10px; 495 } 496 497 .widefat thead th, 498 .widefat thead td { 499 border-bottom: 1px solid #c3c4c7; 500 } 501 502 .widefat tfoot th, 503 .widefat tfoot td { 504 border-top: 1px solid #c3c4c7; 505 border-bottom: none; 506 } 507 508 .widefat .no-items td { 509 border-bottom-width: 0; 510 } 511 512 .widefat tbody th, 513 .widefat td { 514 vertical-align: top; 515 } 516 517 .widefat td, 518 .widefat td p, 519 .widefat td ol, 520 .widefat td ul { 521 font-size: 13px; 522 line-height: 1.5; 523 } 524 525 .widefat th, 526 .widefat tbody td.check-column, 527 .widefat thead td, 528 .widefat tfoot td { 529 text-align: left; 530 line-height: 1.3; 531 } 532 533 .widefat th:not(tbody th), 534 .widefat tbody td.check-column, 535 .widefat thead td, 536 .widefat tfoot td { 537 font-size: 14px; 538 } 539 540 .widefat td .notice ul li, 541 .widefat th .notice ul li { 542 font-size: 13px; 543 line-height: 1.54; 544 margin: 0.5em 0; 545 } 546 547 .widefat td.check-column input, 548 .widefat th input, 549 .updates-table td input, 550 .widefat thead td input, 551 .widefat tfoot td input { 552 margin: 0 0 0 8px; 553 padding: 0; 554 vertical-align: text-top; 555 } 556 557 .widefat .check-column { 558 width: 2.2em; 559 padding: 6px 0 25px; 560 vertical-align: top; 561 } 562 563 .widefat tbody th.check-column, 564 .widefat tbody td.check-column { 565 padding: 9px 0 22px; 566 } 567 568 .widefat thead td.check-column, 569 .widefat tbody th.check-column, 570 .widefat tbody td.check-column, 571 .updates-table tbody td.check-column, 572 .widefat tfoot td.check-column { 573 padding: 11px 0 0 3px; 574 } 575 576 .widefat thead td.check-column, 577 .widefat tfoot td.check-column { 578 padding-top: 4px; 579 vertical-align: middle; 580 } 581 582 .update-php div.updated, 583 .update-php div.error { 584 margin-left: 0; 585 } 586 587 .js-update-details-toggle .dashicons { 588 text-decoration: none; 589 } 590 591 .js-update-details-toggle[aria-expanded="true"] .dashicons::before { 592 content: "\f142"; 593 content: "\f142" / ""; 594 } 595 596 .no-js .widefat thead .check-column input, 597 .no-js .widefat tfoot .check-column input { 598 display: none; 599 } 600 601 .widefat .num, 602 .column-comments, 603 .column-links, 604 .column-posts { 605 text-align: center; 606 } 607 608 .widefat th#comments { 609 vertical-align: middle; 610 } 611 612 .wrap { 613 margin: 10px 20px 0 2px; 614 } 615 616 .wrap > h2:first-child, /* Back-compat for pre-4.4 */ 617 .wrap [class$="icon32"] + h2, /* Back-compat for pre-4.4 */ 618 .postbox .inside h2, /* Back-compat for pre-4.4 */ 619 .wrap h1 { 620 font-size: 23px; 621 font-weight: 400; 622 margin: 0; 623 padding: 9px 0 4px; 624 line-height: 1.3; 625 } 626 627 .wrap h1.wp-heading-inline { 628 display: inline-block; 629 margin-right: 5px; 630 } 631 632 .wp-header-end { 633 visibility: hidden; 634 margin: -2px 0 0; 635 } 636 637 .subtitle { 638 margin: 0; 639 padding-left: 25px; 640 color: #50575e; 641 font-size: 14px; 642 font-weight: 400; 643 line-height: 1; 644 } 645 646 .subtitle strong { 647 word-break: break-all; 648 } 649 650 .wrap .add-new-h2, /* deprecated */ 651 .wrap .add-new-h2:active, /* deprecated */ 652 .wrap .page-title-action, 653 .wrap .page-title-action:active { 654 display: inline-block; 655 position: relative; 656 box-sizing: border-box; 657 cursor: pointer; 658 white-space: nowrap; 659 text-decoration: none; 660 text-shadow: none; 661 top: -3px; 662 margin-left: 4px; 663 border: 1px solid #2271b1; 664 border-radius: 2px; 665 background: transparent; 666 font-size: 13px; 667 font-weight: 500; 668 min-height: 32px; 669 line-height: 2.30769231; /* 30px for 32px height */ 670 color: #2271b1; /* use the standard color used for buttons */ 671 padding: 0 12px; 672 -webkit-appearance: none; 673 674 } 675 676 .wrap .wp-heading-inline + .page-title-action { 677 margin-left: 0; 678 } 679 680 .wrap .add-new-h2:hover, /* deprecated */ 681 .wrap .page-title-action:hover { 682 border-color: #0a4b78; 683 color: #0a4b78; 684 } 685 686 /* lower specificity: color needs to be overridden by :hover and :active */ 687 .page-title-action:focus { 688 color: #0a4b78; 689 } 690 691 /* Dashicon for language options on General Settings and Profile screens */ 692 .form-table th label[for="locale"] .dashicons, 693 .form-table th label[for="site-language"] .dashicons, 694 .form-table th label[for="WPLANG"] .dashicons { 695 margin-left: 5px; 696 } 697 698 .wrap .page-title-action:focus { 699 border-color: #3582c4; 700 box-shadow: 0 0 0 1px #3582c4; 701 /* Only visible in Windows High Contrast mode */ 702 outline: 2px solid transparent; 703 } 704 705 .wrap h1.long-header { 706 padding-right: 0; 707 } 708 709 .wp-dialog { 710 background-color: #fff; 711 } 712 713 .widgets-chooser ul, 714 #widgets-left .widget-in-question .widget-top, 715 #available-widgets .widget-top:hover, 716 div#widgets-right .widget-top:hover, 717 #widgets-left .widget-top:hover { 718 border-color: #8c8f94; 719 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); 720 } 721 722 .sorthelper { 723 background-color: #c5d9ed; 724 } 725 726 /* stylelint-disable-next-line selector-class-pattern -- The class ac_match comes from jquery.suggest and can't be changed. */ 727 .ac_match, 728 .subsubsub a.current { 729 color: #000; 730 } 731 732 .striped > tbody > :nth-child(odd), 733 ul.striped > :nth-child(odd), 734 .alternate { 735 background-color: #f6f7f7; 736 } 737 738 .bar { 739 background-color: #f0f0f1; 740 border-right-color: var(--wp-admin-theme-color); 741 } 742 743 /* Helper classes for plugins to leverage the active WordPress color scheme */ 744 .highlight { 745 background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08); 746 color: #3c434a; 747 } 748 749 .wp-ui-primary { 750 color: #fff; 751 background-color: #2c3338; 752 } 753 754 .wp-ui-text-primary { 755 color: #2c3338; 756 } 757 758 .wp-ui-highlight { 759 color: #fff; 760 background-color: #2271b1; 761 } 762 763 .wp-ui-text-highlight { 764 color: #2271b1; 765 } 766 767 .wp-ui-notification { 768 color: #fff; 769 background-color: #d63638; 770 } 771 772 .wp-ui-text-notification { 773 color: #d63638; 774 } 775 776 .wp-ui-text-icon { 777 color: #8c8f94; /* same as new icons */ 778 } 779 780 /* For emoji replacement images */ 781 img.emoji { 782 display: inline !important; 783 border: none !important; 784 height: 1em !important; 785 width: 1em !important; 786 margin: 0 0.07em !important; 787 vertical-align: -0.1em !important; 788 background: none !important; 789 padding: 0 !important; 790 box-shadow: none !important; 791 } 792 793 /*------------------------------------------------------------------------------ 794 1.0 - Text Styles 795 ------------------------------------------------------------------------------*/ 796 797 .widget .widget-top, 798 .postbox .hndle, 799 .stuffbox .hndle, 800 .control-section .accordion-section-title, 801 .sidebar-name, 802 #nav-menu-header, 803 #nav-menu-footer, 804 .menu-item-handle, 805 .checkbox, 806 .side-info, 807 /* stylelint-disable-next-line selector-id-pattern -- The ID selector rich_editing can't be changed because of backward compatibility reasons. */ 808 #your-profile #rich_editing, 809 .widefat thead th, 810 .widefat thead td, 811 .widefat tfoot th, 812 .widefat tfoot td { 813 line-height: 1.4; 814 } 815 816 .widget .widget-top, 817 .menu-item-handle { 818 background: #f6f7f7; 819 color: #1d2327; 820 } 821 822 .stuffbox .hndle { 823 border-bottom: 1px solid #c3c4c7; 824 } 825 826 .quicktags { 827 background-color: #c3c4c7; 828 color: #000; 829 font-size: 12px; 830 } 831 832 .icon32 { 833 display: none; 834 } 835 836 /* @todo can we combine these into a class or use an existing dashicon one? */ 837 .welcome-panel .welcome-panel-close::before, 838 .tagchecklist .ntdelbutton .remove-tag-icon::before, 839 #bulk-titles .ntdelbutton::before, 840 .notice-dismiss::before { 841 background: none; 842 color: #1e1e1e; 843 content: "\f335"; 844 content: "\f335" / ""; 845 display: block; 846 font: 400 20px/1 dashicons; 847 height: 1em; 848 text-align: center; 849 width: 1em; 850 -webkit-font-smoothing: antialiased; 851 -moz-osx-font-smoothing: grayscale; 852 } 853 854 .welcome-panel .welcome-panel-close::before { 855 margin: 0; 856 } 857 858 .tagchecklist .ntdelbutton .remove-tag-icon::before { 859 margin-left: 2px; 860 border-radius: 50%; 861 color: var(--wp-admin-theme-color, #3858e9); 862 /* vertically center the icon cross browsers */ 863 line-height: 1.1; 864 } 865 866 .tagchecklist .ntdelbutton:focus { 867 outline: 0; 868 } 869 870 .tagchecklist .ntdelbutton:hover .remove-tag-icon::before, 871 .tagchecklist .ntdelbutton:focus .remove-tag-icon::before, 872 #bulk-titles .ntdelbutton:hover::before, 873 #bulk-titles .ntdelbutton:focus::before { 874 color: #d63638; 875 } 876 877 .tagchecklist .ntdelbutton:focus .remove-tag-icon::before { 878 box-shadow: 0 0 0 var(--wp-admin-border-width-focus, 1.5px) var(--wp-admin-theme-color, #3858e9); 879 /* Only visible in Windows High Contrast mode */ 880 outline: 2px solid transparent; 881 } 882 883 strong, 884 b { 885 font-weight: 600; 886 } 887 888 .pre { 889 /* https://developer.mozilla.org/en-US/docs/CSS/white-space */ 890 white-space: pre-wrap; /* css-3 */ 891 word-wrap: break-word; /* IE 5.5 - 7 */ 892 } 893 894 .howto { 895 color: #646970; 896 display: block; 897 } 898 899 p.install-help { 900 margin: 8px 0; 901 font-style: italic; 902 } 903 904 .no-break { 905 white-space: nowrap; 906 } 907 908 hr { 909 border: 0; 910 border-top: 1px solid #dcdcde; 911 border-bottom: 1px solid #f6f7f7; 912 } 913 914 .row-actions span.delete a, 915 .row-actions span.trash a, 916 .row-actions span.spam a, 917 .plugins a.delete, 918 #all-plugins-table .plugins a.delete, 919 #search-plugins-table .plugins a.delete, 920 .submitbox .submitdelete, 921 #media-items a.delete, 922 #media-items a.delete-permanently, 923 #nav-menu-footer .menu-delete, 924 #delete-link a.delete, 925 a#remove-post-thumbnail, 926 /* stylelint-disable-next-line selector-class-pattern -- The class privacy_requests can't be changed because of backward compatibility reasons. */ 927 .privacy_requests .remove-personal-data .remove-personal-data-handle { 928 color: #b32d2e; 929 } 930 931 abbr.required, 932 span.required, 933 .file-error, 934 .row-actions .delete a:hover, 935 .row-actions .trash a:hover, 936 .row-actions .spam a:hover, 937 .plugins a.delete:hover, 938 #all-plugins-table .plugins a.delete:hover, 939 #search-plugins-table .plugins a.delete:hover, 940 .submitbox .submitdelete:hover, 941 #media-items a.delete:hover, 942 #media-items a.delete-permanently:hover, 943 #nav-menu-footer .menu-delete:hover, 944 #delete-link a.delete:hover, 945 a#remove-post-thumbnail:hover, 946 /* stylelint-disable-next-line selector-class-pattern -- The class privacy_requests can't be changed because of backward compatibility reasons. */ 947 .privacy_requests .remove-personal-data .remove-personal-data-handle:hover { 948 color: #b32d2e; 949 border: none; 950 } 951 952 .application-password-display .success { 953 color: #007017; 954 margin-left: 0.5rem; 955 } 956 957 /*------------------------------------------------------------------------------ 958 3.0 - Actions 959 ------------------------------------------------------------------------------*/ 960 961 #major-publishing-actions { 962 padding: 10px; 963 clear: both; 964 border-top: 1px solid #dcdcde; 965 background: #f6f7f7; 966 display: flex; 967 flex-wrap: wrap; 968 align-items: center; 969 justify-content: space-between; 970 } 971 972 #delete-action { 973 line-height: 2.30769231; /* 30px */ 974 } 975 976 #delete-link a { 977 text-decoration: none; 978 } 979 980 #publishing-action { 981 text-align: right; 982 margin-left: auto; 983 line-height: 1.9; 984 } 985 986 #publishing-action .spinner { 987 float: none; 988 } 989 990 #misc-publishing-actions { 991 padding: 6px 0 0; 992 } 993 994 .misc-pub-section { 995 padding: 6px 10px 8px; 996 } 997 998 .word-wrap-break-word, 999 .misc-pub-filename { 1000 word-wrap: break-word; 1001 } 1002 1003 #minor-publishing-actions { 1004 padding: 10px 10px 0; 1005 display: flex; 1006 flex-wrap: wrap; 1007 align-items: center; 1008 justify-content: space-between; 1009 gap: 8px; 1010 } 1011 1012 /* Prevent any legacy clearfix elements added by plugins from becoming active flex items. */ 1013 #minor-publishing-actions .clear { 1014 display: none; 1015 } 1016 1017 #save-action { 1018 display: flex; 1019 align-items: center; 1020 } 1021 1022 #save-action .spinner { 1023 float: none; 1024 margin-top: 0; 1025 margin-bottom: 0; 1026 } 1027 1028 #preview-action { 1029 text-align: right; 1030 margin-left: auto; 1031 } 1032 1033 #sticky-span { 1034 margin-left: 18px; 1035 } 1036 1037 .approve, 1038 .unapproved .unapprove { 1039 display: none; 1040 } 1041 1042 .unapproved .approve, 1043 .spam .approve, 1044 .trash .approve { 1045 display: inline; 1046 } 1047 1048 td.action-links, 1049 th.action-links { 1050 text-align: right; 1051 } 1052 1053 #misc-publishing-actions .notice { 1054 margin-left: 10px; 1055 margin-right: 10px; 1056 } 1057 1058 /* Filter bar */ 1059 .wp-filter { 1060 display: inline-block; 1061 position: relative; 1062 box-sizing: border-box; 1063 margin: 12px 0 25px; 1064 padding: 0 10px; 1065 width: 100%; 1066 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); 1067 border: 1px solid #c3c4c7; 1068 background: #fff; 1069 color: #50575e; 1070 font-size: 13px; 1071 } 1072 1073 .wp-filter a { 1074 text-decoration: none; 1075 } 1076 1077 .filter-count { 1078 display: inline-block; 1079 vertical-align: middle; 1080 min-width: 4em; 1081 } 1082 1083 .title-count, 1084 .filter-count .count { 1085 display: inline-block; 1086 position: relative; 1087 top: -1px; 1088 padding: 4px 10px; 1089 border-radius: 30px; 1090 background: #646970; 1091 color: #fff; 1092 font-size: 14px; 1093 font-weight: 600; 1094 } 1095 1096 /* not a part of filter bar, but derived from it, so here for now */ 1097 .title-count { 1098 display: inline; 1099 top: -3px; 1100 margin-left: 5px; 1101 margin-right: 20px; 1102 } 1103 1104 .filter-items { 1105 float: left; 1106 } 1107 1108 .filter-links { 1109 display: inline-block; 1110 margin: 0; 1111 } 1112 1113 .filter-links li { 1114 display: inline-block; 1115 margin: 0; 1116 } 1117 1118 .filter-links li > a { 1119 display: inline-block; 1120 margin: 0 10px; 1121 padding: 15px 0; 1122 border-bottom: 4px solid #fff; 1123 color: #646970; 1124 cursor: pointer; 1125 } 1126 1127 .filter-links .current { 1128 box-shadow: none; 1129 border-bottom: 4px solid var(--wp-admin-theme-color); 1130 color: #1d2327; 1131 /* Only visible in Windows High Contrast mode */ 1132 outline: 2px solid transparent; 1133 } 1134 1135 .filter-links li > a:hover, 1136 .filter-links li > a:focus, 1137 .show-filters .filter-links a.current:hover, 1138 .show-filters .filter-links a.current:focus { 1139 color: var(--wp-admin-theme-color); 1140 } 1141 1142 .wp-filter .search-form { 1143 float: right; 1144 display: flex; 1145 align-items: center; 1146 column-gap: 0.5rem; 1147 } 1148 1149 .wp-filter .search-form input[type="search"] { 1150 width: 280px; 1151 max-width: 100%; 1152 min-height: 32px; 1153 padding: 0 8px; 1154 } 1155 1156 .wp-filter .search-form select { 1157 margin: 0; 1158 } 1159 1160 .wp-filter .search-form select, 1161 .wp-filter .filter-items select { 1162 min-height: 32px; 1163 line-height: 2.14285714; /* 30px for 32px height with 14px font */ 1164 padding: 0 24px 0 8px; 1165 } 1166 1167 .wp-filter .button { 1168 min-height: 32px; 1169 line-height: 2.30769231; /* 30px for 32px height with 13px font */ 1170 padding: 0 12px; 1171 } 1172 1173 /* Use flexbox only on the plugins install page and upload page. The `filter-links` and search form children will become flex items. */ 1174 .plugin-install-php .wp-filter, 1175 .upload-php .wp-filter { 1176 display: flex; 1177 flex-wrap: wrap; 1178 justify-content: space-between; 1179 align-items: center; 1180 } 1181 1182 .wp-filter .search-form.search-plugins select, 1183 .wp-filter .search-form.search-plugins .wp-filter-search, 1184 .no-js .wp-filter .search-form.search-plugins .button { 1185 display: inline-block; 1186 vertical-align: top; 1187 } 1188 1189 .wp-filter .button.drawer-toggle { 1190 margin: 10px 9px 0; 1191 padding: 0 10px 0 6px; 1192 border-color: transparent; 1193 background-color: transparent; 1194 color: #646970; 1195 vertical-align: baseline; 1196 box-shadow: none; 1197 } 1198 1199 .wp-filter .drawer-toggle::before { 1200 content: "\f111"; 1201 content: "\f111" / ""; 1202 margin: 0 5px 0 0; 1203 color: #646970; 1204 font: 400 16px/1 dashicons; 1205 vertical-align: text-bottom; 1206 -webkit-font-smoothing: antialiased; 1207 -moz-osx-font-smoothing: grayscale; 1208 } 1209 1210 .wp-filter .button.drawer-toggle:hover, 1211 .wp-filter .drawer-toggle:hover::before, 1212 .wp-filter .button.drawer-toggle:focus, 1213 .wp-filter .drawer-toggle:focus::before { 1214 background-color: transparent; 1215 color: var(--wp-admin-theme-color); 1216 } 1217 1218 .wp-filter .button.drawer-toggle:hover, 1219 .wp-filter .button.drawer-toggle:focus:active { 1220 border-color: transparent; 1221 } 1222 1223 .wp-filter .button.drawer-toggle:focus { 1224 border-color: var(--wp-admin-theme-color); 1225 } 1226 1227 .wp-filter .button.drawer-toggle:active { 1228 background: transparent; 1229 box-shadow: none; 1230 transform: none; 1231 } 1232 1233 .wp-filter .drawer-toggle.current::before { 1234 color: #fff; 1235 } 1236 1237 .filter-drawer, 1238 .wp-filter .favorites-form { 1239 display: none; 1240 margin: 0 -10px 0 -20px; 1241 padding: 20px; 1242 border-top: 1px solid #f0f0f1; 1243 background: #f6f7f7; 1244 overflow: hidden; 1245 } 1246 1247 .wp-filter .favorites-form .favorites-username, 1248 .plugin-install-tab-favorites .favorites-username { 1249 display: flex; 1250 align-items: center; 1251 flex-wrap: wrap; 1252 gap: 0.5rem; 1253 } 1254 1255 .wp-filter .favorites-form .favorites-username input, 1256 .plugin-install-tab-favorites .favorites-username input { 1257 margin: 0; 1258 } 1259 1260 .show-filters .filter-drawer, 1261 .show-favorites-form .favorites-form { 1262 display: block; 1263 } 1264 1265 .show-filters .filter-links a.current { 1266 border-bottom: none; 1267 } 1268 1269 .show-filters .wp-filter .button.drawer-toggle { 1270 border-radius: 2px; 1271 background: #646970; 1272 color: #fff; 1273 } 1274 1275 .show-filters .wp-filter .drawer-toggle:hover, 1276 .show-filters .wp-filter .drawer-toggle:focus { 1277 background: var(--wp-admin-theme-color); 1278 } 1279 1280 .show-filters .wp-filter .drawer-toggle::before { 1281 color: #fff; 1282 } 1283 1284 .filter-group { 1285 box-sizing: border-box; 1286 position: relative; 1287 float: left; 1288 margin: 0 1% 0 0; 1289 padding: 20px 10px 10px; 1290 width: 24%; 1291 background: #fff; 1292 border: 1px solid #dcdcde; 1293 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); 1294 } 1295 1296 .filter-group legend { 1297 position: absolute; 1298 top: 10px; 1299 display: block; 1300 margin: 0; 1301 padding: 0; 1302 font-size: 1em; 1303 font-weight: 600; 1304 } 1305 1306 .filter-drawer .filter-group-feature { 1307 margin: 28px 0 0; 1308 list-style-type: none; 1309 font-size: 12px; 1310 } 1311 1312 .filter-drawer .filter-group-feature input, 1313 .filter-drawer .filter-group-feature label { 1314 line-height: 1.4; 1315 } 1316 1317 .filter-drawer .filter-group-feature input { 1318 position: absolute; 1319 margin: 0; 1320 } 1321 1322 .filter-group .filter-group-feature label { 1323 display: block; 1324 margin: 14px 0 14px 23px; 1325 } 1326 1327 .filter-drawer .buttons { 1328 clear: both; 1329 margin-bottom: 20px; 1330 } 1331 1332 .filter-drawer .filter-group + .buttons { 1333 margin-bottom: 0; 1334 padding-top: 20px; 1335 } 1336 1337 .filter-drawer .buttons .button span { 1338 display: inline-block; 1339 opacity: 0.8; 1340 font-size: 12px; 1341 text-indent: 10px; 1342 } 1343 1344 .wp-filter .button.clear-filters { 1345 display: none; 1346 margin-left: 10px; 1347 } 1348 1349 .wp-filter .button-link.edit-filters { 1350 padding: 0 5px; 1351 line-height: 2.2; 1352 } 1353 1354 .filtered-by { 1355 display: none; 1356 margin: 0; 1357 } 1358 1359 .filtered-by > span { 1360 font-weight: 600; 1361 } 1362 1363 .filtered-by a { 1364 margin-left: 10px; 1365 } 1366 1367 .filtered-by .tags { 1368 display: flex; 1369 align-items: flex-start; 1370 flex-wrap: wrap; 1371 gap: 8px; 1372 } 1373 1374 .filtered-by .tag { 1375 padding: 4px 8px; 1376 border: 1px solid #dcdcde; 1377 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); 1378 background: #fff; 1379 font-size: 11px; 1380 } 1381 1382 .filters-applied .filter-group, 1383 .filters-applied .filter-drawer .buttons, 1384 .filters-applied .filter-drawer br { 1385 display: none; 1386 } 1387 1388 .filters-applied .filtered-by { 1389 display: flex; 1390 align-items: center; 1391 flex-wrap: wrap; 1392 gap: 10px; 1393 } 1394 1395 .filters-applied .filter-drawer { 1396 padding: 20px; 1397 } 1398 1399 .show-filters .favorites-form, 1400 .show-filters .content-filterable, 1401 .show-filters.filters-applied.loading-content .content-filterable, 1402 .loading-content .content-filterable, 1403 .error .content-filterable { 1404 display: none; 1405 } 1406 1407 .show-filters.filters-applied .content-filterable { 1408 display: block; 1409 } 1410 1411 .loading-content .spinner { 1412 display: block; 1413 margin: 40px auto 0; 1414 float: none; 1415 } 1416 1417 @media only screen and (max-width: 1138px) { 1418 .wp-filter .search-form { 1419 margin: 11px 0; 1420 } 1421 } 1422 1423 @media only screen and (max-width: 1250px) { 1424 .wp-filter:has(.plugin-install-search) .search-form { 1425 margin: 11px 0; 1426 } 1427 } 1428 1429 @media only screen and (max-width: 1120px) { 1430 .filter-drawer { 1431 border-bottom: 1px solid #f0f0f1; 1432 } 1433 1434 .filter-group { 1435 margin-bottom: 0; 1436 margin-top: 5px; 1437 width: 100%; 1438 } 1439 1440 .filter-group li { 1441 margin: 10px 0; 1442 } 1443 } 1444 1445 @media only screen and (max-width: 1000px) { 1446 .filter-items { 1447 float: none; 1448 } 1449 1450 .wp-filter .media-toolbar-primary, 1451 .wp-filter .media-toolbar-secondary, 1452 .wp-filter .search-form { 1453 float: none; /* Remove float from media-views.css */ 1454 position: relative; 1455 max-width: 100%; 1456 } 1457 1458 .wp-filter .search-form { 1459 margin: 11px 0; 1460 flex-wrap: wrap; 1461 row-gap: 10px; 1462 } 1463 } 1464 1465 @media only screen and (max-width: 782px) { 1466 .filter-group li { 1467 padding: 0; 1468 width: 50%; 1469 } 1470 1471 .wp-filter .search-form input[type="search"] { 1472 min-height: 40px; 1473 padding: 0 12px; 1474 } 1475 1476 .wp-filter .search-form select, 1477 .wp-filter .filter-items select { 1478 min-height: 40px; 1479 padding: 0 24px 0 12px; 1480 } 1481 } 1482 1483 @media only screen and (max-width: 320px) { 1484 .filter-count { 1485 display: none; 1486 } 1487 1488 .wp-filter .drawer-toggle { 1489 margin: 10px 0; 1490 } 1491 1492 .filter-group li, 1493 .wp-filter .search-form input[type="search"] { 1494 width: 100%; 1495 } 1496 } 1497 1498 /*------------------------------------------------------------------------------ 1499 4.0 - Notifications 1500 ------------------------------------------------------------------------------*/ 1501 1502 .notice, 1503 div.updated, 1504 div.error { 1505 background: #fff; 1506 border: none; 1507 border-left: 4px solid #c3c4c7; 1508 box-shadow: none; 1509 margin: 5px 15px 2px; 1510 padding: 8px 12px; 1511 } 1512 1513 div[class="update-message"] { /* back-compat for pre-4.6 */ 1514 padding: 0.5em 12px 0.5em 0; 1515 } 1516 1517 .notice p, 1518 .notice-title, 1519 div.updated p, 1520 div.error p, 1521 .form-table td .notice p { 1522 margin: 0.5em 0; 1523 padding: 0; 1524 font-size: 13px; 1525 line-height: 1.54; 1526 color: #1e1e1e; 1527 } 1528 1529 div.notice a, 1530 div.error a, 1531 div.updated a { 1532 color: var(--wp-admin-theme-color-darker-10); 1533 text-decoration: underline; 1534 } 1535 1536 div.notice a:hover, 1537 div.error a:hover, 1538 div.updated a:hover { 1539 color: var(--wp-admin-theme-color-darker-20); 1540 } 1541 1542 div.notice a:focus, 1543 div.error a:focus, 1544 div.updated a:focus { 1545 box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); 1546 outline: 2px solid transparent; 1547 border-radius: 2px; 1548 } 1549 1550 .notice-alt { 1551 box-shadow: none; 1552 } 1553 1554 .notice-large { 1555 padding: 10px 20px; 1556 } 1557 1558 .notice-title { 1559 display: inline-block; 1560 color: #1d2327; 1561 font-size: 18px; 1562 } 1563 1564 .wp-core-ui .notice.is-dismissible { 1565 padding-right: 48px; 1566 position: relative; 1567 } 1568 1569 .notice-dismiss { 1570 position: absolute; 1571 top: 12px; 1572 right: 12px; 1573 border: none; 1574 margin: 0; 1575 padding: 0; 1576 background: none; 1577 color: #1e1e1e; 1578 cursor: pointer; 1579 width: 24px; 1580 height: 24px; 1581 display: flex; 1582 align-items: center; 1583 justify-content: center; 1584 border-radius: 2px; 1585 } 1586 1587 .notice-dismiss:hover::before, 1588 .notice-dismiss:active::before { 1589 color: #1e1e1e; 1590 opacity: 0.7; 1591 } 1592 1593 .notice-dismiss:focus { 1594 box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); 1595 /* Only visible in Windows High Contrast mode */ 1596 outline: 2px solid transparent; 1597 } 1598 1599 .notice-dismiss:focus::before { 1600 color: #1e1e1e; 1601 } 1602 1603 .notice-success, 1604 div.updated { 1605 border-left-color: #4ab866; 1606 background-color: #eff9f1; 1607 } 1608 1609 .notice-success.notice-alt, 1610 div.updated.notice-alt { 1611 background-color: #eff9f1; 1612 } 1613 1614 .notice-warning { 1615 border-left-color: #f0b849; 1616 background-color: #fef8ee; 1617 } 1618 1619 .notice-warning.notice-alt { 1620 background-color: #fef8ee; 1621 } 1622 1623 .notice-error, 1624 div.error { 1625 border-left-color: #cc1818; 1626 background-color: #fcf0f0; 1627 } 1628 1629 .notice-error.notice-alt, 1630 div.error.notice-alt { 1631 background-color: #fcf0f0; 1632 } 1633 1634 .notice-info { 1635 border-left-color: #3858e9; 1636 background-color: #fff; 1637 } 1638 1639 .notice-info.notice-alt { 1640 background-color: #fff; 1641 } 1642 1643 #plugin-information-footer .update-now:not(.button-disabled)::before { 1644 color: #d63638; 1645 content: "\f463"; 1646 content: "\f463" / ""; 1647 display: inline-block; 1648 font: 400 20px/1 dashicons; 1649 margin: -3px 5px 0 -2px; 1650 -webkit-font-smoothing: antialiased; 1651 -moz-osx-font-smoothing: grayscale; 1652 vertical-align: middle; 1653 } 1654 1655 #plugin-information-footer .notice { 1656 margin-top: -5px; 1657 } 1658 1659 .update-message p::before, 1660 .updating-message p::before, 1661 .updated-message p::before, 1662 .import-php .updating-message::before, 1663 .button.updating-message::before, 1664 .button.updated-message::before, 1665 .button.installed::before, 1666 .button.installing::before, 1667 .button.activating-message::before, 1668 .button.activated-message::before { 1669 display: inline-block; 1670 font: 400 20px/1 dashicons; 1671 -webkit-font-smoothing: antialiased; 1672 -moz-osx-font-smoothing: grayscale; 1673 vertical-align: top; 1674 } 1675 1676 .wrap .notice, 1677 .wrap div.updated, 1678 .wrap div.error, 1679 .media-upload-form .notice, 1680 .media-upload-form div.error { 1681 margin: 5px 0 15px; 1682 } 1683 1684 .wrap #templateside .notice { 1685 display: block; 1686 margin: 0; 1687 padding: 5px 8px; 1688 font-weight: 600; 1689 text-decoration: none; 1690 } 1691 1692 .wrap #templateside span.notice { 1693 margin-left: -12px; 1694 } 1695 1696 #templateside li.notice a { 1697 padding: 0; 1698 } 1699 1700 /* Update icon. */ 1701 .update-message p::before, 1702 .updating-message p::before, 1703 .import-php .updating-message::before, 1704 .button.updating-message::before, 1705 .button.installing::before, 1706 .button.activating-message::before { 1707 color: #d63638; 1708 content: "\f463"; 1709 content: "\f463" / ""; 1710 } 1711 1712 /* Spins the update icon. */ 1713 .updating-message p::before, 1714 .import-php .updating-message::before, 1715 .button.updating-message::before, 1716 .button.installing::before, 1717 .button.activating-message::before, 1718 .plugins .column-auto-updates .dashicons-update.spin, 1719 .theme-overlay .theme-autoupdate .dashicons-update.spin { 1720 animation: rotation 2s infinite linear; 1721 } 1722 1723 @media (prefers-reduced-motion: reduce) { 1724 .updating-message p::before, 1725 .import-php .updating-message::before, 1726 .button.updating-message::before, 1727 .button.installing::before, 1728 .button.activating-message::before, 1729 .plugins .column-auto-updates .dashicons-update.spin, 1730 .theme-overlay .theme-autoupdate .dashicons-update.spin { 1731 animation: none; 1732 } 1733 } 1734 1735 .theme-overlay .theme-autoupdate .dashicons-update.spin { 1736 margin-right: 3px; 1737 } 1738 1739 /* Updated icon (check mark). */ 1740 .updated-message p::before, 1741 .installed p::before, 1742 .button.updated-message::before, 1743 .button.activated-message::before { 1744 color: #68de7c; 1745 content: "\f147"; 1746 content: "\f147" / ""; 1747 } 1748 1749 /* Error icon. */ 1750 .update-message.notice-error p::before { 1751 color: #d63638; 1752 content: "\f534"; 1753 content: "\f534" / ""; 1754 } 1755 1756 .wrap .notice p::before, 1757 .import-php .updating-message::before { 1758 margin-right: 6px; 1759 } 1760 1761 .import-php .updating-message::before { 1762 vertical-align: bottom; 1763 } 1764 1765 #update-nag, 1766 .update-nag { 1767 display: inline-block; 1768 line-height: 1.4; 1769 padding: 11px 15px; 1770 font-size: 14px; 1771 margin: 25px 20px 0 2px; 1772 } 1773 1774 ul#dismissed-updates { 1775 display: none; 1776 } 1777 1778 #dismissed-updates li > p { 1779 margin-top: 0; 1780 } 1781 1782 #dismiss, 1783 #undismiss { 1784 margin-left: 0.5em; 1785 } 1786 1787 form.upgrade { 1788 margin-top: 8px; 1789 } 1790 1791 form.upgrade .hint { 1792 font-style: italic; 1793 font-size: 85%; 1794 margin: -0.5em 0 2em; 1795 } 1796 1797 .update-php .spinner { 1798 float: none; 1799 margin: -4px 0; 1800 } 1801 1802 h2.wp-current-version { 1803 margin-bottom: 0.3em; 1804 } 1805 1806 p.update-last-checked { 1807 margin-top: 0; 1808 } 1809 1810 p.auto-update-status { 1811 margin-top: 2em; 1812 line-height: 1.8; 1813 } 1814 1815 #ajax-loading, 1816 .ajax-loading, 1817 .ajax-feedback, 1818 .imgedit-wait-spin, 1819 .list-ajax-loading { /* deprecated */ 1820 visibility: hidden; 1821 } 1822 1823 #ajax-response.alignleft { 1824 margin-left: 2em; 1825 } 1826 1827 .button.updating-message::before, 1828 .button.updated-message::before, 1829 .button.installed::before, 1830 .button.installing::before, 1831 .button.activated-message::before, 1832 .button.activating-message::before { 1833 margin: 0 5px 0 -2px; 1834 line-height: 1.9; /* 38px (20px * 1.9) - matches button */ 1835 vertical-align: top; 1836 } 1837 1838 #plugin-information-footer .button { 1839 padding: 0 14px; 1840 line-height: 2.71428571; /* 38px */ 1841 font-size: 14px; 1842 vertical-align: middle; 1843 min-height: 40px; 1844 margin-bottom: 4px; 1845 } 1846 1847 #plugin-information-footer .button.installed::before, 1848 #plugin-information-footer .button.installing::before, 1849 #plugin-information-footer .button.updating-message::before, 1850 #plugin-information-footer .button.updated-message::before, 1851 #plugin-information-footer .button.activated-message::before, 1852 #plugin-information-footer .button.activating-message::before { 1853 margin: 0 5px 0 -2px; 1854 line-height: 1.9; /* 38px (20px * 1.9) - matches button */ 1855 vertical-align: top; 1856 } 1857 1858 #plugin-information-footer .button.update-now.updating-message::before { 1859 margin: 0 5px 0 -2px; 1860 } 1861 1862 .button-primary.updating-message::before, 1863 .button-primary.activating-message::before { 1864 color: #fff; 1865 } 1866 1867 .button-primary.updated-message::before, 1868 .button-primary.activated-message::before { 1869 color: #9ec2e6; 1870 } 1871 1872 .button.updated-message, 1873 .button.activated-message { 1874 transition-property: border, background, color; 1875 transition-duration: 0.05s; 1876 transition-timing-function: ease-in-out; 1877 } 1878 1879 /* @todo: this does not need its own section anymore */ 1880 /*------------------------------------------------------------------------------ 1881 6.0 - Admin Header 1882 ------------------------------------------------------------------------------*/ 1883 #adminmenu a, 1884 #taglist a, 1885 #catlist a { 1886 text-decoration: none; 1887 } 1888 1889 /*------------------------------------------------------------------------------ 1890 6.1 - Screen Options Tabs 1891 ------------------------------------------------------------------------------*/ 1892 1893 #screen-options-wrap, 1894 #contextual-help-wrap { 1895 margin: 0; 1896 padding: 8px 20px 12px; 1897 position: relative; 1898 } 1899 1900 #contextual-help-wrap { 1901 overflow: auto; 1902 margin-left: 0; 1903 padding: 0; 1904 } 1905 1906 #screen-meta-links { 1907 float: right; 1908 margin: 0 20px 0 0; 1909 } 1910 1911 /* screen options and help tabs revert */ 1912 #screen-meta { 1913 display: none; 1914 margin: 0 20px -1px 0; 1915 position: relative; 1916 background-color: #fff; 1917 border: 1px solid #c3c4c7; 1918 border-top: none; 1919 box-shadow: 0 0 0 transparent; 1920 } 1921 1922 #screen-options-link-wrap, 1923 #contextual-help-link-wrap { 1924 float: left; 1925 margin: 0 0 0 6px; 1926 } 1927 1928 #screen-meta-links .screen-meta-toggle { 1929 position: relative; 1930 top: 0; 1931 } 1932 1933 #screen-meta-links .show-settings { 1934 border: 1px solid #c3c4c7; 1935 border-top: none; 1936 height: auto; 1937 margin-bottom: 0; 1938 padding: 0 6px 0 16px; 1939 background: #fff; 1940 border-radius: 0 0 4px 4px; 1941 color: #646970; 1942 box-shadow: 0 0 0 transparent; 1943 transition: box-shadow 0.1s linear; 1944 } 1945 1946 #screen-meta-links .show-settings:hover, 1947 #screen-meta-links .show-settings:active, 1948 #screen-meta-links .show-settings:focus { 1949 color: #2c3338; 1950 } 1951 1952 #screen-meta-links .show-settings:focus { 1953 border-color: var(--wp-admin-theme-color, #3858e9); 1954 box-shadow: 0 0 0 var(--wp-admin-border-width-focus, 1.5px) var(--wp-admin-theme-color, #3858e9); 1955 /* Only visible in Windows High Contrast mode */ 1956 outline: 2px solid transparent; 1957 } 1958 1959 #screen-meta-links .show-settings:active { 1960 transform: none; 1961 } 1962 1963 #screen-meta-links .show-settings::after { 1964 right: 0; 1965 content: "\f140"; 1966 content: "\f140" / ""; 1967 font: 400 20px/1.5 dashicons; /* line-height 1.5 = 30px to match compact button */ 1968 display: inline-block; 1969 padding: 0 5px 0 0; 1970 vertical-align: top; 1971 -webkit-font-smoothing: antialiased; 1972 -moz-osx-font-smoothing: grayscale; 1973 text-decoration: none; 1974 } 1975 1976 #screen-meta-links .screen-meta-active::after { 1977 content: "\f142"; 1978 content: "\f142" / ""; 1979 } 1980 1981 /* end screen options and help tabs */ 1982 1983 /* This class appears to be unused in Core. */ 1984 .toggle-arrow { 1985 background-repeat: no-repeat; 1986 background-position: top left; 1987 background-color: transparent; 1988 height: 22px; 1989 /* stylelint-disable-next-line declaration-property-unit-allowed-list -- The toggle-arrow class appears to be unused; it is kept here only for potential backward compatibility issues. */ 1990 line-height: 22px; 1991 display: block; 1992 } 1993 1994 /* This class appears to be unused in Core. */ 1995 .toggle-arrow-active { 1996 background-position: bottom left; 1997 } 1998 1999 #screen-options-wrap h5, /* Back-compat for old plugins */ 2000 #screen-options-wrap legend, 2001 #contextual-help-wrap h5 { 2002 margin: 0; 2003 padding: 8px 0; 2004 font-size: 13px; 2005 font-weight: 600; 2006 } 2007 2008 .metabox-prefs label { 2009 display: inline-block; 2010 padding-right: 15px; 2011 line-height: 2.35; 2012 } 2013 2014 .additional-settings-prefs { 2015 margin-top: 14px; 2016 } 2017 2018 /* This ID appears to be unused in Core. */ 2019 #number-of-columns { 2020 display: inline-block; 2021 vertical-align: middle; 2022 /* stylelint-disable-next-line declaration-property-unit-allowed-list -- The number-of-columns ID appears to be unused; it is kept here only for potential backward compatibility issues. */ 2023 line-height: 30px; 2024 } 2025 2026 .metabox-prefs input[type="checkbox"] { 2027 margin-top: 0; 2028 margin-right: 6px; 2029 } 2030 2031 .metabox-prefs label input, 2032 .metabox-prefs label input[type="checkbox"] { 2033 margin: -4px 5px 0 0; 2034 } 2035 2036 .metabox-prefs .columns-prefs label input { 2037 margin: -1px 2px 0 0; 2038 } 2039 2040 .metabox-prefs label a { 2041 display: none; 2042 } 2043 2044 .metabox-prefs .screen-options input, 2045 .metabox-prefs .screen-options label { 2046 margin-top: 0; 2047 margin-bottom: 0; 2048 vertical-align: middle; 2049 } 2050 2051 .metabox-prefs .screen-options .screen-per-page { 2052 margin-right: 15px; 2053 padding-right: 0; 2054 } 2055 2056 .metabox-prefs .screen-options label { 2057 line-height: 2.2; 2058 padding-right: 0; 2059 } 2060 2061 .screen-options + .screen-options { 2062 margin-top: 10px; 2063 } 2064 2065 .metabox-prefs .submit { 2066 margin-top: 1em; 2067 padding: 0; 2068 } 2069 2070 /*------------------------------------------------------------------------------ 2071 6.2 - Help Menu 2072 ------------------------------------------------------------------------------*/ 2073 2074 #contextual-help-columns { 2075 position: relative; 2076 } 2077 2078 #contextual-help-back { 2079 position: absolute; 2080 top: 0; 2081 bottom: 0; 2082 left: 150px; 2083 right: 170px; 2084 border: 1px solid #c3c4c7; 2085 border-top: none; 2086 border-bottom: none; 2087 background: rgba(var(--wp-admin-theme-color--rgb), 0.08); 2088 } 2089 2090 #contextual-help-wrap.no-sidebar #contextual-help-back { 2091 right: 0; 2092 border-right-width: 0; 2093 border-bottom-right-radius: 2px; 2094 } 2095 2096 .contextual-help-tabs { 2097 float: left; 2098 width: 150px; 2099 margin: 0; 2100 } 2101 2102 .contextual-help-tabs ul { 2103 margin: 1em 0; 2104 } 2105 2106 .contextual-help-tabs li { 2107 margin-bottom: 0; 2108 list-style-type: none; 2109 border-style: solid; 2110 border-width: 0 0 0 2px; 2111 border-color: transparent; 2112 } 2113 2114 .contextual-help-tabs a { 2115 display: block; 2116 padding: 5px 5px 5px 12px; 2117 line-height: 1.4; 2118 text-decoration: none; 2119 border: 1px solid transparent; 2120 border-right: none; 2121 border-left: none; 2122 } 2123 2124 .contextual-help-tabs a:hover { 2125 color: #2c3338; 2126 } 2127 2128 .contextual-help-tabs .active { 2129 padding: 0; 2130 margin: 0 -1px 0 0; 2131 border-left: 2px solid var(--wp-admin-theme-color); 2132 background: color-mix(in srgb, var(--wp-admin-theme-color) 8%, #fff); 2133 box-shadow: 0 2px 0 rgba(0, 0, 0, 0.02), 0 1px 0 rgba(0, 0, 0, 0.02); 2134 } 2135 2136 .contextual-help-tabs .active a { 2137 border-color: #c3c4c7; 2138 color: #2c3338; 2139 } 2140 2141 .contextual-help-tabs-wrap { 2142 padding: 0 20px; 2143 overflow: auto; 2144 } 2145 2146 .help-tab-content { 2147 display: none; 2148 margin: 0 22px 12px 0; 2149 line-height: 1.6; 2150 } 2151 2152 .help-tab-content.active { 2153 display: block; 2154 } 2155 2156 .help-tab-content ul li { 2157 list-style-type: disc; 2158 margin-left: 18px; 2159 } 2160 2161 .contextual-help-sidebar { 2162 width: 150px; 2163 float: right; 2164 padding: 0 8px 0 12px; 2165 overflow: auto; 2166 } 2167 2168 /*------------------------------------------------------------------------------ 2169 8.0 - Layout Blocks 2170 ------------------------------------------------------------------------------*/ 2171 2172 html.wp-toolbar { 2173 padding-top: var(--wp-admin--admin-bar--height); 2174 box-sizing: border-box; 2175 -ms-overflow-style: scrollbar; /* See ticket #48545 */ 2176 } 2177 2178 /* stylelint-disable-next-line no-duplicate-selectors -- For historical reasons this file is split in sections and contains duplicate selectors based on the sections. */ 2179 .widefat th, 2180 .widefat td { 2181 color: #50575e; 2182 } 2183 2184 .widefat th, 2185 .widefat thead td, 2186 .widefat tfoot td { 2187 font-weight: 400; 2188 } 2189 2190 .widefat thead tr th, 2191 .widefat thead tr td, 2192 .widefat tfoot tr th, 2193 .widefat tfoot tr td { 2194 color: #2c3338; 2195 } 2196 2197 .widefat td p { 2198 margin: 2px 0 0.8em; 2199 } 2200 2201 .widefat p, 2202 .widefat ol, 2203 .widefat ul { 2204 color: #2c3338; 2205 } 2206 2207 .widefat .column-comment p { 2208 margin: 0.6em 0; 2209 } 2210 2211 .widefat .column-comment ul { 2212 list-style: initial; 2213 margin-left: 2em; 2214 } 2215 2216 /* Screens with postboxes */ 2217 .postbox-container { 2218 float: left; 2219 } 2220 2221 .postbox-container .meta-box-sortables { 2222 box-sizing: border-box; 2223 } 2224 2225 #wpbody-content .metabox-holder { 2226 padding-top: 10px; 2227 } 2228 2229 .metabox-holder .postbox-container .meta-box-sortables { 2230 /* The jQuery UI Sortables need some initial height to work properly. */ 2231 min-height: 1px; 2232 position: relative; 2233 } 2234 2235 #post-body-content { 2236 width: 100%; 2237 min-width: 463px; 2238 float: left; 2239 } 2240 2241 #post-body.columns-2 #postbox-container-1 { 2242 float: right; 2243 margin-right: -300px; 2244 width: 280px; 2245 } 2246 2247 #post-body.columns-2 #side-sortables { 2248 min-height: 250px; 2249 } 2250 2251 /* one column on the dash */ 2252 @media only screen and (max-width: 799px) { 2253 #wpbody-content .metabox-holder .postbox-container .empty-container { 2254 outline: none; 2255 height: 0; 2256 min-height: 0; 2257 } 2258 } 2259 2260 .js .widget .widget-top, 2261 .js .postbox .hndle { 2262 cursor: move; 2263 } 2264 2265 .js .widget .widget-top.is-non-sortable, 2266 .js .postbox .hndle.is-non-sortable { 2267 cursor: auto; 2268 } 2269 2270 /* Configurable dashboard widgets "Configure" edit-box link. */ 2271 .hndle a { 2272 font-size: 12px; 2273 font-weight: 400; 2274 } 2275 2276 .postbox-header { 2277 display: flex; 2278 align-items: center; 2279 justify-content: space-between; 2280 border-bottom: 1px solid #c3c4c7; 2281 } 2282 2283 .postbox-header .hndle { 2284 flex-grow: 1; 2285 /* Handle the alignment for the configurable dashboard widgets "Configure" edit-box link. */ 2286 display: flex; 2287 justify-content: space-between; 2288 align-items: center; 2289 } 2290 2291 .postbox-header .handle-actions { 2292 flex-shrink: 0; 2293 } 2294 2295 /* Post box order and toggle buttons. */ 2296 .postbox .handle-order-higher, 2297 .postbox .handle-order-lower, 2298 .postbox .handlediv { 2299 width: 1.62rem; 2300 height: 1.62rem; 2301 margin: 0; 2302 padding: 0; 2303 border: 0; 2304 background: none; 2305 cursor: pointer; 2306 } 2307 2308 .postbox .handle-order-higher, 2309 .postbox .handle-order-lower { 2310 color: #646970; 2311 width: 1.62rem; 2312 } 2313 2314 .js.meta-box-reordering-disabled .postbox .handle-order-higher, 2315 .js.meta-box-reordering-disabled .postbox .handle-order-lower { 2316 display: none; 2317 } 2318 2319 /* Post box order buttons in the block editor meta boxes area. */ 2320 .edit-post-meta-boxes-area .postbox .handle-order-higher, 2321 .edit-post-meta-boxes-area .postbox .handle-order-lower { 2322 width: 44px; 2323 height: 44px; 2324 color: #1d2327; 2325 } 2326 2327 .postbox .handle-order-higher[aria-disabled="true"], 2328 .postbox .handle-order-lower[aria-disabled="true"] { 2329 cursor: default; 2330 color: #a7aaad; 2331 } 2332 2333 .sortable-placeholder:not(.empty-container .sortable-placeholder) { 2334 border: 1px dashed #c3c4c7; 2335 border-radius: 8px; 2336 margin-bottom: 20px; 2337 } 2338 2339 .postbox, 2340 .stuffbox { 2341 margin-bottom: 20px; 2342 padding: 0; 2343 line-height: 1; 2344 } 2345 2346 .postbox.closed .postbox-header { 2347 border-bottom: 0; 2348 } 2349 2350 /* user-select is not a part of the CSS standard - may change behavior in the future */ 2351 .postbox .hndle, 2352 .stuffbox .hndle { 2353 -webkit-user-select: none; 2354 user-select: none; 2355 } 2356 2357 .postbox .inside { 2358 padding: 0 12px 12px; 2359 line-height: 1.4; 2360 font-size: 13px; 2361 margin: 11px 0; 2362 position: relative; 2363 } 2364 2365 .stuffbox .inside { 2366 padding: 0; 2367 line-height: 1.4; 2368 font-size: 13px; 2369 margin-top: 0; 2370 } 2371 2372 .postbox .inside > p:last-child, 2373 .rss-widget ul li:last-child { 2374 margin-bottom: 1px !important; 2375 } 2376 2377 .postbox.closed h3 { 2378 border: none; 2379 box-shadow: none; 2380 } 2381 2382 .postbox table.form-table { 2383 margin-bottom: 0; 2384 } 2385 2386 .postbox table.widefat { 2387 box-shadow: none; 2388 } 2389 2390 .temp-border { 2391 border: 1px dotted #c3c4c7; 2392 } 2393 2394 .columns-prefs label { 2395 padding: 0 10px 0 0; 2396 } 2397 2398 /* @todo: what is this doing here */ 2399 /* stylelint-disable-next-line selector-id-pattern -- The ID selector dashboard_right_now can't be changed because of backward compatibility reasons. */ 2400 #dashboard_right_now .versions .b, 2401 #post-status-display, 2402 #post-visibility-display, 2403 #adminmenu .wp-submenu li.current, 2404 #adminmenu .wp-submenu li.current a, 2405 #adminmenu .wp-submenu li.current a:hover, 2406 .media-item .percent, 2407 .plugins .name, 2408 #pass-strength-result.strong, 2409 #pass-strength-result.short, 2410 .item-controls .item-order a, 2411 .feature-filter .feature-name, 2412 #comment-status-display { 2413 font-weight: 600; 2414 } 2415 2416 /*------------------------------------------------------------------------------ 2417 21.0 - Admin Footer 2418 ------------------------------------------------------------------------------*/ 2419 2420 #wpfooter { 2421 position: absolute; 2422 bottom: 0; 2423 left: 0; 2424 right: 0; 2425 padding: 10px 20px; 2426 color: #50575e; 2427 } 2428 2429 #wpfooter p { 2430 font-size: 13px; 2431 margin: 0; 2432 line-height: 1.55; 2433 } 2434 2435 #footer-thankyou { 2436 font-style: italic; 2437 } 2438 2439 /*------------------------------------------------------------------------------ 2440 25.0 - Tabbed Admin Screen Interface (Experimental) 2441 ------------------------------------------------------------------------------*/ 2442 2443 .nav-tab { 2444 float: left; 2445 border: 1px solid #c3c4c7; 2446 border-bottom: none; 2447 margin-left: 0.5em; /* half the font size so set the font size properly */ 2448 padding: 5px 10px; 2449 font-size: 14px; 2450 line-height: 1.71428571; 2451 font-weight: 600; 2452 background: #dcdcde; 2453 color: #50575e; 2454 text-decoration: none; 2455 white-space: nowrap; 2456 } 2457 2458 h3 .nav-tab, /* Back-compat for pre-4.4 */ 2459 .nav-tab-small .nav-tab { 2460 padding: 5px 14px; 2461 font-size: 12px; 2462 line-height: 1.33; 2463 } 2464 2465 .nav-tab:hover, 2466 .nav-tab:focus { 2467 background-color: #fff; 2468 color: #3c434a; 2469 } 2470 2471 .nav-tab-active, 2472 .nav-tab:focus:active { 2473 box-shadow: none; 2474 } 2475 2476 .nav-tab-active { 2477 margin-bottom: -1px; 2478 color: #3c434a; 2479 } 2480 2481 .nav-tab-active, 2482 .nav-tab-active:hover, 2483 .nav-tab-active:focus, 2484 .nav-tab-active:focus:active { 2485 border-bottom: 1px solid #f0f0f1; 2486 background: #f0f0f1; 2487 color: #000; 2488 } 2489 2490 h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */ 2491 .wrap h2.nav-tab-wrapper, /* higher specificity to override .wrap > h2:first-child */ 2492 .nav-tab-wrapper { 2493 border-bottom: 1px solid #c3c4c7; 2494 margin: 0; 2495 padding-top: 9px; 2496 padding-bottom: 0; 2497 line-height: inherit; 2498 } 2499 2500 /* Back-compat for plugins. Deprecated. Use .wp-clearfix instead. */ 2501 .nav-tab-wrapper:not(.wp-clearfix)::after { 2502 content: ""; 2503 display: table; 2504 clear: both; 2505 } 2506 2507 /*------------------------------------------------------------------------------ 2508 26.0 - Misc 2509 ------------------------------------------------------------------------------*/ 2510 2511 .spinner { 2512 background: url(../images/spinner.gif) no-repeat; 2513 background-size: 20px 20px; 2514 display: inline-block; 2515 visibility: hidden; 2516 float: right; 2517 vertical-align: middle; 2518 opacity: 0.7; 2519 filter: alpha(opacity=70); 2520 width: 20px; 2521 height: 20px; 2522 margin: 10px 10px 0; 2523 } 2524 2525 .spinner.is-active, 2526 .loading-content .spinner { 2527 visibility: visible; 2528 } 2529 2530 #template > div { 2531 margin-right: 16em; 2532 } 2533 2534 #template .notice { 2535 margin-top: 1em; 2536 margin-right: 3%; 2537 } 2538 2539 #template .notice p { 2540 width: auto; 2541 } 2542 2543 #template .submit .spinner { 2544 float: none; 2545 vertical-align: top; 2546 } 2547 2548 .metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */ 2549 .metabox-holder .postbox > h3, /* Back-compat for pre-4.4 */ 2550 .metabox-holder h3.hndle, /* Back-compat for pre-4.4 */ 2551 .metabox-holder h2.hndle { 2552 font-size: 14px; 2553 padding: 8px 12px; 2554 margin: 0; 2555 line-height: 1.4; 2556 } 2557 2558 /* Back-compat for nav-menus screen */ 2559 .nav-menus-php .metabox-holder h3 { 2560 padding: 0; 2561 } 2562 2563 .accordion-container h3.accordion-section-title { 2564 padding: 0 !important; 2565 } 2566 2567 .accordion-section-title button.accordion-trigger, 2568 .nav-menus-php .metabox-holder .accordion-section-title button.accordion-trigger { 2569 background: inherit; 2570 color: #1d2327; 2571 display: block; 2572 position: relative; 2573 text-align: left; 2574 width: 100%; 2575 outline: none; 2576 border: 0; 2577 padding: 10px 10px 11px 14px; 2578 line-height: 1.5; 2579 cursor: pointer; 2580 } 2581 2582 .accordion-section-title button.accordion-trigger:focus, 2583 .nav-menus-php .metabox-holder .accordion-section-title button.accordion-trigger:focus { 2584 box-shadow: 0 0 0 var(--wp-admin-border-width-focus, 1.5px) var(--wp-admin-theme-color, #3858e9); 2585 outline: 2px solid transparent; 2586 } 2587 2588 .accordion-section-title span.dashicons.dashicons-arrow-down, 2589 .nav-menus-php .metabox-holder .accordion-section-title span.dashicons.dashicons-arrow-down { 2590 position: absolute; 2591 right: 10px; 2592 left: auto; 2593 color: #50575e; 2594 border-radius: 50px; 2595 top: 50%; 2596 transform: translateY(-50%); 2597 } 2598 2599 .accordion-section-title:hover span.dashicons.dashicons-arrow-down, 2600 .nav-menus-php .metabox-holder .accordion-section-title:hover span.dashicons.dashicons-arrow-down { 2601 color: #1d2327; 2602 } 2603 2604 .accordion-section-title span.dashicons.dashicons-arrow-down::before, 2605 .nav-menus-php .metabox-holder .accordion-section-title span.dashicons.dashicons-arrow-down::before { 2606 position: relative; 2607 left: -1px; 2608 } 2609 2610 .accordion-section.open .accordion-section-title span.dashicons.dashicons-arrow-down, 2611 .nav-menus-php .metabox-holder .accordion-section.open .accordion-section-title span.dashicons.dashicons-arrow-down { 2612 transform: rotate(180deg) translate(0, 50%); 2613 } 2614 2615 #templateside ul li a { 2616 text-decoration: none; 2617 } 2618 2619 .plugin-install #description, 2620 .plugin-install-network #description { 2621 width: 60%; 2622 } 2623 2624 table .vers, 2625 table .column-visible, 2626 table .column-rating { 2627 text-align: left; 2628 } 2629 2630 .attention, 2631 .error-message { 2632 color: #d63638; 2633 font-weight: 600; 2634 } 2635 2636 /* Scrollbar fix for bulk upgrade iframe */ 2637 /* stylelint-disable-next-line no-duplicate-selectors -- For historical reasons this file is split in sections and contains duplicate selectors based on the sections. */ 2638 body.iframe { 2639 height: 98%; 2640 } 2641 2642 /* Upgrader styles, Specific to Language Packs */ 2643 .lp-show-latest p { 2644 display: none; 2645 } 2646 2647 .lp-show-latest p:last-child, 2648 .lp-show-latest .lp-error p { 2649 display: block; 2650 } 2651 2652 /* - Only used once or twice in all of WP - deprecate for global style 2653 ------------------------------------------------------------------------------*/ 2654 .media-icon { 2655 width: 62px; /* icon + border */ 2656 text-align: center; 2657 } 2658 2659 .media-icon img { 2660 border: 1px solid #dcdcde; 2661 border: 1px solid rgba(0, 0, 0, 0.07); 2662 } 2663 2664 #howto { 2665 font-size: 11px; 2666 margin: 0 5px; 2667 display: block; 2668 } 2669 2670 .delete-and-reassign-users-form legend { 2671 margin: 1em 0; 2672 line-height: 1.5; 2673 float: inline-start; 2674 } 2675 2676 .delete-and-reassign-users-form fieldset > fieldset, 2677 .delete-and-reassign-users-form fieldset > ul { 2678 clear: both; 2679 } 2680 2681 .delete-and-reassign-users-form fieldset:has(select[aria-invalid="true"]):not(fieldset:has(fieldset)) { 2682 border-left: 4px solid #cc1818; 2683 background: #fcf0f0; 2684 padding-left: 12px; 2685 } 2686 2687 .importers { 2688 font-size: 16px; 2689 width: auto; 2690 } 2691 2692 .importers td { 2693 padding-right: 14px; 2694 line-height: 1.4; 2695 } 2696 2697 .importers .import-system { 2698 max-width: 250px; 2699 } 2700 2701 .importers td.desc { 2702 max-width: 500px; 2703 } 2704 2705 .importer-title, 2706 .importer-desc, 2707 .importer-action { 2708 display: block; 2709 } 2710 2711 .importer-title { 2712 color: #000; 2713 font-size: 14px; 2714 font-weight: 400; 2715 margin-bottom: 0.2em; 2716 } 2717 2718 .importer-action { 2719 line-height: 1.55; /* Same as with .updating-message */ 2720 color: #50575e; 2721 margin-bottom: 1em; 2722 } 2723 2724 #post-body #post-body-content #namediv h3, /* Back-compat for pre-4.4 */ 2725 #post-body #post-body-content #namediv h2 { 2726 margin-top: 0; 2727 } 2728 2729 .edit-comment-author { 2730 color: #1d2327; 2731 border-bottom: 1px solid #f0f0f1; 2732 } 2733 2734 #namediv h3 label, /* Back-compat for pre-4.4 */ 2735 #namediv h2 label { 2736 vertical-align: baseline; 2737 } 2738 2739 #namediv table { 2740 width: 100%; 2741 } 2742 2743 #namediv td.first { 2744 width: 10px; 2745 white-space: nowrap; 2746 } 2747 2748 #namediv input { 2749 width: 100%; 2750 } 2751 2752 #namediv p { 2753 margin: 10px 0; 2754 } 2755 2756 /* - Used - but could/should be deprecated with a CSS reset 2757 ------------------------------------------------------------------------------*/ 2758 .zerosize { 2759 height: 0; 2760 width: 0; 2761 margin: 0; 2762 border: 0; 2763 padding: 0; 2764 overflow: hidden; 2765 position: absolute; 2766 } 2767 2768 br.clear { 2769 height: 2px; 2770 line-height: 0.15; 2771 } 2772 2773 .checkbox { 2774 border: none; 2775 margin: 0; 2776 padding: 0; 2777 } 2778 2779 fieldset { 2780 border: 0; 2781 padding: 0; 2782 margin: 0; 2783 } 2784 2785 .post-categories { 2786 display: inline; 2787 margin: 0; 2788 padding: 0; 2789 } 2790 2791 .post-categories li { 2792 display: inline; 2793 } 2794 2795 /* Star Ratings - Back-compat for pre-3.8 */ 2796 div.star-holder { 2797 position: relative; 2798 height: 17px; 2799 width: 100px; 2800 background: url(../images/stars.png?ver=20121108) repeat-x bottom left; 2801 } 2802 2803 div.star-holder .star-rating { 2804 background: url(../images/stars.png?ver=20121108) repeat-x top left; 2805 height: 17px; 2806 float: left; 2807 } 2808 2809 /* Star Ratings */ 2810 .star-rating { 2811 white-space: nowrap; 2812 } 2813 2814 .star-rating .star { 2815 display: inline-block; 2816 width: 20px; 2817 height: 20px; 2818 -webkit-font-smoothing: antialiased; 2819 font-size: 20px; 2820 line-height: 1; 2821 font-family: dashicons; 2822 text-decoration: inherit; 2823 font-weight: 400; 2824 font-style: normal; 2825 vertical-align: top; 2826 transition: color 0.1s ease-in; 2827 text-align: center; 2828 color: #dba617; 2829 } 2830 2831 .star-rating .star-full::before { 2832 content: "\f155"; 2833 content: "\f155" / ""; 2834 } 2835 2836 .star-rating .star-half::before { 2837 content: "\f459"; 2838 content: "\f459" / ""; 2839 } 2840 2841 .rtl .star-rating .star-half { 2842 transform: rotateY(180deg); 2843 } 2844 2845 .star-rating .star-empty::before { 2846 content: "\f154"; 2847 content: "\f154" / ""; 2848 } 2849 2850 div.action-links { 2851 font-weight: 400; 2852 margin: 6px 0 0; 2853 } 2854 2855 /* Plugin install thickbox */ 2856 #plugin-information { 2857 background: #fff; 2858 position: fixed; 2859 top: 0; 2860 right: 0; 2861 bottom: 0; 2862 left: 0; 2863 height: 100%; 2864 padding: 0; 2865 } 2866 2867 #plugin-information-scrollable { 2868 overflow: auto; 2869 -webkit-overflow-scrolling: touch; 2870 height: calc(100% - 67px); 2871 } 2872 2873 #plugin-information-title { 2874 padding: 0 26px; 2875 background: #f6f7f7; 2876 font-size: 22px; 2877 font-weight: 600; 2878 line-height: 2.4; 2879 position: relative; 2880 height: 56px; 2881 } 2882 2883 #plugin-information-title.with-banner { 2884 margin-right: 0; 2885 height: 250px; 2886 background-size: cover; 2887 } 2888 2889 #plugin-information-title h2 { 2890 font-size: 1em; 2891 font-weight: 600; 2892 padding: 0; 2893 margin: 0; 2894 overflow: hidden; 2895 text-overflow: ellipsis; 2896 white-space: nowrap; 2897 } 2898 2899 #plugin-information-title.with-banner h2 { 2900 position: relative; 2901 font-family: "Helvetica Neue", sans-serif; 2902 display: inline-block; 2903 font-size: 30px; 2904 line-height: 1.68; 2905 box-sizing: border-box; 2906 max-width: 100%; 2907 padding: 0 15px; 2908 margin-top: 174px; 2909 color: #fff; 2910 background: rgba(29, 35, 39, 0.9); 2911 text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); 2912 box-shadow: 0 0 30px rgba(255, 255, 255, 0.1); 2913 border-radius: 8px; 2914 } 2915 2916 #plugin-information-title div.vignette { 2917 display: none; 2918 } 2919 2920 #plugin-information-title.with-banner div.vignette { 2921 position: absolute; 2922 display: block; 2923 top: 0; 2924 left: 0; 2925 height: 250px; 2926 width: 100%; 2927 background: transparent; 2928 box-shadow: inset 0 0 50px 4px rgba(0, 0, 0, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.1); 2929 } 2930 2931 #plugin-information-tabs { 2932 padding: 0 16px; 2933 position: relative; 2934 right: 0; 2935 left: 0; 2936 min-height: 36px; 2937 font-size: 0; 2938 z-index: 1; 2939 border-bottom: 1px solid #dcdcde; 2940 background: #f6f7f7; 2941 } 2942 2943 #plugin-information-tabs a { 2944 position: relative; 2945 display: inline-block; 2946 padding: 9px 10px; 2947 margin: 0; 2948 height: 18px; 2949 line-height: 1.3; 2950 font-size: 14px; 2951 text-decoration: none; 2952 transition: none; 2953 } 2954 2955 #plugin-information-tabs a.current { 2956 margin: 0 -1px -1px; 2957 background: #fff; 2958 border: 1px solid #dcdcde; 2959 border-bottom-color: #fff; 2960 padding-top: 8px; 2961 color: #2c3338; 2962 } 2963 2964 #plugin-information-tabs.with-banner a.current { 2965 border-top: none; 2966 padding-top: 9px; 2967 } 2968 2969 #plugin-information-tabs a:active, 2970 #plugin-information-tabs a:focus { 2971 /* Only visible in Windows High Contrast mode */ 2972 outline: 2px solid transparent; 2973 } 2974 2975 #plugin-information-content { 2976 overflow: hidden; /* equal height column trick */ 2977 background: #fff; 2978 position: relative; 2979 top: 0; 2980 right: 0; 2981 left: 0; 2982 min-height: 100%; 2983 /* Height of title + tabs + install now */ 2984 min-height: calc(100% - 152px); 2985 } 2986 2987 #plugin-information-content.with-banner { 2988 /* Height of banner + tabs + install now */ 2989 min-height: calc(100% - 346px); 2990 } 2991 2992 #section-holder { 2993 position: relative; 2994 top: 0; 2995 right: 250px; 2996 bottom: 0; 2997 left: 0; 2998 margin-top: 10px; 2999 margin-right: 250px; /* FYI box */ 3000 padding: 10px 26px 99999px; /* equal height column trick */ 3001 margin-bottom: -99932px; /* 67px less than the padding below to accommodate footer height */ 3002 } 3003 3004 #section-holder .notice { 3005 margin: 5px 0 15px; 3006 } 3007 3008 #section-holder .updated { 3009 margin: 16px 0; 3010 } 3011 3012 #plugin-information .fyi { 3013 float: right; 3014 position: relative; 3015 top: 0; 3016 right: 0; 3017 padding: 16px 16px 99999px; /* equal height column trick */ 3018 margin-bottom: -99932px; /* 67px less than the padding below to accommodate footer height */ 3019 width: 217px; 3020 border-left: 1px solid #dcdcde; 3021 background: #f6f7f7; 3022 color: #646970; 3023 } 3024 3025 #plugin-information .fyi strong { 3026 color: #3c434a; 3027 } 3028 3029 #plugin-information .fyi h3 { 3030 font-weight: 600; 3031 text-transform: uppercase; 3032 font-size: 12px; 3033 color: #646970; 3034 margin: 24px 0 8px; 3035 } 3036 3037 #plugin-information .fyi h2 { 3038 font-size: 0.9em; 3039 margin-bottom: 0; 3040 margin-right: 0; 3041 } 3042 3043 #plugin-information .fyi ul { 3044 padding: 0; 3045 margin: 0; 3046 list-style: none; 3047 } 3048 3049 #plugin-information .fyi li { 3050 margin: 0 0 10px; 3051 } 3052 3053 #plugin-information .fyi-description { 3054 margin-top: 0; 3055 } 3056 3057 #plugin-information .counter-container { 3058 margin: 3px 0; 3059 } 3060 3061 #plugin-information .counter-label { 3062 float: left; 3063 margin-right: 5px; 3064 min-width: 55px; 3065 } 3066 3067 #plugin-information .counter-back { 3068 height: 17px; 3069 width: 92px; 3070 background-color: #dcdcde; 3071 float: left; 3072 } 3073 3074 #plugin-information .counter-bar { 3075 height: 17px; 3076 background-color: #f0c33c; /* slightly lighter than stars due to larger expanse */ 3077 float: left; 3078 } 3079 3080 #plugin-information .counter-count { 3081 margin-left: 5px; 3082 } 3083 3084 #plugin-information .fyi ul.contributors { 3085 margin-top: 10px; 3086 } 3087 3088 #plugin-information .fyi ul.contributors li { 3089 display: inline-block; 3090 margin-right: 8px; 3091 vertical-align: middle; 3092 } 3093 3094 #plugin-information .fyi ul.contributors li img { 3095 vertical-align: middle; 3096 margin-right: 4px; 3097 } 3098 3099 #plugin-information-footer { 3100 padding: 13px 16px; 3101 position: absolute; 3102 right: 0; 3103 bottom: 0; 3104 left: 0; 3105 height: 40px; /* actual height: 40+13+13+1=67 */ 3106 border-top: 1px solid #dcdcde; 3107 background: #f6f7f7; 3108 } 3109 3110 /* rtl:ignore */ 3111 #plugin-information .section { 3112 direction: ltr; 3113 } 3114 3115 /* rtl:ignore */ 3116 #plugin-information .section ul, 3117 #plugin-information .section ol { 3118 list-style-type: disc; 3119 margin-left: 24px; 3120 } 3121 3122 #plugin-information .section, 3123 #plugin-information .section p { 3124 font-size: 14px; 3125 line-height: 1.7; 3126 } 3127 3128 #plugin-information #section-screenshots ol { 3129 list-style: none; 3130 margin: 0; 3131 } 3132 3133 #plugin-information #section-screenshots li img { 3134 vertical-align: text-top; 3135 margin-top: 16px; 3136 max-width: 100%; 3137 width: auto; 3138 height: auto; 3139 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); 3140 } 3141 3142 /* rtl:ignore */ 3143 #plugin-information #section-screenshots li p { 3144 font-style: italic; 3145 padding-left: 20px; 3146 } 3147 3148 #plugin-information pre { 3149 padding: 7px; 3150 overflow: auto; 3151 border: 1px solid #c3c4c7; 3152 } 3153 3154 #plugin-information blockquote { 3155 border-left: 2px solid #dcdcde; 3156 color: #646970; 3157 font-style: italic; 3158 margin: 1em 0; 3159 padding: 0 0 0 1em; 3160 } 3161 3162 /* rtl:ignore */ 3163 #plugin-information .review { 3164 overflow: hidden; /* clearfix */ 3165 width: 100%; 3166 margin-bottom: 20px; 3167 border-bottom: 1px solid #dcdcde; 3168 } 3169 3170 #plugin-information .review-title-section { 3171 overflow: hidden; /* clearfix */ 3172 } 3173 3174 /* rtl:ignore */ 3175 #plugin-information .review-title-section h4 { 3176 display: inline-block; 3177 float: left; 3178 margin: 0 6px 0 0; 3179 } 3180 3181 #plugin-information .reviewer-info p { 3182 clear: both; 3183 margin: 0; 3184 padding-top: 2px; 3185 } 3186 3187 /* rtl:ignore */ 3188 #plugin-information .reviewer-info .avatar { 3189 float: left; 3190 margin: 4px 6px 0 0; 3191 } 3192 3193 /* rtl:ignore */ 3194 #plugin-information .reviewer-info .star-rating { 3195 float: left; 3196 } 3197 3198 /* rtl:ignore */ 3199 #plugin-information .review-meta { 3200 float: left; 3201 margin-left: 0.75em; 3202 } 3203 3204 /* rtl:ignore */ 3205 #plugin-information .review-body { 3206 float: left; 3207 width: 100%; 3208 } 3209 3210 .plugin-version-author-uri { 3211 font-size: 13px; 3212 } 3213 3214 /* For non-js plugin installation screen ticket #36430. */ 3215 .update-php .button.button-primary { 3216 margin-right: 1em; 3217 } 3218 3219 @media screen and (max-width: 771px) { 3220 #plugin-information-title.with-banner { 3221 height: 100px; 3222 } 3223 3224 #plugin-information-title.with-banner h2 { 3225 margin-top: 30px; 3226 font-size: 20px; 3227 line-height: 2; 3228 max-width: 85%; 3229 } 3230 3231 #plugin-information-title.with-banner div.vignette { 3232 height: 100px; 3233 } 3234 3235 #plugin-information-tabs { 3236 overflow: hidden; /* clearfix */ 3237 padding: 0; 3238 height: auto; /* let tabs wrap */ 3239 } 3240 3241 #plugin-information-tabs a.current { 3242 margin-bottom: 0; 3243 border-bottom: none; 3244 } 3245 3246 #plugin-information .fyi { 3247 float: none; 3248 border: 1px solid #dcdcde; 3249 position: static; 3250 width: auto; 3251 margin: 26px 26px 0; 3252 padding-bottom: 0; /* reset from the two column height fix */ 3253 } 3254 3255 #section-holder { 3256 position: static; 3257 margin: 0; 3258 padding-bottom: 70px; /* reset from the two column height fix, plus accommodate footer */ 3259 } 3260 3261 #plugin-information .fyi h3, 3262 #plugin-information .fyi small { 3263 display: none; 3264 } 3265 } 3266 3267 /* Thickbox for the Plugin details modal. */ 3268 /* stylelint-disable selector-id-pattern -- Many IDs used by Thickbox contain uppercase charqacters and can't be changed. */ 3269 #TB_window.plugin-details-modal { 3270 background: #fff; 3271 } 3272 3273 #TB_window.plugin-details-modal.thickbox-loading::before { 3274 content: ""; 3275 display: block; 3276 width: 20px; 3277 height: 20px; 3278 position: absolute; 3279 left: 50%; 3280 top: 50%; 3281 z-index: -1; 3282 margin: -10px 0 0 -10px; 3283 background: #fff url(../images/spinner.gif) no-repeat center; 3284 background-size: 20px 20px; 3285 transform: translateZ(0); 3286 } 3287 3288 @media print, 3289 (min-resolution: 120dpi) { 3290 #TB_window.plugin-details-modal.thickbox-loading::before { 3291 background-image: url(../images/spinner-2x.gif); 3292 } 3293 } 3294 3295 .plugin-details-modal #TB_title { 3296 float: left; 3297 height: 1px; 3298 } 3299 3300 .plugin-details-modal #TB_ajaxWindowTitle { 3301 display: none; 3302 } 3303 3304 .plugin-details-modal #TB_closeWindowButton { 3305 left: auto; 3306 right: -30px; 3307 color: #f0f0f1; 3308 } 3309 3310 .plugin-details-modal #TB_closeWindowButton:hover, 3311 .plugin-details-modal #TB_closeWindowButton:focus { 3312 outline: none; 3313 box-shadow: none; 3314 } 3315 3316 .plugin-details-modal #TB_closeWindowButton:hover::after, 3317 .plugin-details-modal #TB_closeWindowButton:focus::after { 3318 outline: 2px solid; 3319 outline-offset: -4px; 3320 border-radius: 4px; 3321 } 3322 3323 .plugin-details-modal .tb-close-icon { 3324 display: none; 3325 } 3326 3327 .plugin-details-modal #TB_closeWindowButton::after { 3328 content: "\f335"; 3329 content: "\f335" / ""; 3330 font: 400 32px/29px dashicons; 3331 -webkit-font-smoothing: antialiased; 3332 -moz-osx-font-smoothing: grayscale; 3333 } 3334 3335 /* move plugin install close icon to top on narrow screens */ 3336 @media screen and (max-width: 830px) { 3337 .plugin-details-modal #TB_closeWindowButton { 3338 right: 0; 3339 top: -30px; 3340 } 3341 } 3342 /* stylelint-enable */ 3343 3344 /* @todo: move this. */ 3345 img { 3346 border: none; 3347 } 3348 3349 /* Metabox collapse arrow indicators */ 3350 .sidebar-name .toggle-indicator::before, 3351 .meta-box-sortables .postbox .toggle-indicator::before, 3352 .meta-box-sortables .postbox .order-higher-indicator::before, 3353 .meta-box-sortables .postbox .order-lower-indicator::before, 3354 .bulk-action-notice .toggle-indicator::before, 3355 .privacy-text-box .toggle-indicator::before { 3356 content: "\f142"; 3357 content: "\f142" / ""; 3358 display: inline-block; 3359 font: 400 20px/1 dashicons; 3360 -webkit-font-smoothing: antialiased; 3361 -moz-osx-font-smoothing: grayscale; 3362 text-decoration: none; 3363 } 3364 3365 .js .widgets-holder-wrap.closed .toggle-indicator::before, 3366 .meta-box-sortables .postbox.closed .handlediv .toggle-indicator::before, 3367 .bulk-action-notice .bulk-action-errors-collapsed .toggle-indicator::before, 3368 .privacy-text-box.closed .toggle-indicator::before { 3369 content: "\f140"; 3370 content: "\f140" / ""; 3371 } 3372 3373 .postbox .handle-order-higher .order-higher-indicator::before { 3374 content: "\f343"; 3375 content: "\f343" / ""; 3376 color: inherit; 3377 } 3378 3379 .postbox .handle-order-lower .order-lower-indicator::before { 3380 content: "\f347"; 3381 content: "\f347" / ""; 3382 color: inherit; 3383 } 3384 3385 .postbox .handle-order-higher .order-higher-indicator::before, 3386 .postbox .handle-order-lower .order-lower-indicator::before { 3387 position: relative; 3388 top: 0.11rem; 3389 width: 20px; 3390 height: 20px; 3391 } 3392 3393 .postbox .handlediv .toggle-indicator::before { 3394 width: 20px; 3395 border-radius: 50%; 3396 position: relative; 3397 top: 0.05rem; 3398 text-indent: -1px; /* account for the dashicon glyph uneven horizontal alignment */ 3399 } 3400 3401 .rtl .postbox .handlediv .toggle-indicator::before { 3402 text-indent: 1px; /* account for the dashicon glyph uneven horizontal alignment */ 3403 } 3404 3405 .bulk-action-notice .toggle-indicator::before { 3406 /* stylelint-disable-next-line declaration-property-unit-allowed-list -- This line-height value is used for a dashicon. */ 3407 line-height: 16px; 3408 vertical-align: top; 3409 color: #50575e; 3410 } 3411 3412 .postbox .handle-order-higher:focus, 3413 .postbox .handle-order-lower:focus, 3414 .postbox .handlediv:focus { 3415 box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus, 1.5px) var(--wp-admin-theme-color); 3416 border-radius: 50%; 3417 /* Only visible in Windows High Contrast mode */ 3418 outline: 2px solid transparent; 3419 } 3420 3421 .postbox .handle-order-higher:focus .order-higher-indicator::before, 3422 .postbox .handle-order-lower:focus .order-lower-indicator::before, 3423 .postbox .handlediv:focus .toggle-indicator::before { 3424 box-shadow: none; 3425 /* Only visible in Windows High Contrast mode */ 3426 outline: 1px solid transparent; 3427 } 3428 3429 /* @todo: appears to be Press This only and overridden */ 3430 #photo-add-url-div input[type="text"] { 3431 width: 300px; 3432 } 3433 3434 /* Theme/Plugin file editor */ 3435 .alignleft h2 { 3436 margin: 0; 3437 } 3438 3439 #template textarea { 3440 font-family: Consolas, Monaco, monospace; 3441 font-size: 13px; 3442 background: #f6f7f7; 3443 tab-size: 4; 3444 } 3445 3446 #template textarea, 3447 /* stylelint-disable-next-line selector-class-pattern -- This class uses selectors that contain uppercase character in .CodeMirror external library. */ 3448 #template .CodeMirror { 3449 width: 100%; 3450 min-height: 60vh; 3451 height: calc(100vh - 295px); 3452 border: 1px solid #dcdcde; 3453 box-sizing: border-box; 3454 } 3455 3456 #templateside > h2 { 3457 padding-top: 6px; 3458 padding-bottom: 7px; 3459 margin: 0; 3460 } 3461 3462 #templateside ol, 3463 #templateside ul { 3464 margin: 0; 3465 padding: 0; 3466 } 3467 3468 #templateside > ul { 3469 box-sizing: border-box; 3470 margin-top: 0; 3471 overflow: auto; 3472 padding: 0; 3473 min-height: 60vh; 3474 height: calc(100vh - 295px); 3475 background-color: #f6f7f7; 3476 border: 1px solid #dcdcde; 3477 border-left: none; 3478 } 3479 3480 #templateside ul ul { 3481 padding-left: 12px; 3482 } 3483 3484 #templateside > ul > li > ul[role="group"] { 3485 padding-left: 0; 3486 } 3487 3488 /* 3489 * Styles for Theme and Plugin file editors. 3490 */ 3491 3492 /* Hide collapsed items. */ 3493 [role="treeitem"][aria-expanded="false"] > ul { 3494 display: none; 3495 } 3496 3497 /* Use arrow dashicons for folder states, but hide from screen readers. */ 3498 [role="treeitem"] span[aria-hidden] { 3499 display: inline; 3500 font-family: dashicons; 3501 font-size: 20px; 3502 line-height: 1; 3503 position: absolute; 3504 pointer-events: none; 3505 } 3506 3507 [role="treeitem"][aria-expanded="false"] > .folder-label .icon::after { 3508 content: "\f139"; 3509 content: "\f139" / ""; 3510 } 3511 3512 [role="treeitem"][aria-expanded="true"] > .folder-label .icon::after { 3513 content: "\f140"; 3514 content: "\f140" / ""; 3515 } 3516 3517 [role="treeitem"] .folder-label { 3518 display: block; 3519 padding: 3px 3px 3px 12px; 3520 cursor: pointer; 3521 } 3522 3523 /* Remove outline, and create our own focus and hover styles */ 3524 [role="treeitem"] { 3525 outline: 0; 3526 } 3527 3528 [role="treeitem"] a:focus, 3529 [role="treeitem"] .folder-label.focus { 3530 color: #043959; 3531 /* Reset default focus style. */ 3532 box-shadow: none; 3533 /* Use an inset outline instead, so it's visible also over the current file item. */ 3534 outline: 2px solid var(--wp-admin-theme-color, #3858e9); 3535 outline-offset: -2px; 3536 } 3537 3538 [role="treeitem"].hover, 3539 [role="treeitem"] .folder-label.hover { 3540 background-color: #f0f0f1; 3541 } 3542 3543 .tree-folder { 3544 margin: 0; 3545 position: relative; 3546 } 3547 3548 [role="treeitem"] li { 3549 position: relative; 3550 } 3551 3552 /* Styles for folder indicators/depth */ 3553 .tree-folder .tree-folder::after { 3554 content: ""; 3555 display: block; 3556 position: absolute; 3557 left: 2px; 3558 border-left: 1px solid #c3c4c7; 3559 top: -13px; 3560 bottom: 10px; 3561 } 3562 3563 .tree-folder > li::before { 3564 content: ""; 3565 position: absolute; 3566 display: block; 3567 border-left: 1px solid #c3c4c7; 3568 left: 2px; 3569 top: -5px; 3570 height: 18px; 3571 width: 7px; 3572 border-bottom: 1px solid #c3c4c7; 3573 } 3574 3575 .tree-folder > li::after { 3576 content: ""; 3577 position: absolute; 3578 display: block; 3579 border-left: 1px solid #c3c4c7; 3580 left: 2px; 3581 bottom: -7px; 3582 top: 0; 3583 } 3584 3585 /* current-file needs to adjustment for .notice styles */ 3586 #templateside .current-file { 3587 margin: -4px 0 -2px; 3588 } 3589 3590 .tree-folder > .current-file::before { 3591 left: 4px; 3592 height: 15px; 3593 width: 0; 3594 border-left: none; 3595 top: 3px; 3596 } 3597 3598 .tree-folder > .current-file::after { 3599 bottom: -4px; 3600 height: 7px; 3601 left: 2px; 3602 top: auto; 3603 } 3604 3605 /* Lines shouldn't continue on last item */ 3606 .tree-folder > li:last-child::after, 3607 .tree-folder li:last-child > .tree-folder::after { 3608 display: none; 3609 } 3610 3611 #theme-plugin-editor-selector, 3612 #theme-plugin-editor-label, 3613 #documentation label { 3614 font-weight: 600; 3615 } 3616 3617 #theme-plugin-editor-label { 3618 display: inline-block; 3619 margin-bottom: 1em; 3620 } 3621 3622 /* rtl:ignore */ 3623 #template textarea, 3624 #docs-list { 3625 direction: ltr; 3626 } 3627 3628 .fileedit-sub #theme, 3629 .fileedit-sub #plugin { 3630 max-width: 40%; 3631 } 3632 3633 .fileedit-sub .alignright { 3634 text-align: right; 3635 } 3636 3637 #template p { 3638 width: 97%; 3639 } 3640 3641 #file-editor-linting-error { 3642 margin-top: 1em; 3643 margin-bottom: 1em; 3644 } 3645 3646 #file-editor-linting-error > .notice { 3647 margin: 0; 3648 display: inline-block; 3649 } 3650 3651 #file-editor-linting-error > .notice > p { 3652 width: auto; 3653 } 3654 3655 #template .submit { 3656 margin-top: 1em; 3657 padding: 0; 3658 } 3659 3660 #templateside { 3661 float: right; 3662 width: 16em; 3663 word-wrap: break-word; 3664 } 3665 3666 #postcustomstuff p.submit { 3667 margin: 0; 3668 } 3669 3670 #templateside h4 { 3671 margin: 1em 0 0; 3672 } 3673 3674 #templateside li { 3675 margin: 4px 0; 3676 } 3677 3678 #templateside li:not(.howto) a, 3679 .theme-editor-php .highlight { 3680 display: block; 3681 padding: 3px 0 3px 12px; 3682 text-decoration: none; 3683 } 3684 3685 #templateside li.current-file > a { 3686 padding-bottom: 0; 3687 } 3688 3689 #templateside li:not(.howto) > a:first-of-type { 3690 padding-top: 0; 3691 } 3692 3693 #templateside li.howto { 3694 padding: 6px 12px 12px; 3695 } 3696 3697 .theme-editor-php .highlight { 3698 margin: -3px 3px -3px -12px; 3699 } 3700 3701 #templateside .highlight { 3702 border: none; 3703 font-weight: 600; 3704 } 3705 3706 .nonessential { 3707 color: #646970; 3708 font-size: 11px; 3709 font-style: italic; 3710 padding-left: 12px; 3711 } 3712 3713 #documentation { 3714 margin-top: 10px; 3715 } 3716 3717 #documentation label { 3718 line-height: 1.8; 3719 vertical-align: baseline; 3720 } 3721 3722 .fileedit-sub { 3723 padding: 10px 0 8px; 3724 line-height: 1.8; 3725 } 3726 3727 #file-editor-warning .file-editor-warning-content { 3728 margin: 25px; 3729 } 3730 3731 /* @todo: can we use a common class for these? */ 3732 .nav-menus-php .item-edit::before, 3733 .wp-customizer .control-section .accordion-section-title::after, 3734 .wp-customizer .accordion-section-title::after, 3735 .widget-top .widget-action .toggle-indicator::before { 3736 content: "\f140"; 3737 content: "\f140" / ""; 3738 font: 400 20px/1 dashicons; 3739 display: block; 3740 -webkit-font-smoothing: antialiased; 3741 -moz-osx-font-smoothing: grayscale; 3742 text-decoration: none; 3743 } 3744 3745 .widget-top .widget-action .toggle-indicator::before { 3746 padding: 1px 2px 1px 0; 3747 border-radius: 50%; 3748 } 3749 3750 .handlediv, 3751 .postbox .handlediv.button-link, 3752 .item-edit, 3753 .toggle-indicator { 3754 color: #646970; 3755 } 3756 3757 .widget-action { 3758 color: #50575e; /* #fafafa background in the Widgets screen */ 3759 } 3760 3761 .widget-top:hover .widget-action, 3762 .widget-action:focus, 3763 .handlediv:hover, 3764 .handlediv:focus, 3765 .postbox .handlediv.button-link:hover, 3766 .postbox .handlediv.button-link:focus, 3767 .item-edit:hover, 3768 .item-edit:focus, 3769 .sidebar-name:hover .toggle-indicator { 3770 color: #1d2327; 3771 /* Only visible in Windows High Contrast mode */ 3772 outline: 2px solid transparent; 3773 } 3774 3775 .widget-top .widget-action:focus .toggle-indicator::before { 3776 box-shadow: 0 0 0 var(--wp-admin-border-width-focus, 1.5px) var(--wp-admin-theme-color, #3858e9); 3777 /* Only visible in Windows High Contrast mode */ 3778 outline: 2px solid transparent; 3779 } 3780 3781 #customize-info.open .accordion-section-title::after, 3782 .nav-menus-php .menu-item-edit-active .item-edit::before, 3783 .widget.open .widget-top .widget-action .toggle-indicator::before, 3784 .widget.widget-in-question .widget-top .widget-action .toggle-indicator::before { 3785 content: "\f142"; 3786 content: "\f142" / ""; 3787 } 3788 3789 /*! 3790 * jQuery UI Draggable/Sortable 1.11.4 3791 * http://jqueryui.com 3792 * 3793 * Copyright jQuery Foundation and other contributors 3794 * Released under the MIT license. 3795 * http://jquery.org/license 3796 */ 3797 .ui-draggable-handle, 3798 .ui-sortable-handle { 3799 touch-action: none; 3800 } 3801 3802 /* Accordion */ 3803 .accordion-section { 3804 border-bottom: 1px solid #dcdcde; 3805 margin: 0; 3806 } 3807 3808 .accordion-section.open .accordion-section-content, 3809 .no-js .accordion-section .accordion-section-content { 3810 display: block; 3811 } 3812 3813 .accordion-section.open:hover { 3814 border-bottom-color: #dcdcde; 3815 } 3816 3817 .accordion-section-content { 3818 display: none; 3819 padding: 10px 20px 15px; 3820 overflow: hidden; 3821 background: #fff; 3822 } 3823 3824 .accordion-section-title { 3825 margin: 0; 3826 position: relative; 3827 border-left: 1px solid #dcdcde; 3828 border-right: 1px solid #dcdcde; 3829 -webkit-user-select: none; 3830 user-select: none; 3831 } 3832 3833 .js .accordion-section-title { 3834 cursor: pointer; 3835 } 3836 3837 .js .accordion-section-title::after { 3838 position: absolute; 3839 top: 12px; 3840 right: 10px; 3841 z-index: 1; 3842 } 3843 3844 .accordion-section-title:focus { 3845 /* Only visible in Windows High Contrast mode */ 3846 outline: 1px solid transparent; 3847 } 3848 3849 .accordion-section-title:hover::after, 3850 .accordion-section-title:focus::after { 3851 border-color: #a7aaad transparent; 3852 /* Only visible in Windows High Contrast mode */ 3853 outline: 1px solid transparent; 3854 } 3855 3856 .cannot-expand .accordion-section-title { 3857 cursor: auto; 3858 } 3859 3860 .cannot-expand .accordion-section-title::after { 3861 display: none; 3862 } 3863 3864 .control-section .accordion-section-title, 3865 .customize-pane-child .accordion-section-title { 3866 border-left: none; 3867 border-right: none; 3868 padding: 10px 10px 11px 14px; 3869 line-height: 1.55; 3870 background: #fff; 3871 } 3872 3873 .control-section .accordion-section-title::after, 3874 .customize-pane-child .accordion-section-title::after { 3875 top: calc(50% - 10px); /* Arrow height is 20px, so use half of that to vertically center */ 3876 } 3877 3878 .js .control-section:hover .accordion-section-title, 3879 .js .control-section .accordion-section-title:hover, 3880 .js .control-section.open .accordion-section-title, 3881 .js .control-section .accordion-section-title:focus { 3882 color: #1d2327; 3883 background: #f6f7f7; 3884 } 3885 3886 .control-section.open .accordion-section-title { 3887 /* When expanded */ 3888 border-bottom: 1px solid #dcdcde; 3889 } 3890 3891 /* Edit Site */ 3892 .network-admin .edit-site-actions { 3893 margin-top: 0; 3894 } 3895 3896 /* My Sites */ 3897 .my-sites { 3898 display: block; 3899 overflow: auto; 3900 zoom: 1; 3901 } 3902 3903 .my-sites li { 3904 display: block; 3905 padding: 8px 3%; 3906 min-height: 130px; 3907 margin: 0; 3908 } 3909 3910 @media only screen and (max-width: 599px) { 3911 .my-sites li { 3912 min-height: 0; 3913 } 3914 } 3915 3916 @media only screen and (min-width: 600px) { 3917 .my-sites.striped li { 3918 background-color: #fff; 3919 position: relative; 3920 } 3921 3922 .my-sites.striped li::after { 3923 content: ""; 3924 width: 1px; 3925 height: 100%; 3926 position: absolute; 3927 top: 0; 3928 right: 0; 3929 background: #c3c4c7; 3930 } 3931 3932 } 3933 3934 @media only screen and (min-width: 600px) and (max-width: 699px) { 3935 .my-sites li { 3936 float: left; 3937 width: 44%; 3938 } 3939 3940 .my-sites.striped li { 3941 background-color: #fff; 3942 } 3943 3944 .my-sites.striped li:nth-of-type(2n+1) { 3945 clear: left; 3946 } 3947 3948 .my-sites.striped li:nth-of-type(2n+2)::after { 3949 content: none; 3950 } 3951 3952 .my-sites li:nth-of-type(4n+1), 3953 .my-sites li:nth-of-type(4n+2) { 3954 background-color: #f6f7f7; 3955 } 3956 3957 } 3958 3959 @media only screen and (min-width: 700px) and (max-width: 1199px) { 3960 .my-sites li { 3961 float: left; 3962 width: 27.333333%; 3963 background-color: #fff; 3964 } 3965 3966 .my-sites.striped li:nth-of-type(3n+3)::after { 3967 content: none; 3968 } 3969 3970 .my-sites li:nth-of-type(6n+1), 3971 .my-sites li:nth-of-type(6n+2), 3972 .my-sites li:nth-of-type(6n+3) { 3973 background-color: #f6f7f7; 3974 } 3975 } 3976 3977 @media only screen and (min-width: 1200px) and (max-width: 1399px) { 3978 .my-sites li { 3979 float: left; 3980 width: 21%; 3981 padding: 8px 2%; 3982 background-color: #fff; 3983 } 3984 3985 .my-sites.striped li:nth-of-type(4n+1) { 3986 clear: left; 3987 } 3988 3989 .my-sites.striped li:nth-of-type(4n+4)::after { 3990 content: none; 3991 } 3992 3993 .my-sites li:nth-of-type(8n+1), 3994 .my-sites li:nth-of-type(8n+2), 3995 .my-sites li:nth-of-type(8n+3), 3996 .my-sites li:nth-of-type(8n+4) { 3997 background-color: #f6f7f7; 3998 } 3999 } 4000 4001 @media only screen and (min-width: 1400px) and (max-width: 1599px) { 4002 .my-sites li { 4003 float: left; 4004 width: 16%; 4005 padding: 8px 2%; 4006 background-color: #fff; 4007 } 4008 4009 .my-sites.striped li:nth-of-type(5n+1) { 4010 clear: left; 4011 } 4012 4013 .my-sites.striped li:nth-of-type(5n+5)::after { 4014 content: none; 4015 } 4016 4017 .my-sites li:nth-of-type(10n+1), 4018 .my-sites li:nth-of-type(10n+2), 4019 .my-sites li:nth-of-type(10n+3), 4020 .my-sites li:nth-of-type(10n+4), 4021 .my-sites li:nth-of-type(10n+5) { 4022 background-color: #f6f7f7; 4023 } 4024 } 4025 4026 @media only screen and (min-width: 1600px) { 4027 .my-sites li { 4028 float: left; 4029 width: 12.666666%; 4030 padding: 8px 2%; 4031 background-color: #fff; 4032 } 4033 4034 .my-sites.striped li:nth-of-type(6n+1) { 4035 clear: left; 4036 } 4037 4038 .my-sites.striped li:nth-of-type(6n+6)::after { 4039 content: none; 4040 } 4041 4042 .my-sites li:nth-of-type(12n+1), 4043 .my-sites li:nth-of-type(12n+2), 4044 .my-sites li:nth-of-type(12n+3), 4045 .my-sites li:nth-of-type(12n+4), 4046 .my-sites li:nth-of-type(12n+5), 4047 .my-sites li:nth-of-type(12n+6) { 4048 background-color: #f6f7f7; 4049 } 4050 } 4051 4052 .my-sites li a { 4053 text-decoration: none; 4054 } 4055 4056 /* =Media Queries 4057 -------------------------------------------------------------- */ 4058 4059 /** 4060 * HiDPI Displays 4061 */ 4062 @media print, 4063 (min-resolution: 120dpi) { 4064 /* Back-compat for pre-3.8 */ 4065 div.star-holder, 4066 div.star-holder .star-rating { 4067 background: url(../images/stars-2x.png?ver=20121108) repeat-x bottom left; 4068 background-size: 21px 37px; 4069 } 4070 4071 .spinner { 4072 background-image: url(../images/spinner-2x.gif); 4073 } 4074 4075 } 4076 4077 @media screen and (max-width: 782px) { 4078 html.wp-toolbar { 4079 padding-top: var(--wp-admin--admin-bar--height); 4080 } 4081 4082 .screen-reader-shortcut:focus { 4083 top: -39px; 4084 } 4085 4086 .block-editor-page .screen-reader-shortcut:focus { 4087 top: 7px; 4088 } 4089 4090 .screen-reader-shortcut[href="#wp-toolbar"] { 4091 display: none; 4092 } 4093 4094 body { 4095 min-width: 240px; 4096 overflow-x: hidden; 4097 } 4098 4099 body * { 4100 -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important; 4101 } 4102 4103 #wpcontent { 4104 position: relative; 4105 margin-left: 0; 4106 padding-left: 10px; 4107 } 4108 4109 #wpbody-content { 4110 padding-bottom: 100px; 4111 } 4112 4113 .wrap { 4114 clear: both; 4115 margin-right: 12px; 4116 margin-left: 0; 4117 } 4118 4119 /* categories */ 4120 #col-left, 4121 #col-right { 4122 float: none; 4123 width: auto; 4124 } 4125 4126 #col-left .col-wrap, 4127 #col-right .col-wrap { 4128 padding: 0; 4129 } 4130 4131 /* Hidden Elements */ 4132 #collapse-menu, 4133 .post-format-select { 4134 display: none !important; 4135 } 4136 4137 .wrap h1.wp-heading-inline { 4138 margin-bottom: 0.5em; 4139 } 4140 4141 .wrap .add-new-h2, /* deprecated */ 4142 .wrap .add-new-h2:active, /* deprecated */ 4143 .wrap .page-title-action, 4144 .wrap .page-title-action:active { 4145 padding: 0 14px; 4146 font-size: 14px; 4147 white-space: nowrap; 4148 min-height: 40px; 4149 line-height: 2.71428571; 4150 vertical-align: middle; 4151 } 4152 4153 /* Feedback Messages */ 4154 .notice, 4155 .wrap div.updated, 4156 .wrap div.error, 4157 .media-upload-form div.error { 4158 margin: 20px 0 10px; 4159 padding: 5px 10px; 4160 font-size: 14px; 4161 line-height: 1.75; 4162 } 4163 4164 .wp-core-ui .notice.is-dismissible { 4165 padding-right: 46px; 4166 } 4167 4168 .notice-dismiss { 4169 padding: 13px; 4170 } 4171 4172 .wrap .icon32 + h2 { 4173 margin-top: -2px; 4174 } 4175 4176 .wp-responsive-open #wpbody { 4177 right: -16em; 4178 } 4179 4180 code { 4181 word-wrap: break-word; 4182 word-wrap: anywhere; /* Firefox. Allow breaking long words anywhere */ 4183 word-break: break-word; /* Webkit: Treated similarly to word-wrap: break-word */ 4184 } 4185 4186 /* General Metabox */ 4187 .postbox { 4188 font-size: 14px; 4189 } 4190 4191 .metabox-holder h3.hndle, /* Back-compat for pre-4.4 */ 4192 .metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */ 4193 .metabox-holder .postbox > h3, /* Back-compat for pre-4.4 */ 4194 .metabox-holder h2 { 4195 padding: 12px; 4196 } 4197 4198 .nav-menus-php .metabox-holder h3 { 4199 padding: 0; 4200 } 4201 4202 .postbox .handlediv { 4203 margin-top: 3px; 4204 } 4205 4206 /* Subsubsub Nav */ 4207 .subsubsub { 4208 font-size: 16px; 4209 text-align: center; 4210 margin-bottom: 15px; 4211 } 4212 4213 /* Theme/Plugin File Editor */ 4214 4215 #template textarea, 4216 /* stylelint-disable-next-line selector-class-pattern -- This class uses selectors that contain uppercase character in .CodeMirror external library. */ 4217 #template .CodeMirror { 4218 box-sizing: border-box; 4219 width: 100%; 4220 } 4221 4222 #templateside { 4223 float: none; 4224 width: auto; 4225 } 4226 4227 #templateside > ul { 4228 border-left: 1px solid #dcdcde; 4229 } 4230 4231 #templateside li { 4232 margin: 0; 4233 } 4234 4235 #templateside li:not(.howto) a { 4236 display: block; 4237 padding: 5px; 4238 } 4239 4240 #templateside li.howto { 4241 padding: 12px; 4242 } 4243 4244 #templateside .highlight { 4245 padding: 5px; 4246 margin-left: -5px; 4247 margin-top: -5px; 4248 } 4249 4250 #template > div, 4251 #template .notice { 4252 float: none; 4253 margin: 1em 0; 4254 width: auto; 4255 } 4256 4257 #templateside ul ul { 4258 padding-left: 1.5em; 4259 } 4260 4261 [role="treeitem"] .folder-label { 4262 display: block; 4263 padding: 5px; 4264 } 4265 4266 .tree-folder > li::before, 4267 .tree-folder > li::after, 4268 .tree-folder .tree-folder::after { 4269 left: -8px; 4270 } 4271 4272 .tree-folder > li::before { 4273 top: 0; 4274 height: 13px; 4275 } 4276 4277 .tree-folder > .current-file::before { 4278 left: -5px; 4279 top: 7px; 4280 width: 4px; 4281 } 4282 4283 .tree-folder > .current-file::after { 4284 height: 9px; 4285 left: -8px; 4286 } 4287 4288 .wrap #templateside span.notice { 4289 margin-left: -5px; 4290 width: 100%; 4291 } 4292 4293 .fileedit-sub .alignright { 4294 float: left; 4295 margin-top: 15px; 4296 width: 100%; 4297 text-align: left; 4298 } 4299 4300 .fileedit-sub .alignright label { 4301 display: block; 4302 } 4303 4304 .fileedit-sub #theme, 4305 .fileedit-sub #plugin { 4306 margin-left: 0; 4307 max-width: 70%; 4308 } 4309 4310 .fileedit-sub input[type="submit"] { 4311 margin-bottom: 0; 4312 } 4313 4314 #documentation label[for="docs-list"] { 4315 display: block; 4316 } 4317 4318 #documentation select[name="docs-list"] { 4319 margin-left: 0; 4320 max-width: 60%; 4321 } 4322 4323 #documentation input[type="button"] { 4324 margin-bottom: 0; 4325 } 4326 4327 #comments-form .checkforspam { 4328 display: none; 4329 } 4330 4331 .edit-comment-author { 4332 margin: 2px 0 0; 4333 } 4334 4335 .filter-drawer .filter-group-feature input, 4336 .filter-drawer .filter-group-feature label { 4337 line-height: 2.1; 4338 } 4339 4340 .filter-drawer .filter-group-feature label { 4341 margin-left: 32px; 4342 } 4343 4344 .wp-filter .button.drawer-toggle { 4345 font-size: 13px; 4346 line-height: 2; 4347 height: 28px; 4348 } 4349 4350 /* Fix help tab columns for smaller screens */ 4351 #screen-meta #contextual-help-wrap { 4352 overflow: visible; 4353 } 4354 4355 #screen-meta #contextual-help-back, 4356 #screen-meta .contextual-help-sidebar { 4357 display: none; 4358 } 4359 4360 #screen-meta .contextual-help-tabs { 4361 clear: both; 4362 width: 100%; 4363 float: none; 4364 } 4365 4366 #screen-meta .contextual-help-tabs ul { 4367 margin: 0 0 1em; 4368 padding: 1em 0 0; 4369 } 4370 4371 #screen-meta .contextual-help-tabs .active { 4372 margin: 0; 4373 } 4374 4375 #screen-meta .contextual-help-tabs-wrap { 4376 clear: both; 4377 max-width: 100%; 4378 float: none; 4379 } 4380 4381 #screen-meta, 4382 #screen-meta-links { 4383 margin-right: 10px; 4384 } 4385 4386 #screen-meta-links { 4387 margin-bottom: 20px; /* Add margins beneath links for better spacing between boxes and elements */ 4388 } 4389 4390 #screen-meta-links .show-settings::after { 4391 line-height: 1.9; 4392 } 4393 4394 .wp-filter .search-form input[type="search"] { 4395 font-size: 1rem; 4396 } 4397 4398 .wp-filter .search-form.search-plugins { 4399 /* This element is a flex item. */ 4400 min-width: 100%; 4401 } 4402 } 4403 4404 /* Smartphone */ 4405 @media screen and (max-width: 600px) { 4406 /* Disable horizontal scroll when responsive menu is open 4407 since we push the main content off to the right. */ 4408 #wpwrap.wp-responsive-open { 4409 overflow-x: hidden; 4410 } 4411 4412 html.wp-toolbar { 4413 padding-top: 0; 4414 } 4415 4416 .screen-reader-shortcut:focus { 4417 top: 7px; 4418 } 4419 4420 #wpbody { 4421 padding-top: 46px; 4422 } 4423 4424 /* Keep full-width boxes on Edit Post page from causing horizontal scroll */ 4425 div#post-body.metabox-holder.columns-1 { 4426 overflow-x: hidden; 4427 } 4428 4429 h1.nav-tab-wrapper, 4430 .wrap h2.nav-tab-wrapper, 4431 .nav-tab-wrapper { 4432 border-bottom: 0; 4433 } 4434 4435 h1 .nav-tab, 4436 h2 .nav-tab, 4437 h3 .nav-tab, 4438 nav .nav-tab { 4439 margin: 10px 10px 0 0; 4440 border-bottom: 1px solid #c3c4c7; 4441 } 4442 4443 .nav-tab-active:hover, 4444 .nav-tab-active:focus, 4445 .nav-tab-active:focus:active { 4446 border-bottom: 1px solid #c3c4c7; 4447 } 4448 4449 .wp-filter .search-form.search-plugins label { 4450 width: 100%; 4451 } 4452 } 4453 4454 @media screen and (max-width: 480px) { 4455 .metabox-prefs-container { 4456 display: grid; 4457 } 4458 4459 .metabox-prefs-container > * { 4460 display: inline-block; 4461 padding: 2px; 4462 } 4463 } 4464 4465 @media screen and (max-width: 320px) { 4466 /* Prevent default center alignment and larger font for the Right Now widget when the network dashboard is viewed on a small mobile device. */ 4467 /* stylelint-disable-next-line selector-id-pattern -- The ID selector network_dashboard_right_now can't be changed because of backward compatibility reasons. */ 4468 #network_dashboard_right_now .subsubsub { 4469 font-size: 14px; 4470 text-align: left; 4471 } 4472 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Wed Dec 2 08:20:02 2026 | Cross-referenced by PHPXref |