2019-05-07 04:35:04 +02:00
|
|
|
.tabs {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabs__list {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2019-11-22 22:13:00 +01:00
|
|
|
background-color: var(--color-tabs-background);
|
2020-06-01 19:03:19 +02:00
|
|
|
padding: var(--spacing-m) var(--spacing-main-padding);
|
2019-05-07 04:35:04 +02:00
|
|
|
|
|
|
|
& > *:not(.tab) {
|
|
|
|
// If there is anything after the tabs, render it on the opposite side of the page
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-04 21:59:11 +01:00
|
|
|
.commentCreate {
|
|
|
|
.tabs {
|
|
|
|
border: 1px solid var(--color-border);
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
margin-bottom: var(--spacing-m);
|
|
|
|
|
|
|
|
.selector-menu {
|
|
|
|
border: 0 !important;
|
|
|
|
|
|
|
|
button {
|
|
|
|
margin: var(--spacing-xxs);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabs__list--comment-selector {
|
|
|
|
@extend .tabs__list--channel-page;
|
|
|
|
padding-left: var(--spacing-m) !important;
|
|
|
|
border: 0 !important;
|
|
|
|
border-bottom: 1px solid var(--color-border) !important;
|
|
|
|
border-radius: 0 !important;
|
|
|
|
margin-bottom: 0px !important;
|
|
|
|
|
|
|
|
+ .tab__divider {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
position: sticky;
|
|
|
|
padding: 0px;
|
|
|
|
height: 3rem !important;
|
|
|
|
|
|
|
|
button {
|
|
|
|
font-size: var(--font-xxsmall);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-07 04:35:04 +02:00
|
|
|
.tabs__list--channel-page {
|
2020-06-30 07:51:15 +02:00
|
|
|
padding-left: calc(var(--channel-thumbnail-width) + var(--spacing-xl));
|
2020-06-01 19:03:19 +02:00
|
|
|
padding-right: var(--spacing-m);
|
|
|
|
margin-bottom: var(--spacing-l);
|
2019-11-22 22:13:00 +01:00
|
|
|
height: 4rem;
|
2020-01-03 17:36:15 +01:00
|
|
|
border-bottom-left-radius: var(--card-radius);
|
|
|
|
border-bottom-right-radius: var(--card-radius);
|
2020-06-30 07:51:15 +02:00
|
|
|
border: 1px solid var(--color-border);
|
|
|
|
border-top: none;
|
2019-12-18 06:27:08 +01:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
2020-06-01 19:03:19 +02:00
|
|
|
padding-left: var(--spacing-m);
|
2019-12-18 06:27:08 +01:00
|
|
|
}
|
2019-05-07 04:35:04 +02:00
|
|
|
}
|
|
|
|
|
2021-06-15 22:06:57 +02:00
|
|
|
.tabs__list--collection-edit-page {
|
|
|
|
padding-right: var(--spacing-m);
|
|
|
|
margin-bottom: var(--spacing-l);
|
|
|
|
height: 4rem;
|
|
|
|
border-bottom-left-radius: var(--card-radius);
|
|
|
|
border-bottom-right-radius: var(--card-radius);
|
|
|
|
border-top-left-radius: var(--card-radius);
|
|
|
|
border-top-right-radius: var(--card-radius);
|
|
|
|
border: 1px solid var(--color-border);
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
padding-left: var(--spacing-m);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-07 04:35:04 +02:00
|
|
|
.tab {
|
2019-07-21 23:31:22 +02:00
|
|
|
@extend .button--link;
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-right: var(--spacing-l);
|
2019-05-07 04:35:04 +02:00
|
|
|
padding: 5px 0;
|
2019-11-22 22:13:00 +01:00
|
|
|
color: var(--color-tab-text);
|
2019-05-07 04:35:04 +02:00
|
|
|
position: relative;
|
2019-11-22 22:13:00 +01:00
|
|
|
font-size: var(--font-body);
|
2019-05-07 04:35:04 +02:00
|
|
|
|
|
|
|
&::after {
|
|
|
|
position: absolute;
|
|
|
|
bottom: calc(var(--tab-indicator-size) * -2);
|
|
|
|
height: 0;
|
|
|
|
width: 100%;
|
|
|
|
content: '';
|
|
|
|
}
|
2019-07-21 23:31:22 +02:00
|
|
|
|
2019-11-22 22:13:00 +01:00
|
|
|
&:focus {
|
|
|
|
box-shadow: none;
|
2019-07-21 23:31:22 +02:00
|
|
|
}
|
2020-06-30 07:51:15 +02:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-xsmall) {
|
2021-06-10 22:24:48 +02:00
|
|
|
margin-right: var(--spacing-s);
|
2020-06-30 07:51:15 +02:00
|
|
|
}
|
2019-05-07 04:35:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab__divider {
|
|
|
|
position: absolute;
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-top: calc(var(--tab-indicator-size) * -1 - var(--spacing-l));
|
2019-05-07 04:35:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab::after,
|
|
|
|
.tab__divider {
|
|
|
|
display: block;
|
|
|
|
transition: all var(--animation-duration) var(--animation-style);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab:hover::after,
|
|
|
|
.tab__divider {
|
|
|
|
height: var(--tab-indicator-size);
|
2019-11-22 22:13:00 +01:00
|
|
|
background-color: var(--color-tab-divider);
|
2019-05-07 04:35:04 +02:00
|
|
|
}
|