mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Adjusted primary-email-check page styling (#6626)
* Adjusted primary-email-check page styling GitOrigin-RevId: 2f7fee9766cc040cb7d30243f940d8f5c2bf489b
This commit is contained in:
parent
9e30642b32
commit
89f9590823
2 changed files with 17 additions and 27 deletions
|
@ -2,8 +2,8 @@ extends ../layout-marketing
|
||||||
|
|
||||||
block content
|
block content
|
||||||
main.content.content-alt#main-content
|
main.content.content-alt#main-content
|
||||||
.login-register-container.text-center.primary-email-check-container
|
.login-register-container.primary-email-check-container
|
||||||
.card.login-register-card.primary-email-check-card
|
.card.login-register-card
|
||||||
.login-register-header
|
.login-register-header
|
||||||
h1.login-register-header-heading #{translate("keep_your_account_safe")}
|
h1.login-register-header-heading #{translate("keep_your_account_safe")}
|
||||||
.login-register-form(data-ol-multi-submit)
|
.login-register-form(data-ol-multi-submit)
|
||||||
|
@ -17,24 +17,22 @@ block content
|
||||||
input(name='_csrf', type='hidden', value=csrfToken)
|
input(name='_csrf', type='hidden', value=csrfToken)
|
||||||
+formMessages()
|
+formMessages()
|
||||||
|
|
||||||
.primary-email-check-button-container
|
button.btn-primary.btn.btn-block.btn-primary-email-check-button(
|
||||||
button.btn-primary.btn.btn-block.btn-primary-email-check-button(
|
type='submit'
|
||||||
type='submit'
|
data-ol-disabled-inflight
|
||||||
data-ol-disabled-inflight
|
|
||||||
)
|
|
||||||
span(data-ol-inflight="idle") #{translate("yes_that_is_correct")}
|
|
||||||
span(hidden data-ol-inflight="pending") #{translate("confirming")}…
|
|
||||||
|
|
||||||
.primary-email-check-button-container
|
|
||||||
a.btn-default.btn.btn-block.btn-primary-email-check-button(
|
|
||||||
href="/user/settings#add-email"
|
|
||||||
data-ol-slow-link
|
|
||||||
event-tracking="primary-email-check-change-email"
|
|
||||||
event-tracking-mb="true"
|
|
||||||
event-tracking-trigger="click"
|
|
||||||
)
|
)
|
||||||
span(data-ol-inflight="idle") #{translate("no_update_email")}
|
span(data-ol-inflight="idle") #{translate("yes_that_is_correct")}
|
||||||
span(hidden data-ol-inflight="pending") #{translate("redirecting")}…
|
span(hidden data-ol-inflight="pending") #{translate("confirming")}…
|
||||||
|
|
||||||
|
a.btn-default.btn.btn-block.btn-primary-email-check-button(
|
||||||
|
href="/user/settings#add-email"
|
||||||
|
data-ol-slow-link
|
||||||
|
event-tracking="primary-email-check-change-email"
|
||||||
|
event-tracking-mb="true"
|
||||||
|
event-tracking-trigger="click"
|
||||||
|
)
|
||||||
|
span(data-ol-inflight="idle") #{translate("no_update_email")}
|
||||||
|
span(hidden data-ol-inflight="pending") #{translate("redirecting")}…
|
||||||
p
|
p
|
||||||
| #{translate("keep_your_email_updated")}
|
| #{translate("keep_your_email_updated")}
|
||||||
p
|
p
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
.primary-email-check-button-container {
|
|
||||||
padding: 0 @padding-md;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn-primary-email-check-button {
|
.btn-primary-email-check-button {
|
||||||
margin-bottom: @margin-md;
|
margin-bottom: @margin-md;
|
||||||
}
|
}
|
||||||
|
@ -9,7 +5,3 @@
|
||||||
.primary-email-check-container {
|
.primary-email-check-container {
|
||||||
max-width: 420px !important;
|
max-width: 420px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.primary-email-check-card {
|
|
||||||
padding: 0 !important;
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue