278 lines
5.1 KiB
CSS
278 lines
5.1 KiB
CSS
.scrolled-card {
|
|
background-color: white; /* Pastikan background putih */
|
|
border-radius: 20px; /* Untuk sudut yang membulat */
|
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Efek shadow */
|
|
transition: background-color 0.3s, color 0.3s; /* Transisi yang halus */
|
|
background-color: white !important;
|
|
color: black !important;
|
|
}
|
|
|
|
.scrolled-card .text-light {
|
|
color: black !important;
|
|
}
|
|
.icon-container {
|
|
display: flex;
|
|
align-items: center; /* Vertically centers the icon */
|
|
height: 100%; /* Ensure the container takes full height */
|
|
margin: 10px 0; /* Ganti dengan margin yang diinginkan */
|
|
}
|
|
.navbar {
|
|
transition: top 0.3s;
|
|
}
|
|
|
|
.navbar.hidden {
|
|
top: -100px; /* Atur sesuai tinggi navbar Anda */
|
|
}
|
|
|
|
.animated-link {
|
|
transition: transform 0.1s ease, text-shadow 0.2s ease;
|
|
}
|
|
|
|
.animated-link:active {
|
|
transform: scale(0.96);
|
|
text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
/* ===== Header ===== */
|
|
.header-box {
|
|
max-width: 550px;
|
|
margin: 20px auto 0;
|
|
color: #fff;
|
|
padding: 0 15px;
|
|
text-align: center;
|
|
}
|
|
.brand-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
margin-bottom: 40px;
|
|
zoom: 90%;
|
|
}
|
|
.brand-row img {
|
|
width: 50px;
|
|
height: 50px;
|
|
border-radius: 50%;
|
|
border: 3px solid #fff;
|
|
object-fit: cover;
|
|
}
|
|
.brand-row h5 {
|
|
margin: 0;
|
|
}
|
|
.amount {
|
|
font-size: 2rem;
|
|
font-weight: 700;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
/* ===== Card Utama ===== */
|
|
.payment-card {
|
|
max-width: 550px;
|
|
margin: 0 auto;
|
|
border-radius: 22px 22px 0 0;
|
|
padding: 25px;
|
|
background: #fff;
|
|
min-height: 70vh;
|
|
position: relative;
|
|
}
|
|
|
|
/* ===== Tombol Bayar ===== */
|
|
.btn-orange {
|
|
background: #ff7f11;
|
|
color: #fff;
|
|
border-radius: 12px;
|
|
padding: 14px;
|
|
font-weight: 600;
|
|
font-size: 1.1rem;
|
|
margin: 20px auto 0;
|
|
display: block;
|
|
max-width: 500px;
|
|
}
|
|
.btn-orange:hover {
|
|
background: #e76e0d;
|
|
color: #fff;
|
|
}
|
|
|
|
/* ===== Accordion (Bootstrap 4) ===== */
|
|
.card {
|
|
border: 1px solid #dee2e6;
|
|
border-radius: 12px !important;
|
|
margin-bottom: 10px;
|
|
box-shadow: 0 2px 6px rgba(0,0,0,0.05);
|
|
}
|
|
.card-header {
|
|
border-radius: 12px !important;
|
|
background: #fff !important;
|
|
padding: 0 !important;
|
|
}
|
|
.card-header .btn-link {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
width: 100%;
|
|
padding: 0.5rem 1rem;
|
|
text-decoration: none !important;
|
|
color: inherit !important;
|
|
box-shadow: none !important;
|
|
}
|
|
.card-header .btn-link:focus {
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
.card-header .fw-semibold {
|
|
margin-bottom: 0.25rem !important;
|
|
}
|
|
|
|
/* group kiri = title + icons */
|
|
.card-header .accordion-left {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
.card-header .accordion-icons {
|
|
display: inline-flex;
|
|
margin-top: 5px;
|
|
}
|
|
.collapse.show ~ .accordion-icons {
|
|
display: none !important;
|
|
}
|
|
.card-body {
|
|
padding: 0.25rem 0 !important;
|
|
}
|
|
|
|
/* ===== List Metode ===== */
|
|
.list-group-item {
|
|
border-color: #dee2e6;
|
|
padding: 0.5rem 1rem;
|
|
}
|
|
.list-btn {
|
|
border: none;
|
|
background: none;
|
|
outline: none;
|
|
padding: 8px 0;
|
|
font-weight: 500;
|
|
text-align: left;
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.list-btn:hover {
|
|
background-color: #f8f9fa;
|
|
}
|
|
|
|
/* ===== Metode Terpilih ===== */
|
|
.method-card {
|
|
border: 1px solid #ddd;
|
|
border-radius: 12px;
|
|
padding: 15px;
|
|
margin-bottom: 15px;
|
|
background: #fafafa;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
}
|
|
.method-selected {
|
|
border: 2px solid #ff7f11;
|
|
background: #fff9f4;
|
|
}
|
|
.ubah-btn {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
}
|
|
|
|
/* ===== Detail Tagihan ===== */
|
|
#instruksiBox {
|
|
font-size: 0.95rem;
|
|
border-radius: 12px;
|
|
margin-top: 15px;
|
|
}
|
|
.detail-row {
|
|
display: flex;
|
|
margin-bottom: 6px;
|
|
font-size: 0.95rem;
|
|
}
|
|
.detail-row .label {
|
|
font-weight: 600;
|
|
min-width: 120px;
|
|
}
|
|
.detail-row .value {
|
|
flex: 1;
|
|
text-align: right;
|
|
word-break: break-word;
|
|
white-space: normal;
|
|
}
|
|
|
|
/* ===== Bank List ===== */
|
|
.bank-list {
|
|
text-align: left;
|
|
}
|
|
.bank-list .list-group-item {
|
|
border: none;
|
|
}
|
|
.bank-list .pay-method {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
text-decoration: none;
|
|
color: #333;
|
|
gap: 15px;
|
|
}
|
|
.bank-logo-box {
|
|
width: 60px;
|
|
height: 60px;
|
|
border: 2px solid #ddd;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background: #fff;
|
|
flex-shrink: 0;
|
|
margin-top: -20px;
|
|
}
|
|
.bank-logo-box img {
|
|
max-width: 70%;
|
|
max-height: 70%;
|
|
object-fit: contain;
|
|
}
|
|
.bank-name {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
border-bottom: 2px solid #f0f0f0;
|
|
padding-bottom: 5px;
|
|
flex: 1;
|
|
}
|
|
.accordion-icons {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
.bank-icon-box {
|
|
width: 60px;
|
|
height: 40px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 6px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background: #fff;
|
|
margin-bottom: 5px;
|
|
}
|
|
.bank-icon-box img {
|
|
max-width: 70%;
|
|
max-height: 70%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
/* ===== Footer Powered ===== */
|
|
.powered {
|
|
text-align: center;
|
|
font-size: 0.9rem;
|
|
color: #777;
|
|
margin-top: 40px;
|
|
}
|
|
.powered img {
|
|
height: 20px;
|
|
margin-left: 5px;
|
|
}
|