Ticket #41286: 41286.3.diff
File 41286.3.diff, 8.7 KB (added by , 6 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; … … 613 623 line-height: normal; /* IE8-IE11 need this for buttons */ 614 624 color: #0073aa; /* some of these controls are button elements and don't inherit from links */ 615 625 cursor: pointer; 616 outline: 0;617 626 } 618 627 619 628 .wrap .wp-heading-inline + .page-title-action { … … 635 644 .wrap .page-title-action:focus { 636 645 border-color: #5b9dd9; 637 646 box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 ); 647 /* Only visible in Windows High Contrast mode */ 648 outline: 2px solid transparent; 638 649 } 639 650 640 651 .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-admin/css/media.css
310 310 } 311 311 312 312 #find-posts-close:focus { 313 outline: none;314 313 box-shadow: 315 314 0 0 0 1px #5b9dd9, 316 315 0 0 2px 1px rgba(30, 140, 190, .8); 316 /* Only visible in Windows High Contrast mode */ 317 outline: 2px solid transparent; 318 outline-offset: -2px; 317 319 } 318 320 319 321 #find-posts-close:before { … … 528 530 box-shadow: 529 531 inset 0 0 2px 3px #f1f1f1, 530 532 inset 0 0 0 7px #5b9dd9; 531 outline: none; 533 /* Only visible in Windows High Contrast mode */ 534 outline: 2px solid transparent; 535 outline-offset: -6px; 532 536 } 533 537 534 538 .media-frame.mode-grid .selected.attachment { … … 681 685 box-shadow: none; 682 686 } 683 687 688 .upload-php .media-modal-close:focus, 689 .edit-attachment-frame .edit-media-header .left:focus, 690 .edit-attachment-frame .edit-media-header .right:focus { 691 /* Only visible in Windows High Contrast mode */ 692 outline: 2px solid transparent; 693 outline-offset: -2px; 694 } 695 684 696 .upload-php .media-modal-close:focus .media-modal-icon:before, 685 697 .upload-php .media-modal-close:hover .media-modal-icon:before { 686 698 color: #000; … … 1079 1091 .image-editor .imgedit-settings .imgedit-help-toggle:focus { 1080 1092 color: #0074a2; 1081 1093 border-color: #5b9dd9; 1082 outline: none;1083 1094 box-shadow: 0 0 3px rgba( 0, 115, 170, .8 ); 1095 /* Only visible in Windows High Contrast mode */ 1096 outline: 2px solid transparent; 1084 1097 } 1085 1098 1086 1099 .form-table td.imgedit-response { -
src/wp-includes/css/admin-bar.css
53 53 #wpadminbar a:hover, 54 54 #wpadminbar a img, 55 55 #wpadminbar a img:hover { 56 outline: none;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 { … … 190 193 border: 0; 191 194 border-radius: 0; 192 195 background: none; 193 outline: none;194 196 cursor: pointer; 195 197 text-align: left; 196 198 /* Mimics the default link style in common.css */ … … 211 213 box-shadow: 212 214 0 0 0 1px #5b9dd9, 213 215 0 0 2px 1px rgba(30, 140, 190, .8); 216 /* Only visible in Windows High Contrast mode */ 217 outline: 1px solid transparent; 214 218 } 215 219 216 220 .wp-core-ui .button-link-delete { … … 280 284 } 281 285 282 286 .wp-core-ui .button.button-primary.button-hero { 283 287 box-shadow: 0 2px 0 #006799; 284 288 } 285 289 286 290 .wp-core-ui .button.button-primary.button-hero.active, … … 287 291 .wp-core-ui .button.button-primary.button-hero.active:hover, 288 292 .wp-core-ui .button.button-primary.button-hero.active:focus, 289 293 .wp-core-ui .button.button-primary.button-hero:active { 290 294 box-shadow: inset 0 3px 0 #006799; 291 295 } 292 296 293 297 /* ---------------------------------------------------------------------------- -
src/wp-includes/css/media-views.css
48 48 box-shadow: 49 49 0 0 0 1px #5b9dd9, 50 50 0 0 2px 1px rgba(30, 140, 190, .8); 51 outline: none;52 51 color: #124964; 52 /* Only visible in Windows High Contrast mode */ 53 outline: 1px solid transparent; 53 54 } 54 55 55 56 .media-frame a.button { … … 195 196 color: #00a0d2; 196 197 border-color: #5b9dd9; 197 198 box-shadow: 0 0 3px rgba( 0, 115, 170, .8 ); 199 /* Only visible in Windows High Contrast mode */ 200 outline: 2px solid transparent; 201 outline-offset: -2px; 198 202 } 199 203 200 204 .media-modal-close span.media-modal-icon { … … 835 839 box-shadow: 836 840 inset 0 0 2px 3px #fff, 837 841 inset 0 0 0 7px #5b9dd9; 838 outline: none; 842 /* Only visible in Windows High Contrast mode */ 843 outline: 2px solid transparent; 844 outline-offset: -6px; 839 845 } 840 846 841 847 .wp-core-ui .selected.attachment { … … 1011 1017 0 0 0 2px #0073aa; 1012 1018 } 1013 1019 1020 .wp-core-ui .attachment.selected .check:focus { 1021 /* Only visible in Windows High Contrast mode */ 1022 outline: 2px solid transparent; 1023 } 1024 1014 1025 .wp-core-ui .attachment.details .check .media-modal-icon, 1015 1026 .wp-core-ui .media-frame.mode-grid .attachment.selected .check .media-modal-icon { 1016 1027 background-position: -21px 0; … … 1485 1496 box-shadow: 1486 1497 0 0 0 1px #fff, 1487 1498 0 0 2px 3px #5b9dd9; 1499 /* Only visible in Windows High Contrast mode */ 1500 outline: 2px solid transparent; 1488 1501 } 1489 1502 1490 1503 .wp-core-ui .media-selection .selected.attachment { … … 1777 1790 .wp-core-ui.media-modal .image-editor .imgedit-help-toggle:focus { 1778 1791 color: #0074a2; 1779 1792 border-color: #5b9dd9; 1780 outline: none;1781 1793 box-shadow: 0 0 3px rgba( 0, 115, 170, .8 ); 1794 /* Only visible in Windows High Contrast mode */ 1795 outline: 2px solid transparent; 1782 1796 } 1783 1797 1784 1798 .wp-core-ui.media-modal .imgedit-group-top .dashicons-arrow-down.imgedit-help-toggle {