Sha256: 4d23c019c5a2199c7607279713128096b4b344327fb4358b983598df531ef698

Contents?: true

Size: 1.39 KB

Versions: 10

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

10 entries across 10 versions & 1 rubygems

Version Path
playbook_ui-4.1.2 app/pb_kits/playbook/pb_nav/_horizontal_nav.scss
playbook_ui-4.1.1 app/pb_kits/playbook/pb_nav/_horizontal_nav.scss
playbook_ui-4.1.0 app/pb_kits/playbook/pb_nav/_horizontal_nav.scss
playbook_ui-4.0.1 app/pb_kits/playbook/pb_nav/_horizontal_nav.scss
playbook_ui-4.0.0 app/pb_kits/playbook/pb_nav/_horizontal_nav.scss
playbook_ui-3.5.0 app/pb_kits/playbook/pb_nav/_horizontal_nav.scss
playbook_ui-3.4.0 app/pb_kits/playbook/pb_nav/_horizontal_nav.scss
playbook_ui-3.3.0 app/pb_kits/playbook/pb_nav/_horizontal_nav.scss
playbook_ui-3.2.0 app/pb_kits/playbook/pb_nav/_horizontal_nav.scss
playbook_ui-3.1.0 app/pb_kits/playbook/pb_nav/_horizontal_nav.scss