diff options
author | pmikus <peter.mikus@protonmail.ch> | 2022-09-19 08:49:01 +0200 |
---|---|---|
committer | Peter Mikus <peter.mikus@protonmail.ch> | 2022-09-19 06:54:43 +0000 |
commit | d6a60b5043c6f7c3dfc45853feb68d0aca5a4a5f (patch) | |
tree | 022343584d4e00a0da8ef12eb4e713d67344fc95 /resources/tools/dash/app/pal/static/sass/bootstrap/mixins/_visually-hidden.scss | |
parent | d2ef7bc01df66f6a27f25d061db064cf4a463267 (diff) |
feat(uti): Move directory
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I7300ecfe756baaf3fbeedb020070f882cfaca445
Diffstat (limited to 'resources/tools/dash/app/pal/static/sass/bootstrap/mixins/_visually-hidden.scss')
-rw-r--r-- | resources/tools/dash/app/pal/static/sass/bootstrap/mixins/_visually-hidden.scss | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/resources/tools/dash/app/pal/static/sass/bootstrap/mixins/_visually-hidden.scss b/resources/tools/dash/app/pal/static/sass/bootstrap/mixins/_visually-hidden.scss deleted file mode 100644 index 4fc7f49d69..0000000000 --- a/resources/tools/dash/app/pal/static/sass/bootstrap/mixins/_visually-hidden.scss +++ /dev/null @@ -1,29 +0,0 @@ -// stylelint-disable declaration-no-important - -// Hide content visually while keeping it accessible to assistive technologies -// -// See: https://www.a11yproject.com/posts/2013-01-11-how-to-hide-content/ -// See: https://kittygiraudel.com/2016/10/13/css-hide-and-seek/ - -@mixin visually-hidden() { - position: absolute !important; - width: 1px !important; - height: 1px !important; - padding: 0 !important; - margin: -1px !important; // Fix for https://github.com/twbs/bootstrap/issues/25686 - overflow: hidden !important; - clip: rect(0, 0, 0, 0) !important; - white-space: nowrap !important; - border: 0 !important; -} - -// Use to only display content when it's focused, or one of its child elements is focused -// (i.e. when focus is within the element/container that the class was applied to) -// -// Useful for "Skip to main content" links; see https://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1 - -@mixin visually-hidden-focusable() { - &:not(:focus):not(:focus-within) { - @include visually-hidden(); - } -} |