first commit
This commit is contained in:
545
public/assets/css/form-style.css
Normal file
545
public/assets/css/form-style.css
Normal file
@@ -0,0 +1,545 @@
|
||||
.formipay-form, .form-fields-wrapper, .result-wrapper, .formipay-page-break {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1em;
|
||||
/* margin-bottom: 1em; */
|
||||
}
|
||||
.formipay-form img {
|
||||
max-width: 100%;
|
||||
}
|
||||
.formipay-2-cols {
|
||||
display: grid;
|
||||
grid-template-columns: 65% 35%;
|
||||
gap: 1em;
|
||||
}
|
||||
.formipay-field-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.formipay-hidden-group{
|
||||
display: none;
|
||||
}
|
||||
.formipay-label:not(:has(input)) {
|
||||
font-weight: 600;
|
||||
}
|
||||
.divider-label {
|
||||
font-size: larger;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
span.divider-line {
|
||||
border-top: 1px dashed #ccc;
|
||||
display: block;
|
||||
}
|
||||
.formipay-hidden-element {
|
||||
display: none;
|
||||
}
|
||||
.formipay-input-desc {
|
||||
font-size: smaller;
|
||||
color: #b7b7b7;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.formipay-field-group.preset.select-searchable > select.formipay-input.formipay-select{
|
||||
display: none!important;
|
||||
}
|
||||
.formipay-input:not([type=radio]),
|
||||
.formipay-qty-input {
|
||||
border-radius: .5em!important;
|
||||
border: 1px solid #b7b7b7!important;
|
||||
padding: 12px 14px!important;
|
||||
max-width: 100%;
|
||||
width: unset;
|
||||
}
|
||||
.formipay-input, .formipay-qty-input {
|
||||
font-size: 14px;
|
||||
}
|
||||
span.product-qty-wrapper {
|
||||
display: flex;
|
||||
gap: .5em;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
}
|
||||
span.product-qty-wrapper > button {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
min-width: unset!important;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 0!important;
|
||||
border-radius: 50%;
|
||||
background-color: var(--formipay-button-submit-bg-color);
|
||||
}
|
||||
span.product-qty-wrapper > button svg path {
|
||||
stroke: var(--formipay-button-submit-text-color);
|
||||
}
|
||||
span.product-qty-wrapper > button:disabled {
|
||||
background-color: #efefef;
|
||||
}
|
||||
span.product-qty-wrapper > button:disabled svg path {
|
||||
stroke: #666;
|
||||
}
|
||||
span.product-qty-wrapper > input {
|
||||
height: 40px;
|
||||
width: 40px!important;
|
||||
text-align: center;
|
||||
}
|
||||
span.product-qty-wrapper > input::-webkit-outer-spin-button,
|
||||
span.product-qty-wrapper > input::-webkit-inner-spin-button {
|
||||
-webkit-appearance: none;
|
||||
margin: 0;
|
||||
}
|
||||
span.product-qty-wrapper > input[type=number] {
|
||||
-moz-appearance: textfield;
|
||||
}
|
||||
|
||||
/** CHOICES */
|
||||
.choices__inner {
|
||||
max-width: 100%;
|
||||
width: unset;
|
||||
display: block;
|
||||
min-height: unset!important;
|
||||
padding: 0!important;
|
||||
border: 1px solid #b7b7b7!important;
|
||||
border-radius: .5em!important;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.choices__list {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.choices__list:not(.choices__list--dropdown) {
|
||||
padding: 10px 14px;
|
||||
}
|
||||
|
||||
.choices__list.choices__list--dropdown {
|
||||
margin-top: .5em;
|
||||
border-radius: .5em;
|
||||
}
|
||||
/** END CHOICES */
|
||||
|
||||
.formipay-qty-input {
|
||||
width: 75px!important;
|
||||
text-align: right;
|
||||
}
|
||||
.formipay-asterisk {
|
||||
color: var(--formipay-required-field-sign-color);
|
||||
}
|
||||
.formipay-input-invalid {
|
||||
border: 1px solid var(--formipay-required-field-sign-color)!important;
|
||||
}
|
||||
.formipay-button-error {
|
||||
background-color: var(--formipay-required-field-sign-color)!important;
|
||||
}
|
||||
.formipay-button-success {
|
||||
background-color: var(--formipay-button-submit-bg-color)!important;
|
||||
}
|
||||
.formipay-description {
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
.formipay-message {
|
||||
background-color: #efefef!important;
|
||||
border-radius: .5em;
|
||||
padding: 1em;
|
||||
border: 3px dashed #8d8d8d;
|
||||
}
|
||||
.formipay-message p {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.formipay-message.formipay-message-success {
|
||||
background-color: #d5eed4!important;
|
||||
color: #4a8a46!important;
|
||||
border-radius: 0.5em;
|
||||
padding: 1em;
|
||||
border: 3px dashed #4a8a46;
|
||||
}
|
||||
.formipay-message.formipay-message-failed {
|
||||
background-color: #fec0c0!important;
|
||||
color: #d82424!important;
|
||||
border-radius: .5em;
|
||||
padding: 1em;
|
||||
border: 3px dashed #d82424;
|
||||
}
|
||||
.formipay-submit-button {
|
||||
border-radius: .5em;
|
||||
padding: .75em 1.5em;
|
||||
background-color: var(--formipay-button-submit-bg-color);
|
||||
color: var(--formipay-button-submit-text-color);
|
||||
border: 2px solid var(--formipay-button-submit-border-color);
|
||||
transition: all .3s;
|
||||
font-size: var(--formipay-step-button-text-size);
|
||||
position: relative;
|
||||
}
|
||||
.formipay-submit-button:hover {
|
||||
background-color: var(--formipay-button-submit-bg-color-hover);
|
||||
color: var(--formipay-button-submit-text-color-hover);
|
||||
border-color: var(--formipay-button-submit-border-color-hover);
|
||||
}
|
||||
.formipay-submit-button:active {
|
||||
background-color: var(--formipay-button-submit-bg-color-active);
|
||||
color: var(--formipay-button-submit-text-color-active);
|
||||
border-color: var(--formipay-button-submit-border-color-active);
|
||||
}
|
||||
.formipay-submit-button[disabled] {
|
||||
opacity: 0.5;
|
||||
}
|
||||
.text-danger {
|
||||
font-size: smaller;
|
||||
color: red;
|
||||
}
|
||||
table td, table th, .wp-block-table td, .wp-block-table th {
|
||||
border: unset;
|
||||
}
|
||||
.formipay-item-row th {
|
||||
font-weight: normal;
|
||||
}
|
||||
.formipay-item-row td {
|
||||
text-align: right;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
.formipay-total-row td {
|
||||
text-align: right;
|
||||
font-weight: bold;
|
||||
padding-bottom: .25em;
|
||||
}
|
||||
.formipay-item-row:not(:first-child) {
|
||||
border-top: 1px solid lightgray !important;
|
||||
}
|
||||
.formipay-item-row:not(:first-child) th, .formipay-item-row:not(:first-child) td{
|
||||
padding-top: .15em;
|
||||
}
|
||||
.formipay-item-row:not(:nth-last-child(2)) th, .formipay-item-row:not(:nth-last-child(2)) td{
|
||||
padding-bottom: .15em;
|
||||
}
|
||||
.formipay-total-row {
|
||||
border-top: 1px solid;
|
||||
}
|
||||
.form-calculation {
|
||||
border: 2px dashed;
|
||||
padding: 1em;
|
||||
border-radius: .5em;
|
||||
background-color: #efefef;
|
||||
}
|
||||
span.formipay-value-badge {
|
||||
font-size: small;
|
||||
color: white;
|
||||
background-color: #666;
|
||||
padding: .25em 1em;
|
||||
border-radius: 150px;
|
||||
display: inline-flex;
|
||||
margin-left: .25em;
|
||||
}
|
||||
table#formipay-review-order {
|
||||
border: none;
|
||||
width: 100%;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
#formipay-review-order td:last-child{
|
||||
text-align: right;
|
||||
padding-top: .25em;
|
||||
padding-bottom: .25em;
|
||||
text-wrap: nowrap;
|
||||
}
|
||||
#formipay-review-order th{
|
||||
text-align: left;
|
||||
padding-top: .25em;
|
||||
padding-bottom: .25em;
|
||||
}
|
||||
table#formipay-review-order tr:not(:first-child):not(.formipay-grand-total-row) td,
|
||||
table#formipay-review-order tr:not(:first-child):not(.formipay-grand-total-row) th {
|
||||
border-top: 1px solid grey !important;
|
||||
}
|
||||
table#formipay-review-order .sub {
|
||||
color: #008000;
|
||||
}
|
||||
table#formipay-review-order .add {
|
||||
color: #FF0000;
|
||||
}
|
||||
table#formipay-review-order tr.sub,
|
||||
table#formipay-review-order tr.add,
|
||||
table#formipay-review-order tr.no-context{
|
||||
font-size: small;
|
||||
}
|
||||
.formipay-validate-field {
|
||||
margin-bottom: 0;
|
||||
color: var(--formipay-required-field-sign-color);
|
||||
}
|
||||
.formipay-field-group > label {
|
||||
font-weight: bold;
|
||||
}
|
||||
.formipay-payments {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(var(--formipay-payment-desktop-columns), 1fr);
|
||||
gap: .5em;
|
||||
}
|
||||
.formipay-payment-option-group > label {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
height: 40px;
|
||||
}
|
||||
.formipay-payment-option-group > label > .formipay-payment-name {
|
||||
margin-top: auto;
|
||||
}
|
||||
.formipay-payment-option-group > label > .formipay-payment-logo {
|
||||
max-height: 40px;
|
||||
object-fit: contain;
|
||||
}
|
||||
.formipay-payment-option-group {
|
||||
position: relative;
|
||||
border: 2px solid darkgrey;
|
||||
border-radius: 10px;
|
||||
padding: .5em;
|
||||
}
|
||||
.formipay-payment-option-group:has(input:checked) {
|
||||
border-color: var(--formipay-button-submit-bg-color);
|
||||
box-shadow: 0 5px 15px -5px darkgrey;
|
||||
}
|
||||
.formipay-input[type=radio], .formipay-input[type=checkbox] {
|
||||
accent-color: var(--formipay-button-submit-border-color);
|
||||
}
|
||||
.formipay-payment-option-group input {
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
left: 5px;
|
||||
}
|
||||
.formipay-payment-logo.payment-logo-only {
|
||||
margin-top: auto;
|
||||
margin-bottom: auto;
|
||||
}
|
||||
.formipay-radio-option-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: .5rem;
|
||||
}
|
||||
.formipay-field-group > p {
|
||||
margin: 0;
|
||||
}
|
||||
.checkbox-image {
|
||||
width: 100%;
|
||||
min-height: 125px;
|
||||
max-width: 100%;
|
||||
display: block;
|
||||
background-size: contain;
|
||||
background-position: left;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
tr.formipay-grand-total-row {
|
||||
font-weight: bold;
|
||||
}
|
||||
.formipay-top-pagination {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(var(--formipay-page-break-count), 1fr);
|
||||
}
|
||||
.formipay-progress {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
}
|
||||
.formipay-index-wrapper {
|
||||
display: flex;
|
||||
gap: .5em;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
.formipay-page-index {
|
||||
font-size: smaller;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border: 2px solid #a7a7a7;
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
border-radius: var(--formipay-step-shape-radius);
|
||||
color: #a7a7a7;
|
||||
background-color: white;
|
||||
font-weight: bold;
|
||||
flex-shrink: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
.formipay-page-label {
|
||||
color: #a7a7a7;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
line-height: 1.25em;
|
||||
}
|
||||
.formipay-progress.active .formipay-page-index,
|
||||
.formipay-progress:has(~ .active) .formipay-page-index {
|
||||
border-color: var(--formipay-button-submit-bg-color);
|
||||
color: var(--formipay-button-submit-bg-color);
|
||||
}
|
||||
.formipay-progress.active .formipay-page-label,
|
||||
.formipay-progress:has(~ .active) .formipay-page-label {
|
||||
color: var(--formipay-button-submit-bg-color);
|
||||
}
|
||||
.formipay-progress:not(:first-child)::before {
|
||||
content:'';
|
||||
display: block;
|
||||
height: 2px;
|
||||
width: 100%;
|
||||
background-color: #a7a7a7;
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
.formipay-progress.active:not(:first-child)::before,
|
||||
.formipay-progress:has(~ .active)::before {
|
||||
background-color: var(--formipay-button-submit-bg-color);
|
||||
}
|
||||
#order-details tr:last-child{
|
||||
color: var(--formipay-button-submit-bg-color);
|
||||
background-color: var(--formipay-button-submit-text-color);
|
||||
font-weight: bold;
|
||||
font-size: larger;
|
||||
}
|
||||
span.pagination-icon svg {
|
||||
margin-bottom: -3px;
|
||||
width: 24px!important;
|
||||
height: auto;
|
||||
}
|
||||
.formipay-bottom-pagination {
|
||||
display: flex;
|
||||
justify-content:center;
|
||||
align-items: center;
|
||||
gap: .5em;
|
||||
}
|
||||
.formipay-progress svg path {
|
||||
fill: #a7a7a7!important;
|
||||
}
|
||||
.formipay-progress:has(~ .active) svg path, .formipay-progress.active svg path {
|
||||
fill: var(--formipay-button-submit-bg-color)!important;
|
||||
}
|
||||
.formipay-static-elements .result-wrapper {
|
||||
position: -webkit-sticky; /* for browser compatibility */
|
||||
position: sticky;
|
||||
top: 3em;
|
||||
}
|
||||
.formipay-bottom-pagination > button:not(.formipay-submit-button) {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.formipay-page-break-prev-button,
|
||||
.formipay-page-break-next-button {
|
||||
border-radius: .5em!important;
|
||||
padding: var(--formipay-step-button-size)!important;
|
||||
height: var(--formipay-step-button-height)!important;
|
||||
border: 2px solid var(--formipay-button-submit-border-color);
|
||||
background-color: var(--formipay-button-submit-text-color);
|
||||
color: var(--formipay-button-submit-bg-color);
|
||||
font-size: var(--formipay-step-button-text-size);
|
||||
}
|
||||
.formipay-page-break-prev-button:disabled, .formipay-page-break-next-button:disabled {
|
||||
border-color: #a7a7a7;
|
||||
color: #a7a7a7;
|
||||
background-color: #efefef;
|
||||
}
|
||||
.formipay-page-break-prev-button:disabled svg path,
|
||||
.formipay-page-break-next-button:disabled svg path {
|
||||
stroke: #a7a7a7;
|
||||
}
|
||||
.formipay-page-break-prev-button:hover:not(:disabled),
|
||||
.formipay-page-break-prev-button:focus:not(:disabled),
|
||||
.formipay-page-break-next-button:hover:not(:disabled),
|
||||
.formipay-page-break-next-button:focus:not(:disabled) {
|
||||
background-color: var(--formipay-button-submit-bg-color);
|
||||
color: var(--formipay-button-submit-text-color);
|
||||
}
|
||||
.formipay-bottom-pagination > button {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: .5em;
|
||||
height: 40px;
|
||||
}
|
||||
.formipay-page-break-prev-button svg path,
|
||||
.formipay-page-break-next-button svg path {
|
||||
stroke: var(--formipay-button-submit-border-color);
|
||||
}
|
||||
.formipay-page-break-prev-button:hover:not(:disabled) svg path,
|
||||
.formipay-page-break-prev-button:focus:not(:disabled) svg path,
|
||||
.formipay-page-break-next-button:hover:not(:disabled) svg path,
|
||||
.formipay-page-break-next-button:focus:not(:disabled) svg path {
|
||||
stroke: var(--formipay-button-submit-text-color);
|
||||
}
|
||||
|
||||
/** Coupon Field */
|
||||
.formipay-coupon-field-group {
|
||||
padding: .25rem;
|
||||
border: 1px solid #b7b7b7!important;
|
||||
border-radius: .5em!important;
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
input:active, input:hover, input:focus {
|
||||
outline: unset!important;
|
||||
}
|
||||
.formipay-coupon-field-group .formipay-code-input,
|
||||
.formipay-coupon-field-group .formipay-code-input:hover,
|
||||
.formipay-coupon-field-group .formipay-code-input:active,
|
||||
.formipay-coupon-field-group .formipay-code-input:focus {
|
||||
border: unset!important;
|
||||
outline: unset!important;
|
||||
flex: 0 1 100%;
|
||||
}
|
||||
.formipay-coupon-field-group #apply_coupon_code {
|
||||
width: fit-content;
|
||||
border: unset!important;
|
||||
border-radius: .5em!important;
|
||||
padding: .25rem 1rem;
|
||||
background-color: #333;
|
||||
color: white;
|
||||
}
|
||||
.formipay-coupon-field-group #apply_coupon_code.loading {
|
||||
background-color: #666;
|
||||
color: #cecece;
|
||||
}
|
||||
.formipay-radio-option-group > .formipay-label {
|
||||
display: flex;
|
||||
max-width: 100%;
|
||||
gap: .5rem;
|
||||
align-items: start;
|
||||
}
|
||||
.formipay-radio-option-group > .formipay-label input {
|
||||
margin-top: .25rem;
|
||||
}
|
||||
.formipay-radio-option-group > .formipay-label > span {
|
||||
flex: 0 1 200px;
|
||||
}
|
||||
@media (max-width: 820px) {
|
||||
.formipay-static-elements .result-wrapper {
|
||||
position: relative;
|
||||
top: 0;
|
||||
}
|
||||
.formipay-checkbox-field-group {
|
||||
grid-template-columns: repeat(2, 1fr)!important;
|
||||
}
|
||||
.formipay-payments {
|
||||
grid-template-columns: repeat(var(--formipay-payment-tablet-columns), 1fr);
|
||||
}
|
||||
}
|
||||
@media (max-width: 482px) {
|
||||
span.formipay-value-badge {
|
||||
font-size: x-small;
|
||||
}
|
||||
.formipay-payments {
|
||||
grid-template-columns: repeat(var(--formipay-payment-mobile-columns), 1fr);
|
||||
}
|
||||
.formipay-2-cols {
|
||||
display: grid;
|
||||
grid-template-columns: 100%;
|
||||
gap: 1em;
|
||||
}
|
||||
.formipay-checkbox-field-group {
|
||||
grid-template-columns: repeat(1, 1fr)!important;
|
||||
}
|
||||
.formipay-page-label {
|
||||
display:none;
|
||||
}
|
||||
.formipay-page-break-information {
|
||||
text-align: center;
|
||||
}
|
||||
button.formipay-submit-button {
|
||||
width: 100%!important;
|
||||
}
|
||||
}
|
||||
33
public/assets/css/payment-confirm.css
Normal file
33
public/assets/css/payment-confirm.css
Normal file
@@ -0,0 +1,33 @@
|
||||
.formipay-container {
|
||||
width: 100%;
|
||||
}
|
||||
.formipay-content-wrapper {
|
||||
width: var(--formipay-confirmation-page-width);
|
||||
max-width: 100%;
|
||||
padding: 1em;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
text-align: var(--formipay-confirmation-page-table-alignment);
|
||||
}
|
||||
.formipay-content-wrapper > h3,
|
||||
.formipay-cod-confirm-container > p {
|
||||
margin-bottom: unset;
|
||||
}
|
||||
#order-details {
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
#order-details th,
|
||||
#order-details td {
|
||||
text-align: left;
|
||||
}
|
||||
#cod_agreement {
|
||||
accent-color: var(--formipay-button-submit-bg-color);
|
||||
}
|
||||
form#formipay-cod-confirmation {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1em;
|
||||
}
|
||||
.swal2-actions > button.formipay-submit-button {
|
||||
width: fit-content!important;
|
||||
}
|
||||
59
public/assets/css/popup-style.css
Normal file
59
public/assets/css/popup-style.css
Normal file
@@ -0,0 +1,59 @@
|
||||
.formipay-popup-trigger {
|
||||
display: flex;
|
||||
}
|
||||
a.formipay-open-popup-button {
|
||||
text-decoration: unset;
|
||||
background-color: var(--formipay-popup-button-bg-color);
|
||||
color: var(--formipay-popup-button-text-color);
|
||||
border: 1px solid var(--formipay-popup-button-border-color);
|
||||
padding: 0.75em 1.5em;
|
||||
border-radius: 10px;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
}
|
||||
a.formipay-open-popup-button:hover {
|
||||
background-color: var(--formipay-popup-button-bg-color-hover);
|
||||
color: var(--formipay-popup-button-text-color-hover);
|
||||
border: 1px solid var(--formipay-popup-button-border-color-hover);
|
||||
}
|
||||
a.formipay-open-popup-button:active {
|
||||
background-color: var(--formipay-popup-button-bg-color-active);
|
||||
color: var(--formipay-popup-button-text-color-active);
|
||||
border: 1px solid var(--formipay-popup-button-border-color-active);
|
||||
}
|
||||
.jquery-modal.blocker.current {
|
||||
z-index: 101;
|
||||
}
|
||||
.jquery-modal.blocker.current:has(.formipay-popup) {
|
||||
background-color: var(--formipay-popup-backdrop-color);
|
||||
height: 100svh;
|
||||
}
|
||||
.jquery-modal.blocker.current > .formipay-popup {
|
||||
width: 100%;
|
||||
max-width: var(--formipay-popup-wrapper-width);
|
||||
max-height: 90svh;
|
||||
padding: 0;
|
||||
box-shadow: 0 12px 19px rgb(51, 51, 51, 0.50);
|
||||
-moz-border-radius: 1rem;
|
||||
-o-border-radius: 1rem;
|
||||
-ms-border-radius: 1rem;
|
||||
border-radius: 1rem;
|
||||
-webkit-box-shadow: 0 12px 19px rgb(51, 51, 51, 0.50);
|
||||
-moz-box-shadow: 0 12px 19px rgb(51, 51, 51, 0.50);
|
||||
-o-box-shadow: 0 12px 19px rgb(51, 51, 51, 0.50);
|
||||
-ms-box-shadow: 0 12px 19px rgb(51, 51, 51, 0.50);
|
||||
}
|
||||
.jquery-modal.blocker.current > .formipay-popup > .formipay-form {
|
||||
max-height: 100%;
|
||||
overflow: auto;
|
||||
padding: 15px 30px;
|
||||
border-radius: inherit;
|
||||
}
|
||||
h4.formipay-popup-title {
|
||||
font-weight: bold;
|
||||
margin-bottom: 0;
|
||||
border-bottom: 1px solid lightgrey;
|
||||
}
|
||||
.formipay-popup > .formipay-form {
|
||||
background: white;
|
||||
}
|
||||
291
public/assets/css/thankyou.css
Normal file
291
public/assets/css/thankyou.css
Normal file
@@ -0,0 +1,291 @@
|
||||
body {
|
||||
overflow-x: clip;
|
||||
}
|
||||
.formipay-thank-you {
|
||||
width: 100%;
|
||||
}
|
||||
.formipay-container {
|
||||
max-width: 100%;
|
||||
background-color: var(--formipay-thankyou-container-bg-color);
|
||||
padding: 2em;
|
||||
}
|
||||
.formipay-content-wrapper {
|
||||
width: var(--formipay-thankyou-screen-width);
|
||||
max-width: 100%;
|
||||
/* padding: 1.5em; */
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
text-align: var(--formipay-thankyou-table-alignment);
|
||||
background-color: var(--formipay-thankyou-wrapper-bg-color);
|
||||
}
|
||||
.formipay-content-wrapper:not(.downloads) .formipay-the-contents {
|
||||
padding: 2.5em 1.5em 0.25em;
|
||||
}
|
||||
.formipay-content-wrapper.downloads .formipay-the-contents {
|
||||
padding: 0.25em 1.5em;
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse !important;
|
||||
border-spacing: 0;
|
||||
border-width: 1px 0 0 1px;
|
||||
margin: 0 0 1.5em;
|
||||
width: 100%;
|
||||
}
|
||||
table td, table th, .wp-block-table td, .wp-block-table th {
|
||||
border: 1px solid rgba(0,0,0,.1);
|
||||
}
|
||||
td {
|
||||
border-width: 0 1px 1px 0;
|
||||
}
|
||||
th {
|
||||
text-align: left;
|
||||
}
|
||||
td, th {
|
||||
padding: 8px;
|
||||
}
|
||||
td > p {
|
||||
margin-bottom: .25em;
|
||||
}
|
||||
.formipay-form-wrapper table#order-details,
|
||||
.formipay-form-wrapper table#payment-details,
|
||||
.formipay-form-wrapper table#order-submission-details,
|
||||
.formipay-form-wrapper #uploadForm {
|
||||
width: 500px;
|
||||
margin-left: var(--formipay-thankyou-table-alignment-left);
|
||||
margin-right: var(--formipay-thankyou-table-alignment-right);
|
||||
border: none;
|
||||
}
|
||||
.formipay-form-wrapper table#order-details tr,
|
||||
.formipay-form-wrapper table#payment-details tr,
|
||||
.formipay-form-wrapper table#order-submission-details tr {
|
||||
border: 1px solid #cccccc;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
.formipay-form-wrapper table#order-details th,
|
||||
.formipay-form-wrapper table#payment-details th,
|
||||
.formipay-form-wrapper table#order-submission-details th {
|
||||
text-align: left;
|
||||
vertical-align: top;
|
||||
}
|
||||
.formipay-form-wrapper table#order-details td,
|
||||
.formipay-form-wrapper table#payment-details td,
|
||||
.formipay-form-wrapper table#order-submission-details td{
|
||||
text-wrap: wrap;
|
||||
}
|
||||
.formipay-form-wrapper table#order-details td p,
|
||||
.formipay-form-wrapper table#payment-details td p,
|
||||
.formipay-form-wrapper table#order-submission-details td p{
|
||||
margin-bottom: 0;
|
||||
}
|
||||
table#order-details td {
|
||||
text-align: right;
|
||||
vertical-align: top!important;
|
||||
}
|
||||
table#order-details th {
|
||||
width: 50%;
|
||||
text-wrap: wrap;
|
||||
}
|
||||
table#order-submission-details td {
|
||||
text-align: left!important;
|
||||
}
|
||||
table#order-submission-details span.checkbox-span {
|
||||
background-color: var(--formipay-button-submit-bg-color);
|
||||
color: var(--formipay-button-submit-text-color);
|
||||
padding: .25em .75em;
|
||||
border-radius: 10px;
|
||||
font-size: small;
|
||||
}
|
||||
table#payment-details td {
|
||||
text-align: right;
|
||||
}
|
||||
table#payment-details td > p {
|
||||
margin: 0;
|
||||
}
|
||||
.formipay-copy-button {
|
||||
padding: .25em 1em;
|
||||
border-radius: .25em;
|
||||
cursor: pointer;
|
||||
background-color: var(--formipay-button-submit-bg-color);
|
||||
color: var(--formipay-button-submit-text-color);
|
||||
font-size: smaller;
|
||||
}
|
||||
.dropzone-area {
|
||||
border: 2px dashed var(--formipay-button-submit-bg-color);
|
||||
margin-top: 1em;
|
||||
margin-bottom: 1em;
|
||||
border-radius: 1em;
|
||||
padding: 1em;
|
||||
text-align: center;
|
||||
background-color: var(--formipay-confirm-dropzone-bg-color);
|
||||
min-height: 10rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: .5em;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
color: var(--formipay-confirm-dropzone-text-color);
|
||||
}
|
||||
.dropzone-area .bi-image {
|
||||
font-size: xx-large;
|
||||
}
|
||||
div#thumbnailPreview img {
|
||||
max-width: 100%;
|
||||
}
|
||||
.formipay-submit-button, .swal2-confirm {
|
||||
border-radius: .5em!important;
|
||||
padding: .75em 1.5em!important;
|
||||
background-color: var(--formipay-button-submit-bg-color) !important;
|
||||
color: var(--formipay-button-submit-text-color) !important;
|
||||
border: 2px solid var(--formipay-button-submit-border-color);
|
||||
transition: all .3s;
|
||||
font-size: var(--formipay-step-button-text-size);
|
||||
}
|
||||
.formipay-submit-button:hover, .swal2-confirm:hover {
|
||||
background-color: var(--formipay-button-submit-bg-color-hover) !important;
|
||||
color: var(--formipay-button-submit-text-color-hover) !important;
|
||||
border-color: var(--formipay-button-submit-border-color-hover);
|
||||
}
|
||||
.formipay-submit-button:active, .swal2-confirm:active {
|
||||
background-color: var(--formipay-button-submit-bg-color-active) !important;
|
||||
color: var(--formipay-button-submit-text-color-active) !important;
|
||||
border-color: var(--formipay-button-submit-border-color-active);
|
||||
}
|
||||
.formipay-submit-button[disabled] {
|
||||
opacity: 0.5;
|
||||
}
|
||||
#upload-transfer-receipt.formipay-submit-button {
|
||||
background-color: var(--formipay-button-submit-bg-color) !important;
|
||||
color: var(--formipay-button-submit-text-color) !important;
|
||||
border: 2px solid var(--formipay-button-submit-border-color);
|
||||
margin-right: var(--formipay-thankyou-table-alignment-right);
|
||||
margin-left: var(--formipay-thankyou-table-alignment-left);
|
||||
}
|
||||
.dropzone-area > p {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.payment-response-container, #uploadForm {
|
||||
text-align: var(--formipay-thankyou-table-alignment);
|
||||
}
|
||||
.blockUI.blockMsg.blockElement {
|
||||
border: unset!important;
|
||||
background-color: unset!important;
|
||||
color: white!important;
|
||||
}
|
||||
|
||||
/** receipt **/
|
||||
.receipt {
|
||||
background: linear-gradient(135deg, transparent 5.68px, white 5.69px) top left, linear-gradient(45deg, white 2.8px, transparent 2.81px) top left, linear-gradient(135deg, white 2.8px, transparent 2.81px) bottom left, linear-gradient(45deg, transparent 5.68px, white 5.69px) bottom left;
|
||||
background-repeat: repeat-x;
|
||||
background-size: 12px 4px;
|
||||
padding: 3px 0;
|
||||
}
|
||||
.receipt {
|
||||
filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.1));
|
||||
width: var(--formipay-thankyou-screen-width);
|
||||
max-width: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.receipt > * {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
/** Access Downloads **/
|
||||
.formipay-single-download {
|
||||
display: flex;
|
||||
gap: .75rem;
|
||||
max-width: 100%;
|
||||
padding: 1rem .5rem;
|
||||
}
|
||||
.formipay-download-information {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: .75rem;
|
||||
width: 100%;
|
||||
}
|
||||
.formipay-file-info {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: start;
|
||||
}
|
||||
i.bi.formipay-download-icon {
|
||||
font-size: 2rem;
|
||||
}
|
||||
span.formipay-file-size {
|
||||
font-size: .75rem;
|
||||
}
|
||||
.formipay-download-button {
|
||||
text-decoration: none;
|
||||
padding: .5em!important;
|
||||
font-size: smaller;
|
||||
height: fit-content;
|
||||
min-width: 100px;
|
||||
}
|
||||
.formipay-single-download:not(:last-child) {
|
||||
border-bottom: 1px solid var(--wp--preset--color--contrast);
|
||||
}
|
||||
|
||||
/** REQUEST ACCESS **/
|
||||
.formipay-container:has(.formipay-request-access) {
|
||||
min-height: 85svh;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.formipay-request-access {
|
||||
width: 600px;
|
||||
padding: 2rem;
|
||||
background-color: white;
|
||||
margin: auto;
|
||||
border-radius: 1rem;
|
||||
text-align: center;
|
||||
}
|
||||
.formipay-request-access p {
|
||||
font-size: small;
|
||||
color: #999;
|
||||
margin-top: 0;
|
||||
}
|
||||
.formipay-request-access form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
p.formipay-access-item-description {
|
||||
text-align: left;
|
||||
font-size: small;
|
||||
background-color: #efefef;
|
||||
padding: .5em .5em .5em 1em;
|
||||
border-left: 1px solid var(--formipay-button-submit-bg-color);
|
||||
}
|
||||
.formipay-content-wrapper.receipt.downloads:has(.request-thumbnail) .formipay-the-contents {
|
||||
padding: 2.5em;
|
||||
}
|
||||
|
||||
@media (max-width: 482px) {
|
||||
.formipay-container {
|
||||
padding: 2em 1em;
|
||||
}
|
||||
table tr {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
table tr th {
|
||||
border-bottom: unset;
|
||||
}
|
||||
table tr td {
|
||||
border-top: unset;
|
||||
padding-top: 0;
|
||||
text-align: right;
|
||||
}
|
||||
table#order-details th {
|
||||
width: unset;
|
||||
}
|
||||
.formipay-download-information {
|
||||
flex-direction: column;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
/** REQUEST ACCESS */
|
||||
.formipay-request-access {
|
||||
width: unset;
|
||||
max-width: 90%;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user