Ticket #35126: 35126.diff
File 35126.diff, 17.4 KB (added by , 8 years ago) |
---|
-
src/wp-admin/css/common.css
244 244 line-height: inherit; 245 245 } 246 246 247 /* Any change to the default link style must be applied to button-link too. */ 247 248 a { 248 249 color: #0073aa; 249 250 -webkit-transition-property: border, background, color; … … 464 465 word-wrap: break-word; 465 466 } 466 467 467 .widefat a { 468 .widefat a, 469 .widefat button.button-link { 468 470 text-decoration: none; 469 471 } 470 472 … … 1242 1244 } 1243 1245 1244 1246 .wp-filter .button-link.edit-filters { 1245 color: #0073aa;1246 text-decoration: underline;1247 1247 padding: 0 5px; 1248 1248 line-height: 28px; 1249 1249 } 1250 1250 1251 .wp-filter .button-link.edit-filters:hover {1252 color: #00a0d2;1253 }1254 1255 .wp-filter .button-link.edit-filters:focus {1256 color: #124964;1257 }1258 1259 1251 .filtered-by { 1260 1252 display: none; 1261 1253 margin: 0; … … 1607 1599 color: #66c6e4; 1608 1600 } 1609 1601 1610 .button.updated-message, 1611 .notice .button-link { 1602 .button.updated-message { 1612 1603 -webkit-transition-property: border, background, color; 1613 1604 transition-property: border, background, color; 1614 1605 -webkit-transition-duration: .05s; … … 1617 1608 transition-timing-function: ease-in-out; 1618 1609 } 1619 1610 1620 .notice .button-link {1621 color: #0073aa;1622 }1623 1624 .notice .button-link:hover,1625 .notice .button-link:active {1626 color: #00a0d2;1627 }1628 1629 1611 @media aural { 1630 1612 .wrap .notice p:before, 1631 1613 .button.installing:before, … … 3278 3260 } 3279 3261 3280 3262 .handlediv, 3263 .postbox .handlediv.button-link, 3281 3264 .item-edit, 3282 3265 .sidebar-name-arrow, 3283 3266 .accordion-section-title:after { … … 3292 3275 .widget-action:focus, 3293 3276 .handlediv:hover, 3294 3277 .handlediv:focus, 3278 .postbox .handlediv.button-link:hover, 3279 .postbox .handlediv.button-link:focus, 3295 3280 .item-edit:hover, 3296 3281 .item-edit:focus, 3297 3282 .sidebar-name:hover .sidebar-name-arrow, -
src/wp-admin/css/customize-controls.css
762 762 763 763 .customize-control-dropdown-pages .add-new-toggle { 764 764 margin-left: 1px; 765 color: #0073aa;766 765 font-weight: 600; 767 766 line-height: 28px; 768 text-decoration: underline;769 767 } 770 768 771 .customize-control-dropdown-pages .add-new-toggle:hover,772 .customize-control-dropdown-pages .add-new-toggle:active {773 color: #00a0d2;774 }775 776 .customize-control-dropdown-pages .add-new-toggle:focus {777 color: #124964;778 }779 780 769 #customize-preview iframe { 781 770 width: 100%; 782 771 height: 100%; -
src/wp-admin/css/customize-nav-menus.css
25 25 margin-left: 6px; 26 26 vertical-align: middle; 27 27 line-height: 28px; 28 color: #0073aa;29 text-decoration: underline;30 28 } 31 29 32 .customize-control-nav_menu_location .edit-menu:hover,33 .customize-control-nav_menu_location .edit-menu:active {34 color: #00a0d2;35 }36 37 .customize-control-nav_menu_location .edit-menu:focus {38 color: #124964;39 }40 41 30 .wp-customizer .menu-item-bar .menu-item-handle, 42 31 .wp-customizer .menu-item-settings, 43 32 .wp-customizer .menu-item-settings .description-thin { … … 806 795 margin-bottom: 1em; 807 796 } 808 797 809 .menu-delete {810 color: #a00;811 cursor: pointer;812 text-decoration: underline;813 }814 815 .menu-delete:hover,816 .menu-delete:focus {817 color: #f00;818 }819 820 798 .menu-item-handle { 821 799 margin-top: -1px; 822 800 } -
src/wp-admin/css/dashboard.css
771 771 min-width: 0; 772 772 } 773 773 774 #dashboard-widgets a { 774 #dashboard-widgets a, 775 #dashboard-widgets .button-link { 775 776 text-decoration: none; 776 777 } 777 778 -
src/wp-admin/css/edit.css
100 100 margin-right: 10px; 101 101 padding: 0; 102 102 font-size: 11px; 103 text-decoration: underline;104 color: #0073aa;105 103 } 106 104 107 105 #comment-link-box { … … 1035 1033 width: 260px; 1036 1034 } 1037 1035 1038 .tagcloud-link.button-link {1039 color: #0073aa;1040 text-decoration: underline;1041 }1042 1043 .tagcloud-link.button-link:hover {1044 color: #00a0d2;1045 }1046 1047 .tagcloud-link.button-link:focus {1048 color: #124964;1049 -webkit-box-shadow:1050 0 0 0 1px #5b9dd9,1051 0 0 2px 1px rgba(30, 140, 190, .8);1052 box-shadow:1053 0 0 0 1px #5b9dd9,1054 0 0 2px 1px rgba(30, 140, 190, .8);1055 }1056 1057 1036 #post-body-content .tagsdiv .the-tags { 1058 1037 margin: 0 5px; 1059 1038 } -
src/wp-admin/css/media.css
1066 1066 line-height: 1.4; 1067 1067 } 1068 1068 1069 .imgedit-group-top h3 a, /* Back-compat for pre-4.4 */ 1070 .imgedit-group-top h2 a { 1069 #poststuff .imgedit-group-top .button-link { 1071 1070 text-decoration: none; 1071 color: #23282d; 1072 1072 } 1073 1073 1074 1074 .imgedit-applyto .imgedit-label { -
src/wp-admin/css/nav-menus.css
664 664 .menu-item-settings .field-move .button-link { 665 665 display: none; 666 666 margin: 0 2px; 667 color: #0073aa;668 667 font-style: italic; 669 text-decoration: underline;670 668 } 671 669 672 .menu-item-settings .field-move .button-link:hover,673 .menu-item-settings .field-move .button-link:active {674 color: #00a0d2;675 }676 677 .menu-item-settings .field-move .button-link:focus {678 color: #124964;679 -webkit-box-shadow:680 0 0 0 1px #5b9dd9,681 0 0 2px 1px rgba(30, 140, 190, .8);682 box-shadow:683 0 0 0 1px #5b9dd9,684 0 0 2px 1px rgba(30, 140, 190, .8);685 }686 687 670 .menu-item-edit-active .menu-item-settings { 688 671 display: block; 689 672 } -
src/wp-admin/css/press-this.css
393 393 padding: 5px 15px; 394 394 margin: 0; 395 395 width: 100%; 396 border: 0; 396 397 text-align: left; 397 398 line-height: 2; 399 background: none; 400 color: inherit; 401 text-decoration: none; 402 outline: none; 403 -webkit-transition: none; 404 transition: none; 398 405 } 399 406 407 .split-button-body .split-button-option:hover, 408 .split-button-body .split-button-option:active { 409 color: inherit; 410 } 411 400 412 .is-open .split-button-body { 401 413 display: block; 402 414 } … … 860 872 padding: 0; 861 873 text-decoration: none; 862 874 outline: 0; 875 color: inherit; 863 876 } 864 877 878 .press-this .tagcloud-link:hover, 879 .press-this .tagcloud-link:active { 880 color: inherit; 881 } 882 865 883 .tagcloud-link:focus { 866 884 text-decoration: underline; 867 885 } … … 930 948 line-height: 20px; 931 949 padding: 12px 10px 8px; 932 950 color: #0073aa; 951 text-decoration: none; 952 -webkit-transition: none; 953 transition: none; 933 954 } 934 955 935 956 .press-this .add-cat-toggle:focus { 936 text-decoration: none;937 957 color: #00a0d2; 938 958 } 939 959 … … 1202 1222 margin-top: -13px; 1203 1223 padding: 0 10px 1px; 1204 1224 font-size: 13px; 1225 text-decoration: none; 1226 -webkit-transition: none; 1227 transition: none; 1205 1228 } 1206 1229 1207 1230 @media (max-width: 320px) { … … 1764 1787 margin: 0; 1765 1788 padding: 0; 1766 1789 border: 0; 1767 border-right: 1px solid #e5e5e5;1768 1790 -webkit-border-radius: 0; 1769 1791 border-radius: 0; 1770 1792 background: none; … … 1776 1798 .insert-media:hover, 1777 1799 .insert-media:focus, 1778 1800 .insert-media:active { 1779 margin: 0;1780 background: none;1781 border-color: #e5e5e5;1782 1801 color: #23282d; 1783 1802 } 1784 1803 … … 1786 1805 .insert-media:active { 1787 1806 outline: 0; 1788 1807 color: #00a0d2; 1789 text-decoration: none; 1808 -webkit-box-shadow: 1809 0 0 0 1px #5b9dd9, 1810 0 0 2px 1px rgba(30, 140, 190, .8); 1811 box-shadow: 1812 0 0 0 1px #5b9dd9, 1813 0 0 2px 1px rgba(30, 140, 190, .8); 1790 1814 } 1791 1815 1792 1816 .insert-media .dashicons { … … 2012 2036 .post-options .post-option { 2013 2037 display: block; 2014 2038 width: 100%; 2039 margin: 0; 2015 2040 padding: 13px 37px 13px 14px; 2041 border: 0; 2016 2042 border-bottom: 1px solid #e5e5e5; 2017 2043 text-decoration: none; 2018 2044 text-align: left; 2045 background: none; 2019 2046 color: #9ea7af; 2020 2047 text-overflow: ellipsis; 2021 2048 white-space: nowrap; … … 2091 2118 display: block; 2092 2119 width: 100%; 2093 2120 padding: 13px 14px; 2121 border: 0; 2094 2122 border-bottom: 1px solid #e5e5e5; 2123 background: none; 2095 2124 color: #00a0d2; 2096 2125 text-decoration: none; 2097 2126 text-align: left; -
src/wp-admin/includes/class-wp-press-this.php
1445 1445 <div class="post-options"> 1446 1446 1447 1447 <?php if ( $supports_formats ) : ?> 1448 <button type="button" class=" button-linkpost-option">1448 <button type="button" class="post-option"> 1449 1449 <span class="dashicons dashicons-admin-post"></span> 1450 1450 <span class="post-option-title"><?php _ex( 'Format', 'post format' ); ?></span> 1451 1451 <span class="post-option-contents" id="post-option-post-format"><?php echo esc_html( get_post_format_string( $post_format ) ); ?></span> … … 1454 1454 <?php endif; ?> 1455 1455 1456 1456 <?php if ( $show_categories ) : ?> 1457 <button type="button" class=" button-linkpost-option">1457 <button type="button" class="post-option"> 1458 1458 <span class="dashicons dashicons-category"></span> 1459 1459 <span class="post-option-title"><?php _e( 'Categories' ); ?></span> 1460 1460 <span class="dashicons post-option-forward"></span> … … 1462 1462 <?php endif; ?> 1463 1463 1464 1464 <?php if ( $show_tags ) : ?> 1465 <button type="button" class=" button-linkpost-option">1465 <button type="button" class="post-option"> 1466 1466 <span class="dashicons dashicons-tag"></span> 1467 1467 <span class="post-option-title"><?php _e( 'Tags' ); ?></span> 1468 1468 <span class="dashicons post-option-forward"></span> … … 1472 1472 1473 1473 <?php if ( $supports_formats ) : ?> 1474 1474 <div class="setting-modal is-off-screen is-hidden"> 1475 <button type="button" class=" button-linkmodal-close">1475 <button type="button" class="modal-close"> 1476 1476 <span class="dashicons post-option-back"></span> 1477 1477 <span class="setting-title" aria-hidden="true"><?php _ex( 'Format', 'post format' ); ?></span> 1478 1478 <span class="screen-reader-text"><?php _e( 'Back to post options' ) ?></span> … … 1483 1483 1484 1484 <?php if ( $show_categories ) : ?> 1485 1485 <div class="setting-modal is-off-screen is-hidden"> 1486 <button type="button" class=" button-linkmodal-close">1486 <button type="button" class="modal-close"> 1487 1487 <span class="dashicons post-option-back"></span> 1488 1488 <span class="setting-title" aria-hidden="true"><?php _e( 'Categories' ); ?></span> 1489 1489 <span class="screen-reader-text"><?php _e( 'Back to post options' ) ?></span> … … 1494 1494 1495 1495 <?php if ( $show_tags ) : ?> 1496 1496 <div class="setting-modal tags is-off-screen is-hidden"> 1497 <button type="button" class=" button-linkmodal-close">1497 <button type="button" class="modal-close"> 1498 1498 <span class="dashicons post-option-back"></span> 1499 1499 <span class="setting-title" aria-hidden="true"><?php _e( 'Tags' ); ?></span> 1500 1500 <span class="screen-reader-text"><?php _e( 'Back to post options' ) ?></span> … … 1507 1507 1508 1508 <div class="press-this-actions"> 1509 1509 <div class="pressthis-media-buttons"> 1510 <button type="button" class="insert-media button-link" data-editor="pressthis">1510 <button type="button" class="insert-media" data-editor="pressthis"> 1511 1511 <span class="dashicons dashicons-admin-media"></span> 1512 1512 <span class="screen-reader-text"><?php _e( 'Add Media' ); ?></span> 1513 1513 </button> -
src/wp-includes/css/buttons.css
149 149 150 150 .wp-core-ui .button.focus, 151 151 .wp-core-ui .button:focus, 152 .wp-core-ui .button-secondary:focus, 153 .wp-core-ui .button-link:focus { 152 .wp-core-ui .button-secondary:focus { 154 153 border-color: #5b9dd9; 155 154 -webkit-box-shadow: 0 0 3px rgba( 0, 115, 170, .8 ); 156 155 box-shadow: 0 0 3px rgba( 0, 115, 170, .8 ); … … 210 209 background: none; 211 210 outline: none; 212 211 cursor: pointer; 212 /* Mimics the default link style in common.css */ 213 color: #0073aa; 214 text-decoration: underline; 215 -webkit-transition-property: border, background, color; 216 transition-property: border, background, color; 217 -webkit-transition-duration: .05s; 218 transition-duration: .05s; 219 -webkit-transition-timing-function: ease-in-out; 220 transition-timing-function: ease-in-out; 213 221 } 214 222 223 .wp-core-ui .button-link:hover, 224 .wp-core-ui .button-link:active { 225 color: #00a0d2; 226 } 227 215 228 .wp-core-ui .button-link:focus { 229 color: #124964; 230 -webkit-box-shadow: 231 0 0 0 1px #5b9dd9, 232 0 0 2px 1px rgba(30, 140, 190, .8); 233 box-shadow: 234 0 0 0 1px #5b9dd9, 235 0 0 2px 1px rgba(30, 140, 190, .8); 236 } 237 238 .wp-core-ui .button-link-delete { 239 color: #a00; 240 } 241 242 .wp-core-ui .button-link-delete:hover, 243 .wp-core-ui .button-link-delete:focus { 244 color: #f00; 245 } 246 247 .ie8 .wp-core-ui .button-link:focus { 216 248 outline: #5b9dd9 solid 1px; 217 249 } 218 250 -
src/wp-includes/css/media-views.css
189 189 transition: color .1s ease-in-out, background .1s ease-in-out; 190 190 } 191 191 192 .media-modal-close.button-link { 193 text-decoration: none; 194 } 195 192 196 .media-modal-close:active { 193 197 -webkit-box-shadow: none; 194 198 box-shadow: none; … … 1007 1011 height: 24px; 1008 1012 width: 24px; 1009 1013 padding: 0; 1014 border: 0; 1010 1015 position: absolute; 1011 1016 z-index: 10; 1012 1017 top: 0; … … 1013 1018 right: 0; 1014 1019 outline: none; 1015 1020 background: #eee; 1021 cursor: pointer; 1016 1022 -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba( 0, 0, 0, 0.15 ); 1017 1023 box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba( 0, 0, 0, 0.15 ); 1018 1024 } … … 1250 1256 position: absolute; 1251 1257 top: 0; 1252 1258 right: 0; 1259 -webkit-transition: none; 1260 transition: none; 1253 1261 } 1254 1262 1255 1263 .upload-errors .upload-error { … … 1442 1450 line-height: 16px; 1443 1451 border-right: 1px solid #ddd; 1444 1452 color: #0073aa; 1453 text-decoration: none; 1445 1454 } 1446 1455 1447 1456 .media-selection .button-link:hover, … … 1978 1987 padding: 0; 1979 1988 color: #666; 1980 1989 text-transform: uppercase; 1990 text-decoration: none; 1981 1991 } 1982 1992 1993 .image-details .advanced-toggle:hover, 1994 .image-details .advanced-toggle:active { 1995 color: #666; 1996 } 1997 1983 1998 .image-details .advanced-toggle:after { 1984 1999 font: normal 20px/1 dashicons; 1985 2000 speak: none; -
src/wp-includes/css/wp-auth-check.css
92 92 height: 22px; 93 93 width: 22px; 94 94 color: #72777c; 95 text-decoration: none; 95 96 } 96 97 97 98 #wp-auth-check-wrap .wp-auth-check-close:before { -
src/wp-includes/customize/class-wp-customize-nav-menu-control.php
57 57 </button> 58 58 <p class="screen-reader-text" id="reorder-items-desc-{{ data.menu_id }}"><?php _e( 'When in reorder mode, additional controls to reorder menu items will be available in the items list above.' ); ?></p> 59 59 <span class="menu-delete-item"> 60 <button type="button" class="button-link menu-delete">60 <button type="button" class="button-link button-link-delete"> 61 61 <?php _e( 'Delete Menu' ); ?> 62 62 </button> 63 63 </span> -
src/wp-includes/customize/class-wp-customize-nav-menu-item-control.php
141 141 </p> 142 142 <# } #> 143 143 144 <button type="button" class="button-link item-delete submitdelete deletion"><?php _e( 'Remove' ); ?></button>144 <button type="button" class="button-link button-link-delete item-delete submitdelete deletion"><?php _e( 'Remove' ); ?></button> 145 145 <span class="spinner"></span> 146 146 </div> 147 147 <input type="hidden" name="menu-item-db-id[{{ data.menu_item_id }}]" class="menu-item-data-db-id" value="{{ data.menu_item_id }}" /> -
src/wp-includes/js/mediaelement/wp-mediaelement.css
110 110 color: #a00; 111 111 font-size: 10px; 112 112 text-transform: uppercase; 113 text-decoration: none; 113 114 } 114 115 115 116 .media-embed-details .setting .remove-setting { -
src/wp-includes/media-template.php
472 472 <# } #> 473 473 </div> 474 474 <# if ( data.buttons.check ) { #> 475 <button type="button" class=" button-linkcheck" tabindex="-1"><span class="media-modal-icon"></span><span class="screen-reader-text"><?php _e( 'Deselect' ); ?></span></button>475 <button type="button" class="check" tabindex="-1"><span class="media-modal-icon"></span><span class="screen-reader-text"><?php _e( 'Deselect' ); ?></span></button> 476 476 <# } #> 477 477 <# 478 478 var maybeReadOnly = data.can.save || data.allowLocalEdits ? '' : 'readonly';