2017-07-28 20:13:52 +08:00
|
|
|
.nav-pills{
|
|
|
|
|
2019-09-12 23:48:41 +08:00
|
|
|
&.nav-pills-just-icons{
|
|
|
|
.nav-item .nav-link{
|
|
|
|
text-align: center;
|
|
|
|
border-radius: 50%;
|
|
|
|
height: 80px;
|
|
|
|
width: 80px;
|
|
|
|
padding: 0;
|
|
|
|
max-width: 80px;
|
|
|
|
min-width: auto;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
|
|
|
|
i{
|
|
|
|
line-height: 80px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.flex-column) .nav-item {
|
|
|
|
&:not(:last-child) .nav-link{
|
|
|
|
margin-right: 19px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-28 20:13:52 +08:00
|
|
|
.nav-item {
|
|
|
|
.nav-link{
|
2019-09-12 23:48:41 +08:00
|
|
|
padding: $padding-btn-vertical - 1 $padding-round-horizontal;
|
|
|
|
background-color: $opacity-gray-3;
|
|
|
|
min-width: 100px;
|
|
|
|
font-weight: $font-weight-normal;
|
|
|
|
text-align: center;
|
|
|
|
color: $light-black;
|
|
|
|
|
2017-07-28 20:13:52 +08:00
|
|
|
|
|
|
|
&:hover{
|
|
|
|
background-color: $opacity-gray-3;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active{
|
|
|
|
&,
|
|
|
|
&:focus,
|
|
|
|
&:hover{
|
|
|
|
background-color: $dark-gray;
|
|
|
|
color: $white-color;
|
|
|
|
box-shadow: 0px 5px 35px 0px rgba(0, 0, 0, 0.3);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled,
|
|
|
|
&:disabled,
|
|
|
|
&[disabled]{
|
|
|
|
opacity: .5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
i{
|
|
|
|
display: block;
|
|
|
|
line-height: 60px;
|
2019-09-12 23:48:41 +08:00
|
|
|
font-size: 24px;
|
2017-07-28 20:13:52 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.nav-pills-neutral{
|
|
|
|
.nav-item {
|
|
|
|
.nav-link{
|
|
|
|
background-color: $opacity-2;
|
|
|
|
color: $white-color;
|
|
|
|
|
|
|
|
&.active{
|
|
|
|
&,
|
|
|
|
&:focus,
|
|
|
|
&:hover{
|
|
|
|
background-color: $white-color;
|
|
|
|
color: $primary-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.nav-pills-primary{
|
|
|
|
.nav-item {
|
|
|
|
.nav-link.active{
|
|
|
|
&,
|
|
|
|
&:focus,
|
|
|
|
&:hover{
|
|
|
|
background-color: $brand-primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.nav-pills-info{
|
|
|
|
.nav-item {
|
|
|
|
.nav-link.active{
|
|
|
|
&,
|
|
|
|
&:focus,
|
|
|
|
&:hover{
|
|
|
|
background-color: $brand-info;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.nav-pills-success{
|
|
|
|
.nav-item {
|
|
|
|
.nav-link.active{
|
|
|
|
&,
|
|
|
|
&:focus,
|
|
|
|
&:hover{
|
|
|
|
background-color: $brand-success;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.nav-pills-warning{
|
|
|
|
.nav-item {
|
|
|
|
.nav-link.active{
|
|
|
|
&,
|
|
|
|
&:focus,
|
|
|
|
&:hover{
|
|
|
|
background-color: $brand-warning;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.nav-pills-danger{
|
|
|
|
.nav-item {
|
|
|
|
.nav-link.active{
|
|
|
|
&,
|
|
|
|
&:focus,
|
|
|
|
&:hover{
|
|
|
|
background-color: $brand-danger;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.tab-space{
|
|
|
|
padding: 20px 0 50px 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-align-center{
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
.nav-pills{
|
|
|
|
display: inline-flex;
|
|
|
|
}
|
|
|
|
}
|