diff options
Diffstat (limited to 'src/objects')
-rw-r--r-- | src/objects/_tabs.scss | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/objects/_tabs.scss b/src/objects/_tabs.scss index 37bec71..5526f95 100644 --- a/src/objects/_tabs.scss +++ b/src/objects/_tabs.scss | |||
@@ -19,6 +19,10 @@ | |||
19 | block-size: 100%; | 19 | block-size: 100%; |
20 | padding-inline: props.get(vars.$tab--pad-i); | 20 | padding-inline: props.get(vars.$tab--pad-i); |
21 | 21 | ||
22 | @include bem.elem('caret') { | ||
23 | display: none; | ||
24 | } | ||
25 | |||
22 | @include bem.elem('tab') { | 26 | @include bem.elem('tab') { |
23 | position: relative; | 27 | position: relative; |
24 | display: flex; | 28 | display: flex; |
@@ -91,5 +95,19 @@ | |||
91 | } | 95 | } |
92 | } | 96 | } |
93 | } | 97 | } |
98 | |||
99 | @include bem.is('collapsed') { | ||
100 | @include bem.elem('tab') { | ||
101 | display: none; | ||
102 | } | ||
103 | |||
104 | @include bem.elem('caret') { | ||
105 | display: block; | ||
106 | } | ||
107 | |||
108 | @include bem.is('selected') { | ||
109 | display: flex; | ||
110 | } | ||
111 | } | ||
94 | } | 112 | } |
95 | } | 113 | } |