Sha256: 1ce8d3c4e9395e40fe6a20d94cc7698babf158e26046581e99384bd418008b52
Contents?: true
Size: 1.4 KB
Versions: 1
Compression:
Stored size: 1.4 KB
Contents
@mixin ultimate-flash( $notice-background: #393, $notice-border-color: #6c6, $alert-background: #c33, $alert-border-color: #e66, $default-background: #06c, $default-border-color: #39e, $text-color: #fff, $opacity: 1, $background-alpha: 1 ){ position: fixed; width: 100%; left: 0; z-index: 9999; text-align: center; // >>> recomendations: // @include invert_link_decoration(); // white-space: nowrap; > .flash { @if $background-alpha < 1 { $notice-background: rgba($notice-background, $background-alpha); $alert-background: rgba($alert-background, $background-alpha); $default-background: rgba($default-background, $background-alpha); } padding: 10px; top: 0; width: 100%; font-size: 24px; line-height: 30px; color: $text-color; @include pie-bg($default-background); border-bottom: 2px solid $default-border-color; @if $opacity < 1 { @include opacity($opacity); } // >>> recomendations: // @include text-shadow_hard(#000 0 1px 0); z-index: 9999; a { color: $text-color; } &.notice { @include pie-bg($notice-background); border-color: $notice-border-color; } &.alert { @include pie-bg($alert-background); border-color: $alert-border-color; } } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ultimate-flash-0.6.0 | app/assets/stylesheets/ultimate/flash.scss |