3034f4ce6c
* bring in ody styles; modify; cleanup * workflow * workflow * v0.52.6-alpha.teststyles.1 * fix hook * v0.52.6-alpha.teststyles.2 * style fixes * fix pagination styling * v0.52.6-alpha.teststyles.3 * wallet icon was bad * restore deploy script * fixes * fix player close button * modal inputs * cleanup * cleanup * fix staked indicator * fix profile menu button skel delay * fix view-all-playlists hover * fix overlay buttons on collection page * fix header buttons
108 lines
2.1 KiB
SCSS
108 lines
2.1 KiB
SCSS
.tabs {
|
|
position: relative;
|
|
}
|
|
|
|
.tabs__list {
|
|
display: flex;
|
|
align-items: center;
|
|
background-color: var(--color-tabs-background);
|
|
padding: var(--spacing-m) var(--spacing-main-padding);
|
|
|
|
& > *:not(.tab) {
|
|
// If there is anything after the tabs, render it on the opposite side of the page
|
|
margin-left: auto;
|
|
}
|
|
|
|
.tab {
|
|
&:hover {
|
|
color: var(--color-link);
|
|
}
|
|
}
|
|
}
|
|
|
|
.tabs__list.isSticky {
|
|
z-index: 4;
|
|
}
|
|
|
|
.channel__thumbnail--channel-page.isSticky {
|
|
position: fixed;
|
|
background-color: #b95e5e;
|
|
margin-top: 100px;
|
|
}
|
|
|
|
.tabs__list--channel-page {
|
|
padding-left: calc(var(--channel-thumbnail-width) + var(--spacing-xl));
|
|
padding-right: var(--spacing-m);
|
|
margin-bottom: var(--spacing-l);
|
|
height: 4rem;
|
|
border-bottom-left-radius: var(--border-radius);
|
|
border-bottom-right-radius: var(--border-radius);
|
|
border-top: none;
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
padding-left: var(--spacing-m);
|
|
.tab {
|
|
flex: auto;
|
|
}
|
|
}
|
|
}
|
|
|
|
.tabs__list--channel-page--absolute {
|
|
position: fixed;
|
|
top: var(--header-height);
|
|
z-index: 10;
|
|
width: var(--page-max-width);
|
|
}
|
|
|
|
.tabs__list--collection-edit-page {
|
|
padding-right: var(--spacing-m);
|
|
margin-bottom: var(--spacing-l);
|
|
height: 4rem;
|
|
border-radius: var(--border-radius);
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
padding-left: var(--spacing-m);
|
|
}
|
|
}
|
|
|
|
.tab {
|
|
@extend .button--link;
|
|
margin-right: var(--spacing-l);
|
|
padding: 5px 0;
|
|
color: var(--color-tab-text);
|
|
position: relative;
|
|
font-size: var(--font-body);
|
|
|
|
&::after {
|
|
position: absolute;
|
|
bottom: calc(var(--tab-indicator-size) * -2 + 1px);
|
|
height: 0;
|
|
width: 100%;
|
|
content: '';
|
|
}
|
|
|
|
&:focus {
|
|
box-shadow: none;
|
|
}
|
|
|
|
@media (max-width: $breakpoint-xsmall) {
|
|
margin-right: var(--spacing-s);
|
|
}
|
|
}
|
|
|
|
.tab__divider {
|
|
position: absolute;
|
|
margin-top: calc(var(--tab-indicator-size) * -1 - var(--spacing-l));
|
|
}
|
|
|
|
.tab::after,
|
|
.tab__divider {
|
|
display: block;
|
|
transition: all var(--animation-duration) var(--animation-style);
|
|
}
|
|
|
|
.tab:hover::after,
|
|
.tab__divider {
|
|
height: var(--tab-indicator-size);
|
|
background-color: var(--color-link);
|
|
}
|