Android_Retail/src/Pages/Kiosk/Payment/KioskPaymentWithModal.scss

565 lines
10 KiB
SCSS

.paymentModal_main {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
.prompt {
width: 100%;
display: flex;
align-items: flex-start;
justify-content: flex-start;
text-align: left;
p {
text-align: left;
font-family: 'Gilroy';
font-weight: 700;
font-size: 26px;
}
}
.KioskPayment-inputModal {
align-content: center;
align-items: center;
display: flex;
justify-content: center;
padding: 1rem 1rem;
flex-direction: column;
.input-err{
color: red;
font-size: 13px;
margin-top: 4px;
font-family: 'Poppins', sans-serif;
}
input {
width: 50vw;
height: 4rem;
padding: 0rem 1rem;
font-family: 'Gilroy', sans-serif;
font-size: 22px;
border: none;
letter-spacing: 1px;
font-weight: 500;
border: 1px solid rgba(0, 0, 0, 0.199);
border-radius: 8px;
}
}
.Kiosk-dailpadModal {
background-color: #e1eef1;
display: flex;
flex-direction: column;
row-gap: 40px;
padding: 4rem 0rem;
border-radius: 8px;
width: 55%;
}
.paymentChoise {
display: flex;
align-items: center;
justify-content: center;
column-gap: 3rem;
row-gap: 1rem;
.upi {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
width: 110px;
height: 110px;
border: 1px solid rgba(0, 0, 0, 0.199);
border-radius: 8px;
cursor: pointer;
p {
font-weight: 500;
font-size: 16px;
}
}
}
.choiseTitle {
display: flex;
width: 100%;
align-items: flex-start;
padding: 1rem 2rem;
}
.KioskPayment-dailpad-1,
.KioskPayment-dailpad-2,
.KioskPayment-dailpad-3 {
display: flex;
align-items: center;
justify-content: center;
column-gap: 1.5rem;
row-gap: 2rem;
p {
background-color: #fff;
padding: 10px 10px;
width: 23%;
text-align: center;
border-radius: 12px;
cursor: pointer;
font-family: 'Gilroy', sans-serif;
font-weight: 600;
font-size: 28px;
}
}
.KioskPayment-dailpad-4 {
display: flex;
align-items: center;
justify-content: center;
flex-direction: row-reverse;
column-gap: 1.5rem;
p {
background-color: #fff;
padding: 10px 10px;
width: 23%;
text-align: center;
border-radius: 12px;
cursor: pointer;
font-family: 'Gilroy', sans-serif;
font-weight: 600;
font-size: 28px;
}
}
.ant-modal .ant-modal-content {
height: 90vh !important;
}
}
.Titlepayment {
margin: 0;
color: rgba(0, 0, 0, 0.88);
font-weight: 600;
font-size: 16px;
line-height: 1.5;
word-wrap: break-word;
font-family: 'Barlow Condensed';
font-size: 24px !important;
}
.paymentCardMain {
display: flex;
align-items: flex-start;
width: 100%;
flex-direction: row;
justify-content: space-around;
background-color: #fff;
box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
padding: 1rem 1rem;
height: 45vh;
position: relative;
.ant-radio-wrapper .ant-radio-checked .ant-radio-inner {
background-color: var(--SELECTED_COLOR) !important;
border-color: var(--SELECTED_COLOR) !important;
}
.cardChooice {
width: 40%;
display: flex;
flex-direction: column;
align-items: flex-start;
row-gap: 10px;
column-gap: 10px;
}
.cardoption {
display: flex;
align-items: center;
justify-content: flex-start;
column-gap: 10px;
// box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
box-shadow:
rgba(0, 0, 0, 0.1) 0px 10px 36px 0px,
rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
border-radius: 6px;
padding: 4px 14px;
cursor: pointer;
width: 95%;
img {
width: 30px;
height: 22px;
}
}
.cardname {
font-size: 16px;
font-weight: 550;
}
.cardname2 {
font-size: 11px;
font-weight: 550;
margin-top: -1px;
}
.bankChooice {
width: 60%;
border-radius: 6px;
.searchbar {
display: flex;
padding: 1px 12px;
// border: 1px solid #1c1c1c;
// box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
box-shadow:
rgba(0, 0, 0, 0.16) 0px 10px 36px 0px,
rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
border-radius: 6px;
align-items: center;
// border: 1px solid black;
}
input {
border: none;
outline: none;
padding: 1px 10px;
}
.titlechoose {
display: flex;
align-items: center;
font-size: 16px;
column-gap: 1rem;
padding-bottom: 9px;
border-bottom: 1px solid #1c1c1c;
}
.choosecardMain {
padding: 10px 10px;
margin-top: -1rem;
}
.bankname {
display: flex;
align-items: center;
column-gap: 10px;
font-size: 16px;
padding: 10px 10px;
font-weight: 500;
text-transform: capitalize;
}
}
.buttonOfpay {
position: absolute;
bottom: -60px;
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
column-gap: 11rem;
padding: 1rem 4rem;
.inr {
font-size: 22px;
color: #4eb14e;
font-weight: 600;
}
.primary_Button {
display: flex;
align-items: center;
justify-content: center;
padding: 10px 16px;
cursor: pointer;
background-color: #4eb14e !important;
color: #fff;
border-radius: 6px;
}
}
}
.searchbar :focus {
.ant-input-outlined {
box-shadow: none;
}
}
.searchbar:focus-within {
.ant-input-outlined {
box-shadow: none;
}
}
.searchbar .ant-input-search .ant-input:focus {
background-color: #fff !important;
border: #fff !important;
}
.searchbar .ant-input-search .ant-input:focus {
border-color: #fff !important;
}
.paymentCardMain .ant-collapse {
width: 100%;
border: none;
// box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
box-shadow:
rgba(0, 0, 0, 0.16) 0px 10px 36px 0px,
rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}
.paymentCardMain .ant-radio-group,
.ant-radio-wrapper span.ant-radio+* {
padding: 10px 10px;
}
.paymentCardMain .ant-modal .ant-modal-content {
padding: 54px 35px !important;
}
.paymentCardMain .ant-collapse .ant-collapse-item:last-child>.ant-collapse-content {
overflow: scroll;
height: 26vh;
}
.paymentCardMain .ant-input-search .ant-input:hover,
.paymentCardMain .ant-input:hover {
border: none;
outline: none;
&:focus {
border: none;
outline: none;
}
}
@media (max-width: 768px) {
.paymentModal_main .KioskPayment-inputModal input,
.paymentModal_main .Kiosk-dailpadModal {
width: 65vw;
}
.paymentModal_main .Kiosk-dailpadModal {
padding: 2rem 0rem;
}
.paymentModal_main .paymentChoise {
column-gap: 1rem;
}
.paymentModal_main .paymentChoise .upi {
width: 100px;
}
.paymentCardMain .buttonOfpay {
width: max-content;
}
.titleofpay {
text-wrap: nowrap;
font-size: 19px !important;
}
}
.payment-modal {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: white;
width: 420px;
height: 540px;
border-radius: 12px;
box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
padding: 16px;
z-index: 10;
}
.modal-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
// filter: blur(5px);
// pointer-events: none;
// user-select: none;
width: 70vw;
margin: 1rem 0;
font-family: 'Poppins';
font-weight: 500;
@media (max-width: 768px) {
width: 95vw;
}
}
.payment-modal {
position: fixed;
z-index: 1000;
top: 50%;
left: 0;
right: 0;
bottom: 0;
width: 100%;
border-radius: 0;
height: 100%;
backdrop-filter: blur(5px);
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
background-color: rgba(255, 255, 255, 0.2);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
/* for Safari */
}
.paymentclose-btn {
width: max-content;
height: max-content;
border: none;
background-color: unset;
color: #ff0000;
cursor: pointer;
font-size: 20px;
padding: 4px;
}
.payment-frame {
width: 70vw;
height: 70vh;
@media (max-width: 768px) {
width: 95vw;
height: 80vh;
}
}
.KioskOPTBTn {
width: 70%;
padding: 12px 16px;
font-size: 20px;
font-family: "Poppins";
font-weight: 400;
border: none;
outline: none;
background-color: #000000;
color: #fff;
border-radius: 10px;
cursor: pointer;
}
.otp-section {
margin-top: 20px;
text-align: center;
.otp-mobile-row {
display: flex;
justify-content: center;
align-items: center;
gap: 15px;
margin-bottom: 20px;
.otp-mobile-number {
font-size: 20px;
font-weight: 600;
letter-spacing: 1px;
}
.otp-edit-btn {
background: none;
border: none;
color: #007bff;
font-size: 16px;
cursor: pointer;
&:hover {
text-decoration: underline;
}
}
}
.otp-input-container {
display: flex;
justify-content: center;
gap: 20px;
margin-bottom: 25px;
.otp-box {
width: 65px;
height: 65px;
font-size: 28px;
text-align: center;
border: 2px solid #ccc;
border-radius: 8px;
outline: none;
transition: 0.2s ease;
&:focus {
border-color: #28a745;
box-shadow: 0 0 6px rgba(40, 167, 69, 0.4);
}
}
.otp-box.active {
border: 2px solid #28a745;
}
}
.otp-buttons {
display: flex;
justify-content: center;
gap: 20px;
button {
min-width: 140px;
padding: 12px 18px;
font-size: 16px;
font-weight: 500;
border-radius: 8px;
cursor: pointer;
transition: 0.2s ease;
font-family: 'Poppins', sans-serif !important;
display: flex;
align-items: center;
justify-content: center;
&:disabled {
opacity: 0.5;
cursor: not-allowed;
}
}
.verify-btn {
background-color: #28a745;
border: none;
color: #fff;
&:hover:not(:disabled) {
background-color: #218838;
}
}
.resend-btn {
background-color: #ffc107;
border: none;
color: #000;
&:hover:not(:disabled) {
background-color: #e0a800;
}
}
}
}