|
105 | 105 | box-shadow: none; |
106 | 106 | .#{$button-class}, |
107 | 107 | .#{$dropdown-name} .#{$button-class} { |
108 | | - background: transparent; |
109 | | - border-color: transparent; |
| 108 | + background: transparent; |
| 109 | + border-color: transparent; |
110 | 110 | color: theme('color-negative'); |
111 | 111 | min-height: 100%; |
112 | | - border-radius: 0; |
113 | | - border: none; |
| 112 | + border-radius: 0; |
| 113 | + border: 0; |
114 | 114 | i, span.#{$icon-font-class-name} { |
115 | 115 | color: theme('color-negative'); |
116 | 116 | } |
|
119 | 119 | border-radius: 0; |
120 | 120 | } |
121 | 121 | } |
122 | | - .#{$dropdown-name}:last-child, |
| 122 | + .#{$dropdown-name}:last-child, |
123 | 123 | .#{$dropdown-name}:last-child > .#{$button-class}:first-child, |
124 | 124 | .#{$dropdown-name}:last-child > .#{$button-class}:last-child { |
125 | | - border-radius: 0; |
126 | | - } |
| 125 | + border-radius: 0; |
| 126 | + } |
| 127 | + } |
| 128 | + /// |
| 129 | + /// DIVIDED NAVBAR |
| 130 | + /// |
| 131 | + @if $components-navbar-divided { |
| 132 | + &.#{$navbar-divided} { |
| 133 | + @include navbar-divided(); |
| 134 | + .#{$button-class-group} { |
| 135 | + .#{$button-class}, |
| 136 | + .#{$dropdown-name} .#{$button-class} { |
| 137 | + border: solid darken(theme('primary-color'), 10.15%); |
| 138 | + } |
| 139 | + } |
| 140 | + } |
127 | 141 | } |
128 | 142 | .#{$button-class}, |
129 | 143 | .#{$dropdown-name} .#{$button-class} { |
|
141 | 155 | } |
142 | 156 | } |
143 | 157 | } |
144 | | - /// |
145 | | - /// NAVBAR SIZES |
146 | | - /// |
147 | | - @if $components-navbar-sizes { |
148 | | - @each $size-name, $min-height, $font-size, $button-padding, $spacer-top in $navbar-sizes { |
149 | | - &.#{$size-name} { |
150 | | - min-height: $min-height; |
151 | | - & .#{$button-class}, |
152 | | - & .#{$dropdown-name} .#{$button-class} { |
153 | | - font-size: $font-size; |
154 | | - padding: $button-padding; |
155 | | - } |
156 | | - @at-root .#{$navbar-spacer}-#{$size-name} { |
157 | | - margin-top: $spacer-top !important; |
158 | | - } |
159 | | - @include breakpoints($breakpoints-medium, 'max-width') { |
160 | | - @at-root .#{$navbar-spacer}-#{$size-name} { |
161 | | - margin-top: $spacer-top / 2 !important; |
162 | | - } |
163 | | - } |
164 | | - } |
165 | | - } |
166 | | - } |
| 158 | + /// |
| 159 | + /// NAVBAR SIZES |
| 160 | + /// |
| 161 | + @if $components-navbar-sizes { |
| 162 | + @each $size-name, $min-height, $font-size, $button-padding, $spacer-top in $navbar-sizes { |
| 163 | + &.#{$size-name} { |
| 164 | + min-height: $min-height; |
| 165 | + & .#{$button-class}, |
| 166 | + & .#{$dropdown-name} .#{$button-class} { |
| 167 | + font-size: $font-size; |
| 168 | + padding: $button-padding; |
| 169 | + } |
| 170 | + @at-root .#{$navbar-spacer}-#{$size-name} { |
| 171 | + margin-top: $spacer-top !important; |
| 172 | + } |
| 173 | + @include breakpoints($breakpoints-medium, 'max-width') { |
| 174 | + @at-root .#{$navbar-spacer}-#{$size-name} { |
| 175 | + margin-top: $spacer-top / 2 !important; |
| 176 | + } |
| 177 | + } |
| 178 | + } |
| 179 | + } |
| 180 | + } |
167 | 181 | } |
168 | 182 | // |
169 | 183 | @include breakpoints($breakpoints-medium, 'max-width') { |
|
230 | 244 | top: auto; |
231 | 245 | } |
232 | 246 | } |
233 | | - /// |
234 | | - /// NAVBAR SIZES |
235 | | - /// |
236 | | - @if $components-navbar-sizes { |
237 | | - @each $size-name, $min-height, $font-size, $button-padding, $spacer-top in $navbar-sizes { |
238 | | - &.#{$size-name} { |
239 | | - & .#{$navbar-burger}, |
240 | | - & .#{$navbar-burger}::before { |
241 | | - min-height: $min-height; |
242 | | - min-width: $min-height; |
243 | | - font-size: 1.359em; |
244 | | - } |
245 | | - section.#{$navbar-links} { |
246 | | - top: $min-height; |
247 | | - } |
248 | | - } |
249 | | - } |
250 | | - } |
| 247 | + /// |
| 248 | + /// NAVBAR SIZES |
| 249 | + /// |
| 250 | + @if $components-navbar-sizes { |
| 251 | + @each $size-name, $min-height, $font-size, $button-padding, $spacer-top in $navbar-sizes { |
| 252 | + &.#{$size-name} { |
| 253 | + & .#{$navbar-burger}, |
| 254 | + & .#{$navbar-burger}::before { |
| 255 | + min-height: $min-height; |
| 256 | + min-width: $min-height; |
| 257 | + font-size: 1.359em; |
| 258 | + } |
| 259 | + section.#{$navbar-links} { |
| 260 | + top: $min-height; |
| 261 | + } |
| 262 | + } |
| 263 | + } |
| 264 | + } |
251 | 265 | input[type=checkbox]##{$navbar-burger}:not(:checked) ~ section.#{$navbar-links} { |
252 | 266 | height: 0; |
253 | 267 | } |
|
0 commit comments