Merge pull request #10633 from overleaf/ds-login-page-css-new-builds

Add new CSS styling back to `login` and `Home` page

GitOrigin-RevId: da4d9bfd91373de52495e0624ada2a735dca23e4
This commit is contained in:
Davinder Singh 2022-11-30 12:09:58 +00:00 committed by Copybot
parent 9bda93fca0
commit a5f19e6903
3 changed files with 22 additions and 9 deletions

View file

@ -182,7 +182,7 @@
} }
} }
.hp-login-btn { .hp-login-btn when(@is-new-css = false) {
.login-btn; .login-btn;
min-width: 220px; min-width: 220px;
@ -195,6 +195,11 @@
} }
} }
.hp-login-btn when(@is-new-css = true) {
.login-btn;
min-width: 220px;
}
.hp-login-btn-large { .hp-login-btn-large {
.hp-login-btn; .hp-login-btn;

View file

@ -94,14 +94,6 @@
} }
} }
.login-btn {
.btn;
.btn-default;
position: relative;
padding-left: 20px;
padding-right: 0;
}
.login-btn-sharelatex { .login-btn-sharelatex {
background-color: @brand-sharelatex-color; background-color: @brand-sharelatex-color;
&:focus, &:focus,

View file

@ -302,3 +302,19 @@ input[type='button'] {
width: 100%; width: 100%;
} }
} }
.login-btn when(@is-new-css = true) {
.btn;
.btn-secondary;
position: relative;
padding-left: 20px;
padding-right: 0;
}
.login-btn when(@is-new-css = false) {
.btn;
.btn-default;
position: relative;
padding-left: 20px;
padding-right: 0;
}