diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2020-07-07 23:06:21 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2020-07-07 23:06:21 +0200 |
commit | bf93dafdfa6b1c3977e25d093527f40a058f114d (patch) | |
tree | 715837df621208eae090b7acc0a28d8613f5eb20 /assets/_utils.scss | |
parent | f416a71bf8bb77e7af9ade9eea7fe3b662962290 (diff) |
Improve accessibility and keyboard navigation
Diffstat (limited to 'assets/_utils.scss')
-rw-r--r-- | assets/_utils.scss | 14 |
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; +} |