Changeset 35636
- Timestamp:
- 11/13/2015 03:46:12 PM (9 years ago)
- Location:
- trunk/src
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/customize-controls.css
r35608 r35636 2 2 overflow: hidden; 3 3 -webkit-text-size-adjust: 100%; 4 }5 6 button.not-a-button {7 background: transparent;8 border: none;9 -webkit-box-shadow: none;10 box-shadow: none;11 -webkit-border-radius: 0;12 border-radius: 0;13 outline: 0;14 padding: 0;15 margin: 0;16 4 } 17 5 -
trunk/src/wp-admin/css/customize-nav-menus.css
r35563 r35636 200 200 height: 38px; 201 201 margin-right: 0 !important; 202 -webkit-box-shadow: none; 203 box-shadow: none; 202 204 outline: none; 203 205 overflow: hidden; … … 530 532 .menu-item-bar .item-delete:hover, 531 533 .menu-item-bar .item-delete:focus { 534 -webkit-box-shadow: none; 535 box-shadow: none; 536 outline: none; 532 537 color: #f00; 533 538 } … … 619 624 top: 5px; 620 625 right: 5px; 626 -webkit-box-shadow: none; 627 box-shadow: none; 628 outline: none; 621 629 cursor: pointer; 622 630 } … … 725 733 width: 30px; 726 734 height: 38px; 735 -webkit-box-shadow: none; 736 box-shadow: none; 737 outline: none; 727 738 cursor: pointer; 728 739 } -
trunk/src/wp-admin/css/press-this.css
r35563 r35636 313 313 */ 314 314 315 .button-subtle,316 315 .scan-submit { 317 316 display: inline-block; … … 330 329 } 331 330 332 .button-subtle {333 background: none;334 border: 0;335 color: #0073aa;336 }337 338 .button-subtle:visited {339 color: #0073aa;340 }341 342 .button-subtle:focus,343 .button-subtle:hover,344 .button-subtle:active,345 .edit-post-link:focus,346 .edit-post-link:hover,347 .edit-post-link:active {348 color: #00a0d2;349 }350 351 .button-subtle:focus,352 .button-subtle:active,353 .edit-post-link:focus,354 .edit-post-link:active {355 outline: 0;356 text-decoration: underline;357 }358 359 .preview-button {360 margin-right: 5px;361 }362 363 .button-reset {364 margin: 0;365 padding: 0;366 border: 0;367 background: none;368 cursor: pointer;369 -webkit-appearance: none;370 }371 372 .button-reset:focus {373 outline: 0;374 }375 376 .button-link {377 margin: 0;378 padding: 0;379 border: 0;380 background: none;381 color: #0073aa;382 cursor: pointer;383 -webkit-appearance: none;384 }385 386 .button-link:hover,387 .button-link:active,388 .button-link:focus {389 color: #00a0d2;390 text-decoration: underline;391 }392 393 331 .split-button { 394 332 position: relative; … … 444 382 width: 100%; 445 383 text-align: left; 384 line-height: 2; 446 385 } 447 386 … … 922 861 } 923 862 924 . tagcloud-link {863 .press-this .tagcloud-link { 925 864 display: block; 926 865 margin: 0 16px 5px; … … 992 931 } 993 932 994 . add-cat-toggle {933 .press-this .add-cat-toggle { 995 934 float: right; 996 935 margin-top: -45px; 997 936 line-height: 20px; 998 937 padding: 12px 10px 8px; 999 } 1000 1001 .add-cat-toggle:focus { 938 color: #0073aa; 939 } 940 941 .press-this .add-cat-toggle:focus { 1002 942 text-decoration: none; 1003 943 color: #00a0d2; 1004 944 } 1005 945 1006 . add-cat-toggle.is-toggled {946 .press-this .add-cat-toggle.is-toggled { 1007 947 padding: 10px; 1008 948 } 1009 949 1010 . add-cat-toggle.is-toggled .dashicons:before {950 .press-this .add-cat-toggle.is-toggled .dashicons:before { 1011 951 content: "\f179"; 1012 952 } … … 1262 1202 } 1263 1203 1264 . adminbar button {1204 .press-this .adminbar button { 1265 1205 position: absolute; 1266 1206 top: 50%; 1267 1207 right: 6px; 1268 1208 margin-top: -13px; 1209 padding: 0 10px 1px; 1210 font-size: 13px; 1269 1211 } 1270 1212 … … 1882 1824 } 1883 1825 1884 .edit-post-link {1885 font-size: 13px;1886 display: inline-block;1887 text-decoration: none;1888 padding: 0 10px;1889 }1890 1891 1826 .publish-button .saving-draft, 1892 1827 .publish-button.is-saving .publish { … … 2102 2037 -webkit-box-shadow: inset 5px 0 0 #00a0d2; 2103 2038 box-shadow: inset 5px 0 0 #00a0d2; 2039 border-color: #e5e5e5; 2104 2040 } 2105 2041 … … 2158 2094 } 2159 2095 2160 . modal-close {2096 .press-this .modal-close { 2161 2097 display: block; 2162 2098 width: 100%; … … 2168 2104 } 2169 2105 2170 . modal-close:focus {2106 .press-this .modal-close:focus { 2171 2107 outline: 0; 2172 2108 -webkit-box-shadow: inset 5px 0 0 #00a0d2; 2173 2109 box-shadow: inset 5px 0 0 #00a0d2; 2110 border-color: #e5e5e5; 2174 2111 } 2175 2112 -
trunk/src/wp-admin/includes/class-wp-press-this.php
r34736 r35636 877 877 if ( current_user_can( $taxonomy->cap->edit_terms ) ) { 878 878 ?> 879 <button type="button" class="add-cat-toggle button- subtle" aria-expanded="false">879 <button type="button" class="add-cat-toggle button-link" aria-expanded="false"> 880 880 <span class="dashicons dashicons-plus"></span><span class="screen-reader-text"><?php _e( 'Toggle add category' ); ?></span> 881 881 </button> … … 962 962 if ( $user_can_assign_terms ) { 963 963 ?> 964 <button type="button" class="button- reset button-link tagcloud-link" id="link-post_tag"><?php echo $taxonomy->labels->choose_from_most_used; ?></button>964 <button type="button" class="button-link tagcloud-link" id="link-post_tag"><?php echo $taxonomy->labels->choose_from_most_used; ?></button> 965 965 <?php 966 966 } … … 1342 1342 </a> 1343 1343 </h1> 1344 <button type="button" class="options button- subtleclosed">1344 <button type="button" class="options button-link closed"> 1345 1345 <span class="dashicons dashicons-tag on-closed"></span> 1346 1346 <span class="screen-reader-text on-closed"><?php _e( 'Show post options' ); ?></span> … … 1431 1431 1432 1432 <?php if ( $supports_formats ) : ?> 1433 <button type="button" class="button- resetpost-option">1433 <button type="button" class="button-link post-option"> 1434 1434 <span class="dashicons dashicons-admin-post"></span> 1435 1435 <span class="post-option-title"><?php _ex( 'Format', 'post format' ); ?></span> … … 1439 1439 <?php endif; ?> 1440 1440 1441 <button type="button" class="button- resetpost-option">1441 <button type="button" class="button-link post-option"> 1442 1442 <span class="dashicons dashicons-category"></span> 1443 1443 <span class="post-option-title"><?php _e( 'Categories' ); ?></span> … … 1445 1445 </button> 1446 1446 1447 <button type="button" class="button- resetpost-option">1447 <button type="button" class="button-link post-option"> 1448 1448 <span class="dashicons dashicons-tag"></span> 1449 1449 <span class="post-option-title"><?php _e( 'Tags' ); ?></span> … … 1454 1454 <?php if ( $supports_formats ) : ?> 1455 1455 <div class="setting-modal is-off-screen is-hidden"> 1456 <button type="button" class="button- resetmodal-close">1456 <button type="button" class="button-link modal-close"> 1457 1457 <span class="dashicons post-option-back"></span> 1458 1458 <span class="setting-title" aria-hidden="true"><?php _ex( 'Format', 'post format' ); ?></span> … … 1464 1464 1465 1465 <div class="setting-modal is-off-screen is-hidden"> 1466 <button type="button" class="button- resetmodal-close">1466 <button type="button" class="button-link modal-close"> 1467 1467 <span class="dashicons post-option-back"></span> 1468 1468 <span class="setting-title" aria-hidden="true"><?php _e( 'Categories' ); ?></span> … … 1473 1473 1474 1474 <div class="setting-modal tags is-off-screen is-hidden"> 1475 <button type="button" class="button- resetmodal-close">1475 <button type="button" class="button-link modal-close"> 1476 1476 <span class="dashicons post-option-back"></span> 1477 1477 <span class="setting-title" aria-hidden="true"><?php _e( 'Tags' ); ?></span> … … 1485 1485 <div class="press-this-actions"> 1486 1486 <div class="pressthis-media-buttons"> 1487 <button type="button" class="insert-media button- subtle" data-editor="pressthis">1487 <button type="button" class="insert-media button-link" data-editor="pressthis"> 1488 1488 <span class="dashicons dashicons-admin-media"></span> 1489 1489 <span class="screen-reader-text"><?php _e( 'Add Media' ); ?></span> … … 1503 1503 </div> 1504 1504 <ul class="split-button-body"> 1505 <li><button type="button" class="button- subtledraft-button split-button-option"><?php _e( 'Save Draft' ); ?></button></li>1506 <li><button type="button" class="button- subtlestandard-editor-button split-button-option"><?php _e( 'Standard Editor' ); ?></button></li>1507 <li><button type="button" class="button- subtlepreview-button split-button-option"><?php _e( 'Preview' ); ?></button></li>1505 <li><button type="button" class="button-link draft-button split-button-option"><?php _e( 'Save Draft' ); ?></button></li> 1506 <li><button type="button" class="button-link standard-editor-button split-button-option"><?php _e( 'Standard Editor' ); ?></button></li> 1507 <li><button type="button" class="button-link preview-button split-button-option"><?php _e( 'Preview' ); ?></button></li> 1508 1508 </ul> 1509 1509 </div> -
trunk/src/wp-includes/class-wp-customize-nav-menus.php
r35501 r35636 678 678 <span class="menu-item-title<# if ( ! data.title ) { #> no-title<# } #>">{{ data.title || wp.customize.Menus.data.l10n.untitled }}</span> 679 679 </span> 680 <button type="button" class=" not-a-buttonitem-add">680 <button type="button" class="button-link item-add"> 681 681 <span class="screen-reader-text"><?php 682 682 /* translators: 1: Title of a menu item, 2: Type of a menu item */ … … 741 741 <h4 class="accordion-section-title" role="presentation"> 742 742 <?php _e( 'Custom Links' ); ?> 743 <button type="button" class=" not-a-button" aria-expanded="false">743 <button type="button" class="button-link" aria-expanded="false"> 744 744 <span class="screen-reader-text"><?php _e( 'Toggle section: Custom Links' ); ?></span> 745 745 <span class="toggle-indicator" aria-hidden="true"></span> … … 778 778 <span class="spinner"></span> 779 779 <span class="no-items"><?php _e( 'No items' ); ?></span> 780 <button type="button" class=" not-a-button" aria-expanded="false">780 <button type="button" class="button-link" aria-expanded="false"> 781 781 <span class="screen-reader-text"><?php 782 782 /* translators: %s: Title of a section with menu items */ -
trunk/src/wp-includes/css/buttons.css
r35421 r35636 101 101 } 102 102 103 .ie8 .wp-core-ui .button-link:focus {104 outline: #5b9dd9 solid 1px;105 }106 107 103 .wp-core-ui .button.hidden { 108 104 display: none; … … 139 135 .wp-core-ui p .button { 140 136 vertical-align: baseline; 141 }142 143 .wp-core-ui .button-link {144 border: 0;145 background: none;146 outline: none;147 cursor: pointer;148 137 } 149 138 … … 207 196 } 208 197 198 /* Buttons that look like links, for a cross of good semantics with the visual */ 199 .wp-core-ui .button-link { 200 margin: 0; 201 padding: 0; 202 -webkit-box-shadow: none; 203 box-shadow: none; 204 border: 0; 205 -webkit-border-radius: 0; 206 border-radius: 0; 207 background: none; 208 outline: none; 209 cursor: pointer; 210 } 211 212 .wp-core-ui .button-link:focus { 213 outline: #5b9dd9 solid 1px; 214 } 215 209 216 /* ---------------------------------------------------------------------------- 210 217 3.0 - Primary Button Style -
trunk/src/wp-includes/customize/class-wp-customize-nav-menu-control.php
r35396 r35636 52 52 <?php _e( 'Add Items' ); ?> 53 53 </button> 54 <button type="button" class=" not-a-buttonreorder-toggle" aria-label="<?php esc_attr_e( 'Reorder menu items' ); ?>" aria-describedby="reorder-items-desc-{{ data.menu_id }}">54 <button type="button" class="button-link reorder-toggle" aria-label="<?php esc_attr_e( 'Reorder menu items' ); ?>" aria-describedby="reorder-items-desc-{{ data.menu_id }}"> 55 55 <span class="reorder"><?php _ex( 'Reorder', 'Reorder menu items in Customizer' ); ?></span> 56 56 <span class="reorder-done"><?php _ex( 'Done', 'Cancel reordering menu items in Customizer' ); ?></span> … … 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=" not-a-buttonmenu-delete">60 <button type="button" class="button-link menu-delete"> 61 61 <?php _e( 'Delete menu' ); ?> <span class="screen-reader-text">{{ data.menu_name }}</span> 62 62 </button> -
trunk/src/wp-includes/customize/class-wp-customize-nav-menu-item-control.php
r35389 r35636 73 73 </span> 74 74 <span class="item-controls"> 75 <button type="button" class=" not-a-buttonitem-edit" aria-expanded="false"><span class="screen-reader-text"><?php75 <button type="button" class="button-link item-edit" aria-expanded="false"><span class="screen-reader-text"><?php 76 76 /* translators: 1: Title of a menu item, 2: Type of a menu item */ 77 77 printf( __( 'Edit menu item: %1$s (%2$s)' ), '{{ data.title || wp.customize.Menus.data.l10n.untitled }}', '{{ data.item_type_label }}' ); 78 78 ?></span><span class="toggle-indicator" aria-hidden="true"></span></button> 79 <button type="button" class=" not-a-buttonitem-delete submitdelete deletion"><span class="screen-reader-text"><?php79 <button type="button" class="button-link item-delete submitdelete deletion"><span class="screen-reader-text"><?php 80 80 /* translators: 1: Title of a menu item, 2: Type of a menu item */ 81 81 printf( __( 'Remove Menu Item: %1$s (%2$s)' ), '{{ data.title || wp.customize.Menus.data.l10n.untitled }}', '{{ data.item_type_label }}' ); … … 139 139 <# } #> 140 140 141 <button type="button" class=" not-a-buttonitem-delete submitdelete deletion"><?php _e( 'Remove' ); ?></button>141 <button type="button" class="button-link item-delete submitdelete deletion"><?php _e( 'Remove' ); ?></button> 142 142 <span class="spinner"></span> 143 143 </div> -
trunk/src/wp-includes/customize/class-wp-widget-area-customize-control.php
r35393 r35636 61 61 <?php _e( 'Add a Widget' ); ?> 62 62 </button> 63 <button type="button" class=" not-a-buttonreorder-toggle" aria-label="<?php esc_attr_e( 'Reorder widgets' ); ?>" aria-describedby="<?php echo esc_attr( $id ); ?>">63 <button type="button" class="button-link reorder-toggle" aria-label="<?php esc_attr_e( 'Reorder widgets' ); ?>" aria-describedby="<?php echo esc_attr( $id ); ?>"> 64 64 <span class="reorder"><?php _ex( 'Reorder', 'Reorder widgets in Customizer' ); ?></span> 65 65 <span class="reorder-done"><?php _ex( 'Done', 'Cancel reordering widgets in Customizer' ); ?></span>
Note: See TracChangeset
for help on using the changeset viewer.