JamVueSSRPOC/src/scss/trumps/_helpers.scss
Matthew Gaffen 4b77d0b8ca first commit
2019-08-14 19:09:08 +01:00

62 lines
984 B
SCSS

/* ==========================================================================
Helper classes
========================================================================== */
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
.ir {
background-color: transparent;
border: 0;
overflow: hidden;
*text-indent: -9999px;
}
.ir:before {
content: "";
display: block;
width: 0;
height: 150%;
}
.hidden {
display: none !important;
visibility: hidden;
}
.visuallyhidden {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
clip: auto;
height: auto;
margin: 0;
overflow: visible;
position: static;
width: auto;
}
.invisible {
visibility: hidden;
}
.group:after {
content: "";
display: table;
clear: both;
}