Files
formipay/public/assets/css/thankyou.css
2025-08-21 20:39:34 +07:00

291 lines
7.8 KiB
CSS

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%;
}
}