This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.
2021-08-23 10:26:02 +02:00

64 lines
1.0 KiB
SCSS

.tab {
margin-bottom: ($spacer * 2);
.nav-tabs {
border: 0;
}
.nav-tabs .nav-link {
background: $tab-link-bg;
color: $tab-link-color;
padding: $tab-link-padding;
border: 0;
&.active {
background: $tab-link-active-bg;
color: $tab-link-active-color;
}
&:hover:not(.active) {
color: $link-color;
}
svg {
width: 20px;
height: 20px;
}
}
.tab-content {
background: $white;
padding: $tab-content-padding;
box-shadow: $box-shadow;
border-radius: $tab-content-border-radius;
p:last-child {
margin-bottom: 0;
}
}
}
@each $color, $value in $theme-colors {
.tab-#{$color} {
@include tab-variant($value);
}
}
.tab-title {
font-size: $font-size-lg;
}
.tab-vertical .nav-tabs {
float: left;
flex-direction: column;
.nav-link {
@include border-left-radius($border-radius);
@include border-right-radius(0);
}
}
.tab-vertical .tab-content {
overflow: auto;
}