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;
|
2022-02-08 17:30:20 +01:00
|
|
|
align-items: baseline;
|
2020-08-11 15:58:10 +02:00
|
|
|
min-width: 0;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
box-sizing: border-box;
|
|
|
|
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;
|
|
|
|
|
2022-01-06 18:35:49 +01:00
|
|
|
border-bottom: 1px solid var(--alto);
|
2020-08-11 15:58:10 +02:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__content {
|
2022-02-09 18:49:41 +01:00
|
|
|
padding: 12px 18px;
|
2022-02-08 17:30:20 +01:00
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
align-items: center;
|
|
|
|
position: relative;
|
|
|
|
z-index: 201;
|
2020-08-11 15:58:10 +02:00
|
|
|
|
2022-02-09 18:49:41 +01:00
|
|
|
&__title {
|
|
|
|
@include H4;
|
|
|
|
|
|
|
|
@media screen and (min-width: $break-large) {
|
|
|
|
@include H6;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-08-11 15:58:10 +02:00
|
|
|
&__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;
|
|
|
|
}
|
|
|
|
}
|
2022-02-08 17:30:20 +01:00
|
|
|
|
|
|
|
|
|
|
|
&__icon {
|
|
|
|
margin-inline-end: 16px;
|
|
|
|
display: flex;
|
|
|
|
}
|
2020-08-11 15:58:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__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;
|
2022-02-08 17:30:20 +01:00
|
|
|
margin-inline-start: auto;
|
|
|
|
margin-top: 16px;
|
|
|
|
margin-inline-end: 16px;
|
2020-08-11 15:58:10 +02:00
|
|
|
|
|
|
|
[dir='rtl'] & {
|
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--active {
|
|
|
|
opacity: 1 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__grow-tab {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
}
|