0001-misc-add-class-to-limit-textual-element-to-screenrea.patch
gadjo/static/css/_utils.scss | ||
---|---|---|
21 | 21 |
@return #ffffff; |
22 | 22 |
} |
23 | 23 |
} |
24 | ||
25 |
// Only display content to screen readers |
|
26 |
@mixin sr-only { |
|
27 |
position: absolute !important; |
|
28 |
width: 1px !important; |
|
29 |
height: 1px !important; |
|
30 |
padding: 0 !important; |
|
31 |
margin: -1px !important; |
|
32 |
overflow: hidden !important; |
|
33 |
clip: rect(0, 0, 0, 0) !important; |
|
34 |
white-space: nowrap !important; |
|
35 |
border: 0 !important; |
|
36 |
} |
|
37 | ||
38 |
.sr-only { |
|
39 |
@include sr-only(); |
|
40 |
} |
|
24 |
- |