meshviewer/scss/modules/_tabs.scss

34 lines
742 B
SCSS
Raw Normal View History

.tabs {
2016-05-29 15:39:56 +00:00
@if $shadows == 1 {
@include shadow(1);
} @else {
border: solid darken($color-white, 10%);
border-width: 1px 0;
}
2016-06-01 19:21:21 +00:00
background: transparentize($color-black, .98);
display: flex;
2017-02-04 02:01:17 +00:00
display: -webkit-flex; // sass-lint:disable-line no-vendor-prefixes no-duplicate-properties
list-style: none;
margin: 0;
2016-05-29 18:11:05 +00:00
padding: 0;
li {
2017-02-04 02:01:17 +00:00
-webkit-flex: 1 1 auto; // sass-lint:disable-line no-vendor-prefixes
2016-06-01 19:21:21 +00:00
color: transparentize($color-black, .5);
cursor: pointer;
flex: 1 1 auto;
2016-05-29 18:11:05 +00:00
padding: 1.3em .5em 1em;
text-align: center;
text-transform: uppercase;
&:hover {
color: $color-black;
}
}
.visible {
2016-06-19 11:14:13 +00:00
border-bottom: 2px solid $color-primary;
color: $color-primary;
}
}