Sha256: 01464eb5fa559977bac17c865737acdd06d691878cfbc8c9721caa813ed51cca
Contents?: true
Size: 1.29 KB
Versions: 1
Compression:
Stored size: 1.29 KB
Contents
.nav-tabs { border-bottom: none; overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; &::-webkit-scrollbar { height: 4px; } &::-webkit-scrollbar-track { background: $nav-tabs-link-bg; } &::-webkit-scrollbar-thumb { background: rgba(black, 0.1); } .nav-item { margin-bottom: 0; } .nav-link { margin-right: 4px; padding: 10px 20px; font-weight: 500; transition: $nav-tabs-link-transition; background-color: $nav-tabs-link-bg; color: $nav-tabs-link-color; &:not(.active):hover { background-color: $nav-tabs-link-hover-bg; color: $nav-tabs-link-hover-color; } } .align-right { margin-left: auto; .nav-link { margin-right: 0; margin-left: 4px; } & + .align-right { margin-left: 0; } } .badge { font-size: 0.65em; margin-left: 0.35rem; vertical-align: 1px; // Default badge color when no badge- classes specified &:not([class*="badge-"]) { background: $gray-600; color: color-contrast($gray-600); } } } @include media-breakpoint-down(md) { .nav-tabs { .nav-link { font-size: 0.95rem; padding: 10px; margin-right: 2px; } .align-right { .nav-link { margin-left: 2px; } } } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
trestle-0.10.0.pre | frontend/css/components/_tabs.scss |