Sha256: f2a0e2ec94325952a6f35db75d3c54fd77c249a1300ed1c3a0ded34e9798e55c

Contents?: true

Size: 1.24 KB

Versions: 48

Compression:

Stored size: 1.24 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;
      }
      @media (hover:hover) {
        &: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

48 entries across 48 versions & 1 rubygems

Version Path
playbook_ui-12.34.0.pre.alpha.fixdialogcloseevents1004 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-12.34.0.pre.alpha.fixdialogcloseevents1003 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-12.34.0.pre.alpha.play716popoverkitcloseonclickissue998 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-12.34.0 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-12.33.1 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-12.33.0.pre.alpha.PLAY905reactionbuttons982 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-12.33.0.pre.alpha.PLAY905reactionbuttons979 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-12.33.0.pre.alpha.revert2650closedialogonoutsideclick977 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-12.33.0 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-12.32.0 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-12.31.0.pre.alpha.hoverrails951 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-12.31.0.pre.alpha.hoverrails948 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-12.31.0.pre.alpha.multilevelnopillsdesigns944 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-12.31.0.pre.alpha.multilevelnopillsdesigns941 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-12.31.0.pre.alpha.PLAY814removemomentjs935 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-12.31.0.pre.alpha.PLAY814removemomentjs933 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-12.31.0.pre.alpha.datepickerdisableddatefix931 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-12.31.0.pre.alpha.customiconsfa928 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-12.31.0 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-12.30.1.pre.alpha.play846responsivespacingglobalpropsneedsdefault924 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss