dashboard.css (24711B)
1 #wpbody-content #dashboard-widgets.columns-1 .postbox-container { 2 width: 100%; 3 } 4 5 #wpbody-content #dashboard-widgets.columns-2 .postbox-container { 6 width: 49.5%; 7 } 8 9 #wpbody-content #dashboard-widgets.columns-2 #postbox-container-2, 10 #wpbody-content #dashboard-widgets.columns-2 #postbox-container-3, 11 #wpbody-content #dashboard-widgets.columns-2 #postbox-container-4 { 12 float: right; 13 width: 50.5%; 14 } 15 16 #wpbody-content #dashboard-widgets.columns-3 .postbox-container { 17 width: 33.5%; 18 } 19 20 #wpbody-content #dashboard-widgets.columns-3 #postbox-container-1 { 21 width: 33%; 22 } 23 24 #wpbody-content #dashboard-widgets.columns-3 #postbox-container-3, 25 #wpbody-content #dashboard-widgets.columns-3 #postbox-container-4 { 26 float: right; 27 } 28 29 #wpbody-content #dashboard-widgets.columns-4 .postbox-container { 30 width: 25%; 31 } 32 33 #dashboard-widgets .postbox-container { 34 width: 25%; 35 } 36 37 #dashboard-widgets-wrap .columns-3 #postbox-container-4 .empty-container { 38 border: none !important; 39 } 40 41 #dashboard-widgets-wrap { 42 overflow: hidden; 43 margin: 0 -8px; 44 } 45 46 #dashboard-widgets .postbox .inside { 47 margin-bottom: 0; 48 } 49 50 #dashboard-widgets .meta-box-sortables { 51 display: flow-root; /* avoid margin collapsing between parent and first/last child elements */ 52 /* Required min-height to make the jQuery UI Sortable drop zone work. */ 53 min-height: 100px; 54 margin: 0 8px 20px; 55 } 56 57 #dashboard-widgets .postbox-container .empty-container { 58 outline: 3px dashed #c3c4c7; 59 height: 250px; 60 } 61 62 /* Only highlight drop zones when dragging and only in the 2 columns layout. */ 63 .is-dragging-metaboxes #dashboard-widgets .meta-box-sortables { 64 outline: 3px dashed #646970; 65 /* Prevent margin on the child from collapsing with margin on the parent. */ 66 display: flow-root; 67 } 68 69 #dashboard-widgets .postbox-container .empty-container:after { 70 content: attr(data-emptystring); 71 margin: auto; 72 position: absolute; 73 top: 50%; 74 left: 0; 75 right: 0; 76 transform: translateY( -50% ); 77 padding: 0 2em; 78 text-align: center; 79 color: #646970; 80 font-size: 16px; 81 line-height: 1.5; 82 display: none; 83 } 84 85 86 /* @todo: this was originally in this section, but likely belongs elsewhere */ 87 #the-comment-list td.comment p.comment-author { 88 margin-top: 0; 89 margin-left: 0; 90 } 91 92 #the-comment-list p.comment-author img { 93 float: left; 94 margin-right: 8px; 95 } 96 97 #the-comment-list p.comment-author strong a { 98 border: none; 99 } 100 101 #the-comment-list td { 102 vertical-align: top; 103 } 104 105 #the-comment-list td.comment { 106 word-wrap: break-word; 107 } 108 109 #the-comment-list td.comment img { 110 max-width: 100%; 111 } 112 113 /* Welcome Panel */ 114 .welcome-panel { 115 position: relative; 116 overflow: auto; 117 margin: 16px 0; 118 padding: 23px 10px 0; 119 border: 1px solid #c3c4c7; 120 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); 121 background: #fff; 122 font-size: 13px; 123 line-height: 1.7; 124 } 125 126 .welcome-panel h2 { 127 margin: 0; 128 font-size: 21px; 129 font-weight: 400; 130 line-height: 1.2; 131 } 132 133 .welcome-panel h3 { 134 margin: 1.33em 0 0; 135 font-size: 16px; 136 } 137 138 .welcome-panel li { 139 font-size: 14px; 140 } 141 142 .welcome-panel p { 143 color: #646970; 144 } 145 146 .welcome-panel li a { 147 text-decoration: none; 148 } 149 150 .welcome-panel .about-description { 151 font-size: 16px; 152 margin: 0; 153 } 154 155 .welcome-panel .welcome-panel-close { 156 position: absolute; 157 top: 10px; 158 right: 10px; 159 padding: 10px 15px 10px 21px; 160 font-size: 13px; 161 line-height: 1.23076923; /* Chrome rounding, needs to be 16px equivalent */ 162 text-decoration: none; 163 } 164 165 .welcome-panel .welcome-panel-close:before { 166 position: absolute; 167 top: 8px; 168 left: 0; 169 transition: all .1s ease-in-out; 170 } 171 172 .wp-core-ui .welcome-panel .button.button-hero { 173 margin: 15px 13px 3px 0; 174 padding: 12px 36px; 175 height: auto; 176 line-height: 1.4285714; 177 white-space: normal; 178 } 179 180 .welcome-panel-content { 181 margin-left: 13px; 182 max-width: 1500px; 183 } 184 185 .welcome-panel .welcome-panel-column-container { 186 clear: both; 187 position: relative; 188 } 189 190 .welcome-panel .welcome-panel-column { 191 width: 32%; 192 min-width: 200px; 193 float: left; 194 } 195 196 .welcome-panel .welcome-panel-column:first-child { 197 width: 36%; 198 } 199 200 .welcome-panel-column p.hide-if-no-customize { 201 margin-top: 10px; 202 } 203 204 .welcome-panel-column p { 205 margin-top: 7px; 206 color: #3c434a; 207 } 208 209 .welcome-panel .welcome-widgets-menus { 210 line-height: 1.14285714; 211 } 212 213 .welcome-panel .welcome-panel-column ul { 214 margin: 0.8em 1em 1em 0; 215 } 216 217 .welcome-panel .welcome-panel-column li { 218 line-height: 1.14285714; 219 list-style-type: none; 220 padding: 0 0 8px; 221 } 222 223 .welcome-panel .welcome-icon { 224 background: transparent !important; 225 } 226 227 /* Welcome Panel and Right Now common Icons style */ 228 229 .welcome-panel .welcome-icon:before, 230 #dashboard_right_now li a:before, 231 #dashboard_right_now li span:before, 232 #dashboard_right_now .search-engines-info:before { 233 color: #646970; 234 font: normal 20px/1 dashicons; 235 speak: never; 236 display: inline-block; 237 padding: 0 10px 0 0; 238 position: relative; 239 -webkit-font-smoothing: antialiased; 240 -moz-osx-font-smoothing: grayscale; 241 text-decoration: none !important; 242 vertical-align: top; 243 } 244 245 /* Welcome Panel specific Icons styles */ 246 247 .welcome-panel .welcome-write-blog:before, 248 .welcome-panel .welcome-edit-page:before { 249 content: "\f119"; 250 top: -3px; 251 } 252 253 .welcome-panel .welcome-add-page:before { 254 content: "\f132"; 255 top: -1px; 256 } 257 258 .welcome-panel .welcome-setup-home:before { 259 content: "\f102"; 260 top: -1px; 261 } 262 263 .welcome-panel .welcome-view-site:before { 264 content: "\f115"; 265 top: -2px; 266 } 267 268 .welcome-panel .welcome-widgets-menus:before { 269 content: "\f116"; 270 top: -2px; 271 } 272 273 .welcome-panel .welcome-widgets:before { 274 content: "\f538"; 275 top: -2px; 276 } 277 278 .welcome-panel .welcome-menus:before { 279 content: "\f163"; 280 top: -2px; 281 } 282 283 .welcome-panel .welcome-comments:before { 284 content: "\f117"; 285 top: -1px; 286 } 287 288 .welcome-panel .welcome-learn-more:before { 289 content: "\f118"; 290 top: -1px; 291 } 292 293 /* Right Now specific Icons styles */ 294 295 #dashboard_right_now .search-engines-info:before, 296 #dashboard_right_now li a:before, 297 #dashboard_right_now li > span:before { /* get only the first level span to exclude screen-reader-text in mu-storage */ 298 content: "\f159"; /* generic icon for items added by CPTs ? */ 299 padding: 0 5px 0 0; 300 } 301 302 #dashboard_right_now .page-count a:before, 303 #dashboard_right_now .page-count span:before { 304 content: "\f105"; 305 } 306 307 #dashboard_right_now .post-count a:before, 308 #dashboard_right_now .post-count span:before { 309 content: "\f109"; 310 } 311 312 #dashboard_right_now .comment-count a:before { 313 content: "\f101"; 314 } 315 316 #dashboard_right_now .comment-mod-count a:before { 317 content: "\f125"; 318 } 319 320 #dashboard_right_now .storage-count a:before { 321 content: "\f104"; 322 } 323 324 #dashboard_right_now .storage-count.warning a:before { 325 content: "\f153"; 326 } 327 328 #dashboard_right_now .search-engines-info:before { 329 content: "\f348"; 330 } 331 332 /* Dashboard WordPress events */ 333 334 .community-events-errors { 335 margin: 0; 336 } 337 338 .community-events-loading { 339 padding: 10px 12px 8px; 340 } 341 342 .community-events { 343 margin-bottom: 6px; 344 padding: 0 12px; 345 } 346 347 .community-events .spinner { 348 float: none; 349 margin: 5px 2px 0; 350 vertical-align: top; 351 } 352 353 .community-events-errors[aria-hidden="true"], 354 .community-events-errors [aria-hidden="true"], 355 .community-events-loading[aria-hidden="true"], 356 .community-events[aria-hidden="true"], 357 .community-events [aria-hidden="true"] { 358 display: none; 359 } 360 361 .community-events .activity-block:first-child, 362 .community-events h2 { 363 padding-top: 12px; 364 padding-bottom: 10px; 365 } 366 367 .community-events-form { 368 margin: 15px 0 5px; 369 } 370 371 .community-events-form .regular-text { 372 width: 40%; 373 height: 29px; 374 margin: 0; 375 vertical-align: top; 376 } 377 378 .community-events li.event-none { 379 border-left: 4px solid #72aee6; 380 } 381 382 #dashboard-widgets .community-events li.event-none a { 383 text-decoration: underline; 384 } 385 386 .community-events-form label { 387 display: inline-block; 388 vertical-align: top; 389 line-height: 2.15384615; 390 height: 28px; 391 } 392 393 .community-events .activity-block > p { 394 margin-bottom: 0; 395 display: inline; 396 } 397 398 .community-events-toggle-location { 399 vertical-align: middle; 400 } 401 402 #community-events-submit { 403 margin-left: 3px; 404 margin-right: 3px; 405 } 406 407 /* Needs higher specificity than #dashboard-widgets .button-link */ 408 #dashboard-widgets .community-events-cancel.button-link { 409 vertical-align: top; 410 /* Same properties as the submit button for cross-browsers alignment. */ 411 line-height: 2; 412 height: 28px; 413 text-decoration: underline; 414 } 415 416 .community-events ul { 417 background-color: #f6f7f7; 418 padding-left: 0; 419 padding-right: 0; 420 padding-bottom: 0; 421 } 422 423 .community-events li { 424 margin: 0; 425 padding: 8px 12px; 426 color: #2c3338; 427 } 428 .community-events li:first-child { 429 border-top: 1px solid #f0f0f1; 430 } 431 432 .community-events li ~ li { 433 border-top: 1px solid #f0f0f1; 434 } 435 436 .community-events .activity-block.last { 437 border-bottom: 1px solid #f0f0f1; 438 padding-top: 0; 439 margin-top: -1px; 440 } 441 442 .community-events .event-info { 443 display: block; 444 } 445 446 .event-icon { 447 height: 18px; 448 padding-right: 10px; 449 width: 18px; 450 display: none; /* Hide on smaller screens */ 451 } 452 453 .event-icon:before { 454 color: #646970; 455 font-size: 18px; 456 } 457 .event-meetup .event-icon:before { 458 content: "\f484"; 459 } 460 .event-wordcamp .event-icon:before { 461 content: "\f486"; 462 } 463 464 .community-events .event-title { 465 font-weight: 600; 466 display: block; 467 } 468 469 .community-events .event-date, 470 .community-events .event-time { 471 display: block; 472 } 473 474 .community-events-footer { 475 margin-top: 0; 476 margin-bottom: 0; 477 padding: 12px; 478 border-top: 1px solid #f0f0f1; 479 color: #dcdcde; 480 } 481 482 /* Safari 10 + VoiceOver specific: without this, the hidden text gets read out before the link. */ 483 .community-events-footer .screen-reader-text { 484 height: inherit; 485 white-space: nowrap; 486 } 487 488 /* Dashboard WordPress news */ 489 490 #dashboard_primary .inside { 491 margin: 0; 492 padding: 0; 493 } 494 495 #dashboard_primary .widget-loading { 496 padding: 12px 12px 0; 497 margin-bottom: 1em !important; /* Needs to override `.postbox .inside > p:last-child` in common.css */ 498 } 499 500 /* Notice when JS is off. */ 501 #dashboard_primary .inside .notice { 502 margin: 0; 503 } 504 505 body #dashboard-widgets .postbox form .submit { 506 margin: 0; 507 } 508 509 /* Used only for configurable widgets. */ 510 .dashboard-widget-control-form p { 511 margin-top: 0; 512 } 513 514 .rssSummary { 515 color: #646970; 516 margin-top: 4px; 517 } 518 519 #dashboard_primary .rss-widget { 520 font-size: 13px; 521 padding: 0 12px 0; 522 } 523 524 #dashboard_primary .rss-widget:last-child { 525 border-bottom: none; 526 padding-bottom: 8px; 527 } 528 529 #dashboard_primary .rss-widget a { 530 font-weight: 400; 531 } 532 533 #dashboard_primary .rss-widget span, 534 #dashboard_primary .rss-widget span.rss-date { 535 color: #646970; 536 } 537 538 #dashboard_primary .rss-widget span.rss-date { 539 margin-left: 12px; 540 } 541 542 #dashboard_primary .rss-widget ul li { 543 padding: 4px 0; 544 margin: 0; 545 } 546 547 /* Dashboard right now */ 548 549 #dashboard_right_now ul { 550 margin: 0; 551 /* contain floats but don't use overflow: hidden */ 552 display: inline-block; 553 width: 100%; 554 } 555 556 #dashboard_right_now li { 557 width: 50%; 558 float: left; 559 margin-bottom: 10px; 560 } 561 562 #dashboard_right_now .inside { 563 padding: 0; 564 } 565 566 #dashboard_right_now .main { 567 padding: 0 12px 11px; 568 } 569 570 #dashboard_right_now .main p { 571 margin: 0; 572 } 573 574 #dashboard_right_now #wp-version-message .button { 575 float: right; 576 position: relative; 577 top: -5px; 578 margin-left: 5px; 579 } 580 581 #dashboard_right_now p.search-engines-info { 582 margin: 1em 0; 583 } 584 585 .mu-storage { 586 overflow: hidden; 587 } 588 589 #dashboard-widgets h3.mu-storage { 590 margin: 0 0 10px; 591 padding: 0; 592 font-size: 14px; 593 font-weight: 400; 594 } 595 596 /* Dashboard right now - Colors */ 597 598 #dashboard_right_now .sub { 599 color: #50575e; 600 background: #f6f7f7; 601 border-top: 1px solid #f0f0f1; 602 padding: 10px 12px 6px 12px; 603 } 604 605 #dashboard_right_now .sub h3 { 606 color: #50575e; 607 } 608 609 #dashboard_right_now .sub p { 610 margin: 0 0 1em; 611 } 612 613 #dashboard_right_now .warning a:before, 614 #dashboard_right_now .warning span:before { 615 color: #d63638; 616 } 617 618 /* Dashboard Quick Draft */ 619 620 #dashboard_quick_press .inside { 621 margin: 0; 622 padding: 0; 623 } 624 625 #dashboard_quick_press div.updated { 626 margin-bottom: 10px; 627 border: 1px solid #f0f0f1; 628 border-width: 1px 1px 1px 0; 629 } 630 631 #dashboard_quick_press form { 632 margin: 12px; 633 } 634 635 #dashboard_quick_press .drafts { 636 padding: 10px 0 0; 637 } 638 639 /* Dashboard Quick Draft - Form styling */ 640 641 #dashboard_quick_press label { 642 display: inline-block; 643 margin-bottom: 4px; 644 } 645 646 #dashboard_quick_press input, 647 #dashboard_quick_press textarea { 648 box-sizing: border-box; 649 margin: 0; 650 } 651 652 #dashboard-widgets .postbox form .submit { 653 margin: -39px 0; 654 float: right; 655 } 656 657 #description-wrap { 658 margin-top: 12px; 659 } 660 661 #quick-press textarea#content { 662 min-height: 90px; 663 max-height: 1300px; 664 margin: 0 0 8px; 665 padding: 6px 7px; 666 resize: none; 667 } 668 669 /* Dashboard Quick Draft - Drafts list */ 670 671 .js #dashboard_quick_press .drafts { 672 border-top: 1px solid #f0f0f1; 673 } 674 675 #dashboard_quick_press .drafts abbr { 676 border: none; 677 } 678 679 #dashboard_quick_press .drafts .view-all { 680 float: right; 681 margin: 0 12px 0 0; 682 } 683 684 #dashboard_primary a.rsswidget { 685 font-weight: 400; 686 } 687 688 #dashboard_quick_press .drafts ul { 689 margin: 0 12px; 690 } 691 692 #dashboard_quick_press .drafts li { 693 margin-bottom: 1em; 694 } 695 #dashboard_quick_press .drafts li time { 696 color: #646970; 697 } 698 699 #dashboard_quick_press .drafts p { 700 margin: 0; 701 word-wrap: break-word; 702 } 703 704 #dashboard_quick_press .draft-title { 705 word-wrap: break-word; 706 } 707 708 #dashboard_quick_press .draft-title a, 709 #dashboard_quick_press .draft-title time { 710 margin: 0 5px 0 0; 711 } 712 713 /* Dashboard common styles */ 714 715 #dashboard-widgets h4, /* Back-compat for pre-4.4 */ 716 #dashboard-widgets h3, 717 #dashboard_quick_press .drafts h2 { 718 margin: 0 12px 8px; 719 padding: 0; 720 font-size: 14px; 721 font-weight: 400; 722 color: #1d2327; 723 } 724 725 #dashboard_quick_press .drafts h2 { 726 line-height: inherit; 727 } 728 729 #dashboard-widgets .inside h4, /* Back-compat for pre-4.4 */ 730 #dashboard-widgets .inside h3 { 731 margin-left: 0; 732 margin-right: 0; 733 } 734 735 /* Dashboard activity widget */ 736 737 #dashboard_activity .comment-meta span.approve:before { 738 content: "\f227"; 739 font: 20px/.5 dashicons; 740 margin-left: 5px; 741 vertical-align: middle; 742 position: relative; 743 top: -1px; 744 margin-right: 2px; 745 } 746 747 #dashboard_activity .inside { 748 margin: 0; 749 padding-bottom: 0; 750 } 751 752 #dashboard_activity .no-activity { 753 overflow: hidden; 754 padding: 12px 0; 755 text-align: center; 756 } 757 758 #dashboard_activity .no-activity p { 759 color: #646970; 760 font-size: 16px; 761 } 762 763 #dashboard_activity .subsubsub { 764 float: none; 765 border-top: 1px solid #f0f0f1; 766 margin: 0 -12px; 767 padding: 8px 12px 4px; 768 } 769 770 #dashboard_activity .subsubsub a .count, 771 #dashboard_activity .subsubsub a.current .count { 772 color: #646970; /* white background on the dashboard but #f0f0f1 on list tables */ 773 } 774 775 #future-posts ul, 776 #published-posts ul { 777 clear: both; 778 margin-bottom: 0; 779 } 780 781 #future-posts li, 782 #published-posts li { 783 margin-bottom: 8px; 784 } 785 786 #future-posts ul span, 787 #published-posts ul span { 788 display: inline-block; 789 margin-right: 5px; 790 min-width: 150px; 791 color: #646970; 792 } 793 794 .activity-block { 795 border-bottom: 1px solid #f0f0f1; 796 margin: 0 -12px; 797 padding: 8px 12px 4px; 798 } 799 800 .activity-block:last-child { 801 border-bottom: none; 802 } 803 804 .activity-block .subsubsub li { 805 color: #dcdcde; 806 } 807 808 /* Dashboard activity widget - Comments */ 809 /* @todo: needs serious de-duplication */ 810 811 #activity-widget #the-comment-list tr.undo, 812 #activity-widget #the-comment-list div.undo { 813 background: none; 814 padding: 6px 0; 815 margin-left: 12px; 816 } 817 818 #activity-widget #the-comment-list .comment-item { 819 background: #f6f7f7; 820 padding: 12px; 821 position: relative; 822 } 823 824 #activity-widget #the-comment-list .avatar { 825 position: absolute; 826 top: 12px; 827 } 828 829 #activity-widget #the-comment-list .dashboard-comment-wrap.has-avatar { 830 padding-left: 63px; 831 } 832 833 #activity-widget #the-comment-list .dashboard-comment-wrap blockquote { 834 margin: 1em 0; 835 } 836 837 #activity-widget #the-comment-list .comment-item p.row-actions { 838 margin: 4px 0 0 0; 839 } 840 841 #activity-widget #the-comment-list .comment-item:first-child { 842 border-top: 1px solid #f0f0f1; 843 } 844 845 #activity-widget #the-comment-list .unapproved { 846 background-color: #fcf9e8; 847 } 848 849 #activity-widget #the-comment-list .unapproved:before { 850 content: ""; 851 display: block; 852 position: absolute; 853 left: 0; 854 top: 0; 855 bottom: 0; 856 background: #d63638; 857 width: 4px; 858 } 859 860 #activity-widget #the-comment-list .spam-undo-inside .avatar, 861 #activity-widget #the-comment-list .trash-undo-inside .avatar { 862 position: relative; 863 top: 0; 864 } 865 866 /* Browse happy box */ 867 868 #dashboard-widgets #dashboard_browser_nag.postbox .inside { 869 margin: 10px; 870 } 871 872 .postbox .button-link .edit-box { 873 display: none; 874 } 875 876 .edit-box { 877 opacity: 0; 878 } 879 880 .hndle:hover .edit-box, 881 .edit-box:focus { 882 opacity: 1; 883 } 884 885 #dashboard-widgets form .input-text-wrap input { 886 width: 100%; 887 } 888 889 #dashboard-widgets form .textarea-wrap textarea { 890 width: 100%; 891 } 892 893 #dashboard-widgets .postbox form .submit { 894 float: none; 895 margin: .5em 0 0; 896 padding: 0; 897 border: none; 898 } 899 900 #dashboard-widgets-wrap #dashboard-widgets .postbox form .submit #publish { 901 min-width: 0; 902 } 903 904 #dashboard-widgets li a, 905 #dashboard-widgets .button-link, 906 .community-events-footer a { 907 text-decoration: none; 908 } 909 910 #dashboard-widgets h2 a { 911 text-decoration: underline; 912 } 913 914 #dashboard-widgets .hndle .postbox-title-action { 915 float: right; 916 line-height: 1.2; 917 } 918 919 #dashboard_plugins h5 { 920 font-size: 14px; 921 } 922 923 /* Recent Comments */ 924 925 #latest-comments #the-comment-list { 926 position: relative; 927 margin: 0 -12px; 928 } 929 930 #activity-widget #the-comment-list .comment, 931 #activity-widget #the-comment-list .pingback { 932 box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06); 933 } 934 935 #activity-widget .comments #the-comment-list .alt { 936 background-color: transparent; 937 } 938 939 #activity-widget #latest-comments #the-comment-list .comment-item { 940 /* the row-actions paragraph is output only for users with 'edit_comment' capabilities, 941 for other users this needs a min height equal to the gravatar image */ 942 min-height: 50px; 943 margin: 0; 944 padding: 12px; 945 } 946 947 #latest-comments #the-comment-list .pingback { 948 padding-left: 12px !important; 949 } 950 951 #latest-comments #the-comment-list .comment-item:first-child { 952 border-top: none; 953 } 954 955 #latest-comments #the-comment-list .comment-meta { 956 line-height: 1.5; 957 margin: 0; 958 color: #646970; 959 } 960 961 #latest-comments #the-comment-list .comment-meta cite { 962 font-style: normal; 963 font-weight: 400; 964 } 965 966 #latest-comments #the-comment-list .comment-item blockquote, 967 #latest-comments #the-comment-list .comment-item blockquote p { 968 margin: 0; 969 padding: 0; 970 display: inline; 971 } 972 973 #latest-comments #the-comment-list .comment-item p.row-actions { 974 margin: 3px 0 0; 975 padding: 0; 976 font-size: 13px; 977 } 978 979 /* Feeds */ 980 .rss-widget ul { 981 margin: 0; 982 padding: 0; 983 list-style: none; 984 } 985 986 a.rsswidget { 987 font-size: 13px; 988 font-weight: 600; 989 line-height: 1.4; 990 } 991 992 .rss-widget ul li { 993 line-height: 1.5; 994 margin-bottom: 12px; 995 } 996 997 .rss-widget span.rss-date { 998 color: #646970; 999 font-size: 13px; 1000 margin-left: 3px; 1001 } 1002 1003 .rss-widget cite { 1004 display: block; 1005 text-align: right; 1006 margin: 0 0 1em; 1007 padding: 0; 1008 } 1009 1010 .rss-widget cite:before { 1011 content: "\2014"; 1012 } 1013 1014 .dashboard-comment-wrap { 1015 word-wrap: break-word; 1016 } 1017 1018 /* Browser Nag */ 1019 #dashboard_browser_nag a.update-browser-link { 1020 font-size: 1.2em; 1021 font-weight: 600; 1022 } 1023 1024 #dashboard_browser_nag a { 1025 text-decoration: underline; 1026 } 1027 1028 #dashboard_browser_nag p.browser-update-nag.has-browser-icon { 1029 padding-right: 128px; 1030 } 1031 1032 #dashboard_browser_nag .browser-icon { 1033 margin-top: -32px; 1034 } 1035 1036 #dashboard_browser_nag.postbox { 1037 background-color: #b32d2e; 1038 background-image: none; 1039 border-color: #b32d2e; 1040 color: #fff; 1041 box-shadow: none; 1042 } 1043 1044 #dashboard_browser_nag.postbox h2 { 1045 border-bottom-color: transparent; 1046 background: transparent none; 1047 color: #fff; 1048 box-shadow: none; 1049 } 1050 1051 #dashboard_browser_nag a { 1052 color: #fff; 1053 } 1054 1055 #dashboard_browser_nag.postbox .postbox-header { 1056 border-color: transparent; 1057 } 1058 1059 #dashboard_browser_nag h2.hndle { 1060 border: none; 1061 font-weight: 600; 1062 font-size: 20px; 1063 padding-top: 10px; 1064 } 1065 1066 .postbox#dashboard_browser_nag p a.dismiss { 1067 font-size: 14px; 1068 } 1069 1070 .postbox#dashboard_browser_nag p, 1071 .postbox#dashboard_browser_nag a, 1072 .postbox#dashboard_browser_nag p.browser-update-nag { 1073 font-size: 16px; 1074 } 1075 1076 /* PHP Nag */ 1077 #dashboard_php_nag .dashicons-warning { 1078 color: #dba617; 1079 padding-right: 6px; 1080 } 1081 1082 #dashboard_php_nag.php-insecure .dashicons-warning { 1083 color: #d63638; 1084 } 1085 1086 #dashboard_php_nag h2 { 1087 display: inline-block; 1088 } 1089 1090 #dashboard_php_nag p { 1091 margin: 12px 0; 1092 } 1093 1094 #dashboard_php_nag h3 { 1095 font-weight: 600; 1096 } 1097 1098 #dashboard_php_nag .button .dashicons-external { 1099 line-height: 25px; 1100 } 1101 1102 /* =Media Queries 1103 -------------------------------------------------------------- */ 1104 1105 /* one column on the dash */ 1106 @media only screen and (max-width: 799px) { 1107 #wpbody-content #dashboard-widgets .postbox-container { 1108 width: 100%; 1109 } 1110 1111 #dashboard-widgets .meta-box-sortables { 1112 min-height: 0; 1113 } 1114 1115 .is-dragging-metaboxes #dashboard-widgets .meta-box-sortables { 1116 min-height: 100px; 1117 } 1118 1119 #dashboard-widgets .meta-box-sortables.empty-container { 1120 margin-bottom: 0; 1121 } 1122 } 1123 1124 /* two columns on the dash, but keep the setting if one is selected */ 1125 @media only screen and (min-width: 800px) and (max-width: 1499px) { 1126 #wpbody-content #dashboard-widgets .postbox-container { 1127 width: 49.5%; 1128 } 1129 1130 #wpbody-content #dashboard-widgets #postbox-container-2, 1131 #wpbody-content #dashboard-widgets #postbox-container-3, 1132 #wpbody-content #dashboard-widgets #postbox-container-4 { 1133 float: right; 1134 width: 50.5%; 1135 } 1136 1137 #dashboard-widgets #postbox-container-3 .empty-container, 1138 #dashboard-widgets #postbox-container-4 .empty-container { 1139 outline: none; 1140 height: 0; 1141 min-height: 0; 1142 margin-bottom: 0; 1143 } 1144 1145 #dashboard-widgets #postbox-container-3 .empty-container:after, 1146 #dashboard-widgets #postbox-container-4 .empty-container:after { 1147 display: none; 1148 } 1149 1150 #wpbody #wpbody-content #dashboard-widgets.columns-1 .postbox-container { 1151 width: 100%; 1152 } 1153 1154 #wpbody #dashboard-widgets .metabox-holder.columns-1 .postbox-container .empty-container { 1155 outline: none; 1156 height: 0; 1157 min-height: 0; 1158 margin-bottom: 0; 1159 } 1160 1161 /* show the radio buttons for column prefs only for one or two columns */ 1162 .index-php .screen-layout, 1163 .index-php .columns-prefs { 1164 display: block; 1165 } 1166 1167 .columns-prefs .columns-prefs-3, 1168 .columns-prefs .columns-prefs-4 { 1169 display: none; 1170 } 1171 1172 #dashboard-widgets .postbox-container .empty-container:after { 1173 display: block; 1174 } 1175 } 1176 1177 /* three columns on the dash */ 1178 @media only screen and (min-width: 1500px) and (max-width: 1800px) { 1179 #wpbody-content #dashboard-widgets .postbox-container { 1180 width: 33.5%; 1181 } 1182 1183 #wpbody-content #dashboard-widgets #postbox-container-1 { 1184 width: 33%; 1185 } 1186 1187 #wpbody-content #dashboard-widgets #postbox-container-3, 1188 #wpbody-content #dashboard-widgets #postbox-container-4 { 1189 float: right; 1190 } 1191 1192 #dashboard-widgets #postbox-container-4 .empty-container { 1193 outline: none; 1194 height: 0; 1195 min-height: 0; 1196 margin-bottom: 0; 1197 } 1198 1199 #dashboard-widgets #postbox-container-4 .empty-container:after { 1200 display: none; 1201 } 1202 1203 #dashboard-widgets .postbox-container .empty-container:after { 1204 display: block; 1205 } 1206 } 1207 1208 /* Always show the "Drag boxes here" CSS generated content on large screens. */ 1209 @media only screen and (min-width: 1801px) { 1210 #dashboard-widgets .postbox-container .empty-container:after { 1211 display: block; 1212 } 1213 } 1214 1215 @media screen and (max-width: 870px) { 1216 .welcome-panel .welcome-panel-column, 1217 .welcome-panel .welcome-panel-column:first-child { 1218 display: block; 1219 float: none; 1220 width: 100%; 1221 } 1222 1223 .welcome-panel .welcome-panel-column li { 1224 display: inline-block; 1225 margin-right: 13px; 1226 } 1227 1228 .welcome-panel .welcome-panel-column ul { 1229 margin: 0.4em 0 0; 1230 } 1231 1232 } 1233 1234 @media screen and (max-width: 782px) { 1235 #dashboard-widgets h2 { 1236 padding: 12px; 1237 } 1238 1239 #dashboard_recent_comments #the-comment-list .comment-item .avatar { 1240 height: 30px; 1241 width: 30px; 1242 margin: 4px 10px 5px 0; 1243 } 1244 1245 .community-events-toggle-location { 1246 height: 38px; 1247 vertical-align: baseline; 1248 } 1249 1250 .community-events-form .regular-text { 1251 height: 32px; 1252 } 1253 1254 #community-events-submit { 1255 margin-bottom: 0; 1256 /* Override .wp-core-ui .button */ 1257 vertical-align: top; 1258 } 1259 1260 .community-events-form label, 1261 #dashboard-widgets .community-events-cancel.button-link { 1262 /* Same properties as the submit button for cross-browsers alignment. */ 1263 font-size: 14px; 1264 line-height: normal; 1265 height: auto; 1266 padding: 6px 0; 1267 border: 1px solid transparent; 1268 } 1269 1270 .community-events .spinner { 1271 margin-top: 7px; 1272 } 1273 } 1274 1275 /* Smartphone */ 1276 @media screen and (max-width: 600px) { 1277 /* Keep the close icon from overlapping the Welcome text. */ 1278 .welcome-panel .welcome-panel-close { 1279 overflow: hidden; 1280 text-indent: 40px; 1281 white-space: nowrap; 1282 width: 20px; 1283 height: 20px; 1284 padding: 5px; 1285 top: 5px; 1286 right: 5px; 1287 } 1288 1289 /* Make the close icon larger for tappability. */ 1290 .welcome-panel .welcome-panel-close:before { 1291 font-size: 20px; 1292 top: 5px; 1293 left: -35px; 1294 } 1295 } 1296 1297 @media screen and (min-width: 355px) { 1298 .community-events .event-info { 1299 display: table-row; 1300 float: left; 1301 max-width: 59%; 1302 } 1303 1304 .event-icon, 1305 .event-icon[aria-hidden="true"] { 1306 display: table-cell; 1307 } 1308 1309 .event-info-inner { 1310 display: table-cell; 1311 } 1312 1313 .community-events .event-date-time { 1314 float: right; 1315 max-width: 39%; 1316 } 1317 1318 .community-events .event-date, 1319 .community-events .event-time { 1320 text-align: right; 1321 } 1322 }