Sha256: a2f92df8c3278dd7d562ddea8ba00414d6f02ff9b8a06cfb48d15f34d2ec7e73
Contents?: true
Size: 1.06 KB
Versions: 32
Compression:
Stored size: 1.06 KB
Contents
@mixin thredded-alert($font-color, $background-color, $border-color: lighten($font-color, 50%)) { background: $background-color; border-color: $border-color; color: $font-color; a { color: darken($font-color, 10%); text-decoration: underline; &:focus, &:hover { color: darken($font-color, 15%); } } } %thredded--alert { border: solid 1px; border-radius: 3px; margin-bottom: $thredded-small-spacing; padding: $thredded-small-spacing; text-decoration: none; @include thredded-media-desktop-and-up { margin-bottom: $thredded-base-spacing; } } %thredded--alert--success { @include thredded-alert($thredded-alert-success-color, $thredded-alert-success-background); } %thredded--alert--danger { @include thredded-alert($thredded-alert-danger-color, $thredded-alert-danger-background); } %thredded--alert--info { @include thredded-alert($thredded-alert-info-color, $thredded-alert-info-background); } %thredded--alert--warning { @include thredded-alert($thredded-alert-warning-color, $thredded-alert-warning-background); }
Version data entries
32 entries across 32 versions & 2 rubygems