diff options
author | Volpeon <git@volpeon.ink> | 2022-06-17 18:13:26 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-06-17 18:13:26 +0200 |
commit | 17e76bb06361f43e0458388705491210dcf0d26c (patch) | |
tree | 36dfa1eaa1f4ea53e959778d2e966b5435662ac1 /src | |
parent | Update (diff) | |
download | iro-design-17e76bb06361f43e0458388705491210dcf0d26c.tar.gz iro-design-17e76bb06361f43e0458388705491210dcf0d26c.tar.bz2 iro-design-17e76bb06361f43e0458388705491210dcf0d26c.zip |
Add no-js display utility
Diffstat (limited to 'src')
-rw-r--r-- | src/_utils.scss | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/_utils.scss b/src/_utils.scss index 50c67e1..dadd1bd 100644 --- a/src/_utils.scss +++ b/src/_utils.scss | |||
@@ -12,6 +12,12 @@ $dirs: ( | |||
12 | 12 | ||
13 | @include iro.bem-utility('d-block') { | 13 | @include iro.bem-utility('d-block') { |
14 | display: block; | 14 | display: block; |
15 | |||
16 | @include iro.bem-at-theme('no-js') { | ||
17 | @include iro.bem-suffix('no-js') { | ||
18 | display: none; | ||
19 | } | ||
20 | } | ||
15 | } | 21 | } |
16 | 22 | ||
17 | @include iro.bem-utility('d-inline-block') { | 23 | @include iro.bem-utility('d-inline-block') { |
@@ -38,6 +44,12 @@ $dirs: ( | |||
38 | } | 44 | } |
39 | } | 45 | } |
40 | } | 46 | } |
47 | |||
48 | @include iro.bem-at-theme('no-js') { | ||
49 | @include iro.bem-suffix('no-js') { | ||
50 | display: none; | ||
51 | } | ||
52 | } | ||
41 | } | 53 | } |
42 | 54 | ||
43 | @include iro.bem-utility('ta-left') { | 55 | @include iro.bem-utility('ta-left') { |