@brand-ieee-color: #00629b; @brand-google-color: #276fea; // Not the "official" color but modified for a11y @brand-twitter-color: #1da1f2; @brand-orcid-color: #a6ce39; .login-register-alternatives { .form-group:last-child { margin-bottom: 0; } } .login-register-container { max-width: 400px; margin: 0 auto; padding-bottom: @line-height-computed * 5; } .login-register-header { padding-top: @line-height-computed; padding-bottom: @line-height-computed - 5; border-bottom: solid 1px @hr-border; } .login-register-header-heading { margin: 0; color: @text-color; } .login-register-card { padding-top: 0; padding-bottom: 0; text-align: center; } .login-register-form { padding: @line-height-computed; border-bottom: solid 1px @hr-border; &:last-child { border-bottom-width: 0; } } .login-register-other-links { padding: @line-height-computed; } .login-register-text, .login-register-hr-text-container { margin: 0; } .login-register-text { padding-bottom: 25px; font-size: 90%; &:last-child { padding-bottom: 0; } } .login-register-hr-text-container { line-height: 1; position: relative; padding: @line-height-computed 0; &::before { content: ''; position: absolute; height: 1px; background-color: @hr-border; top: 50%; left: 0; right: 0; } } .login-register-hr-text { position: relative; background-color: #fff; padding: 0 (@line-height-computed / 2); } .login-register-newsletter { font-size: 90%; margin-top: @line-height-computed; text-align: left; & > .checkbox { margin-bottom: 0; } } .login-btn-icon { position: absolute; top: 4px; left: 4px; background: #fff url(../../../public/img/brand/lion.svg) center/20px no-repeat; border-radius: 99999px; width: 26px; height: 26px; &::before { content: '\00a0'; // Non-breakable space. A non-breakable character here makes this icon work like font-awesome. } } .login-btn-icon-ieee { background-image: url(../../../public/img/other-brands/logo_ieee.svg); } .login-btn-icon-google { background-image: url(../../../public/img/other-brands/logo_google.svg); } .login-btn-icon-twitter { background-image: url(../../../public/img/other-brands/logo_twitter.svg); } .login-btn-icon-orcid { background-image: url(../../../public/img/other-brands/logo_orcid.svg); } .login-btn-icon-institution { background-image: url(../../../public/img/other-brands/logo_institution.svg); } .registration-message-heading { color: @text-color; } .registration-message-details { font-size: 90%; } .registration-block-separator { margin-bottom: 0px; } .website-redesign { .login-register-container { max-width: 320px; } .login-overleaf-logo-container { padding: 15px; width: 65px; display: flex; justify-content: center; align-items: center; .login-overleaf-logo { width: 35px; } @media (max-width: @screen-xs-max) { margin-top: @margin-lg; } } .login-register-text { font-size: 0.875rem; line-height: 1.4; text-align: left; &.login-register-text-center { text-align: center; } } .login-register-other-links { padding: @line-height-computed 0; a { color: var(--emerald-green); text-decoration: underline; // text-decoration-;skip-ink is for letter with descender (like 'g' and 'y') // this will force underline to not skip the descender text-decoration-skip-ink: none; &:hover { color: var(--emerald-green-dark); } // for accessibility with keyboard navigation &:focus { outline: 2px solid var(--emerald-green); outline-offset: 1px; } } } .login-btn { display: flex; align-items: center; justify-content: center; padding: 4px 0; } .login-btn-icon { position: relative; top: unset; left: unset; background: unset; border-radius: unset; width: 20px; height: 20px; margin-right: 5px; &::before { content: unset; } } .form-group { text-align: left; position: relative; label { font-size: @font-size-small; } } .form-group-password { display: flex; position: relative; input.form-control { padding-right: 35px; } .visibility-toggle { position: absolute; right: 0; top: 0; width: @input-height-base; height: @input-height-base; display: flex; align-items: center; justify-content: center; border: unset; background-color: unset; #visibility-icon-off { margin-top: 2px; // workaround for the icon not having the same center as the non-slashed one } } } .form-group-password-input { display: flex; flex-direction: column; width: 100%; } }