85 lines
1.4 KiB
SCSS
85 lines
1.4 KiB
SCSS
.noprint,
|
|
.no-print {
|
|
display: block;
|
|
}
|
|
|
|
.onlyprint,
|
|
.only-print {
|
|
display: none;
|
|
}
|
|
|
|
/*
|
|
* Hide visually and from screen readers:
|
|
*/
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
.visuallyhidden {
|
|
@include visuallyhidden;
|
|
}
|
|
|
|
/*
|
|
* Hide visually and from screen readers, but maintain layout
|
|
*/
|
|
.invisible {
|
|
visibility: hidden;
|
|
height: 0; margin: 0; padding: 0;
|
|
}
|
|
|
|
/*
|
|
masqué dans un navigateur mais lisible par un lecteur d'ecran
|
|
uniquement si javascript actif
|
|
*/
|
|
.js {
|
|
.js-visuallyhidden {
|
|
border: 0;
|
|
clip: rect(0 0 0 0);
|
|
height: 1px;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
position: absolute;
|
|
width: 1px;
|
|
}
|
|
.js-hidden {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
/*
|
|
tout le temps affiche sauf si javascript actif
|
|
*/
|
|
.no-js .nojs-visuallyhidden {
|
|
display: none;
|
|
visibility: hidden;
|
|
border: 0;
|
|
clip: rect(0 0 0 0);
|
|
height: 1px;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
position: absolute;
|
|
width: 1px;
|
|
}
|
|
|
|
/*
|
|
* Faire un lien sur un bloc entier
|
|
*/
|
|
.block-link-parent {
|
|
position: relative;
|
|
.block-link {
|
|
//position: inherit;
|
|
&:before {
|
|
content: "";
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
|