Ticket #41286: 41286.diff
File 41286.diff, 5.4 KB (added by , 7 years ago) |
---|
-
src/wp-admin/css/admin-menu.css
330 330 #adminmenu .wp-submenu li { 331 331 padding: 0; 332 332 margin: 0; 333 overflow: hidden;334 333 } 335 334 336 335 #adminmenu .wp-menu-image img { … … 547 546 padding: 0; 548 547 position: relative; 549 548 overflow: visible; 550 line-height: 34px;551 549 background: none; 552 550 color: #aaa; 553 551 cursor: pointer; 554 outline: 0;555 552 } 556 553 557 #collapse-button:hover, 554 #collapse-button:hover { 555 color: #00b9eb; 556 } 557 558 558 #collapse-button:focus { 559 559 color: #00b9eb; 560 /* Only visible in Windows High Contrast mode */ 561 outline: 1px solid transparent; 562 outline-offset: -1px; 560 563 } 561 564 562 565 #collapse-button .collapse-button-icon, … … 566 569 position: absolute; 567 570 top: 0; 568 571 left: 0; 569 line-height: 34px;570 572 } 571 573 574 #collapse-button .collapse-button-label { 575 top: 8px; 576 } 577 572 578 #collapse-button .collapse-button-icon { 573 579 width: 36px; 574 580 height: 34px; -
src/wp-admin/css/common.css
154 154 line-height: normal; 155 155 box-shadow: 0 0 2px 2px rgba(0,0,0,.6); 156 156 text-decoration: none; 157 outline: none; 157 /* Only visible in Windows High Contrast mode */ 158 outline: 2px solid transparent; 159 outline-offset: -2px; 158 160 } 159 161 160 162 .hidden, … … 269 271 box-shadow: 270 272 0 0 0 1px #5b9dd9, 271 273 0 0 2px 1px rgba(30, 140, 190, .8); 274 /* Only visible in Windows High Contrast mode */ 275 outline: 1px solid transparent; 272 276 } 273 277 274 278 .ie8 a:focus { … … 275 279 outline: #5b9dd9 solid 1px; 276 280 } 277 281 278 #adminmenu a:focus, 282 #adminmenu a:focus { 283 box-shadow: none; 284 /* Only visible in Windows High Contrast mode */ 285 outline: 1px solid transparent; 286 outline-offset: -1px; 287 } 288 279 289 .screen-reader-text:focus { 280 290 box-shadow: none; 281 291 outline: none; … … 609 619 line-height: normal; /* IE8-IE11 need this for buttons */ 610 620 color: #0073aa; /* some of these controls are button elements and don't inherit from links */ 611 621 cursor: pointer; 612 outline: 0;613 622 } 614 623 615 624 .wrap .wp-heading-inline + .page-title-action { … … 631 640 .wrap .page-title-action:focus { 632 641 border-color: #5b9dd9; 633 642 box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 ); 643 /* Only visible in Windows High Contrast mode */ 644 outline: 2px solid transparent; 634 645 } 635 646 636 647 .wrap h1.long-header { -
src/wp-admin/css/forms.css
52 52 textarea:focus { 53 53 border-color: #5b9dd9; 54 54 box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 ); 55 /* Only visible in Windows High Contrast mode */ 56 outline: 2px solid transparent; 55 57 } 56 58 57 59 /* rtl:ignore */ … … 236 238 color: #72777c; 237 239 } 238 240 239 .form-invalid input, .form-invalid input:focus, 240 .form-invalid select, .form-invalid select:focus { 241 .form-invalid input, 242 .form-invalid input:focus, 243 .form-invalid select, 244 .form-invalid select:focus { 241 245 border-color: #dc3232 !important; 242 246 box-shadow: 0 0 2px rgba( 204, 0, 0, 0.8 ); 243 247 } 244 248 245 249 .form-table .form-required.form-invalid td:after { -
src/wp-includes/css/admin-bar.css
52 52 #wpadminbar a, 53 53 #wpadminbar a:hover, 54 54 #wpadminbar a img, 55 #wpadminbar a img:hover { 56 outline: none; 55 #wpadminbar a img:hover {x 57 56 border: none; 58 57 text-decoration: none; 59 58 background: none; … … 71 70 #wpadminbar textarea, 72 71 #wpadminbar div { 73 72 box-shadow: none; 74 outline: none;75 73 } 76 74 75 #wpadminbar a:focus { 76 /* Inherits transparent outline only visible in Windows High Contrast mode */ 77 outline-offset: -1px; 78 } 79 77 80 #wpadminbar { 78 81 direction: ltr; 79 82 color: #ccc; -
src/wp-includes/css/buttons.css
92 92 padding: 0 36px; 93 93 } 94 94 95 /* Only visible in Windows High Contrast mode */ 95 96 .wp-core-ui .button:active, 96 97 .wp-core-ui .button:focus { 97 outline: none; 98 outline: 2px solid transparent; 99 /* Reset inherited offset from Gutenberg */ 100 outline-offset: 0; 98 101 } 99 102 100 103 .wp-core-ui .button.hidden { … … 192 195 border: 0; 193 196 border-radius: 0; 194 197 background: none; 195 outline: none;196 198 cursor: pointer; 197 199 text-align: left; 198 200 /* Mimics the default link style in common.css */ … … 213 215 box-shadow: 214 216 0 0 0 1px #5b9dd9, 215 217 0 0 2px 1px rgba(30, 140, 190, .8); 218 /* Only visible in Windows High Contrast mode */ 219 outline: 1px solid transparent; 216 220 } 217 221 218 222 .wp-core-ui .button-link-delete { … … 282 286 } 283 287 284 288 .wp-core-ui .button.button-primary.button-hero { 285 289 box-shadow: 0 2px 0 #006799; 286 290 } 287 291 288 292 .wp-core-ui .button.button-primary.button-hero.active, … … 289 293 .wp-core-ui .button.button-primary.button-hero.active:hover, 290 294 .wp-core-ui .button.button-primary.button-hero.active:focus, 291 295 .wp-core-ui .button.button-primary.button-hero:active { 292 296 box-shadow: inset 0 3px 0 #006799; 293 297 } 294 298 295 299 /* ----------------------------------------------------------------------------