1 | // Foundation for Sites by ZURB
|
2 | // foundation.zurb.com
|
3 | // Licensed under MIT Open Source
|
4 |
|
5 | ////
|
6 | /// @group prototype-border-none
|
7 | ////
|
8 |
|
9 | /// Responsive breakpoints for border none.
|
10 | /// @type Boolean
|
11 | $prototype-border-none-breakpoints: $global-prototype-breakpoints !default;
|
12 |
|
13 | /// Border none utility
|
14 | @mixin border-none {
|
15 | border: none ;
|
16 | }
|
17 |
|
18 | @mixin foundation-prototype-border-none {
|
19 | .border-none {
|
20 | @include border-none;
|
21 | }
|
22 |
|
23 | @if ($prototype-border-none-breakpoints) {
|
24 | // Loop through Responsive Breakpoints
|
25 | @each $size in $breakpoint-classes {
|
26 | @include breakpoint($size) {
|
27 | @if $size != $-zf-zero-breakpoint {
|
28 | .#{$size}-border-none {
|
29 | @include border-none;
|
30 | }
|
31 | }
|
32 | }
|
33 | }
|
34 | }
|
35 | }
|