lbry-desktop/ui/scss/component/_main.scss
Sean Yesmunt 2677cd17d8
new signin/signup (#3960)
* new signin/signup

* cleanup and password reset

* new flow working

* cleanup

* add 'autoComplete' props

* fix prop

* try to call email/confirm before resetting password

* Dont use password reset token for email confirmation.

* add password reset

* password manager improvements

* update lbryinc

* cleanup

* slightly improve close button on sign up page

* moar fixes

* fix password autofil

Co-authored-by: Mark Beamer Jr <markbeamerjr@gmail.com>
2020-04-13 15:16:07 -04:00

90 lines
1.5 KiB
SCSS

.main-wrapper {
position: relative;
}
.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));
max-width: var(--page-max-width);
margin-left: auto;
margin-right: auto;
margin-top: var(--header-height);
padding: var(--spacing-large);
@media (max-width: $breakpoint-small) {
padding: var(--spacing-small);
}
}
.main {
position: relative;
width: calc(100% - var(--side-nav-width) - var(--spacing-large));
@media (max-width: $breakpoint-small) {
width: 100%;
margin-right: 0;
margin-left: 0;
}
}
.main--auth-page {
max-width: 70rem;
margin-top: var(--spacing-main-padding);
margin-left: auto;
margin-right: auto;
}
.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%;
}
}
.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--full-width {
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;
}