Sha256: 9d2db5321a3ef1f586a92df50d688b5fcb7506ec29bb8a50aa70e76c85903d9d
Contents?: true
Size: 1.14 KB
Versions: 43
Compression:
Stored size: 1.14 KB
Contents
// Table of Contents // ================================================== // Alert // Colors // Styles // Alert // ================================================== .alert { background: color(light-haze); border: 0; border-bottom-width: 1px; border-style: solid; border-color: color(haze); box-sizing: border-box; color: color(slate); display: block; padding: 13px 20px; width: 100%; .alert-close { float: right; margin-left: 15px; } &.absolute, &.fixed { z-index: 2060; } &.absolute { position: absolute; width: inherit; } &.fixed { left: 0; position: fixed; right: 0; top: 0; } } // Colors // ================================================== @each $name, $color in $colors { .alert-color-#{$name} { background: color($name); border-color: darker-color($name); color: text-color-on($name); &.alert-outline { border-color: color($name); color: color($name); } } } // Styles // ================================================== .alert-border { border-radius: border-radius(b); border-width: 1px; } .alert-outline { background: color(transparent); }
Version data entries
43 entries across 43 versions & 1 rubygems