Sha256: 0fe187efb592dbaa96674a8aa65fbc0f7ac40c338d26bb3b3bfaf7dd9faa921c
Contents?: true
Size: 928 Bytes
Versions: 1
Compression:
Stored size: 928 Bytes
Contents
@import "settings.animations"; @mixin modal-keyframes { @keyframes modal { from { transform: translate(-50%, -50%) scale(0); opacity: 0; } 50% { transform: translate(-50%, -50%) scale(1.02); } 80% { transform: translate(-50%, -50%) scale(0.95); } to { transform: translate(-50%, -50%) scale(1); opacity: 1; } } } @mixin modal { animation-name: modal; animation-duration: $animation-duration; animation-fill-mode: both; animation-timing-function: $animation-easing; } @mixin modal--top { transform-origin: center top; } @mixin modal--bottom { transform-origin: center bottom; } @mixin modal--left { transform-origin: left center; } @mixin modal--right { transform-origin: right center; } @mixin modal--slow { animation-duration: $animation-duration-slow; } @mixin modal--fast { animation-duration: $animation-duration-fast; }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blaze-css-rails-0.0.1 | app/assets/stylesheets/mixins/_animations.modals.scss |