Sha256: 109d2a600bf639e6f5f86cb756ccad2f3d0db8397564004fc817ea2d15bc7dff

Contents?: true

Size: 1.07 KB

Versions: 12

Compression:

Stored size: 1.07 KB

Contents

.#{$prefix}nav-tabs {
  margin-bottom: 24px;

  .#{$prefix}nav {
    &-item {
      margin: 8px 0 11px;
    }

    &-link {
      position: relative;
      padding: 8px 16px;
      color: $slate;
      border: none;
      @include border-radius(4px);

      &:hover {
        color: $dark;
      }

      &.active {
        font-weight: 500;
        &::after {
          position: absolute;
          bottom: -12px;
          left: 0;
          width: 100%;
          height: 4px;
          content: "";
          background-color: $dark;
        }
      }

      @each $color, $hex in $theme-colors {
        &.active {
          &.theme-#{$color} {
            &::after {
              background-color: #{$hex};
            }
          }
        }
      }

      &.disabled {
        color: $muted;
        pointer-events: auto;
        cursor: not-allowed;
      }
    }
  }

  .#{$prefix}dropdown-menu {
    margin-top: 11px;
    @include border-radius(4px);

    .#{$prefix}dropdown-item {
      &.active {
        color: inherit;
        background-color: inherit;
      }
    }
  }
}

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
mekari_ui_toolkit-1.0.22 lib/assets/stylesheets/scss/components/config/_tabs.scss
mekari_ui_toolkit-1.0.21 lib/assets/stylesheets/scss/components/config/_tabs.scss
mekari_ui_toolkit-1.0.20 lib/assets/stylesheets/scss/components/config/_tabs.scss
mekari_ui_toolkit-1.0.18 lib/assets/stylesheets/scss/components/config/_tabs.scss
mekari_ui_toolkit-1.0.17 lib/assets/stylesheets/scss/components/config/_tabs.scss
mekari_ui_toolkit-1.0.16 lib/assets/stylesheets/scss/components/config/_tabs.scss
mekari_ui_toolkit-1.0.15 lib/assets/stylesheets/scss/components/config/_tabs.scss
mekari_ui_toolkit-1.0.14 lib/assets/stylesheets/scss/components/config/_tabs.scss
mekari_ui_toolkit-1.0.13 lib/assets/stylesheets/scss/components/config/_tabs.scss
mekari_ui_toolkit-1.0.12 lib/assets/stylesheets/scss/components/config/_tabs.scss
mekari_ui_toolkit-1.0.11 lib/assets/stylesheets/scss/components/config/_tabs.scss
mekari_ui_toolkit-1.0.10 lib/assets/stylesheets/scss/components/config/_tabs.scss