Ticket #37013: 37013.diff
File 37013.diff, 2.4 KB (added by , 9 years ago) |
---|
-
src/wp-admin/css/common.css
3000 3000 content: "\f140"; 3001 3001 } 3002 3002 3003 .js .sidebar-name .sidebar-name-arrow:before {3004 padding: 10px;3005 left: 0;3006 }3007 3008 3003 .js #widgets-left .sidebar-name .sidebar-name-arrow { 3009 3004 display: none; 3010 3005 } -
src/wp-admin/css/widgets.css
91 91 box-sizing: border-box; 92 92 } 93 93 94 . sidebar-name-arrow{95 position: absolute;96 top: 0;97 right: 0;98 bottom: 0;94 .js .sidebar-name .handlediv { 95 float: right; 96 width: 48px; 97 height: 48px; 98 padding: 0; 99 99 } 100 100 101 .js .sidebar-name .handlediv:focus { 102 -webkit-box-shadow: none; 103 box-shadow: none; 104 outline: none; 105 } 106 107 .js .sidebar-name .handlediv:focus .sidebar-name-arrow:before { 108 -webkit-box-shadow: 109 0 0 0 1px #5b9dd9, 110 0 0 2px 1px rgba(30, 140, 190, .8); 111 box-shadow: 112 0 0 0 1px #5b9dd9, 113 0 0 2px 1px rgba(30, 140, 190, .8); 114 } 115 116 .js .sidebar-name .sidebar-name-arrow:before { 117 margin-top: 4px; 118 width: 20px; 119 -webkit-border-radius: 50%; 120 border-radius: 50%; 121 text-indent: -1px; /* account for the dashicon alignment */ 122 } 123 101 124 .js .sidebar-name { 102 125 cursor: pointer; 103 126 } … … 249 272 padding: 15px 7px; 250 273 } 251 274 252 div#widgets-right .sidebar-name .sidebar-name-arrow:before {253 top: 2px;254 }255 256 275 div#widgets-right .widget-top { 257 276 padding: 0; 258 277 } -
src/wp-admin/includes/widgets.php
80 80 if ( $sidebar_name ) { 81 81 ?> 82 82 <div class="sidebar-name"> 83 <div class="sidebar-name-arrow"><br /></div> 83 <button type="button" class="handlediv button-link" aria-expanded="true"> 84 <span class="screen-reader-text"><?php echo sprintf( __( 'Toggle panel: %s' ), $sidebar_name ); ?></span> 85 <span class="sidebar-name-arrow" aria-hidden="true"></span> 86 </button> 84 87 <h2><?php echo esc_html( $sidebar_name ); ?> <span class="spinner"></span></h2> 85 88 </div> 86 89 <?php … … 278 281 */ 279 282 function wp_widgets_access_body_class($classes) { 280 283 return "$classes widgets_access "; 281 } 282 No newline at end of file 284 }