Sha256: 5f8b84ca2718abe801512d4125b90db983f1fe758780d8e071e4d842e9e77091

Contents?: true

Size: 1.33 KB

Versions: 436

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

436 entries across 436 versions & 1 rubygems

Version Path
playbook_ui-13.21.0.pre.alpha.PLAY120322465 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.21.0.pre.alpha.pbntr220improveexpansionspeed2451 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.21.0.pre.alpha.PBNTR224letuserresetrowexpansion2441 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.21.0.pre.alpha.PBNTR225advancedtablefeedback2438 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.21.0.pre.alpha.PBNTR238DatePickerYearBug2436 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.21.0.pre.alpha.pbntr220improveexpansionspeed2431 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.21.0.pre.alpha.pbntr220improveexpansionspeed2415 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.20.0.pre.alpha.play1247htmloptions2404 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.20.0.pre.alpha.play1247htmloptions2403 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.20.0.pre.alpha.PLAY12572402 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.21.0 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.20.0.pre.alpha.PBNTR225advancedtablefeedback2375 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.19.0.pre.alpha.PBNTR200addadvancedtablekitdarkmodestyles2346 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.19.0.pre.alpha.play1174fixconfimationtoastmobilebug2345 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.19.0.pre.alpha.play1174fixconfimationtoastmobilebug2342 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss
playbook_ui-13.19.0.pre.alpha.play1186collapsiblenaviconcolorbug2321 app/pb_kits/playbook/pb_nav/_subtle_mixin.scss