File size: 2,892 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 |
@import "@wordpress/base-styles/breakpoints";
@import "@wordpress/base-styles/mixins";
$font-title: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
$font-body: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
$color-white: #fff;
$color-black: #00101c;
$color-gray: #9ea4a8;
$color-light-gray: #e7e9ea;
$color-blue: #1d4fc4;
$color-light-blue: #399ce3;
$color-dark-blue: #163d98;
.gravatar-step-wrapper {
background-color: $color-light-gray;
padding: 0 20px 36px;
.gravatar-step-wrapper__innder {
font-family: $font-body;
display: flex;
flex-direction: column;
max-width: 560px;
margin: 0 auto;
padding: 20px 30px;
background-color: $color-white;
color: $color-black;
border-radius: 2px;
box-sizing: border-box;
a {
color: $color-blue;
}
}
.gravatar-step-wrapper__header {
font-family: $font-title;
font-size: 24px;
/* stylelint-disable-next-line scales/font-weights */
font-weight: 900;
line-height: 1.2;
margin: 32px 0 24px;
}
.gravatar-step-wrapper__sub-header {
margin-bottom: 24px;
}
.logged-out-form {
max-width: none;
margin: 0;
padding: 0;
box-shadow: none;
}
// Hide the label, but keep it for accessibility
.form-label {
position: absolute;
clip: rect(0 0 0 0);
}
input[type="email"].signup-form__passwordless-email {
font-family: $font-body;
padding: 14px 16px;
border-color: $color-gray;
line-height: 1.5;
&::placeholder {
color: $color-gray;
}
}
.form-input-validation {
padding-top: 15px;
padding-bottom: 0;
}
.signup-form__terms-of-service-link {
margin: 32px 0 20px;
font-size: 13px;
color: rgba($color-black, 0.6);
}
.logged-out-form__footer {
margin: 0;
padding: 0;
}
.button.is-primary {
font-family: $font-body;
background-color: $color-blue;
padding: 10px 16px;
border: 0;
font-size: 1rem;
font-weight: 600;
&:hover,
&:focus {
background-color: $color-dark-blue;
}
&:focus {
box-shadow: 0 0 0 2px $color-light-blue;
}
&.is-busy {
background-image: linear-gradient(-45deg, $color-blue 28%, $color-dark-blue 28%, $color-dark-blue 72%, $color-blue 72%);
}
}
.gravatar-step-wrapper__divider {
background-color: $color-light-gray;
width: 80px;
margin: 32px 0 20px;
}
.gravatar-step-wrapper__footer {
display: flex;
flex-direction: column;
gap: 16px;
font-size: 15px;
line-height: 1;
a {
text-decoration: underline;
}
}
@include break-small {
.gravatar-step-wrapper__innder {
padding: 40px 56px;
}
.gravatar-step-wrapper__header {
font-size: 40px;
margin-top: 48px;
}
.signup-form__terms-of-service-link {
margin-top: 44px;
}
.gravatar-step-wrapper__divider {
margin-top: 48px;
}
}
}
|