summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/objects/_navbar.scss13
-rw-r--r--src/objects/_navbar.vars.scss2
2 files changed, 10 insertions, 5 deletions
diff --git a/src/objects/_navbar.scss b/src/objects/_navbar.scss
index 16cf804..5962654 100644
--- a/src/objects/_navbar.scss
+++ b/src/objects/_navbar.scss
@@ -15,10 +15,6 @@
15 display: flex; 15 display: flex;
16 block-size: props.get(vars.$block-size); 16 block-size: props.get(vars.$block-size);
17 17
18 @include bem.modifier('adapt') {
19 block-size: 100%;
20 }
21
22 @include bem.elem('item-label') { 18 @include bem.elem('item-label') {
23 position: relative; 19 position: relative;
24 padding-block: props.get(vars.$item--pad-b); 20 padding-block: props.get(vars.$item--pad-b);
@@ -123,6 +119,15 @@
123 } 119 }
124 } 120 }
125 121
122 @include bem.modifier('adapt') {
123 gap: props.get(vars.$spacing);
124 block-size: 100%;
125
126 @include bem.elem('item') {
127 padding-inline: 0;
128 }
129 }
130
126 @include bem.modifier('quiet') { 131 @include bem.modifier('quiet') {
127 @include bem.elem('item') { 132 @include bem.elem('item') {
128 @include bem.is('selected') { 133 @include bem.is('selected') {
diff --git a/src/objects/_navbar.vars.scss b/src/objects/_navbar.vars.scss
index dfd683a..fbea47a 100644
--- a/src/objects/_navbar.vars.scss
+++ b/src/objects/_navbar.vars.scss
@@ -4,7 +4,7 @@
4@use '../core.vars' as core; 4@use '../core.vars' as core;
5 5
6$block-size: props.def(--o-navbar--block-size, props.get(core.$size--700)) !default; 6$block-size: props.def(--o-navbar--block-size, props.get(core.$size--700)) !default;
7$spacing: props.def(--o-tabs--spacing, props.get(core.$size--400)) !default; 7$spacing: props.def(--o-tabs--spacing, props.get(core.$size--200)) !default;
8 8
9$item--pad-i: props.def(--o-navbar--item--pad-i, props.get(core.$size--175)) !default; 9$item--pad-i: props.def(--o-navbar--item--pad-i, props.get(core.$size--175)) !default;
10$item--pad-b: props.def(--o-navbar--item--pad-b, props.get(core.$size--40)) !default; 10$item--pad-b: props.def(--o-navbar--item--pad-b, props.get(core.$size--40)) !default;