| 1 |
/* Resets and typography */ |
| 2 |
#convertkit-restrict-content *, |
| 3 |
#convertkit-restrict-content-modal * { |
| 4 |
box-sizing: border-box; |
| 5 |
} |
| 6 |
#convertkit-restrict-content h3, |
| 7 |
#convertkit-restrict-content-modal h3 { |
| 8 |
margin: 0 0 20px 0; |
| 9 |
padding: 0; |
| 10 |
font-size: 24px; |
| 11 |
line-height: 40px; |
| 12 |
font-style: normal; |
| 13 |
} |
| 14 |
#convertkit-restrict-content h4, |
| 15 |
#convertkit-restrict-content-modal h4 { |
| 16 |
margin: 0 0 5px 0; |
| 17 |
padding: 0; |
| 18 |
font-size: 18px; |
| 19 |
line-height: 30px; |
| 20 |
font-style: normal; |
| 21 |
} |
| 22 |
#convertkit-restrict-content p, |
| 23 |
#convertkit-restrict-content-modal p { |
| 24 |
margin: 0 0 20px 0; |
| 25 |
padding: 0; |
| 26 |
font-size: 16px; |
| 27 |
line-height: 28px; |
| 28 |
} |
| 29 |
#convertkit-restrict-content small, |
| 30 |
#convertkit-restrict-content-modal small { |
| 31 |
display: block; |
| 32 |
font-size: 13px; |
| 33 |
line-height: 22px; |
| 34 |
color: #111; |
| 35 |
} |
| 36 |
|
| 37 |
/* Overlay */ |
| 38 |
#convertkit-restrict-content { |
| 39 |
width: 100%; |
| 40 |
background: #f6f8fa; |
| 41 |
color: #373f45; |
| 42 |
margin: 30px auto; |
| 43 |
padding: 40px; |
| 44 |
text-align: center; |
| 45 |
box-sizing: border-box; |
| 46 |
border-radius: 8px; |
| 47 |
} |
| 48 |
|
| 49 |
/* Actions */ |
| 50 |
#convertkit-restrict-content .convertkit-product a { |
| 51 |
display: inline-block; |
| 52 |
text-decoration: none; |
| 53 |
height: 42px; |
| 54 |
line-height: 42px; |
| 55 |
font-size: 15px; |
| 56 |
margin: 0; |
| 57 |
padding: 0 20px !important; |
| 58 |
border: none; |
| 59 |
border-radius: 3px; |
| 60 |
} |
| 61 |
|
| 62 |
/* Notices */ |
| 63 |
.convertkit-restrict-content-notice { |
| 64 |
display: inline-block; |
| 65 |
margin: 0 0 20px 0; |
| 66 |
padding: 0 0 0 30px; |
| 67 |
color: #d3434a; |
| 68 |
font-size: 12px; |
| 69 |
line-height: 24px; |
| 70 |
font-weight: 400; |
| 71 |
background-image: url(../images/error.svg); |
| 72 |
background-repeat: no-repeat; |
| 73 |
background-size: 24px 24px; |
| 74 |
} |
| 75 |
|
| 76 |
|
| 77 |
/* Buttons */ |
| 78 |
form#convertkit-restrict-content-form input[type=submit] { |
| 79 |
height: 42px; |
| 80 |
line-height: 42px; |
| 81 |
font-size: 15px; |
| 82 |
margin: 0; |
| 83 |
padding: 0 20px !important; |
| 84 |
border: none; |
| 85 |
border-radius: 3px; |
| 86 |
} |
| 87 |
|
| 88 |
/* Email input with inline button */ |
| 89 |
form#convertkit-restrict-content-form div#convertkit-restrict-content-email-field { |
| 90 |
display: grid; |
| 91 |
grid-template-areas: "email button"; |
| 92 |
grid-template-columns: 3fr 1fr; |
| 93 |
grid-column-gap: 5px; |
| 94 |
text-align: left; |
| 95 |
max-width: 500px; |
| 96 |
height: 56px; |
| 97 |
margin: 0 auto 20px auto; |
| 98 |
padding: 6px 10px; |
| 99 |
background-image: url(../images/email.svg); |
| 100 |
background-repeat: no-repeat; |
| 101 |
background-color: #fff; |
| 102 |
background-size: 15px 15px; |
| 103 |
background-position: 18px 20px; |
| 104 |
border: 1px solid #fff; |
| 105 |
border-radius: 3px; |
| 106 |
} |
| 107 |
form#convertkit-restrict-content-form div#convertkit-restrict-content-email-field.convertkit-restrict-content-error { |
| 108 |
border-color: #d3434a; |
| 109 |
} |
| 110 |
form#convertkit-restrict-content-form div#convertkit-restrict-content-email-field input[type=email] { |
| 111 |
grid-area: email; |
| 112 |
text-indent: 35px; |
| 113 |
height: 42px; |
| 114 |
line-height: 42px; |
| 115 |
margin: 0; |
| 116 |
padding: 0; |
| 117 |
font-size: 15px; |
| 118 |
background: none; |
| 119 |
border: none; |
| 120 |
} |
| 121 |
form#convertkit-restrict-content-form div#convertkit-restrict-content-email-field input[type=submit] { |
| 122 |
grid-area: button; |
| 123 |
} |
| 124 |
|
| 125 |
/* One time code */ |
| 126 |
form#convertkit-restrict-content-form div#convertkit-subscriber-code-container { |
| 127 |
width: 427px; |
| 128 |
height: 100px; |
| 129 |
border: 1px solid #dce1e5; |
| 130 |
border-radius: 4px; |
| 131 |
margin: 0 auto 20px auto; |
| 132 |
overflow: hidden; |
| 133 |
background: #dce1e5; |
| 134 |
} |
| 135 |
form#convertkit-restrict-content-form div#convertkit-subscriber-code-container.convertkit-restrict-content-error { |
| 136 |
border-color: #d3434a; |
| 137 |
} |
| 138 |
form#convertkit-restrict-content-form div#convertkit-subscriber-code-container input#convertkit_subscriber_code { |
| 139 |
--otp-digits: 6; |
| 140 |
--otp-height: 98px; |
| 141 |
--otp-number-width: 70px; |
| 142 |
--otp-letter-spacing: 41px; |
| 143 |
--otp-text-indent: 20px; |
| 144 |
--otp-border-color: #dce1e5; |
| 145 |
--otp-text-color: #697177; |
| 146 |
--otp-font-size: 50px; |
| 147 |
--_otp-digit: 0; |
| 148 |
all: unset; |
| 149 |
text-align: left; |
| 150 |
margin: 0; |
| 151 |
padding: 0; |
| 152 |
background: |
| 153 |
linear-gradient(90deg, #dce1e5 var(--otp-number-width), transparent 0), |
| 154 |
linear-gradient(90deg, #fff var(--otp-number-width), transparent 0); |
| 155 |
background-position: calc(var(--_otp-digit) * (calc(var(--otp-number-width) + 1px))) 0, 0 0; |
| 156 |
background-repeat: no-repeat, repeat-x; |
| 157 |
background-size: calc(var(--otp-number-width) + 1px) 100%; |
| 158 |
inline-size: calc(var(--otp-digits) * calc(var(--otp-number-width) + 1px)); |
| 159 |
letter-spacing: var(--otp-letter-spacing); |
| 160 |
text-indent: var(--otp-text-indent); |
| 161 |
width: calc((var(--otp-number-width) * var(--otp-digits)) + var(--otp-digits)); |
| 162 |
height: var(--otp-height); |
| 163 |
color: var(--otp-text-color); |
| 164 |
font-size: var(--otp-font-size); |
| 165 |
font-family: monospace; |
| 166 |
font-weight: 400; |
| 167 |
} |
| 168 |
|
| 169 |
/* Modal */ |
| 170 |
#convertkit-restrict-content-modal-background { |
| 171 |
display: none; |
| 172 |
position: fixed; |
| 173 |
width: 100%; |
| 174 |
height: 100%; |
| 175 |
z-index: 999998; |
| 176 |
top: 0; |
| 177 |
left: 0; |
| 178 |
background: rgba(9, 13, 22, 0.8); |
| 179 |
} |
| 180 |
#convertkit-restrict-content-modal { |
| 181 |
box-sizing: border-box; |
| 182 |
display: none; |
| 183 |
position: fixed; |
| 184 |
z-index: 999999; |
| 185 |
width: 730px; |
| 186 |
height: 328px; |
| 187 |
top: calc(50% - 164px); |
| 188 |
left: calc(50% - 365px); |
| 189 |
margin: 0; |
| 190 |
padding: 80px 115px; |
| 191 |
background: #fff; |
| 192 |
border: 1px solid #fff; |
| 193 |
border-radius: 8px; |
| 194 |
text-align: center; |
| 195 |
} |
| 196 |
#convertkit-restrict-content-modal-loading { |
| 197 |
box-sizing: border-box; |
| 198 |
display: none; |
| 199 |
position: fixed; |
| 200 |
z-index: 1000000; |
| 201 |
width: 730px; |
| 202 |
height: 328px; |
| 203 |
top: calc(50% - 164px); |
| 204 |
left: calc(50% - 365px); |
| 205 |
margin: 0; |
| 206 |
padding: 80px 115px; |
| 207 |
background: url(../images/spinner.gif) center no-repeat rgba(255, 255, 255, 0.8); |
| 208 |
border: none; |
| 209 |
border-radius: 8px; |
| 210 |
text-align: center; |
| 211 |
} |
| 212 |
#convertkit-restrict-content-modal form#convertkit-restrict-content-form div#convertkit-restrict-content-email-field { |
| 213 |
background-color: #f4f6f8; |
| 214 |
} |
| 215 |
#convertkit-restrict-content-modal-close { |
| 216 |
position: absolute; |
| 217 |
top: 25px; |
| 218 |
right: 25px; |
| 219 |
text-indent: -9999px; |
| 220 |
background-image: url(../images/cross.svg); |
| 221 |
background-repeat: no-repeat; |
| 222 |
background-size: 12px 12px; |
| 223 |
background-color: transparent; |
| 224 |
border: none; |
| 225 |
cursor: pointer; |
| 226 |
} |
| 227 |
|
| 228 |
/* Responsive */ |
| 229 |
@media screen and (max-width: 450px) { |
| 230 |
#convertkit-restrict-content { |
| 231 |
padding: 0; |
| 232 |
} |
| 233 |
#convertkit-restrict-content .convertkit-restrict-content-actions { |
| 234 |
padding: 10px; |
| 235 |
} |
| 236 |
#convertkit-restrict-content input[type=email], #convertkit-restrict-content input[type=text], #convertkit-restrict-content input#convertkit_subscriber_code { |
| 237 |
width: 100%; |
| 238 |
} |
| 239 |
} |
| 240 |
|