Sha256: 783af506cbd0639d6868f8649b50d198ac1dff0678f20a28c9979e5185770649

Contents?: true

Size: 1.41 KB

Versions: 471

Compression:

Stored size: 1.41 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 {
      @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

471 entries across 471 versions & 1 rubygems

Version Path
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5193 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.11.0.pre.rc.4 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.11.0.pre.rc.3 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.10.0.pre.alpha.PBNTR662stickyrightcolumnreact5160 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.11.0.pre.rc.2 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.11.0.pre.rc.1 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.10.0.pre.alpha.PBNTR775formmatingmaskdefaultvalue5137 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.11.0.pre.rc.0 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.9.0.pre.alpha.PBNTR767advancedtablemultiheadercolumns5136 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.9.0.pre.alpha.PBNTR775formmatingmaskdefaultvalue5121 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.9.0.pre.alpha.PBNTR775formmatingmaskdefaultvalue5120 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.10.0 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.10.0.pre.rc.24 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.10.0.pre.rc.23 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.10.0.pre.rc.22 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.10.0.pre.rc.21 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.9.0.pre.alpha.play1703errorstatealignment5060 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.10.0.pre.rc.20 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.10.0.pre.rc.19 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.10.0.pre.rc.18 app/pb_kits/playbook/pb_section_separator/_section_separator.scss