Sha256: 5f8b84ca2718abe801512d4125b90db983f1fe758780d8e071e4d842e9e77091

Contents?: true

Size: 1.33 KB

Versions: 576

Compression:

Stored size: 1.33 KB

Contents

@import "tokens/typography";

@mixin subtle {
  [class*="pb_nav_list_kit_item"][class*="pb_nav_list_item"] {
    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;
      }
      &:hover {
        background-color: rgba($primary, 0.03);
        [class*="_icon"] {
          color: $primary;
        }
        [class*="_text"] {
          color: $primary;
        }
      }
    }
    &[class*="_active"] {
      color: $primary;
      letter-spacing: normal;

      [class*="_icon_right"] {
        color: $white;
      }
    }
    &[class*="dark"] {
      [class*="_item_text"],
      [class*="_item_icon"] {
        color: $white !important;
      }    
    } 
  }
}

Version data entries

576 entries across 576 versions & 1 rubygems

Version Path
playbook_ui-13.29.0.pre.alpha.testingcollapsibleissue3052 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.29.0 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.28.0.pre.alpha.PBNTR297gradientoverlay3029 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.28.0.pre.alpha.pbntr312tableheaderflexremoval3019 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.28.0.pre.alpha.dialogturbostreameventlistener3017 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.28.0.pre.alpha.PLAY1338alpha3001 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.28.0.pre.alpha.PLAY1343fixTooltiprunwayissue2987 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.28.0.pre.alpha.PLAY1343fixTooltiprunwayissue2986 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.28.0.pre.alpha.PLAY1343fixTooltiprunwayissue2984 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.27.0 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.26.0.pre.alpha.PBNTR291Dropdownrailsv22840 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.26.0.pre.alpha.jasoncypretpatch12820 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.26.0.pre.alpha.jasoncypretpatch12816 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.25.0.pre.alpha.PBNTR291Dropdownrailsv22812 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.26.0 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.25.0.pre.alpha.PLAY1249fixTooltipswrappingformelementscausingmisalignment2785 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.25.0.pre.alpha.PLAY1249fixTooltipswrappingformelementscausingmisalignment2783 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.25.0.pre.alpha.PBNTR272Dropdownkitv42769 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.25.0.pre.alpha.barchartfix2766 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.25.0.pre.alpha.PLAY761globalpaddingpropsbuttons2713 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss