1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 17:11:48 +02:00

Fixes #13583: Move .sr-only and .sr-only-focusable to mixins, then use them to create classes in _utilities.scss

This commit is contained in:
Mark Otto
2015-03-30 17:36:00 -07:00
parent c82cae9a48
commit 608be81a43
9 changed files with 66 additions and 55 deletions

View File

@@ -347,26 +347,6 @@ hr {
border-top: .0625rem solid #eceeef;
}
.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;
}
[role="button"] {
cursor: pointer;
}
@@ -5033,6 +5013,26 @@ button.close {
float: left !important;
}
.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;
}
.inverse {
color: #eceeef;
background-color: #373a3c;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long