2017-02-08 11:43:28 -05:00
|
|
|
// ==========================================================================
|
|
|
|
|
// Utilities / States
|
|
|
|
|
// ==========================================================================
|
2016-12-18 15:45:44 -05:00
|
|
|
|
2022-05-12 16:15:44 +02:00
|
|
|
// ARIA roles display visual cursor hints
|
|
|
|
|
|
2016-12-18 15:45:44 -05:00
|
|
|
[aria-busy="true"] {
|
|
|
|
|
cursor: progress;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[aria-controls] {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[aria-disabled] {
|
|
|
|
|
cursor: default;
|
|
|
|
|
}
|
|
|
|
|
|
2022-05-12 16:15:44 +02:00
|
|
|
// Control visibility without affecting flow.
|
2016-12-18 15:45:44 -05:00
|
|
|
|
|
|
|
|
.is-visible {
|
|
|
|
|
visibility: visible !important;
|
2017-04-27 16:00:45 -04:00
|
|
|
opacity: 1 !important;
|
2016-12-18 15:45:44 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.is-invisible {
|
|
|
|
|
visibility: hidden !important;
|
2017-04-27 16:00:45 -04:00
|
|
|
opacity: 0 !important;
|
2016-12-18 15:45:44 -05:00
|
|
|
}
|
|
|
|
|
|
2022-05-12 16:15:44 +02:00
|
|
|
// Completely remove from the flow and screen readers.
|
2016-12-18 15:45:44 -05:00
|
|
|
|
|
|
|
|
.is-hidden {
|
|
|
|
|
@include u-hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media not print {
|
|
|
|
|
.is-hidden\@screen {
|
|
|
|
|
@include u-hidden;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media print {
|
|
|
|
|
.is-hidden\@print {
|
|
|
|
|
@include u-hidden;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-26 16:50:16 -04:00
|
|
|
// .is-hidden\@to-lg {
|
|
|
|
|
// @media (max-width: $to-lg) {
|
2016-12-18 15:45:44 -05:00
|
|
|
// display: none;
|
|
|
|
|
// }
|
|
|
|
|
// }
|
2022-05-17 12:08:01 +02:00
|
|
|
//
|
2024-03-26 16:50:16 -04:00
|
|
|
// .is-hidden\@from-lg {
|
|
|
|
|
// @media (min-width: $from-lg) {
|
2016-12-18 15:45:44 -05:00
|
|
|
// display: none;
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
|
2022-05-12 16:15:44 +02:00
|
|
|
// // Display a hidden-by-default element.
|
|
|
|
|
//
|
2016-12-18 15:45:44 -05:00
|
|
|
// .is-shown {
|
|
|
|
|
// @include u-shown;
|
|
|
|
|
// }
|
2022-05-17 12:08:01 +02:00
|
|
|
//
|
2016-12-18 15:45:44 -05:00
|
|
|
// table.is-shown {
|
|
|
|
|
// display: table !important;
|
|
|
|
|
// }
|
2022-05-17 12:08:01 +02:00
|
|
|
//
|
2016-12-18 15:45:44 -05:00
|
|
|
// tr.is-shown {
|
|
|
|
|
// display: table-row !important;
|
|
|
|
|
// }
|
2022-05-17 12:08:01 +02:00
|
|
|
//
|
2016-12-18 15:45:44 -05:00
|
|
|
// td.is-shown,
|
|
|
|
|
// th.is-shown {
|
|
|
|
|
// display: table-cell !important;
|
|
|
|
|
// }
|