Sha256: 89fc10614bc6d4fb829cbefedc6a8890138e877de6dbef13f58bbba998cc4581

Contents?: true

Size: 1.18 KB

Versions: 1

Compression:

Stored size: 1.18 KB

Contents

@import "tokens/typography";

@mixin subtle {
  [class*=pb_nav_list_kit_item] {
    list-style: none;
    border-radius: $border_rad_heavier;
    border-bottom: 0;
    margin: $space_xs ($space_sm - 2px);
    [class*=_link] {
      text-decoration: none;
      display: flex;
      align-items: center;
      border: none;
      padding: $space_xs ($space_sm - 2px);
      transition-property: color, background-color;
      transition-duration: 0.15s;
      transition-timing-function: $bezier;
      border-radius: $border_rad_heavier;
      @include pb_body($text_lt_default);
      [class*=_icon_left] {
        margin-right: ($space_xs + 2px);
        color: $text_lt_lighter;
      }
      [class*=_icon_right] {
        margin-left: ($space_xs + 2px);
        color: $text_lt_default;
      }
      [class*=_text] {
        flex: 1;
        font-weight: $regular;
      }
      &:hover {
        background-color: rgba($primary, 0.03);
        [class*=_icon] {
          color: $primary;
        }
        [class*=_text] {
          color: $primary;
        }
      }
    }
    &[class*=_active] [class*=_link] {
      @include pb_title_4;
      color: $primary;
      letter-spacing: normal;
    }
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
playbook_ui-12.37.0.pre.alpha.PLAY951collapsiblenav31062 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss