PluginProbe
Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages / 2.4.7
Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages v2.4.7
3.4.2 3.4.1 3.4.0 3.3.9 3.3.8 3.3.7 3.3.6 3.3.5 3.3.4 3.3.3 3.3.2 3.3.1 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.2.7 2.2.8 2.2.9 2.3.0 2.3.1 2.3.2 All 195 releases
convertkit / resources / frontend / css / restrict-content.css

restrict-content.css in Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages 2.4.7, at resources/frontend/css/restrict-content.css

254 lines 6.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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: absolute;
200 z-index: 1000000;
201 width: 100%;
202 height: 100%;
203 top: 0;
204 left: 0;
205 margin: 0;
206 padding: 0;
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: 730px) {
230 #convertkit-restrict-content .convertkit-restrict-content-actions {
231 padding: 10px;
232 }
233 #convertkit-restrict-content input[type=email], #convertkit-restrict-content input[type=text], #convertkit-restrict-content input#convertkit_subscriber_code {
234 width: 100%;
235 }
236 #convertkit-restrict-content-modal {
237 width: 90%;
238 height: auto;
239 left: 5%;
240 padding: 40px;
241 }
242 form#convertkit-restrict-content-form div#convertkit-subscriber-code-container {
243 width: 213px;
244 height: 50px;
245 }
246 form#convertkit-restrict-content-form div#convertkit-subscriber-code-container input#convertkit_subscriber_code {
247 --otp-height: 49px;
248 --otp-number-width: 35px;
249 --otp-letter-spacing: 20px;
250 --otp-text-indent: 10px;
251 --otp-font-size: 25px;
252 }
253 }
254