Changeset 44544 for trunk/src/wp-includes/css
- Timestamp:
- 01/10/2019 04:46:44 PM (7 years ago)
- Location:
- trunk/src/wp-includes/css
- Files:
-
- 3 edited
-
admin-bar.css (modified) (2 diffs)
-
buttons.css (modified) (5 diffs)
-
media-views.css (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/css/admin-bar.css
r44349 r44544 54 54 #wpadminbar a img, 55 55 #wpadminbar a img:hover { 56 outline: none;57 56 border: none; 58 57 text-decoration: none; … … 72 71 #wpadminbar div { 73 72 box-shadow: none; 74 outline: none; 73 } 74 75 #wpadminbar a:focus { 76 /* Inherits transparent outline only visible in Windows High Contrast mode */ 77 outline-offset: -1px; 75 78 } 76 79 -
trunk/src/wp-includes/css/buttons.css
r43309 r44544 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 … … 191 194 border-radius: 0; 192 195 background: none; 193 outline: none;194 196 cursor: pointer; 195 197 text-align: left; … … 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 … … 281 285 282 286 .wp-core-ui .button.button-primary.button-hero { 283 box-shadow: 0 2px 0 #006799;287 box-shadow: 0 2px 0 #006799; 284 288 } 285 289 … … 288 292 .wp-core-ui .button.button-primary.button-hero.active:focus, 289 293 .wp-core-ui .button.button-primary.button-hero:active { 290 box-shadow: inset 0 3px 0 #006799;294 box-shadow: inset 0 3px 0 #006799; 291 295 } 292 296 -
trunk/src/wp-includes/css/media-views.css
r44343 r44544 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 … … 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 … … 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 … … 1010 1016 0 0 0 1px #fff, 1011 1017 0 0 0 2px #0073aa; 1018 } 1019 1020 .wp-core-ui .attachment.selected .check:focus { 1021 /* Only visible in Windows High Contrast mode */ 1022 outline: 2px solid transparent; 1012 1023 } 1013 1024 … … 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 … … 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
Note: See TracChangeset
for help on using the changeset viewer.