open-vault/ui/app/styles/core/tabs.scss
2018-04-03 09:16:57 -05:00

49 lines
867 B
SCSS

.tabs.tabs-subnav {
align-items: center;
height: 3.5rem;
margin-bottom: 0;
padding: $size-10 $size-10;
@include until($tablet) {
background-color: $grey;
flex: 0 0 100%;
height: 3rem;
}
ul {
border-bottom: none;
}
a,
.link {
align-items: center;
border-bottom: none;
color: $white-ter;
cursor: pointer;
display: inline-flex;
font-weight: $font-weight-semibold;
line-height: 1;
padding: $size-10 $size-6;
text-decoration: none;
transition: color $speed, background-color $speed;
&:hover {
color: $white;
}
}
.sep:before {
position: relative;
left: -0.75em;
}
.is-active a,
.is-active .link {
color: $white;
background: rgba($black, 0.25);
border-radius: 4px;
@include until($tablet) {
background: rgba($grey-dark, 0.75);
}
}
}