aboutsummaryrefslogtreecommitdiff
path: root/assets/_utils.scss
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2020-07-07 23:06:21 +0200
committerAlex Shpak <alex-shpak@users.noreply.github.com>2020-07-07 23:06:21 +0200
commitbf93dafdfa6b1c3977e25d093527f40a058f114d (patch)
tree715837df621208eae090b7acc0a28d8613f5eb20 /assets/_utils.scss
parentf416a71bf8bb77e7af9ade9eea7fe3b662962290 (diff)
Improve accessibility and keyboard navigation
Diffstat (limited to 'assets/_utils.scss')
-rw-r--r--assets/_utils.scss14
1 files changed, 14 insertions, 0 deletions
diff --git a/assets/_utils.scss b/assets/_utils.scss
index 01f1931..29ef1ca 100644
--- a/assets/_utils.scss
+++ b/assets/_utils.scss
@@ -54,6 +54,14 @@
display: none;
}
+input.toggle {
+ height: 0;
+ width: 0;
+ overflow: hidden;
+ opacity: 0;
+ position: absolute;
+}
+
.clearfix::after {
content: "";
display: table;
@@ -76,3 +84,9 @@
overflow-x: hidden;
overflow-y: auto;
}
+
+@mixin outline {
+ outline-style: auto;
+ outline-color: currentColor;
+ outline-color: -webkit-focus-ring-color;
+}