class 'sr-only' transfered to accessibilite.scss
This commit is contained in:
parent
73ee4d69ca
commit
bbcd432eaa
2 changed files with 14 additions and 13 deletions
|
@ -16,3 +16,17 @@ $new-p-margin-bottom: 3 * $default-space;
|
|||
.new-p {
|
||||
margin-bottom: $new-p-margin-bottom;
|
||||
}
|
||||
|
||||
// A class to make elements only accessible to screen-readers
|
||||
.sr-only {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
opacity: 0;
|
||||
padding: 0;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
white-space: nowrap;
|
||||
border: none;
|
||||
}
|
||||
|
|
|
@ -85,16 +85,3 @@
|
|||
width: 200px;
|
||||
}
|
||||
}
|
||||
|
||||
.sr-only {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
opacity: 0;
|
||||
padding: 0;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
white-space: nowrap;
|
||||
border: none;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue