class 'sr-only' transfered to accessibilite.scss

This commit is contained in:
Judith 2020-06-29 11:02:57 +02:00 committed by jpoulvel (Rebase PR Action)
parent 73ee4d69ca
commit bbcd432eaa
2 changed files with 14 additions and 13 deletions

View file

@ -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;
}

View file

@ -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;
}