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.3.0.pre.alpha.revert3654PBNTR479removeextraspacingfromradiochildren3734 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.4.0.pre.rc.0 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.3.0 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.3.0.pre.rc.12 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.3.0.pre.rc.11 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.3.0.pre.rc.10 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.3.0.pre.rc.9 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.3.0.pre.rc.8 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.3.0.pre.rc.7 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.3.0.pre.rc.6 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.3.0.pre.rc.5 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.3.0.pre.rc.4 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.2.1.pre.alpha.20240828cikubedbump3702 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.3.0.pre.rc.3 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.2.1.pre.alpha.PBNTR431fixingduplicatingtextareaclassname3689 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.3.0.pre.rc.2 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.2.1.pre.alpha.PLAY1516railsiconsfixedwidth3674 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.2.1.pre.alpha.PBNTR479removeextraspacingfromradiochildren3671 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.3.0.pre.rc.1 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-14.2.1.pre.alpha.PBNTR479removeextraspacingfromradiochildren3669 app/pb_kits/playbook/pb_section_separator/_section_separator.scss