2020-08-11 15:58:10 +02:00
|
|
|
.tab-bar {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
|
|
|
|
|
|
|
&__tab {
|
2020-10-29 16:03:29 +01:00
|
|
|
@include Paragraph;
|
|
|
|
|
2020-08-11 15:58:10 +02:00
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: flex-start;
|
|
|
|
min-width: 0;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 16px 24px;
|
|
|
|
opacity: 0.5;
|
|
|
|
transition: opacity 200ms ease-in-out;
|
2020-11-05 19:05:41 +01:00
|
|
|
background-color: unset;
|
|
|
|
text-align: start;
|
2020-08-11 15:58:10 +02:00
|
|
|
|
2021-08-31 08:16:58 +02:00
|
|
|
@media screen and (min-width: $break-large) {
|
2020-08-11 15:58:10 +02:00
|
|
|
&:hover {
|
|
|
|
opacity: 0.4;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
opacity: 0.6;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-31 08:16:58 +02:00
|
|
|
@media screen and (max-width: $break-small) {
|
2020-10-29 16:03:29 +01:00
|
|
|
@include H4;
|
|
|
|
|
2020-08-11 15:58:10 +02:00
|
|
|
padding: 24px;
|
|
|
|
border-bottom: 1px solid $alto;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
width: 0;
|
|
|
|
|
|
|
|
&__description {
|
|
|
|
display: none;
|
|
|
|
|
2021-08-31 08:16:58 +02:00
|
|
|
@media screen and (max-width: $break-small) {
|
2020-10-29 16:03:29 +01:00
|
|
|
@include H6;
|
|
|
|
|
2020-08-11 15:58:10 +02:00
|
|
|
display: block;
|
|
|
|
font-weight: 300;
|
|
|
|
margin-top: 8px;
|
|
|
|
min-height: 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__caret {
|
|
|
|
display: none;
|
|
|
|
|
2021-08-31 08:16:58 +02:00
|
|
|
@media screen and (max-width: $break-small) {
|
2020-08-11 15:58:10 +02:00
|
|
|
display: block;
|
|
|
|
background-image: url('/images/caret-right.svg');
|
2021-10-29 13:55:23 +02:00
|
|
|
width: 8.27px;
|
|
|
|
height: 13.64px;
|
2020-08-11 15:58:10 +02:00
|
|
|
background-size: contain;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
|
|
|
|
|
|
|
[dir='rtl'] & {
|
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--active {
|
|
|
|
opacity: 1 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__grow-tab {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
}
|