0001-SCSS-utils-add-sr-only-utils-mixin-class-36909.patch
static/includes/_utils.scss | ||
---|---|---|
33 | 33 |
@if type-of($part) == number { @return $part; } } |
34 | 34 |
@return 0; |
35 | 35 |
} |
36 | ||
37 |
// Only display content to screen readers |
|
38 |
@mixin sr-only { |
|
39 |
position: absolute !important; |
|
40 |
width: 1px !important; |
|
41 |
height: 1px !important; |
|
42 |
padding: 0 !important; |
|
43 |
margin: -1px !important; |
|
44 |
overflow: hidden !important; |
|
45 |
clip: rect(0, 0, 0, 0) !important; |
|
46 |
white-space: nowrap !important; |
|
47 |
border: 0 !important; |
|
48 |
} |
|
49 | ||
50 |
.sr_only { |
|
51 |
@include sr-only(); |
|
52 |
} |
|
36 |
- |