Sha256: 48b0d382849cab40193bdaecd44cc355003f07cb51261871650b10f92ef74daf

Contents?: true

Size: 1.31 KB

Versions: 249

Compression:

Stored size: 1.31 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 $space_xs;
    display: flex;
  }
  &::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 {
      border: 1px dashed $border_light;
      background: none;
    }
  }

  // Dark =========================

  &.dark {
    &::before {
      @include section_separator_horizontal(true);
    }
    &::after {
      @include section_separator_horizontal(true);
    }
    &[class*=_vertical] {
      &::after {
        @include section_separator_vertical(true);
      }
    }
  }
}

Version data entries

249 entries across 249 versions & 1 rubygems

Version Path
playbook_ui-13.25.0.pre.alpha.PLAY761globalpaddingpropsbuttons2713 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.25.0 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.24.0.pre.alpha.play1305drycontenttag2689 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.24.0.pre.alpha.PBNTR261NewKitDropdown2681 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.24.0.pre.alpha.PLAY1181circleiconkitfixsizingerrorglobalspacingprops2675 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.24.0.pre.alpha.PLAY998backgroundkitremoveemptyinlinline2666 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.23.0.pre.alpha.PLAY1284investigation2657 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.24.0 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.22.0.pre.alpha.pbntr254barchartnegativenumber2640 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.22.0.pre.alpha.PLAY1297updatetextstyles2636 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.22.0.pre.alpha.playbookgemspecrailsversion2608 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.23.0 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.21.0.pre.alpha.PLAY12582531 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.21.0.pre.alpha.PLAY12582516 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.21.0.pre.alpha.PLAY12582515 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.21.0.pre.alpha.PLAY12582514 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.22.0 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.21.0.pre.alpha.PBNTR243globalpositioningpropinset2504 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.21.0.pre.alpha.PLAY12652489 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.21.0.pre.alpha.PLAY12582474 app/pb_kits/playbook/pb_section_separator/_section_separator.scss