2014-03-13 08:17:54 +00:00
|
|
|
/*
|
2014-01-18 08:26:39 +00:00
|
|
|
|
2014-03-13 08:17:54 +00:00
|
|
|
VISIBILITY
|
2014-01-18 08:26:39 +00:00
|
|
|
|
2014-03-13 08:17:54 +00:00
|
|
|
*/
|
2014-01-18 08:26:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
Text that is hidden but accessible
|
|
|
|
Ref: http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
|
|
|
|
*/
|
|
|
|
|
|
|
|
.clip {
|
|
|
|
position: fixed !important;
|
|
|
|
_position: absolute !important;
|
|
|
|
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
|
|
|
|
clip: rect(1px, 1px, 1px, 1px);
|
|
|
|
}
|
|
|
|
|
|
|
|
@include break(not-small) {
|
|
|
|
.clip-ns {
|
|
|
|
position: fixed !important;
|
|
|
|
_position: absolute !important;
|
|
|
|
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
|
|
|
|
clip: rect(1px, 1px, 1px, 1px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include break(medium) {
|
|
|
|
.clip-m {
|
|
|
|
position: fixed !important;
|
|
|
|
_position: absolute !important;
|
|
|
|
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
|
|
|
|
clip: rect(1px, 1px, 1px, 1px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include break(large) {
|
|
|
|
.clip-l {
|
|
|
|
position: fixed !important;
|
|
|
|
_position: absolute !important;
|
|
|
|
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
|
|
|
|
clip: rect(1px, 1px, 1px, 1px);
|
|
|
|
}
|
|
|
|
}
|