meshviewer/scss/modules/_tabs.scss
2016-06-19 15:39:17 +02:00

35 lines
667 B
SCSS

.tabs {
@if $shadows == 1 {
@include shadow(1);
} @else {
border: solid darken($color-white, 10%);
border-width: 1px 0;
}
background: transparentize($color-black, .98);
display: flex;
display: -webkit-flex;
font-family: $font-family-secondary;
list-style: none;
margin: 0;
padding: 0;
li {
-webkit-flex: 1 1 auto;
color: transparentize($color-black, .5);
cursor: pointer;
flex: 1 1 auto;
padding: 1.3em .5em 1em;
text-align: center;
text-transform: uppercase;
&:hover {
color: $color-black;
}
}
.visible {
border-bottom: 2px solid $color-primary;
color: $color-primary;
}
}