| 1 |
/* stylelint-disable */ |
| 2 |
.give-activecampaign-fieldset, |
| 3 |
.give-mailchimp-fieldset, |
| 4 |
.give-constant-contact-fieldset { |
| 5 |
order: 3; |
| 6 |
background: #fff; |
| 7 |
border: 1px solid rgba(255, 255, 255, 0) !important; |
| 8 |
box-sizing: border-box; |
| 9 |
box-shadow: 0 0 16px rgba(0, 0, 0, 0.121203); |
| 10 |
border-radius: 5px; |
| 11 |
margin: 20px 0 0 0 !important; |
| 12 |
padding: 0 !important; |
| 13 |
position: relative; |
| 14 |
transition: border 0.2s ease; |
| 15 |
width: auto !important; |
| 16 |
|
| 17 |
label, |
| 18 |
p { |
| 19 |
margin: 0; |
| 20 |
cursor: pointer; |
| 21 |
} |
| 22 |
|
| 23 |
span { |
| 24 |
width: calc(100% - 82px); |
| 25 |
margin-left: 40px !important; |
| 26 |
display: inline-block; |
| 27 |
font-weight: 400; |
| 28 |
font-size: 16px; |
| 29 |
line-height: 1.4; |
| 30 |
padding: 17px 20px 17px 22px !important; |
| 31 |
color: #333; |
| 32 |
|
| 33 |
@media screen and (max-width: $break-phone) { |
| 34 |
font-size: 14px; |
| 35 |
padding: 14px 20px 14px 22px !important; |
| 36 |
} |
| 37 |
} |
| 38 |
|
| 39 |
span::before { |
| 40 |
content: ' '; |
| 41 |
position: absolute; |
| 42 |
top: calc(50% - 12px); |
| 43 |
left: 22px; |
| 44 |
width: 20px; |
| 45 |
height: 20px; |
| 46 |
border: 1px solid #b4b9be; |
| 47 |
background-color: #fff; |
| 48 |
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25); |
| 49 |
} |
| 50 |
|
| 51 |
&:hover { |
| 52 |
border: 1px solid #3398db !important; |
| 53 |
|
| 54 |
.give-mc-message-text::before { |
| 55 |
background-color: rgba(245, 245, 245, 0.815); |
| 56 |
} |
| 57 |
} |
| 58 |
|
| 59 |
&.active { |
| 60 |
border: 1px solid #3398db !important; |
| 61 |
} |
| 62 |
|
| 63 |
input[type='checkbox']='checkbox']:checked + span::after { |
| 64 |
clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); |
| 65 |
-webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); |
| 66 |
} |
| 67 |
|
| 68 |
input[type='checkbox']='checkbox'] + span::after { |
| 69 |
transition: clip-path 0.2s ease, -webkit-clip-path 0.2s ease; |
| 70 |
border-radius: 11px; |
| 71 |
width: 20px; |
| 72 |
height: 20px; |
| 73 |
position: absolute; |
| 74 |
top: calc(50% - 12px); |
| 75 |
left: 22px; |
| 76 |
content: ' '; |
| 77 |
display: block; |
| 78 |
background-image: url("data:image/svg+xml,%3Csvg width='15' height='11' viewBox='0 0 15 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73047 10.7812C6.00391 11.0547 6.46875 11.0547 6.74219 10.7812L14.7812 2.74219C15.0547 2.46875 15.0547 2.00391 14.7812 1.73047L13.7969 0.746094C13.5234 0.472656 13.0859 0.472656 12.8125 0.746094L6.25 7.30859L3.16016 4.24609C2.88672 3.97266 2.44922 3.97266 2.17578 4.24609L1.19141 5.23047C0.917969 5.50391 0.917969 5.96875 1.19141 6.24219L5.73047 10.7812Z' fill='%231E8CBE'/%3E%3C/svg%3E%0A"); |
| 79 |
background-repeat: no-repeat; |
| 80 |
background-position: center; |
| 81 |
clip-path: polygon(0 0, 11% 0, 0 100%, 0 55%); |
| 82 |
-webkit-clip-path: polygon(0 0, 11% 0, 0 100%, 0 55%); |
| 83 |
} |
| 84 |
} |
| 85 |
|
| 86 |
/*--------------------------------- |
| 87 |
RTL styles |
| 88 |
-----------------------------------*/ |
| 89 |
|
| 90 |
html[dir='rtl']='rtl'] { |
| 91 |
.give-activecampaign-fieldset, |
| 92 |
.give-mailchimp-fieldset, |
| 93 |
.give-constant-contact-fieldset { |
| 94 |
span { |
| 95 |
margin-left: 0 !important; |
| 96 |
margin-right: 40px !important; |
| 97 |
} |
| 98 |
|
| 99 |
span::before { |
| 100 |
top: calc(50% - 11px); |
| 101 |
right: 22px; |
| 102 |
} |
| 103 |
|
| 104 |
input[type='checkbox']='checkbox'] + span::after { |
| 105 |
top: calc(50% - 10px); |
| 106 |
right: 22px; |
| 107 |
margin-right: 1px; |
| 108 |
} |
| 109 |
} |
| 110 |
} |
| 111 |
|