1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-24 02:38:15 +04:00
Files
tabler/scss/ui/_nav.scss
2020-01-05 14:20:56 +01:00

57 lines
928 B
SCSS

.nav-tabs {
.icon {
color: $text-muted;
}
.nav-link {
padding: $card-title-spacer-y $card-spacer-x;
line-height: 20px;
color: $text-muted;
cursor: pointer;
background: transparent;
border: none;
border-bottom: 1px solid transparent;
transition: .3s color, .3s border-color;
&:hover {
color: $body-color;
border-color: transparent;
}
&.disabled {
color: rgba($text-muted, .2);
}
&.active {
color: $body-color;
background: inherit;
border-color: transparent;
border-bottom-color: $primary;
}
}
}
.nav-tabs-alt {
.nav-link {
font-size: 13px;
font-weight: $font-weight-bold;
text-transform: uppercase;
}
}
.nav-icon {
line-height: 1;
margin-right: .25rem;
.icon {
display: block;
stroke-width: 1.5;
}
}
.nav-link {
display: flex;
align-items: center;
transition: .3s color;
}