diff --git a/services/web/public/img/other-brands/logo_google_alt.svg b/services/web/public/img/other-brands/logo_google_alt.svg new file mode 100644 index 0000000000..3c7a7228ae --- /dev/null +++ b/services/web/public/img/other-brands/logo_google_alt.svg @@ -0,0 +1 @@ +Shape-Copy \ No newline at end of file diff --git a/services/web/public/img/other-brands/logo_orcid_alt.svg b/services/web/public/img/other-brands/logo_orcid_alt.svg new file mode 100644 index 0000000000..82affd04de --- /dev/null +++ b/services/web/public/img/other-brands/logo_orcid_alt.svg @@ -0,0 +1 @@ +Asset 1 \ No newline at end of file diff --git a/services/web/public/stylesheets/app/homepage.less b/services/web/public/stylesheets/app/homepage.less index 784eb1d6d0..f1e943de31 100644 --- a/services/web/public/stylesheets/app/homepage.less +++ b/services/web/public/stylesheets/app/homepage.less @@ -1,3 +1,5 @@ +@register-v-spacing: 20px; + .deprecated-sl-masthead { display: inline-block; margin-top: @header-height; @@ -73,7 +75,7 @@ .register-banner { background-image: -webkit-linear-gradient(top,rgba(0,0,0,0.7),rgba(0,0,0,0.9)); background-image: linear-gradient(to bottom,rgba(0,0,0,0.7),rgba(0,0,0,0.9)); - padding: @line-height-computed 0; + padding: @register-v-spacing 0; position: absolute; bottom: 0; width: 100%; @@ -83,13 +85,17 @@ font-family: @font-family-sans-serif; font-weight: 500; letter-spacing: 1px; + margin-bottom: @register-v-spacing; } .form-group { margin-left: @line-height-computed / 2; } + .input-lg { + border-radius: 9999px; + } } .screenshot { - height: 550px; + height: 600px; margin: auto; margin-bottom: -50px; overflow-y: hidden; @@ -119,6 +125,39 @@ float: left; } } + +.hp-register-external-separator { + margin: 0 0 (@register-v-spacing / 2); + color: #FFF; +} + + .hp-register-external-separator-or { + vertical-align: middle; + &::before, + &::after { + content: ""; + display: inline-block; + vertical-align: middle; + width: 5em; + height: 1px; + background-color: rgba(255, 255, 255, .3); + } + &::before { + margin-right: 1.25em; + } + &::after { + margin-left: 1.25em; + } + } + +.hp-register-newsletter-checkbox { + font-size: 90%; +} + +.hp-login-btn { + min-width: 220px; +} + @media only screen and (max-width: @screen-sm-max) { .masthead { .btn-hero { diff --git a/services/web/public/stylesheets/app/login-register.less b/services/web/public/stylesheets/app/login-register.less index 411e8d44ba..95b762e31c 100644 --- a/services/web/public/stylesheets/app/login-register.less +++ b/services/web/public/stylesheets/app/login-register.less @@ -4,15 +4,34 @@ @brand-orcid-color : #A6CE39; @brand-sharelatex-color : #A93529; -.make-login-register-brand-btn(@color) { - background-color: @color; +.make-login-register-brand-btn(@bg-color) { + background-color: @bg-color; text-indent: -10px; + padding-left: 0; + padding-right: 0; &:focus, &:hover { - background-color: darken(@color, 8%); + background-color: darken(@bg-color, 8%); } &:active { - background-color: darken(@color, 16%); + background-color: darken(@bg-color, 16%); + } +} + +.make-login-register-brand-btn-alt(@color) { + background-color: #FFF; + color: @color; + text-indent: -10px; + padding-left: 0; + padding-right: 0; + &:focus, + &:hover { + background-color: #FFF; + color: darken(@color, 8%); + } + &:active { + background-color: #FFF; + color: darken(@color, 16%); } } @@ -109,6 +128,10 @@ .make-login-register-brand-btn(@brand-google-color); } + .login-btn-google-alt { + .make-login-register-brand-btn-alt(@brand-google-color); + } + .login-btn-twitter { .make-login-register-brand-btn(@brand-twitter-color); } @@ -117,6 +140,10 @@ .make-login-register-brand-btn(@brand-orcid-color); } + .login-btn-orcid-alt { + .make-login-register-brand-btn-alt(darken(@brand-orcid-color, 6%)); + } + .login-btn-sharelatex { .make-login-register-brand-btn(@brand-sharelatex-color); } @@ -137,12 +164,18 @@ .login-btn-icon-google { background-image: url(/img/other-brands/logo_google.svg); } + .login-btn-icon-google-alt { + background-image: url(/img/other-brands/logo_google_alt.svg); + } .login-btn-icon-twitter { background-image: url(/img/other-brands/logo_twitter.svg); } .login-btn-icon-orcid { background-image: url(/img/other-brands/logo_orcid.svg); } + .login-btn-icon-orcid-alt { + background-image: url(/img/other-brands/logo_orcid_alt.svg); + } .login-btn-icon-sharelatex { background-image: url(/img/other-brands/logo_sharelatex.svg); }