Sha256: a4b7a40be74c1de4dd50ffd7e9b6393a7a758fa8aad72af8125ee049f04d60b6
Contents?: true
Size: 1.46 KB
Versions: 2
Compression:
Stored size: 1.46 KB
Contents
@import "../tokens/colors"; @import "../tokens/spacing"; @import "../tokens/opacity"; @import "./section_separator_mixin"; $section_colors_light: ( background: $bg_light, card: $card_light, ); $section_colors_dark: ( background: $bg_dark, card: tint($bg_dark,10), ); [class^=pb_section_separator_kit] { display: flex; justify-content: center; align-items: center; position: relative; span { padding: 0; display: flex; [class*="pb_caption_kit"] { padding: 0 $space_xs; } } &::before { content: ""; height: 1px; flex: 1; @include section_separator_horizontal; } &::after { content: ""; height: 1px; flex: 1; @include section_separator_horizontal; } &[class*=_horizontal] { justify-content: center; } &[class*=_vertical] { margin-left: $space_xs; margin-right: $space_xs; &::after { @include section_separator_vertical(false); } } &[class*=_dashed] { &::before, &::after { @include section_separator_dashed(false); } } // Dark ========================= &.dark { &::before { @include section_separator_horizontal(true); } &::after { @include section_separator_horizontal(true); } &[class*=_vertical] { &::after { @include section_separator_vertical(true); } } &[class*=_dashed] { &::before, &::after { @include section_separator_dashed(true); } } } }
Version data entries
2 entries across 2 versions & 1 rubygems