meshviewer/scss/modules/_tabs.scss

34 lines
749 B
SCSS
Raw Permalink Normal View History

.tabs {
2016-05-29 15:39:56 +00:00
@if $shadows == 1 {
@include shadow(1);
} @else {
2017-04-14 12:43:46 +00:00
border: 0 solid darken($color-white, 10%);
border-bottom-width: 1px;
2016-05-29 15:39:56 +00:00
}
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;
}
}