packages/fxa-content-server/app/styles/modules/_custom-rows.scss (179 lines of code) (raw):
/* Custom rows */
.description {
font-size: $medium-font;
}
.links {
clear: both;
display: flex;
justify-content: center;
.right {
html[dir='ltr'] & {
margin-left: auto; // Forces the two links as far apart as can be.
}
html[dir='rtl'] & {
margin-right: auto; // Forces the two links as far apart as can be.
}
}
.delayed-fadein {
animation: fadein 1s linear 5s forwards;
opacity: 0;
}
&.centered {
flex-direction: column;
a:not(:only-child) {
margin: 0 auto 12px;
}
}
}
.verification-email-message,
.signed-in-email-message,
.verification-recovery-code-message,
.verification-totp-message,
.verification-message {
color: $text-color;
font-size: 15px;
line-height: 1.5;
word-wrap: break-word;
.email {
display: inline;
font-weight: normal;
}
}
.qr-code-step-message {
color: $text-color;
font-size: 15px;
padding: 0 30px 0 30px;
text-align: left;
word-wrap: break-word;
& .number {
background-color: #0060df;
border-radius: 50%;
color: $color-white;
display: inline-block;
height: 24px;
margin-right: 10px;
padding-top: 3px;
text-align: center;
width: 24px;
}
}
.qr-code-connect-message {
color: $text-color;
font-size: 24px;
font-weight: 400;
line-height: 26px;
}
.customize-sync-row {
color: $link-color-extra;
margin-bottom: 10px !important;
}
.marketing-email-optin-row {
color: $text-color;
font-size: 14px;
margin-top: 20px;
}
.choose-what-to-sync-row,
.checkbox-row,
.marketing-email-optin-row {
html[dir='ltr'] & {
text-align: left;
}
html[dir='rtl'] & {
text-align: right;
}
}
.small-label {
border-radius: $small-border-radius;
color: $grey-90;
font-size: $font-size-body-10;
font-weight: $font-weight-body-10;
height: 16px;
margin: 0 10px;
}
.modal {
.small-label {
margin-left: 1px;
}
}
#permissions {
input[type='checkbox'] {
flex: 0 0 18px;
}
fieldset:not(.hidden) {
border: 0;
display: flex;
height: fit-content;
overflow: hidden;
word-wrap: anywhere;
}
.avatar-wrapper {
height: 50px;
width: 50px;
}
.fxa-checkbox__label {
color: $color-grey-faint-text;
font-size: 14px;
margin-top: 2px;
}
.fxa-checkbox__value {
font-size: 18px;
line-height: 18px;
// email addresses can overflow the label and cause
// the screen to be very wide. Break the addresses.
word-break: break-all;
}
}
.qr-code-container {
margin: 40px 0;
}
.qr-code-text {
font-family: monospace;
font-weight: bold;
}
.push-confirm-login-device {
padding: 15px 0 45px 0;
}
.third-party-auth {
.login-button {
border: 1px solid #b2b2b2;
background-color: white;
font-weight: normal;
&:not(:last-of-type) {
margin-bottom: 12px;
}
&:hover {
border-color: #1a1a1a;
}
.google-logo {
background: url('/images/third_party_auth/google_btn_normal.svg') 50%
no-repeat;
width: 40px;
height: 40px;
}
.apple-logo {
background: url('/images/third_party_auth/apple_btn_normal.svg') 50%
no-repeat;
width: 40px;
height: 40px;
}
}
.separator {
font-weight: 200;
font-size: 16px;
line-height: 14px;
color: #8f8f9d;
display: flex;
align-items: center;
text-align: center;
margin: 32px 0 32px 0;
}
.separator::before,
.separator::after {
content: '';
flex: 1;
border-bottom: 1px solid #919191;
}
.separator:not(:empty)::before {
margin-right: 8px;
}
.separator:not(:empty)::after {
margin-left: 8px;
}
}