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