Sha256: e8714681db9151f04457bb1e1a9dcfcc788fce3ee9da49f34cb81517f2bd0915
Contents?: true
Size: 1.04 KB
Versions: 1
Compression:
Stored size: 1.04 KB
Contents
// // Base styles // .callout { position: relative; padding: 0 $spacer; margin: $spacer 0; border-left: 4px solid $border-color; @if $enable-rounded { border-radius: $border-radius; } .chart-wrapper { position: absolute; top: 10px; left: 50%; float: right; width: 50%; } } .callout-bordered { border: 1px solid $border-color; border-left-width: 4px; } .callout code { border-radius: $border-radius; } .callout h4 { margin-top: 0; margin-bottom: .25rem; } .callout p:last-child { margin-bottom: 0; } .callout + .callout { margin-top: - .25rem; } // // Variants // @each $color, $value in $theme-colors { .callout-#{$color} { border-left-color: $value; h4 { color: $value; } } } // Right-to-Left Support *[dir="rtl"] { .callout { border-right: 4px solid $border-color; border-left: 0; @each $color, $value in $theme-colors { &.callout-#{$color} { border-right-color: $value; } } .chart-wrapper { left: 0; float: left; } } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
anchor_ui-sprockets-5.2.0.1 | app/assets/stylesheets/coreui/_callout.scss |