diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/_utils.scss | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/_utils.scss b/src/_utils.scss index cdb2a32..844ff90 100644 --- a/src/_utils.scss +++ b/src/_utils.scss | |||
@@ -230,6 +230,20 @@ $-sizes: ( | |||
230 | border#{$suffix}: 0; | 230 | border#{$suffix}: 0; |
231 | } | 231 | } |
232 | } | 232 | } |
233 | |||
234 | @each $breakpoint in map.keys(media.$breakpoints) { | ||
235 | @include media.media('<=#{$breakpoint}') { | ||
236 | @include bem.suffix('#{$breakpoint}-lo') { | ||
237 | border#{$suffix}: 0; | ||
238 | } | ||
239 | } | ||
240 | |||
241 | @include media.media('>#{$breakpoint}') { | ||
242 | @include bem.suffix('#{$breakpoint}-hi') { | ||
243 | border#{$suffix}: 0; | ||
244 | } | ||
245 | } | ||
246 | } | ||
233 | } | 247 | } |
234 | 248 | ||
235 | @include bem.utility('b#{$dir}-1') { | 249 | @include bem.utility('b#{$dir}-1') { |
@@ -246,6 +260,20 @@ $-sizes: ( | |||
246 | border#{$suffix}: props.get(vars.$border-width--thin) solid props.get(vars.$theme, --border); | 260 | border#{$suffix}: props.get(vars.$border-width--thin) solid props.get(vars.$theme, --border); |
247 | } | 261 | } |
248 | } | 262 | } |
263 | |||
264 | @each $breakpoint in map.keys(media.$breakpoints) { | ||
265 | @include media.media('<=#{$breakpoint}') { | ||
266 | @include bem.suffix('#{$breakpoint}-lo') { | ||
267 | border#{$suffix}: props.get(vars.$border-width--thin) solid props.get(vars.$theme, --border); | ||
268 | } | ||
269 | } | ||
270 | |||
271 | @include media.media('>#{$breakpoint}') { | ||
272 | @include bem.suffix('#{$breakpoint}-hi') { | ||
273 | border#{$suffix}: props.get(vars.$border-width--thin) solid props.get(vars.$theme, --border); | ||
274 | } | ||
275 | } | ||
276 | } | ||
249 | } | 277 | } |
250 | 278 | ||
251 | @include bem.utility('b#{$dir}-1-mute') { | 279 | @include bem.utility('b#{$dir}-1-mute') { |
@@ -262,6 +290,20 @@ $-sizes: ( | |||
262 | border#{$suffix}: props.get(vars.$border-width--thin) solid props.get(vars.$theme, --border-mute); | 290 | border#{$suffix}: props.get(vars.$border-width--thin) solid props.get(vars.$theme, --border-mute); |
263 | } | 291 | } |
264 | } | 292 | } |
293 | |||
294 | @each $breakpoint in map.keys(media.$breakpoints) { | ||
295 | @include media.media('<=#{$breakpoint}') { | ||
296 | @include bem.suffix('#{$breakpoint}-lo') { | ||
297 | border#{$suffix}: props.get(vars.$border-width--thin) solid props.get(vars.$theme, --border-mute); | ||
298 | } | ||
299 | } | ||
300 | |||
301 | @include media.media('>#{$breakpoint}') { | ||
302 | @include bem.suffix('#{$breakpoint}-hi') { | ||
303 | border#{$suffix}: props.get(vars.$border-width--thin) solid props.get(vars.$theme, --border-mute); | ||
304 | } | ||
305 | } | ||
306 | } | ||
265 | } | 307 | } |
266 | } | 308 | } |
267 | 309 | ||