Sha256: 5756f167e08423479a2478c0b4732e97b2d542dfe50061d78576cb2cf758fbc6

Contents?: true

Size: 1.32 KB

Versions: 69

Compression:

Stored size: 1.32 KB

Contents

@import "../tokens/colors";
@import "../tokens/line_height";
@import "../tokens/typography";
@import "../tokens/border_radius";

[class^=pb_link_kit]{
  @include pb_link($primary);
  &:hover {
    color: $text_lt_default;
  }
  &:focus {
    outline: none;
  }
  &:focus-visible {
    border-radius: $border_rad_light;
    outline: 1px solid $primary;
    outline-offset: 2px;
  }
  &:visited {
    color: darken($primary_action, 10%);
  }
  &.dark  {
    @include pb_link($active_dark);
    &:hover {
      color: $text_dk_default;
    }
  }
  @each $color_name, $color_value in $pb_link_colors {
    &[class*=_#{"" + $color_name}] {
      @include pb_link($color_value);

      &:hover {
        color: map-get($pb_link_hover_colors, $color_name);
      }

      &:visited {
        color: darken($primary_action, 10%);
      }
    }
  }

  @each $dark_color_name, $dark_color_value in $pb_dark_link_colors{
    &[class*=_#{$dark_color_name}][class*=dark]{
      @include pb_link($dark_color_value);
      
      &:hover {
        color: map-get($pb_dark_link_hover_colors, $dark_color_name);
      }

      &:visited {
        color: darken($primary_action, 10%);
      }
    }
  }

  &[class*=_underline] {
    text-decoration: underline;
  }

  &[class*=_disabled] {
    pointer-events: none;
    cursor: default;
    color: $text_lt_lighter;
  }

}

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
playbook_ui-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5341 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5340 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5339 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.12.0.pre.rc.3 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.12.0.pre.rc.2 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.12.0.pre.rc.1 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.12.0.pre.rc.0 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5315 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5314 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.10.0.pre.alpha.PLAY1750pbcontenttagkitbutton5308 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.11.1 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.11.0.pre.rc.17 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.11.0 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.11.0.pre.rc.16 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.10.0.pre.alpha.play16825301 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.11.0.pre.rc.15 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.11.0.pre.rc.14 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.11.0.pre.rc.13 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.11.0.pre.rc.12 app/pb_kits/playbook/pb_link/_link.scss
playbook_ui-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5274 app/pb_kits/playbook/pb_link/_link.scss