Sha256: a449e4b5aa739932fb8cf50c044ac9e87def194780dae1ae8aa50a951623aa22

Contents?: true

Size: 1.39 KB

Versions: 4

Compression:

Stored size: 1.39 KB

Contents

$selector: ".pb_nav_list";
[class^=pb_nav_list][class*=_horizontal] {
  ul {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  [class*=_border_item] {
    transition-property: border-color;
    transition-duration: 0.15s;
    transition-timing-function: $bezier;
    padding: 0;

    [class*=_link] {
      text-decoration: none;
      display: flex;
      align-items: center;
      padding: $space_sm $space_xl;
      border: 0 solid transparent;
      border-width: 0 0 3px 0;
      border-color: $border_light;
      transition-property: color, border-color, background-color;
      transition-duration: 0.15s;
      transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
      color: $text_lt_default;

      &_icon {
        font-size: $font_large;
        margin-right: $space_sm;
        color: $text_lt_lighter;
      }

      &_text {
        font-size: $font_base;
        font-weight: $bold;
        color: $text_lt_default;
      }

      &:hover {
        color: $primary;
        #{$selector}_item_icon,
        #{$selector}_item_text {
          color: $primary;
        }
      }
    }
  }

  [class*=_active] {
    #{$selector}_item_link {
      border-color: $primary;

      [class*=_item_icon] {
        color: $text_lt_default;
      }

      [class*=_item_text] {
        color: $text_lt_default;
        font-weight: $bold;
      }
    }
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
playbook_ui-3.0.1 app/pb_kits/playbook/pb_nav/_horizontal_nav.scss
playbook_ui-3.0.0 app/pb_kits/playbook/pb_nav/_horizontal_nav.scss
playbook_ui-2.9.9 app/pb_kits/playbook/pb_nav/_horizontal_nav.scss
playbook_ui-2.9.8 app/pb_kits/playbook/pb_nav/_horizontal_nav.scss