Merge pull request #22225 from overleaf/ds-register-bs-5-four

BS5 Migration - Migrating Registration page to BS5(4)

GitOrigin-RevId: 89f9158242714dca6fdbe0626a2c2c6e7174a010
This commit is contained in:
M Fahru
2024-12-06 09:06:24 +00:00
committed by Copybot
parent d42ecb46ab
commit 3e0b447bc1
@@ -58,8 +58,66 @@
font-size: var(--font-size-02);
}
}
.tos-agreement-notice {
text-align: left;
}
}
}
.register-illustration-container {
height: 100%;
display: flex;
align-items: center;
position: relative;
.register-illustration {
position: absolute;
left: 80px;
top: 100px;
// for wide screen
@media (width >= 1700px) {
position: relative;
left: unset;
top: unset;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
}
.register-main-image {
max-width: 850px;
@media (width <= 1350px) {
max-width: 750px;
}
@media (width <= 1150px) {
max-width: 670px;
}
}
.sticky-tags {
position: absolute;
height: 210px;
bottom: -135px;
right: 130px;
// for wide screen
@media (width >= 1700px) {
right: calc(50% - 300px);
}
}
}
}
}
.recaptcha-branding {
text-align: left;
padding: var(--spacing-05) 0;
font-size: var(--font-size-01);
}
.registration-block-separator {
@@ -147,6 +205,41 @@
}
}
}
.login-register-text {
padding-bottom: var(--spacing-08);
margin-bottom: 0;
@include body-sm;
}
.login-register-other-links {
padding: var(--spacing-08) 0;
text-align: left;
.login-register-text {
padding-bottom: 0;
}
a {
color: var(--green-50);
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(--green-60);
}
// for accessibility with keyboard navigation
&:focus {
outline: 2px solid var(--green-50);
outline-offset: 1px;
}
}
}
}
.login-register-hr-text-container {