github.com/manicqin/nomad@v0.9.5/ui/app/styles/core/tabs.scss (about)

     1  .tabs {
     2    background: $white-ter;
     3    font-weight: $weight-semibold;
     4  
     5    ul {
     6      padding-left: 1em;
     7      padding-right: 1em;
     8    }
     9  
    10    a {
    11      padding: 1em 1.5em;
    12      color: darken($grey-blue, 20%);
    13      border-bottom: none;
    14      box-shadow: inset 0 0 0 $grey-blue;
    15      transition: box-shadow 0.1s ease-in-out;
    16      text-decoration: none;
    17  
    18      &:hover,
    19      &.is-active {
    20        text-decoration: none;
    21        border-bottom: none;
    22        box-shadow: inset 0 -3px 0 $blue;
    23        color: $blue;
    24      }
    25    }
    26  
    27    li:first-child {
    28      padding-left: 0;
    29    }
    30  
    31    li:last-child {
    32      padding-right: 0;
    33    }
    34  
    35    &.is-subnav {
    36      position: fixed;
    37      top: $header-height;
    38      left: $gutter-width;
    39      right: 0;
    40      z-index: $z-subnav;
    41  
    42      + * {
    43        margin-top: 5em;
    44  
    45        &.is-closer {
    46          margin-top: calc(3.5em + 1px);
    47        }
    48      }
    49  
    50      @media #{$mq-hidden-gutter} {
    51        left: 0;
    52      }
    53    }
    54  }