Ticket #29897: 29897.3.patch
| File 29897.3.patch, 7.7 KB (added by , 11 years ago) |
|---|
-
src/wp-admin/css/common.css
736 736 } 737 737 738 738 /* @todo can we combine these into a class or use an existing dashicon one? */ 739 #welcome-panel.welcome-panel .welcome-panel-close:before,739 .welcome-panel .welcome-panel-close:before, 740 740 .tagchecklist span a:before, 741 741 #bulk-titles div a:before { 742 742 background: none; 743 743 color: #bbb; 744 744 content: '\f153'; 745 display: block !important;745 display: block; 746 746 font: normal 16px/1 'dashicons'; 747 747 speak: none; 748 height: 20px;748 height: 16px; 749 749 text-align: center; 750 750 width: 20px; 751 -webkit-font-smoothing: antialiased !important; 751 -webkit-font-smoothing: antialiased; 752 -moz-osx-font-smoothing: grayscale; 752 753 } 753 754 754 #welcome-panel.welcome-panel .welcome-panel-close:before {755 .welcome-panel .welcome-panel-close:before { 755 756 margin: 0; 756 757 } 757 758 … … 760 761 margin: 2px 0; 761 762 } 762 763 763 #welcome-panel.welcome-panel .welcome-panel-close:hover:before, 764 .welcome-panel .welcome-panel-close:hover:before, 765 .welcome-panel .welcome-panel-close:focus:before, 764 766 .tagchecklist span a:hover:before, 765 767 #bulk-titles div a:hover:before { 766 768 color: #c00; … … 929 931 -moz-box-sizing: border-box; 930 932 box-sizing: border-box; 931 933 margin: 12px 0 25px; 932 padding: 0 20px;934 padding: 0 10px 0 11px; 933 935 width: 100%; 934 936 -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04); 935 937 box-shadow: 0 1px 1px rgba(0,0,0,0.04); … … 986 988 } 987 989 988 990 .filter-links li > a { 991 position: relative; 989 992 display: inline-block; 990 margin: 0 10px; 991 padding: 15px 0; 992 border-bottom: 4px solid #fff; 993 margin: 11px 0; 994 padding: 6px 10px; 993 995 color: #666; 994 996 cursor: pointer; 995 997 } 996 998 997 .filter-links .current { 998 -webkit-box-shadow: none; 999 box-shadow: none; 1000 border-bottom: 4px solid #666; 999 .filter-links .current:after { 1000 content: ''; 1001 display: block; 1002 height: 0px; 1003 border-bottom: 4px solid #666; 1004 position: absolute; 1005 right: 10px; 1006 bottom: -12px; 1007 left: 10px; 1001 1008 color: #23282d; 1002 1009 } 1003 1010 … … 1008 1015 color: #00a0d2; 1009 1016 } 1010 1017 1018 .filter-links .current:focus, 1019 .filter-links li > a:focus:active { 1020 -webkit-box-shadow: none; 1021 box-shadow: none; 1022 } 1023 1011 1024 .wp-filter .search-form { 1012 1025 float: right; 1013 1026 margin: 10px 0; … … 1023 1036 line-height: 1.5; 1024 1037 } 1025 1038 1039 .ie8 .media-toolbar-primary { 1040 width: 33%; 1041 max-width: none; 1042 } 1043 1044 .ie8 .media-toolbar-secondary { 1045 width: 66%; 1046 max-width: none; 1047 } 1048 1049 .ie8 .wp-filter .search-form input[type="search"], 1050 .ie8 .media-toolbar-primary #media-search-input { 1051 float: right; 1052 max-width: none; 1053 } 1054 .ie8 .media-frame-toolbar .media-toolbar-primary .media-button { 1055 float: right; 1056 } 1057 1026 1058 .wp-filter .search-form select { 1027 1059 margin: 0; 1028 1060 height: 32px; … … 1035 1067 1036 1068 .wp-filter .drawer-toggle { 1037 1069 display: inline-block; 1038 margin: 0 10px;1039 padding: 4px6px;1070 margin: 11px 10px 0 10px; 1071 padding: 6px; 1040 1072 color: #666; 1041 1073 cursor: pointer; 1042 1074 } … … 1992 2024 height: auto; 1993 2025 } 1994 2026 2027 td.image-icon a { 2028 display: inline-block; 2029 } 2030 1995 2031 td.image-icon img { 2032 display: block; 1996 2033 border: 1px solid rgba(0, 0, 0, 0.07); 1997 2034 } 1998 2035 -
src/wp-admin/css/dashboard.css
146 146 147 147 .welcome-panel .welcome-panel-close { 148 148 position: absolute; 149 top: 5px;149 top: 15px; 150 150 right: 10px; 151 padding: 20px 15px 0 3px;151 padding: 10px 15px 10px 21px; 152 152 font-size: 13px; 153 line-height: 1.23076923; /* Chrome rounding, needs to be 16px equivalent */ 153 154 text-decoration: none; 154 line-height: 1;155 155 } 156 156 157 157 #welcome-panel.welcome-panel .welcome-panel-close:before { 158 158 position: absolute; 159 left: -18px;160 margin-top: -2px;159 left: 0; 160 top: 10px; 161 161 -webkit-transition: all .1s ease-in-out; 162 162 transition: all .1s ease-in-out; 163 163 } … … 177 177 178 178 .welcome-panel .welcome-panel-column-container { 179 179 clear: both; 180 overflow: hidden;181 180 position: relative; 182 181 } 183 182 … … 205 204 } 206 205 207 206 .welcome-panel .welcome-icon { 208 display: block;209 padding: 0 0 8px;210 207 background: transparent !important; 211 208 } 212 209 … … 265 262 .welcome-panel .welcome-panel-column li { 266 263 line-height: 16px; 267 264 list-style-type: none; 265 padding: 0 0 8px; 268 266 } 269 267 270 268 /* Dashboard WordPress news */ … … 328 326 329 327 #dashboard_right_now ul { 330 328 margin: 0; 331 overflow: hidden; 329 /* contain floats */ 330 display: table; 331 width: 100%; 332 332 } 333 333 334 334 #dashboard_right_now li { … … 338 338 } 339 339 340 340 #dashboard_right_now .inside { 341 overflow: hidden;342 341 padding: 0; 343 342 } 344 343 345 344 #dashboard_right_now .main { 346 overflow: hidden;347 345 padding: 0 12px 11px; 348 346 } 349 347 … … 450 448 } 451 449 452 450 #dashboard_quick_press form { 453 overflow: hidden;454 451 margin: 12px; 455 452 } 456 453 … … 570 567 word-wrap: break-word; 571 568 } 572 569 573 #dashboard_quick_press .draft-title {574 overflow: hidden;575 }576 577 570 #dashboard_quick_press .draft-title a, 578 571 #dashboard_quick_press .draft-title time { 579 float: left;580 572 margin: 0 5px 0 0; 581 573 } 582 574 … … 658 650 659 651 #future-posts li, 660 652 #published-posts li { 661 overflow: hidden;662 653 margin-bottom: 8px; 663 654 } 664 655 665 656 #future-posts ul span, 666 657 #published-posts ul span { 658 display: inline-block; 659 min-width: 150px; 660 margin-right: 5px; 667 661 color: #777; 668 float: left;669 margin-right: 8px;670 min-width: 150px;671 662 } 672 663 673 664 .activity-block { … … 917 908 } 918 909 919 910 .dashboard-comment-wrap { 920 overflow: hidden;921 911 word-wrap: break-word; 922 912 } 923 913 … … 1095 1085 /* Keep the close icon from overlapping the Welcome text. */ 1096 1086 .welcome-panel .welcome-panel-close { 1097 1087 overflow: hidden; 1098 text-indent: 100%;1088 text-indent: 40px; 1099 1089 white-space: nowrap; 1100 1090 width: 20px; 1101 1091 height: 20px; 1102 right: 0;1103 1092 padding: 5px; 1093 top: 5px; 1094 right: 5px; 1104 1095 } 1105 1096 1106 1097 /* Make the close icon larger for tappability. */ … … 1107 1098 #welcome-panel.welcome-panel .welcome-panel-close:before { 1108 1099 font-size: 20px; 1109 1100 margin: 0; 1101 left: -35px; 1110 1102 } 1111 1103 } -
src/wp-admin/css/list-tables.css
613 613 614 614 .tablenav .view-switch { 615 615 float: right; 616 margin: 5px 16px 0 8px; 616 margin: 1px 4px; 617 /* line-height in px same as .tablenav height */ 618 line-height: 30px; 619 /* in list mode markup has white spaces between elements, in grid mode has not */ 620 /* need to minimize white-space but do not use 0px or IE 8 will explode */ 621 font-size: 1px; 617 622 } 618 623 619 624 .wp-filter .view-switch { 620 625 display: inline-block; 621 626 vertical-align: middle; 622 padding: 15px 0; 623 margin: 0 20px 0 0; 627 margin: 0 7px 0 0; 628 /* line-height in px same as .wp-filter height */ 629 line-height: 52px; 630 /* minimize white-space */ 631 font-size: 1px; 624 632 } 625 633 634 .mode-grid .wp-filter .view-switch { 635 margin: 0 11px 0 0; 636 } 637 626 638 .view-switch a { 627 639 text-decoration: none; 628 640 } … … 629 641 630 642 .view-switch > a { 631 643 display: inline-block; 632 width: 18px; 633 height: 18px; 644 width: 28px; 645 height: 28px; 646 /* line-height in px same as height */ 647 line-height: 28px; 648 text-align: center; 649 vertical-align: middle; 634 650 } 635 651 652 .tablenav .view-switch > a { 653 vertical-align: bottom; 654 } 655 656 .view-switch > a + a { 657 margin-left: 5px; 658 } 659 636 660 .view-switch > a:before { 637 color: #bbb;638 661 display: inline-block; 639 float: left;640 font: normal 20px/ 1'dashicons';662 /* line-height in px same as link height */ 663 font: normal 20px/28px 'dashicons'; 641 664 speak: none; 642 vertical-align: middle; 643 margin-left: 0; 665 color: #bbb; 644 666 -webkit-font-smoothing: antialiased; 645 667 -moz-osx-font-smoothing: grayscale; 646 668 } … … 657 679 color: #0073aa; 658 680 } 659 681 660 .view-switch > a + a {661 margin-left: 5px;662 }663 664 682 .view-switch > .view-excerpt:before { 665 683 content: '\f164'; 666 684 } … … 1531 1549 } 1532 1550 1533 1551 .tablenav.top { 1534 margin: 20px 0 5px0;1552 margin: 0; 1535 1553 } 1536 1554 1537 1555 .tablenav.bottom {