public.css
174 lines
| 1 | #add_payment_method #payment ul.payment_methods li label[for=payment_method_easyauthnet_authorizenet] img, |
| 2 | .woocommerce-cart #payment ul.payment_methods li label[for=payment_method_easyauthnet_authorizenet] img, |
| 3 | .woocommerce-checkout #payment ul.payment_methods li label[for=payment_method_easyauthnet_authorizenet] img { |
| 4 | width: 35px; |
| 5 | } |
| 6 | #add_payment_method #payment ul.payment_methods li label[for=payment_method_easyauthnet_authorizenet] img:first-of-type, |
| 7 | .woocommerce-cart #payment ul.payment_methods li label[for=payment_method_easyauthnet_authorizenet] img:first-of-type, |
| 8 | .woocommerce-checkout #payment ul.payment_methods li label[for=payment_method_easyauthnet_authorizenet] img:first-of-type { |
| 9 | margin-left: 5px; |
| 10 | } |
| 11 | #wc-easyauthnet_authorizenet-form{ |
| 12 | display:grid; |
| 13 | grid-template-columns:1fr 1fr; |
| 14 | column-gap:14px; |
| 15 | row-gap:10px; |
| 16 | grid-auto-rows:min-content; |
| 17 | max-width:350px; |
| 18 | margin-bottom:8px !important; |
| 19 | margin-top: 10px; |
| 20 | } |
| 21 | #wc-easyauthnet_authorizenet-form .easyauthnet_authorizenet-field{ |
| 22 | min-width:0; |
| 23 | display:flex; |
| 24 | flex-direction:column; |
| 25 | gap:5px; |
| 26 | margin:0 0 8px 0 !important; |
| 27 | } |
| 28 | #wc-easyauthnet_authorizenet-form .easyauthnet_authorizenet-field.full-width{ |
| 29 | grid-column:1 / -1; |
| 30 | } |
| 31 | #wc-easyauthnet_authorizenet-form .easyauthnet_authorizenet-field.half-width{ |
| 32 | grid-column:auto; |
| 33 | } |
| 34 | #wc-easyauthnet_authorizenet-form label{ |
| 35 | display:block !important; |
| 36 | margin:0 0 0 2px !important; |
| 37 | line-height:1.2 !important; |
| 38 | color:#515151 !important; |
| 39 | font-size:14px !important; |
| 40 | font-weight:500 !important; |
| 41 | background:none !important; |
| 42 | border:0 !important; |
| 43 | box-shadow:none !important; |
| 44 | } |
| 45 | #wc-easyauthnet_authorizenet-form input, |
| 46 | #wc-easyauthnet_authorizenet-form input[type="text"], |
| 47 | #wc-easyauthnet_authorizenet-form input[type="tel"], |
| 48 | #wc-easyauthnet_authorizenet-form input[type="email"], |
| 49 | #wc-easyauthnet_authorizenet-form input[type="number"]{ |
| 50 | -webkit-appearance:none; |
| 51 | appearance:none; |
| 52 | width:100% !important; |
| 53 | height:44px !important; |
| 54 | line-height:1.2 !important; |
| 55 | padding:0 14px !important; |
| 56 | box-sizing:border-box !important; |
| 57 | color:#111827 !important; |
| 58 | border:1px solid #D8D1D6 !important; |
| 59 | border-radius:8px !important; |
| 60 | box-shadow:none !important; |
| 61 | outline:0 !important; |
| 62 | font-size: 19px !important; |
| 63 | font-weight: 500; |
| 64 | } |
| 65 | #wc-easyauthnet_authorizenet-form .input-text::placeholder{ |
| 66 | color:#94a3b8 !important; |
| 67 | font-size:16px !important; |
| 68 | font-weight:400 !important; |
| 69 | opacity:.95 !important; |
| 70 | } |
| 71 | #wc-easyauthnet_authorizenet-form .input-text:hover:not(:disabled){ |
| 72 | border-color:#d8dee6 !important; |
| 73 | } |
| 74 | #wc-easyauthnet_authorizenet-form .input-text:focus, |
| 75 | #wc-easyauthnet_authorizenet-form .input-text:focus-visible{ |
| 76 | outline:none !important; |
| 77 | border-color:#2563eb !important; |
| 78 | box-shadow:0 0 0 3px rgba(37,99,235,.14) !important; |
| 79 | } |
| 80 | #wc-easyauthnet_authorizenet-form .input-text:disabled{ |
| 81 | opacity:.7 !important; |
| 82 | cursor:not-allowed !important; |
| 83 | } |
| 84 | #easyauthnet_authorizenet-card-number{ |
| 85 | padding-right:52px; |
| 86 | letter-spacing:.04em; |
| 87 | } |
| 88 | .easyauthnet_authorizenet-cvc-wrapper{ |
| 89 | position:relative; |
| 90 | } |
| 91 | .easyauthnet_authorizenet-cvc-wrapper .input-text{ |
| 92 | padding-inline-end:48px !important; |
| 93 | } |
| 94 | .easyauthnet_authorizenet-parent-card-cvv-icon{ |
| 95 | position:absolute; |
| 96 | inset-inline-end:10px; |
| 97 | top:50%; |
| 98 | transform:translateY(-50%); |
| 99 | display:flex; |
| 100 | align-items:center; |
| 101 | justify-content:center; |
| 102 | pointer-events:none; |
| 103 | } |
| 104 | .easyauthnet_authorizenet-card-cvc-icon{ |
| 105 | width:1.95em; |
| 106 | height:1.95em; |
| 107 | opacity:.85; |
| 108 | } |
| 109 | #wc-easyauthnet_authorizenet-form .woocommerce-validated .input-text{ |
| 110 | border-color:#10b981 !important; |
| 111 | box-shadow:0 0 0 2px rgba(16,185,129,.16) !important; |
| 112 | } |
| 113 | #wc-easyauthnet_authorizenet-form .woocommerce-invalid .input-text{ |
| 114 | border-color:#ef4444 !important; |
| 115 | box-shadow:0 0 0 2px rgba(239,68,68,.14) !important; |
| 116 | } |
| 117 | #wc-easyauthnet_authorizenet-form .input-text:-webkit-autofill{ |
| 118 | -webkit-text-fill-color:inherit !important; |
| 119 | box-shadow:0 0 0 1000px #fff inset !important; |
| 120 | } |
| 121 | .wc-credit-card-form-card-number.amex, |
| 122 | .wc-credit-card-form-card-number.diners, |
| 123 | .wc-credit-card-form-card-number.dinersclub, |
| 124 | .wc-credit-card-form-card-number.discover, |
| 125 | .wc-credit-card-form-card-number.discovercard, |
| 126 | .wc-credit-card-form-card-number.jcb, |
| 127 | .wc-credit-card-form-card-number.laser, |
| 128 | .wc-credit-card-form-card-number.maestro, |
| 129 | .wc-credit-card-form-card-number.mcdebit, |
| 130 | .wc-credit-card-form-card-number.mastercard, |
| 131 | .wc-credit-card-form-card-number.visa{ |
| 132 | background-repeat:no-repeat !important; |
| 133 | background-position:right .618em center !important; |
| 134 | background-size:32px 20px !important; |
| 135 | padding-right: 52px !important; |
| 136 | } |
| 137 | .wc-block-components-radio-control-accordion-content .wc-credit-card-form-card-number.visa { |
| 138 | background-image: url(../css/credit-cards/visa.svg) !important; |
| 139 | } |
| 140 | .wc-block-components-radio-control-accordion-content .wc-credit-card-form-card-number.mastercard { |
| 141 | background-image: url(../css/credit-cards/mastercard.svg) !important; |
| 142 | } |
| 143 | .wc-block-components-radio-control-accordion-content .wc-credit-card-form-card-number.amex { |
| 144 | background-image: url(../css/credit-cards/amex.svg) !important; |
| 145 | } |
| 146 | .wc-block-components-radio-control-accordion-content .wc-credit-card-form-card-number.discover, |
| 147 | .wc-credit-card-form-card-number.discovercard { |
| 148 | background-image: url(../css/credit-cards/discover.svg) !important; |
| 149 | } |
| 150 | .wc-block-components-radio-control-accordion-content .wc-credit-card-form-card-number.jcb { |
| 151 | background-image: url(../css/credit-cards/jcb.svg) !important; |
| 152 | } |
| 153 | .wc-block-components-radio-control-accordion-content .wc-credit-card-form-card-number.diners, |
| 154 | .wc-block-components-radio-control-accordion-content .wc-credit-card-form-card-number.dinersclub { |
| 155 | background-image: url(../css/credit-cards/diners.svg) !important; |
| 156 | } |
| 157 | .wc-block-components-radio-control-accordion-content .wc-credit-card-form-card-number.laser { |
| 158 | background-image: url(../css/credit-cards/laser.svg) !important; |
| 159 | } |
| 160 | .wc-block-components-radio-control-accordion-content .wc-credit-card-form-card-number.maestro, |
| 161 | .wc-block-components-radio-control-accordion-content .wc-credit-card-form-card-number.mcdebit { |
| 162 | background-image: url(../css/credit-cards/maestro.svg) !important; |
| 163 | } |
| 164 | @media (prefers-reduced-motion: reduce){ |
| 165 | #wc-easyauthnet_authorizenet-form .input-text{ |
| 166 | transition:none !important; |
| 167 | } |
| 168 | } |
| 169 | @media (max-width:480px){ |
| 170 | #wc-easyauthnet_authorizenet-form{ |
| 171 | grid-template-columns:1fr; |
| 172 | row-gap:10px; |
| 173 | } |
| 174 | } |