2023-01-09 13:02:16 -05:00
|
|
|
/* stylelint-disable no-descending-specificity */
|
2018-08-27 22:22:25 +03:00
|
|
|
.tab-switcher {
|
2019-08-12 20:01:38 +03:00
|
|
|
display: flex;
|
2020-05-03 17:36:12 +03:00
|
|
|
|
2020-05-25 16:10:14 +03:00
|
|
|
.tab-icon {
|
2020-11-01 16:40:23 +02:00
|
|
|
margin: 0.2em auto;
|
2020-05-25 16:10:14 +03:00
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
2020-05-03 17:36:12 +03:00
|
|
|
&.top-tabs {
|
|
|
|
|
flex-direction: column;
|
2020-05-27 03:32:57 +03:00
|
|
|
|
2020-05-03 17:36:12 +03:00
|
|
|
> .tabs {
|
|
|
|
|
width: 100%;
|
2025-03-31 12:51:17 +03:00
|
|
|
overflow: auto hidden;
|
2020-05-03 17:36:12 +03:00
|
|
|
padding-top: 5px;
|
|
|
|
|
flex-direction: row;
|
2022-08-17 00:48:10 +03:00
|
|
|
flex: 0 0 auto;
|
2020-05-27 03:32:57 +03:00
|
|
|
|
2023-01-09 13:02:16 -05:00
|
|
|
&::after,
|
|
|
|
|
&::before {
|
|
|
|
|
content: "";
|
2020-05-03 17:36:12 +03:00
|
|
|
flex: 1 1 auto;
|
|
|
|
|
border-bottom: 1px solid;
|
2024-02-22 00:02:24 +02:00
|
|
|
border-bottom-color: var(--border);
|
2020-05-03 17:36:12 +03:00
|
|
|
}
|
2022-04-20 23:22:51 +03:00
|
|
|
|
2020-05-03 17:36:12 +03:00
|
|
|
.tab-wrapper {
|
2022-04-20 23:22:51 +03:00
|
|
|
height: 2em;
|
2020-05-03 17:36:12 +03:00
|
|
|
|
|
|
|
|
&:not(.active)::after {
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
border-bottom: 1px solid;
|
2024-02-22 00:02:24 +02:00
|
|
|
border-bottom-color: var(--border);
|
2020-05-03 17:36:12 +03:00
|
|
|
}
|
|
|
|
|
}
|
2023-01-09 13:02:16 -05:00
|
|
|
|
2020-05-03 17:36:12 +03:00
|
|
|
.tab {
|
|
|
|
|
width: 100%;
|
|
|
|
|
min-width: 1px;
|
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
|
padding-bottom: 99px;
|
2025-03-31 13:05:28 +03:00
|
|
|
margin-bottom: calc(6px - 99px);
|
2020-05-03 17:36:12 +03:00
|
|
|
}
|
|
|
|
|
}
|
2023-01-09 13:02:16 -05:00
|
|
|
|
2020-05-03 17:36:12 +03:00
|
|
|
.contents.scrollable-tabs {
|
|
|
|
|
flex-basis: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2018-11-21 07:38:00 +03:00
|
|
|
.contents {
|
2019-08-12 20:01:38 +03:00
|
|
|
flex: 1 0 auto;
|
2023-01-09 13:02:16 -05:00
|
|
|
min-height: 0;
|
2019-08-12 20:01:38 +03:00
|
|
|
|
2018-11-21 07:38:00 +03:00
|
|
|
.hidden {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
2023-01-09 13:02:16 -05:00
|
|
|
|
2020-05-29 13:39:30 +03:00
|
|
|
.full-height:not(.hidden) {
|
2020-05-28 21:26:33 +03:00
|
|
|
height: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2023-01-09 13:02:16 -05:00
|
|
|
|
2020-05-28 21:26:33 +03:00
|
|
|
> *:not(.mobile-label) {
|
|
|
|
|
flex: 1;
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-08-12 20:01:38 +03:00
|
|
|
|
|
|
|
|
&.scrollable-tabs {
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
}
|
2018-11-21 07:38:00 +03:00
|
|
|
}
|
2020-05-03 17:36:12 +03:00
|
|
|
|
|
|
|
|
.tab {
|
2024-02-22 00:02:24 +02:00
|
|
|
user-select: none;
|
|
|
|
|
color: var(--text);
|
|
|
|
|
border: none;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
box-shadow: var(--shadow);
|
|
|
|
|
font-size: 1em;
|
2024-02-22 18:04:28 +02:00
|
|
|
font-family: var(--font);
|
2024-02-22 00:02:24 +02:00
|
|
|
border-radius: var(--roundness);
|
2024-04-03 21:10:27 +03:00
|
|
|
background-color: var(--background);
|
2020-05-03 17:36:12 +03:00
|
|
|
position: relative;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
padding: 6px 1em;
|
|
|
|
|
|
|
|
|
|
&:not(.active) {
|
|
|
|
|
z-index: 4;
|
2024-11-12 21:05:56 +02:00
|
|
|
margin-top: 0.25em;
|
2020-05-03 17:36:12 +03:00
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
z-index: 6;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
|
background: transparent;
|
|
|
|
|
z-index: 5;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
img {
|
2025-08-14 17:27:13 +03:00
|
|
|
max-height: 1.9em;
|
2020-05-03 17:36:12 +03:00
|
|
|
vertical-align: top;
|
2025-08-14 17:27:13 +03:00
|
|
|
margin-top: -0.3em;
|
2020-05-03 17:36:12 +03:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2018-08-27 22:22:25 +03:00
|
|
|
.tabs {
|
|
|
|
|
display: flex;
|
|
|
|
|
position: relative;
|
2018-11-21 21:28:22 +03:00
|
|
|
box-sizing: border-box;
|
2018-08-27 22:22:25 +03:00
|
|
|
|
2023-01-09 13:02:16 -05:00
|
|
|
&::after,
|
|
|
|
|
&::before {
|
2018-08-27 22:22:25 +03:00
|
|
|
display: block;
|
|
|
|
|
flex: 1 1 auto;
|
|
|
|
|
}
|
2020-05-03 17:36:12 +03:00
|
|
|
}
|
2018-08-27 22:22:25 +03:00
|
|
|
|
2020-05-03 17:36:12 +03:00
|
|
|
.tab-wrapper {
|
|
|
|
|
position: relative;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex: 0 0 auto;
|
2018-12-16 02:35:42 +03:00
|
|
|
|
2020-05-03 17:36:12 +03:00
|
|
|
&:not(.active) {
|
|
|
|
|
&::after {
|
2023-01-09 13:02:16 -05:00
|
|
|
content: "";
|
2020-05-03 17:36:12 +03:00
|
|
|
position: absolute;
|
|
|
|
|
z-index: 7;
|
2018-08-27 22:22:25 +03:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-05-27 03:32:57 +03:00
|
|
|
|
|
|
|
|
.mobile-label {
|
2023-01-09 13:02:16 -05:00
|
|
|
padding-left: 0.3em;
|
|
|
|
|
padding-bottom: 0.25em;
|
|
|
|
|
margin-top: 0.5em;
|
|
|
|
|
margin-left: 0.2em;
|
|
|
|
|
margin-bottom: 0.25em;
|
2024-03-04 19:45:42 +02:00
|
|
|
border-bottom: 1px solid var(--border);
|
2020-05-27 03:32:57 +03:00
|
|
|
|
2025-03-31 12:51:17 +03:00
|
|
|
@media all and (width >= 800px) {
|
2020-05-27 03:32:57 +03:00
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
2018-08-27 22:22:25 +03:00
|
|
|
}
|
2023-01-09 13:02:16 -05:00
|
|
|
/* stylelint-enable no-descending-specificity */
|