Sha256: c8d39d20694e50bc59d6a01c901634d6c619a7d1bc3ed79ff6a1e94f69fc32cf
Contents?: true
Size: 1.67 KB
Versions: 19
Compression:
Stored size: 1.67 KB
Contents
.tabs { &.tabs-transparent { background-color: transparent; .tab a, .tab.disabled a, .tab.disabled a:hover { color: rgba(255,255,255,0.7); } .tab a:hover, .tab a.active { color: #fff; } .indicator { background-color: #fff; } } &.tabs-fixed-width { display: flex; .tab { -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; flex-grow: 1; } } position: relative; overflow-x: auto; overflow-y: hidden; height: 48px; width: 100%; background-color: $tabs-bg-color; margin: 0 auto; white-space: nowrap; .tab { display: inline-block; text-align: center; line-height: 48px; height: 48px; padding: 0; margin: 0; text-transform: uppercase; a { &:hover, &.active { background-color: transparent; color: $tabs-text-color; } color: rgba($tabs-text-color, .7); display: block; width: 100%; height: 100%; padding: 0 24px; font-size: 14px; text-overflow: ellipsis; overflow: hidden; transition: color .28s ease; } &.disabled a, &.disabled a:hover { color: rgba($tabs-text-color, .7); cursor: default; } } .indicator { position: absolute; bottom: 0; height: 2px; background-color: $tabs-underline-color; will-change: left, right; } } // Fixed sideNav hide on smaller @media #{$medium-and-down} { .tabs { display: flex; .tab { -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; flex-grow: 1; a { padding: 0 12px; } } } }
Version data entries
19 entries across 19 versions & 4 rubygems