Sha256: 5c32a0c1a3ab7099aa05ee55cd8ec685a0701179603761516f12ce8dffabc505
Contents?: true
Size: 689 Bytes
Versions: 1
Compression:
Stored size: 689 Bytes
Contents
$base-spacing: 1.5em !default; $alert-color: #fff6bf !default; $error-color: #fbe3e4 !default; $notice-color: #e5edf8 !default; $success-color: #e6efc2 !default; @mixin flash($color) { background-color: $color; color: darken($color, 60%); display: block; font-weight: 600; margin-bottom: $base-spacing / 2; padding: $base-spacing / 2; text-align: center; a { color: darken($color, 70%); &:focus, &:hover { color: darken($color, 90%); } } } .flash-alert { @include flash($alert-color); } .flash-error { @include flash($error-color); } .flash-notice { @include flash($notice-color); } .flash-success { @include flash($success-color); }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
refills-0.1.0 | source/stylesheets/refills/_flashes.scss |