Sha256: 92da1ae3a8c5b7bc7cea21f63c1e5b82e780e26149fc6c74dc52684b205722cb

Contents?: true

Size: 1.19 KB

Versions: 151

Compression:

Stored size: 1.19 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);
    }
  }

  // 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

151 entries across 151 versions & 1 rubygems

Version Path
playbook_ui-12.30.1.pre.alpha.play846responsivespacingglobalpropsneedsdefault924 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-12.30.1.pre.alpha.PLAY906multilevelselectedidsprop917 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-12.30.1.pre.alpha.PLAY906multilevelselectedidsprop916 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-12.30.1.pre.alpha.hovertesting914 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-12.30.1.pre.alpha.PLAY906multilevelselectedidsprop912 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-12.30.1.pre.alpha.PLAY802responsivetitlekit909 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-12.30.0.pre.alpha.PLAY906multilevelselectedidsprop902 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-12.30.1 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-12.30.0 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-12.29.0.pre.alpha.play716popoverkitcloseonclickissue893 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-12.29.0 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-12.28.0.pre.alpha.PLAY863multilevelv2877 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-12.28.0.pre.alpha.PLAY863multilevelv2876 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-12.28.0.pre.alpha.PLAY814removemomentjs871 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-12.28.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown869 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-12.28.0.pre.alpha.PLAY837MapCustomButton868 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-12.28.0.pre.alpha.20230613implementbakesupport865 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-12.28.0 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-12.27.0.pre.alpha.expandednotworking853 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-12.27.0 app/pb_kits/playbook/pb_section_separator/_section_separator.scss