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.7.0.pre.alpha.play978makehighchartsadevdependencypoc1223 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.6.0.pre.alpha.play845allkitsbytypes1219 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.7.0 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.6.0.pre.alpha.tiptapreacthookformbug1210 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.6.0 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.5.0.pre.alpha.play984collapsiblekithidestooltips1203 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.5.0.pre.alpha.PLAY823globalpropoverflow1191 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.5.0.pre.alpha.PLAY823globalpropoverflow1188 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.5.0 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.4.0.pre.alpha.PLAY973Hash1181 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.4.0.pre.alpha.play961turnoffdeprecationwarnings1171 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.4.0 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.3.0 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.2.0.pre.alpha.PLAY986dateTimeRounding1150 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.2.0 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.1.0 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.0.0.pre.alpha.PLAY966collapsiblenav41129 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.0.0.pre.alpha.PLAY966collapsiblenav41128 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.0.0.pre.alpha.PLAY966collapsiblenav41126 app/pb_kits/playbook/pb_section_separator/_section_separator.scss
playbook_ui-13.0.0.pre.alpha.salesbookmismatchingdate1120 app/pb_kits/playbook/pb_section_separator/_section_separator.scss