Sha256: 3cc21cef95871858ed1ad3b68daf3bbf92602c52c161df1f89cdc86ca1440142

Contents?: true

Size: 1021 Bytes

Versions: 2

Compression:

Stored size: 1021 Bytes

Contents

.sts-tabs {
  &__nav {
    @apply -mb-px flex space-x-4 overflow-x-auto;
  }

  .tab {
    @apply border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 whitespace-nowrap px-1 pb-4 border-b-2 font-medium text-sm border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 cursor-pointer;

    a {
      @apply no-underline text-gray-500 hover:text-gray-700;
    }

    .badge {
      @apply bg-gray-100 text-gray-600 hidden ml-3 rounded-full text-xs font-medium md:inline-block py-0.5 px-2.5;
    }

    &.selected {
      @apply border-primary-500 text-primary-600;

      .badge {
        @apply bg-primary-100 text-primary-600;
      }

      a {
        @apply text-primary-600;
      }
    }

    .sts-menu {
      &__button {
        @apply h-0 w-0 pl-4;
      }
    }

    &.is-invalid {
      @apply text-red-600;

      .fa-triangle-exclamation {
        display: inline;
      }
    }
  }

  .tab-content {
    @apply hidden;

    &.selected {
      @apply block;
    }
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
satis-1.0.75 app/components/satis/tabs/component.scss
satis-1.0.74 app/components/satis/tabs/component.scss