|
3 | 3 | $menubar-vertical-expand-md: () !default;
|
4 | 4 | $menubar-vertical-expand-md: map-deep-merge(
|
5 | 5 | (
|
6 |
| - margin-bottom-mobile: 1.5rem, |
7 |
| - margin-left-mobile: - |
8 |
| - ( |
9 |
| - $grid-gutter-width / 2, |
10 |
| - ), |
11 |
| - margin-right-mobile: - |
12 |
| - ( |
13 |
| - $grid-gutter-width / 2, |
14 |
| - ), |
15 |
| - collapse-z-index-mobile: |
16 |
| - $zindex-menubar-vertical-expand-md-collapse-mobile, |
| 6 | + max-width: 15.625rem, |
| 7 | + mobile: ( |
| 8 | + align-items: center, |
| 9 | + display: flex, |
| 10 | + flex-wrap: wrap, |
| 11 | + justify-content: space-between, |
| 12 | + margin-bottom: 1.5rem, |
| 13 | + margin-left: math-sign($grid-gutter-width / 2), |
| 14 | + margin-right: math-sign($grid-gutter-width / 2), |
| 15 | + ), |
| 16 | + collapse: ( |
| 17 | + display: block, |
| 18 | + ), |
| 19 | + collapse-mobile: ( |
| 20 | + border-color: transparent, |
| 21 | + border-style: solid, |
| 22 | + border-width: 0.0625rem, |
| 23 | + display: none, |
| 24 | + left: -0.0625rem, |
| 25 | + position: absolute, |
| 26 | + right: -0.0625rem, |
| 27 | + top: 100%, |
| 28 | + z-index: $zindex-menubar-vertical-expand-md-collapse-mobile, |
| 29 | + ), |
| 30 | + collapse-nav-mobile: ( |
| 31 | + margin-bottom: 0.5rem, |
| 32 | + margin-top: 0.5rem, |
| 33 | + ), |
| 34 | + nav-nested-mobile: ( |
| 35 | + margin-bottom: 0.5rem, |
| 36 | + margin-top: 0.5rem, |
| 37 | + ), |
17 | 38 | nav-nested-margins-item-mobile: (
|
18 | 39 | margin-left: 0,
|
19 | 40 | ),
|
20 |
| - toggler-c-inner: ( |
21 |
| - max-width: none, |
| 41 | + toggler-mobile: ( |
| 42 | + align-items: center, |
| 43 | + border-color: transparent, |
| 44 | + border-style: solid, |
| 45 | + border-width: 0.0625rem, |
| 46 | + display: flex, |
| 47 | + height: 2rem, |
| 48 | + padding-left: 0.5rem, |
| 49 | + padding-right: 0.5rem, |
| 50 | + c-inner: ( |
| 51 | + max-width: none, |
| 52 | + ), |
| 53 | + lexicon-icon: ( |
| 54 | + margin-top: 0, |
| 55 | + ), |
22 | 56 | ),
|
23 | 57 | ),
|
24 | 58 | $menubar-vertical-expand-md
|
@@ -88,22 +122,56 @@ $menubar-vertical-expand-lg: () !default;
|
88 | 122 | $menubar-vertical-expand-lg: map-deep-merge(
|
89 | 123 | (
|
90 | 124 | breakpoint-up: lg,
|
91 |
| - margin-bottom-mobile: 1.5rem, |
92 |
| - margin-left-mobile: - |
93 |
| - ( |
94 |
| - $grid-gutter-width / 2, |
95 |
| - ), |
96 |
| - margin-right-mobile: - |
97 |
| - ( |
98 |
| - $grid-gutter-width / 2, |
99 |
| - ), |
100 |
| - collapse-z-index-mobile: |
101 |
| - $zindex-menubar-vertical-expand-lg-collapse-mobile, |
| 125 | + max-width: 15.625rem, |
| 126 | + mobile: ( |
| 127 | + align-items: center, |
| 128 | + display: flex, |
| 129 | + flex-wrap: wrap, |
| 130 | + justify-content: space-between, |
| 131 | + margin-bottom: 1.5rem, |
| 132 | + margin-left: math-sign($grid-gutter-width / 2), |
| 133 | + margin-right: math-sign($grid-gutter-width / 2), |
| 134 | + ), |
| 135 | + collapse: ( |
| 136 | + display: block, |
| 137 | + ), |
| 138 | + collapse-mobile: ( |
| 139 | + border-color: transparent, |
| 140 | + border-style: solid, |
| 141 | + border-width: 0.0625rem, |
| 142 | + display: none, |
| 143 | + left: -0.0625rem, |
| 144 | + position: absolute, |
| 145 | + right: -0.0625rem, |
| 146 | + top: 100%, |
| 147 | + z-index: $zindex-menubar-vertical-expand-md-collapse-mobile, |
| 148 | + ), |
| 149 | + nav-nested-mobile: ( |
| 150 | + margin-bottom: 0.5rem, |
| 151 | + margin-top: 0.5rem, |
| 152 | + ), |
| 153 | + nav-nested-margins-mobile: ( |
| 154 | + margin-bottom: 0.5rem, |
| 155 | + margin-top: 0.5rem, |
| 156 | + ), |
102 | 157 | nav-nested-margins-item-mobile: (
|
103 | 158 | margin-left: 0,
|
104 | 159 | ),
|
105 |
| - toggler-c-inner: ( |
106 |
| - max-width: none, |
| 160 | + toggler-mobile: ( |
| 161 | + align-items: center, |
| 162 | + border-color: transparent, |
| 163 | + border-style: solid, |
| 164 | + border-width: 0.0625rem, |
| 165 | + display: flex, |
| 166 | + height: 2rem, |
| 167 | + padding-left: 0.5rem, |
| 168 | + padding-right: 0.5rem, |
| 169 | + c-inner: ( |
| 170 | + max-width: none, |
| 171 | + ), |
| 172 | + lexicon-icon: ( |
| 173 | + margin-top: 0, |
| 174 | + ), |
107 | 175 | ),
|
108 | 176 | ),
|
109 | 177 | $menubar-vertical-expand-lg
|
|
0 commit comments