185 lines
3.3 KiB
SCSS
185 lines
3.3 KiB
SCSS
.main-wrapper {
|
|
position: relative;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.main-wrapper--mac {
|
|
margin-top: calc(var(--header-height) + var(--mac-titlebar-height));
|
|
}
|
|
|
|
.main-wrapper__inner {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
min-height: calc(100vh - var(--header-height));
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
margin-top: var(--header-height);
|
|
padding: var(--spacing-l); // Unfortunately this is coupled with .claim-preview--tile width calculation
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
|
|
> :first-child {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
padding: var(--spacing-xs);
|
|
padding-top: var(--spacing-m);
|
|
}
|
|
|
|
@media (min-width: $breakpoint-large) {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.main-wrapper__inner--filepage {
|
|
padding: 0;
|
|
padding-top: var(--spacing-s);
|
|
}
|
|
|
|
.main {
|
|
position: relative;
|
|
width: calc(100% - var(--side-nav-width) - var(--spacing-l));
|
|
max-width: var(--page-max-width);
|
|
z-index: 0;
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
|
|
@media (max-width: $breakpoint-medium) and (min-width: $breakpoint-small) {
|
|
margin: 0 var(--spacing-l);
|
|
}
|
|
|
|
@media (max-width: $breakpoint-medium) {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.main--file-page {
|
|
width: 100%;
|
|
max-width: var(--page-max-width--filepage);
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
padding-left: var(--spacing-m);
|
|
padding-right: var(--spacing-m);
|
|
|
|
> :first-child {
|
|
flex: 1;
|
|
margin-right: var(--spacing-m);
|
|
}
|
|
|
|
.file-page__recommended {
|
|
width: 25rem;
|
|
height: 0%;
|
|
|
|
@media (max-width: $breakpoint-medium) {
|
|
width: 100%;
|
|
margin-top: var(--spacing-l);
|
|
}
|
|
}
|
|
|
|
@media (max-width: $breakpoint-medium) {
|
|
flex-direction: column;
|
|
|
|
> :first-child {
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
padding: var(--spacing-xs);
|
|
padding-top: 0;
|
|
}
|
|
}
|
|
|
|
.main--full-width {
|
|
@extend .main;
|
|
|
|
@media (min-width: $breakpoint-large) {
|
|
max-width: none;
|
|
width: 100%;
|
|
padding: 0 var(--spacing-l);
|
|
}
|
|
}
|
|
|
|
.main--auth-page {
|
|
width: 100%;
|
|
max-width: 70rem;
|
|
margin-top: var(--spacing-main-padding);
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.main--buy {
|
|
@extend .main--auth-page;
|
|
max-width: 30rem;
|
|
min-height: 400px;
|
|
|
|
.card {
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
iframe {
|
|
min-height: 420px;
|
|
background-color: var(--color-card-background);
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.sm:bg-grey-lighter {
|
|
background-color: var(--color-card-background);
|
|
}
|
|
}
|
|
|
|
.main--empty {
|
|
align-self: center;
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
margin-top: 100px;
|
|
margin-bottom: 100px;
|
|
text-align: center;
|
|
> .card {
|
|
width: 100%;
|
|
}
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
padding: 0 var(--spacing-m);
|
|
}
|
|
}
|
|
|
|
.main--launching {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
background-color: var(--color-background);
|
|
}
|
|
|
|
.main--contained {
|
|
margin: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
max-width: 50rem;
|
|
text-align: left;
|
|
|
|
& > * {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.main__sign-in,
|
|
.main__sign-up {
|
|
max-width: 27rem;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.main__channel-creation {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
max-width: 32rem;
|
|
}
|