-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
522 lines (499 loc) · 12.6 KB
/
style.css
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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
/**
* Theme Name: Exterior Door
* Description: Twenty Twenty Four child theme for InventoryPresser.com
* Author: Corey Salzano
* Author URI: https://github.com/csalzano
* Theme URI: https://inventorypresser.com
* Template: twentytwentyfour
* Version: 1.1.5
* License: GNU General Public License v2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
* GitHub Theme URI: https://github.com/fridaysystems/exteriordoor
* Primary Branch: main
*/
body{
overflow-x: hidden;
}
main :where(body .is-layout-flex) {
gap: 0;
}
h2.wp-block-heading,
h3.wp-block-heading{
margin-block-start: 1.75em;
}
/* Bug fix, see https://wordpress.org/support/topic/wp-6-2-gutenberg-ul-has-background-sometimes-appears-and-sometimes-doesnt/ */
ol.has-background, ul.has-background {
padding: 0 !important;
}
@media (max-width:600px){
/* Header on mobile */
/* Gap between icon and logo */
.header-col-logo .wp-block-group{
gap: .6rem;
}
/* Hide social icons on mobile */
.header-col-wrap {
max-width: 90%;
margin: 0 auto;
}
body .is-layout-flex.wp-block-social-links{
display: none;
}
.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column.header-col-logo{
flex-basis: 84% !important;
}
.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column.header-col-nav{
flex-basis: 5% !important;
padding-right: 1em
}
/* Header on mobile end*/
/* Button padding on mobile */
.wp-block-button .wp-block-button__link,
a.edd_go_to_checkout,
a.edd_cart_remove_item_btn,
a#edd-save-cart-button,
button#edd_sl_show_renewal_form,
#edd-purchase-button.button,
.gform_button.button{
padding-left: 1.2em;
padding-right: 1.2em;
}
}
/* Slant top below header on home page, .page-id-6576 */
body.home main::before{
content: "";
width: 0;
height: 0;
left: 0;
bottom: 272px;
position: relative;
border-style: solid;
border-width: 0 0 250px 100vw;
border-color: transparent transparent var(--wp--preset--color--base) transparent;
z-index: 2;
}
@media (max-width:800px){
body.home main::before{
bottom: 72px;
border-width: 0 0 50px 100vw;
}
}
/* Make sure the header doesn't fall behind the main::before slant */
.wp-block-cover.home-header{
z-index: 3;
}
span.wp-block-cover__background.has-base-2-background-color{
background-color: unset !important;
}
.home .entry-content{
background: #fff;
}
.home main{
background: var(--wp--preset--color--base);
margin-block-start: 0;
}
/* Slants for FAQ section on home page */
/* Slant FAQ top */
.group-faq::before{
content: "";
width: 0;
height: 0;
left: -103px;
bottom: 270px;
position: relative;
border-style: solid;
border-width: 0 0 250px 100vw;
border-color: transparent transparent #142F73 transparent;
z-index: 2;
}
@media (max-width:1300px){
.group-faq::before{
left: -70px;
bottom: 172px;
border-width: 0 0 150px 100vw;
}
}
@media (max-width:800px){
.group-faq::before{
left: -60px;
bottom: 172px;
border-width: 0 0 150px 105vw;
}
}
@media (max-width:460px){
.group-faq::before{
left: -28px;
bottom: 95px;
border-width: 0 0 75px 100vw;
}
}
/* Slant FAQ bottom */
.group-faq::after{
content: "";
width: 0;
height: 0;
left: -100px;
bottom: 247px;
position: relative;
border-style: solid;
border-width: 0 0 250px 100vw;
border-color: transparent transparent #F9F9F9 transparent;
z-index: 2;
}
@media (max-width:1060px){
.group-faq::after{
left: -60px;
bottom: 45px;
border-width: 0 0 50px 100vw;
}
}
@media (max-width:600px){
.group-faq::after{
left: -28px;
}
}
/* Slant on top of the footer */
footer::before{
content: "";
width: 0;
height: 0;
left: 0;
bottom: 247px;
position: relative;
border-style: solid;
border-width: 0 0 250px 100vw;
border-color: transparent transparent #fff transparent;
z-index: 2;
}
@media (max-width:1480px){
footer::before{
bottom: 47px;
border-width: 0 0 50px 100vw;
}
footer > div > div{
padding-top: 3em;
}
}
/* Last spacer on home page */
.wp-block-spacer.last-spacer{
margin-block-start: 0;
background-color: var(--wp--preset--color--base);
}
/* Three features on home page */
.three-features .wp-block-column .wp-block-group{
padding: 4em 2em;
}
.three-features .wp-block-column ol{
margin-block-start: 1.2rem;
}
/* Tables */
.wp-block-table table,
table#uses-table,
table#used-by-table,
.edd-table {
background: none;
}
.wp-block-table td,
table#uses-table td,
table#used-by-table td,
.edd-table td {
background-color: var(--wp--preset--color--base-2);
border-color: var(--wp--preset--color--accent);
}
/* wp-parser related uses tables */
/* EDD cart, Purchase History page purchases table */
.edd-table,
table#uses-table,
table#used-by-table {
border-collapse: collapse;
width: 100%;
}
.edd-table th,
table#uses-table th,
table#used-by-table th {
text-align: left;
padding: .5em
}
.edd-table td,
table#uses-table td,
table#used-by-table td {
border: 1px solid #e0e0e0;
padding: .5em
}
.edd-table#edd_sl_license_keys,
form#edd_sl_license_add_site_form{
margin-bottom: 15em;
}
td.edd_cart_item_price{
text-align: right;
}
td.edd_cart_actions{
text-align: center;
}
form#edd_profile_editor_form legend{
margin-top: 1em;
font-size: 28pt;
font-weight: bold;
}
form#edd_profile_editor_form fieldset{
border: 1px solid #e0e0e0;
}
form#edd_profile_editor_form label {
display: inline-block;
width: 10em;
}
form#edd_profile_editor_form fieldset#edd_profile_submit_fieldset{
border: 0;
}
#edd_profile_submit_wrap{
text-align: right;
}
/* Order line items */
#edd_checkout_cart tfoot th{
text-align: left;
}
#edd_checkout_cart tfoot th span{
float: right;
}
/* Remove needless outlines around button containers */
#edd_purchase_submit,
#edd_checkout_form_wrap fieldset#edd_sl_renewal_fields,
#edd_discount_code {
border: none;
}
/* Don't stack the order line items and subtotals so tightly */
tr.edd_cart_item,
#edd-save-cart-button{
line-height: 5em;
}
.edd_cart_footer_row{
line-height: 2em;
}
/* Hide visa mastercard etc logos */
.edd-payment-icons{
display: none;
}
/* Select Payment Method */
fieldset#edd_payment_mode_select,
fieldset#edd_checkout_user_info,
fieldset#edd_cc,
fieldset#edd_register_account_fields{
border: none;
padding: 1em 0 2em;
}
fieldset#edd_register_account_fields,
fieldset#edd_register_fields{
border: none;
}
fieldset#edd_register_fields{
padding: 0;
}
fieldset#edd_payment_mode_select legend,
fieldset#edd_checkout_user_info legend,
fieldset#edd_cc legend,
fieldset#edd_register_account_fields legend{
font-size: 200%;
font-weight: bold;
}
/* Credit Card, PayPal radios */
#edd-payment-mode-wrap,
#edd-email-wrap,
#edd-first-name-wrap,
#edd-last-name-wrap,
#edd-user-login-wrap,
#edd-user-pass-wrap,
#edd-user-pass-confirm-wrap{
padding-left: 1em;
}
/* Don't show a big checkmark after adding something to the cart */
.edd-cart-added-alert .edd-icon-check {
display: none;
}
/* Style EDD & GF buttons like the theme does */
:root {
--gradient-color-1: rgb(4,144,225);
--gradient-color-2: rgb(69,205,247);
--gradient-color-1-hover: rgb(4, 225, 194);
}
.edd-add-to-cart.button,
.edd_errors.edd-gateway-fortis p.edd_error input[type="button"],
#edd-purchase-button.button,
button#edd_sl_show_renewal_form,
#edd_profile_editor_submit,
#edd_sl_license_add_site_form .button-primary,
.gform_button.button{
background: linear-gradient(135deg,var(--gradient-color-1) 0%,var(--gradient-color-2) 100%);
color: var(--wp--preset--color--base-2);
font-family: var(--wp--preset--font-family--system-sans-serif);
border-radius: 35px;
border-top-style: none;
border-top-width: 0px;
border-right-style: none;
border-right-width: 0px;
border-bottom-style: none;
border-bottom-width: 0px;
border-left-style: none;
border-left-width: 0px;
padding-top: 0.5rem;
padding-right: var(--wp--preset--spacing--20);
padding-bottom: 0.5rem;
padding-left: var(--wp--preset--spacing--20);
font-size: var(--wp--preset--font-size--medium);
}
/* Hover button gradients */
.edd-add-to-cart.button:hover:enabled,
.edd_errors.edd-gateway-fortis p.edd_error input[type="button"]:hover:enabled,
#edd-purchase-button.button:hover:enabled,
a.edd_cart_remove_item_btn:hover:enabled,
button#edd_sl_show_renewal_form:hover:enabled,
a#edd-save-cart-button:hover:enabled,
#edd_profile_editor_submit:hover:enabled,
#edd_sl_license_add_site_form .button-primary:hover:enabled,
.gform_button.button:hover:enabled,
a.edd_go_to_checkout:hover:enabled {
--gradient-color-1: var(--gradient-color-1-hover);
}
/* Hover button gradients for most buttons and the search block */
.wp-block-button__link:hover:enabled,
.wp-block-search__button:hover:enabled{
background: linear-gradient(135deg,var(--gradient-color-1-hover) 0%,var(--gradient-color-2) 100%);
}
a.edd_go_to_checkout,
a.edd_cart_remove_item_btn,
a#edd-save-cart-button {
background: linear-gradient(135deg,var(--gradient-color-1) 0%,var(--gradient-color-2) 100%);
color: var(--wp--preset--color--base-2);
font-family: var(--wp--preset--font-family--system-sans-serif);
border-radius: 35px;
padding-top: 0.5rem;
padding-right: var(--wp--preset--spacing--20);
padding-bottom: 0.5rem;
padding-left: var(--wp--preset--spacing--20);
text-decoration: none;
font-weight: normal;
}
/* Fade disabled buttons */
.edd-add-to-cart.button:disabled,
.edd_errors.edd-gateway-fortis p.edd_error input[type="button"]:disabled,
#edd-purchase-button.button:disabled,
button#edd_sl_show_renewal_form:disabled,
#edd_profile_editor_submit:disabled,
#edd_sl_license_add_site_form .button-primary:disabled,
.gform_button.button:disabled {
opacity: .55;
}
/* wAppointment */
.wbtn-secondary.wbtn:not(.wbtn-disabled),
.wbtn-primary.wbtn:not(.wbtn-disabled){
background: linear-gradient(135deg,var(--gradient-color-1) 0%,var(--gradient-color-2) 100%) !important;
color: var(--wp--preset--color--base-2) !important;
font-family: var(--wp--preset--font-family--system-sans-serif);
border-radius: 35px !important;
border-top-style: none;
border-top-width: 0px;
border-right-style: none;
border-right-width: 0px;
border-bottom-style: none;
border-bottom-width: 0px;
border-left-style: none;
border-left-width: 0px;
padding-top: 0.5rem;
padding-right: var(--wp--preset--spacing--20);
padding-bottom: 0.5rem;
padding-left: var(--wp--preset--spacing--20);
font-size: var(--wp--preset--font-size--medium) !important;
}
.wbtn-secondary.wbtn:not(.wbtn-disabled):hover,
.wbtn-primary.wbtn:not(.wbtn-disabled):hover{
--gradient-color-1: var(--gradient-color-1-hover);
}
.wap-head,
.step-BookingCalendar .appointment-summary{
display: none !important;
}
.wap-front .wap-form-body{
max-height: none !important;
margin-top: 0 !important;
}
.wap-front .has-scroll .wap-form-body{
overflow-x: visible !important;
overflow-y: visible !important;
}
.wap-bf.show{
box-shadow: none !important;
}
.wap-front .wrap-calendar.step-BookingCalendar .slotsPane{
overflow-y: visible !important;
max-height: none !important;
}
.large-version .wap-wid,
.wap-wid{
max-width: none !important;
}
.wap-front .slotsPane,
.wap-front .wbtn.wbtn-secondary{
box-shadow: none !important;
}
/* wAppointment */
/* EDD pricing options radio buttons lists near Add to Cart buttons */
.edd_download_purchase_form .edd_price_options ul {
list-style: none;
}
.edd_download_purchase_form .edd_price_options li {
line-height: 200%;
}
/* EDD Create account field inputs */
#edd_checkout_user_info .edd-description,
#edd_checkout_login_register .edd-description,
#edd_cc_address .edd-description,
#edd_cc_fields .edd-description{
display: none;
}
#edd_checkout_user_info label,
#edd_checkout_login_register label{
display: inline-block;
width: 130px;
}
#edd_cc_address label{
display: inline-block;
width: 250px;
}
/* EDD radio buttons for ( ) Credit Card ( ) Paypal */
#edd-payment-mode-wrap label{
padding-right: 1em;
}
#edd-payment-mode-wrap label input {
margin-right: .5em;
}
/* Plugins page packages/bundles section */
.group-full-width .edd_purchase_submit_wrapper{
text-align: center;
}
/* Full width stripe more list item spacing */
.group-full-width ul li {
line-height: 2em;
}
/* Super list block items like the Divi Setup Guide */
.wp-block-createwithrani-superlist-item::marker{
font-size: 200%;
}
.wp-block-createwithrani-superlist-item h2,
.wp-block-createwithrani-superlist-item h3,
.wp-block-createwithrani-superlist-item h4{
font-weight: bold;
}
/* Main menu submenus */
.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container{
border-radius: 5px;
}
.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container li {
width: 300px;
padding: 0 1em;
font-weight: normal;
}
.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container li:first-child{
padding-top: 1em;
}
.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container li:last-child{
padding-bottom: 1em;
}