2017-10-23 07:40:03 +02:00
|
|
|
.tab-bar {
|
|
|
|
display: flex;
|
2019-03-25 17:13:23 +01:00
|
|
|
flex-direction: column;
|
2017-10-23 07:40:03 +02:00
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab-bar__tab {
|
2019-03-25 17:13:23 +01:00
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: flex-start;
|
2017-10-23 07:40:03 +02:00
|
|
|
min-width: 0;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
box-sizing: border-box;
|
2019-03-25 17:13:23 +01:00
|
|
|
font-size: 16px;
|
|
|
|
padding: 16px 24px;
|
|
|
|
opacity: .5;
|
|
|
|
transition: opacity 200ms ease-in-out;
|
|
|
|
|
|
|
|
@media screen and (min-width: 576px) {
|
|
|
|
&:hover {
|
|
|
|
opacity: .4;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
opacity: .6;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 575px) {
|
|
|
|
font-size: 18px;
|
|
|
|
padding: 24px;
|
|
|
|
border-bottom: 1px solid $alto;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
width: 0;
|
|
|
|
|
|
|
|
&__description {
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
@media screen and (max-width: 575px) {
|
|
|
|
display: block;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 300;
|
|
|
|
margin-top: 8px;
|
|
|
|
min-height: 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__caret {
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
@media screen and (max-width: 575px) {
|
|
|
|
display: block;
|
|
|
|
background-image: url('/images/caret-right.svg');
|
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
|
|
|
opacity: .5;
|
|
|
|
background-size: contain;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
2019-09-03 19:47:54 +02:00
|
|
|
|
|
|
|
[dir='rtl'] & {
|
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
2019-03-25 17:13:23 +01:00
|
|
|
}
|
|
|
|
}
|
2017-10-23 07:40:03 +02:00
|
|
|
|
2019-03-25 17:13:23 +01:00
|
|
|
&--active {
|
|
|
|
opacity: 1 !important;
|
|
|
|
}
|
2017-10-23 07:40:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab-bar__grow-tab {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|