Sha256: 61df010cf6099a2c066be74af3240c7d2b395828e3d7e0f72e5d4c98f31f3996
Contents?: true
Size: 1.18 KB
Versions: 1
Compression:
Stored size: 1.18 KB
Contents
@import "settings.global"; @mixin bubble { position: relative; display: inline-block; white-space: nowrap; padding: $bubble-padding; background-color: $bubble-background-color; color: $bubble-color; text-align: $bubble-text-align; border-radius: $bubble-border-radius; } @mixin bubble__arrow { &:after { content: ''; position: absolute; display: block; width: 0; height: 0; border: $bubble-arrow-width solid transparent; } } @mixin bubble__arrow--top { &:after { bottom: -($bubble-arrow-width * 2); left: 50%; transform: translateX(-50%); border-top-color: $bubble-background-color; } } @mixin bubble__arrow--right { &:after { top: 50%; left: -($bubble-arrow-width * 2); transform: translateY(-50%); border-right-color: $bubble-background-color; } } @mixin bubble__arrow--bottom { &:after { top: -($bubble-arrow-width * 2); left: 50%; transform: translateX(-50%); border-bottom-color: $bubble-background-color; } } @mixin bubble__arrow--left { &:after { top: 50%; right: -($bubble-arrow-width * 2); transform: translateY(-50%); border-left-color: $bubble-background-color; } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blaze-css-rails-0.0.1 | app/assets/stylesheets/mixins/_components.bubbles.scss |