mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
#275 - copy .sr-only BS class to BC css for legacy themes
Used for login-menu labels to improve accessibility
This commit is contained in:
parent
d595bb7598
commit
3498231fd3
@ -60,4 +60,25 @@ table.table { width: 100% }
|
||||
|
||||
.e-debug .table-striped > tbody > tr:nth-of-type(2n+1) {
|
||||
background-color: #f9f9f9;
|
||||
}
|
||||
|
||||
/* Bootstrap classes that hide content for all devices except screen readers (accessibility) */
|
||||
.sr-only {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
padding: 0;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
border: 0;
|
||||
}
|
||||
.sr-only-focusable:active,
|
||||
.sr-only-focusable:focus {
|
||||
position: static;
|
||||
width: auto;
|
||||
height: auto;
|
||||
margin: 0;
|
||||
overflow: visible;
|
||||
clip: auto;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user