comparison core/modules/system/css/components/hidden.module.css @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents c75dbcec494b
children
comparison
equal deleted inserted replaced
4:a9cd425dd02b 5:12f9dff5fda9
23 * manner should be kept concise, to avoid unnecessary burden on the user. 23 * manner should be kept concise, to avoid unnecessary burden on the user.
24 * "!important" is used to prevent unintentional overrides. 24 * "!important" is used to prevent unintentional overrides.
25 */ 25 */
26 .visually-hidden { 26 .visually-hidden {
27 position: absolute !important; 27 position: absolute !important;
28 overflow: hidden;
28 clip: rect(1px, 1px, 1px, 1px); 29 clip: rect(1px, 1px, 1px, 1px);
29 overflow: hidden; 30 width: 1px;
30 height: 1px; 31 height: 1px;
31 width: 1px;
32 word-wrap: normal; 32 word-wrap: normal;
33 } 33 }
34 34
35 /** 35 /**
36 * The .focusable class extends the .visually-hidden class to allow 36 * The .focusable class extends the .visually-hidden class to allow
37 * the element to be focusable when navigated to via the keyboard. 37 * the element to be focusable when navigated to via the keyboard.
38 */ 38 */
39 .visually-hidden.focusable:active, 39 .visually-hidden.focusable:active,
40 .visually-hidden.focusable:focus { 40 .visually-hidden.focusable:focus {
41 position: static !important; 41 position: static !important;
42 overflow: visible;
42 clip: auto; 43 clip: auto;
43 overflow: visible; 44 width: auto;
44 height: auto; 45 height: auto;
45 width: auto;
46 } 46 }
47 47
48 /** 48 /**
49 * Hide visually and from screen readers, but maintain layout. 49 * Hide visually and from screen readers, but maintain layout.
50 */ 50 */