Sha256: f07c46d8dd173c7637a531e60a306deb669a4e7efa880a1eaa3b070de5a1aa0e
Contents?: true
Size: 995 Bytes
Versions: 5
Compression:
Stored size: 995 Bytes
Contents
//border @each $prop, $abbrev in (border: b) { @each $size in (0,1,2) { @if $size == 0 { .#{$abbrev}-a-#{$size} { #{$prop}: 0 !important; } // a = All sides .#{$abbrev}-t-#{$size} { #{$prop}-top: 0 !important; } .#{$abbrev}-r-#{$size} { #{$prop}-right: 0 !important; } .#{$abbrev}-b-#{$size} { #{$prop}-bottom: 0 !important; } .#{$abbrev}-l-#{$size} { #{$prop}-left: 0 !important; } } @else { .#{$abbrev}-a-#{$size} { #{$prop}: $size * $border-width solid $border-color !important; } // a = All sides .#{$abbrev}-t-#{$size} { #{$prop}-top: $size * $border-width solid $border-color !important; } .#{$abbrev}-r-#{$size} { #{$prop}-right: $size * $border-width solid $border-color !important; } .#{$abbrev}-b-#{$size} { #{$prop}-bottom: $size * $border-width solid $border-color !important; } .#{$abbrev}-l-#{$size} { #{$prop}-left: $size * $border-width solid $border-color !important; } } } }
Version data entries
5 entries across 5 versions & 1 rubygems