Sha256: 8e293b9ba8fd65ee578e8c0a5e63671c2d38c713461b3855c0dceaf46c104dd1
Contents?: true
Size: 962 Bytes
Versions: 8
Compression:
Stored size: 962 Bytes
Contents
@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
8 entries across 8 versions & 1 rubygems