phpvms/resources/sass/now-ui/now-ui-kit/_pills.scss
Nabeel S 7a76ac4226
CSS Libraries and style updates (#388)
* Update now-ui frontend lib to latest instead of the beta

* Update to bootstrap 4 lib

* Fix flights and profile pages
2019-09-12 11:48:41 -04:00

153 lines
3.1 KiB
SCSS
Executable File

.nav-pills{
&.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;
}
}
.nav-item {
.nav-link{
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;
&: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;
font-size: 24px;
}
}
&.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;
}
}