Sha256: 687dccec8eea0710dabf6302fd4acdc9e787bc663459037a27e50a94d3debd9c
Contents?: true
Size: 1.33 KB
Versions: 1
Compression:
Stored size: 1.33 KB
Contents
$dvlFlashZIndex: 1031 !default; // above modal $dvlFlashDefaultColor: #2886A8 !default; // Remove when we add `based` as a package $radius: 3px; $black: #222; $white: #fff; $lighterGray: #efefef; $lightGray: #e5e5e5; $darkGray: #aaa; $darkerGray: #777; $errorColor: #c12f2e; $successColor: #2aa828; .flash { position: fixed; left: 0; top: 0; transform: translateY(-8rem); opacity: 0; transition: transform 0.3s ease-out, opacity 0.15s ease-out; width: 95%; margin: 1rem 2.5% 0; z-index: $dvlFlashZIndex; background: $dvlFlashDefaultColor; border-radius: $radius; padding: 0.75rem 1rem; font-size: 0.9rem; color: $white; box-shadow: 0 1px 0 rgba(#000,0.2); line-height: 1rem; span { display: inline-block; max-width: 95%; } a { text-decoration: underline; color: $white; } &.is_visible { opacity: 1; transform: translateY(0); } .flash_close { position: absolute; line-height: 2.5rem; text-decoration: none; right: 1rem; top: 0; font-weight: bold; color: $lightGray; &:hover { color: $white; text-decoration: none; } } } // Colors .flash_error { background: $errorColor; } .flash_success { background: $successColor; } @media only screen and (min-width: 768px) { .flash { width: 50rem; margin-left: -25rem; left: 50%; } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dvl-flashes-0.0.3 | vendor/assets/stylesheets/dvl/flashes.scss |