Ticket #29897: 29897.2.patch
| File 29897.2.patch, 7.5 KB (added by , 11 years ago) |
|---|
-
src/wp-admin/css/common.css
719 719 } 720 720 721 721 /* @todo can we combine these into a class or use an existing dashicon one? */ 722 #welcome-panel.welcome-panel .welcome-panel-close:before,722 .welcome-panel .welcome-panel-close:before, 723 723 .tagchecklist span a:before, 724 724 #bulk-titles div a:before { 725 725 background: none; 726 726 color: #bbb; 727 727 content: '\f153'; 728 display: block !important;728 display: block; 729 729 font: normal 16px/1 'dashicons'; 730 730 speak: none; 731 731 height: 20px; 732 732 text-align: center; 733 733 width: 20px; 734 -webkit-font-smoothing: antialiased !important; 734 -webkit-font-smoothing: antialiased; 735 -moz-osx-font-smoothing: grayscale; 735 736 } 736 737 737 #welcome-panel.welcome-panel .welcome-panel-close:before {738 .welcome-panel .welcome-panel-close:before { 738 739 margin: 0; 739 740 } 740 741 … … 743 744 margin: 2px 0; 744 745 } 745 746 746 #welcome-panel.welcome-panel .welcome-panel-close:hover:before, 747 .welcome-panel .welcome-panel-close:hover:before, 748 .welcome-panel .welcome-panel-close:focus:before, 747 749 .tagchecklist span a:hover:before, 748 750 #bulk-titles div a:hover:before { 749 751 color: #c00; … … 912 914 -moz-box-sizing: border-box; 913 915 box-sizing: border-box; 914 916 margin: 12px 0 25px; 915 padding: 0 20px;917 padding: 0 9px 0 11px; 916 918 width: 100%; 917 919 -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04); 918 920 box-shadow: 0 1px 1px rgba(0,0,0,0.04); … … 974 976 } 975 977 976 978 .filter-links .current { 977 -webkit-box-shadow: none;978 box-shadow: none;979 979 border-bottom: 4px solid #666; 980 980 color: #222; 981 981 } … … 1616 1616 1617 1617 .widefat th, 1618 1618 .widefat td { 1619 overflow: hidden;1620 1619 color: #555; 1621 1620 } 1622 1621 … … 2002 2001 height: auto; 2003 2002 } 2004 2003 2004 td.image-icon a { 2005 display: inline-block; 2006 } 2007 2005 2008 td.image-icon img { 2009 display: block; 2006 2010 border: 1px solid rgba(0, 0, 0, 0.07); 2007 2011 } 2008 2012 -
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 153 text-decoration: none; 154 154 line-height: 1; … … 156 156 157 157 #welcome-panel.welcome-panel .welcome-panel-close:before { 158 158 position: absolute; 159 left: -18px;159 left: 0; 160 160 margin-top: -2px; 161 161 -webkit-transition: all .1s ease-in-out; 162 162 transition: all .1s ease-in-out; … … 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 { … … 922 913 } 923 914 924 915 .dashboard-comment-wrap { 925 overflow: hidden;926 916 word-wrap: break-word; 927 917 } 928 918 … … 1100 1090 /* Keep the close icon from overlapping the Welcome text. */ 1101 1091 .welcome-panel .welcome-panel-close { 1102 1092 overflow: hidden; 1103 text-indent: 100%;1093 text-indent: 40px; 1104 1094 white-space: nowrap; 1105 1095 width: 20px; 1106 1096 height: 20px; 1107 right: 0;1108 1097 padding: 5px; 1098 top: 5px; 1099 right: 5px; 1109 1100 } 1110 1101 1111 1102 /* Make the close icon larger for tappability. */ … … 1112 1103 #welcome-panel.welcome-panel .welcome-panel-close:before { 1113 1104 font-size: 20px; 1114 1105 margin: 0; 1106 left: -35px; 1115 1107 } 1116 1108 } -
src/wp-admin/css/list-tables.css
624 624 625 625 .tablenav .view-switch { 626 626 float: right; 627 margin: 5px 16px 0 8px; 627 margin: 1px 4px; 628 line-height: 30px; 629 /* in list mode markup has white spaces between elements, in grid mode has not */ 630 /* need to minimize white-space do not use 0px or IE 8 will explode */ 631 font-size: 1px; 628 632 } 629 633 630 634 .wp-filter .view-switch { 631 635 display: inline-block; 636 margin: 0 7px 0 0; 637 line-height: 50px; 632 638 vertical-align: middle; 633 padding: 14px 0;634 margin: 0 20px 0 0;639 /* minimize white-space */ 640 font-size: 1px; 635 641 } 636 642 643 .mode-grid .wp-filter .view-switch { 644 margin: 0 11px 0 0; 645 } 646 637 647 .view-switch a { 638 648 text-decoration: none; 639 649 } … … 640 650 641 651 .view-switch > a { 642 652 display: inline-block; 643 width: 18px; 644 height: 18px; 653 width: 28px; 654 height: 28px; 655 line-height: 28px; 656 text-align: center; 657 vertical-align: middle; 645 658 } 646 659 660 .tablenav .view-switch > a { 661 vertical-align: bottom; 662 } 663 664 .view-switch > a + a { 665 margin-left: 5px; 666 } 667 647 668 .view-switch > a:before { 648 color: #bbb;649 669 display: inline-block; 650 float: left; 651 font: normal 20px/1 'dashicons'; 670 font: normal 20px/28px 'dashicons'; 652 671 speak: none; 653 vertical-align: middle; 654 margin-left: 0; 672 color: #bbb; 655 673 -webkit-font-smoothing: antialiased; 656 674 -moz-osx-font-smoothing: grayscale; 657 675 } … … 668 686 color: #0074a2; 669 687 } 670 688 671 .view-switch > a + a {672 margin-left: 5px;673 }674 675 689 .view-switch > .view-excerpt:before { 676 690 content: '\f164'; 677 691 } … … 1488 1502 } 1489 1503 1490 1504 .tablenav.top { 1491 margin: 20px 0 5px0;1505 margin: 0; 1492 1506 } 1493 1507 1494 1508 .tablenav.bottom { -
src/wp-admin/css/themes.css
300 300 border: none; 301 301 -webkit-box-shadow: none; 302 302 box-shadow: none; 303 }304 305 .theme-browser .theme.add-new-theme a {306 303 color: #999; 304 display: block; 307 305 text-decoration: none; 308 display: block;309 position: relative;310 z-index: 1;311 306 } 312 307 313 308 .theme-browser .theme.add-new-theme:after { -
src/wp-admin/js/theme.js
962 962 963 963 // 'Add new theme' element shown at the end of the grid 964 964 if ( themes.data.settings.canInstall ) { 965 this.$el.append( '< div class="theme add-new-theme"><a href="' + themes.data.settings.installURI + '"><div class="theme-screenshot"><span></span></div><h3 class="theme-name">' + l10n.addNew + '</h3></a></div>' );965 this.$el.append( '<a class="theme add-new-theme" href="' + themes.data.settings.installURI + '"><div class="theme-screenshot"><span></span></div><h3 class="theme-name">' + l10n.addNew + '</h3></div>' ); 966 966 } 967 967 968 968 this.parent.page++;