Sha256: 502acc2a2d35d2ee3d307be51b2d7026b3fe6d033facf309537d6c1acbf886b8
Contents?: true
Size: 774 Bytes
Versions: 10
Compression:
Stored size: 774 Bytes
Contents
// // overlay.scss // Theme utility // .overlay { position: relative; &::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: inherit; } } // Colors @each $color, $value in $theme-colors { // Solid .overlay-#{$color} { @include overlay($value); } // Gradient .overlay-gradient-#{$color}-right { @include overlay-gradient($value, right); } .overlay-gradient-#{$color}-down { @include overlay-gradient($value, bottom); } .overlay-gradient-#{$color}-left { @include overlay-gradient($value, left); } } // Opacity @for $i from 1 through 9 { .overlay-#{$i * 10} { &::before { opacity: #{$i / 10}; } } }
Version data entries
10 entries across 10 versions & 2 rubygems