meshviewer/scss/modules/_tabs.scss
2017-10-29 15:11:40 +01:00

30 lines
683 B
SCSS

.tabs {
background: transparentize($color-black, .98);
border: 0 solid darken($color-white, 10%);
border-bottom-width: 1px;
display: flex;
display: -webkit-flex; // sass-lint:disable-line no-vendor-prefixes no-duplicate-properties
list-style: none;
margin: 0;
padding: 0;
li {
-webkit-flex: 1 1 auto; // sass-lint:disable-line no-vendor-prefixes
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;
}
}