Android_Retail/src/Styles/ComboMaster/ComboPack.scss

384 lines
6.7 KiB
SCSS

.overall-combo-master {
width: 100vw;
background-color: white;
border-radius: 15px;
display: flex;
flex-direction: column;
padding: 1.5rem;
}
.combo-div {
display: flex;
gap: 1rem;
flex-wrap: wrap;
flex-direction: row;
}
.heading-2 {
margin-top: 2rem;
position: fixed;
}
.combo-product-div {
display: flex;
flex-direction: row;
gap: 1rem;
}
.combomaster-table {
width: 75vw !important; // edited by Sri
max-height: 49vh;
overflow: scroll;
}
.combomaster-submitbtn {
display: flex;
justify-content: flex-end;
// margin: 2rem 2rem;
}
.combomaster-table .ant-pagination {
position: fixed;
bottom: 40px;
}
.combomaster-table .ant-table-thead {
position: sticky;
top: 0;
z-index: 2;
background-color: #fff;
}
.Combo-DRadioGroup-div {
width: 19.7rem;
height: 47px;
display: flex;
border-radius: 5px;
border: 1px solid #dadada;
padding: 5px;
gap: 0.5rem;
font-weight: 600;
}
.PeiceCheckbox {
display: flex;
gap: 2rem;
align-items: center;
}
.combo-product-btn {
width: 15vw;
background-color: #8f1e78;
}
.productImg-combo {
display: flex;
flex-direction: column;
// width: 10%;
height: 160px;
// justify-content: space-between;
& label {
font-weight: 600;
}
}
@media (max-width: 480px) {
.overall-combo-master {
width: 100vw;
background-color: white;
border-radius: 15px;
display: flex;
flex-direction: row;
padding: 1.5rem;
}
.combo-div {
width: 100vw;
display: flex;
gap: 1rem;
flex-wrap: wrap;
flex-direction: row;
}
.combo-product-btn {
width: 10vw;
}
}
.ComboMasterForm {
.formDiv {
padding-top: 0rem;
}
.ant-form-item {
margin-bottom: 5px;
}
}
.Totaldiscountdiv {
display: flex;
width: 100%;
flex-grow: 1;
justify-content: flex-end;
margin: 1rem 0rem;
// position: fixed;
// bottom: 70px;
// right: 200px;
}
.Totaldiscountcolums {
display: flex;
flex-direction: column;
gap: 10px;
}
.TotalPricedisplay {
font-size: 16px;
font-weight: 500;
text-align: end;
}
.combo-variant-modal {
font-family: 'Poppins';
.ant-modal-content {
padding: 24px !important;
}
.product-variants-container {
padding: 4px;
}
/* Quantity Summary Section */
.qty-summary {
font-family: 'Poppins';
display: flex;
align-items: center;
gap: 24px;
padding: 6px 10px;
background: linear-gradient(135deg, #f5f7fa 0%, #f0f2f5 100%);
border-radius: 12px;
margin-bottom: 24px;
border-left: 4px solid #901D77;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.qty-item {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
}
.qty-label {
font-size: 14px;
font-weight: 500;
color: #595959;
}
.qty-value {
font-size: 14px;
font-weight: 600;
color: #262626;
padding: 4px 12px;
background: #ffffff;
border-radius: 6px;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.qty-remaining {
font-size: 13px;
font-weight: 500;
color: #d46b08;
padding: 4px 10px;
background: #fff7e6;
border-radius: 6px;
border: 1px solid #ffd591;
}
/* Variants Collapse Section */
.variants-collapse {
margin-bottom: 24px;
.ant-input {
padding-top: 6px !important;
}
}
.variants-collapse .ant-collapse {
background: #ffffff;
border: 1px solid #e8e8e8;
border-radius: 8px;
}
.variants-collapse .ant-collapse-item {
border-bottom: 1px solid #f0f0f0;
}
.variants-collapse .ant-collapse-item:last-child {
border-bottom: none;
}
.variants-collapse .ant-collapse-header {
font-weight: 600;
font-size: 14px;
color: #262626;
background: #fafafa;
font-family: 'Poppins';
}
.variants-collapse .ant-collapse-header:hover {
background: #f5f5f5;
}
.variants-collapse .ant-collapse-content {
border-top: 1px solid #f0f0f0;
}
/* Modal Footer */
.modal-footer {
display: flex;
justify-content: flex-end;
align-items: center;
// padding-top: 20px;
// border-top: 1px solid #f0f0f0;
margin-top: 16px;
}
.ant-modal-title {
font-size: 20px;
font-weight: 600;
color: #262626;
}
.ant-modal-close {
top: 16px;
right: 16px;
}
.ant-modal-close-x {
width: 40px;
height: 40px;
line-height: 40px;
font-size: 16px;
color: #8c8c8c;
transition: all 0.3s ease;
}
.ant-modal-close-x:hover {
color: #262626;
background: #f5f5f5;
border-radius: 8px;
}
/* Batch Details Styling (if you have batch info in collapse) */
.batch-detail-row {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 16px;
padding: 16px;
background: #fafafa;
border-radius: 8px;
margin-bottom: 12px;
border: 1px solid #f0f0f0;
transition: all 0.3s ease;
}
.batch-detail-row:hover {
background: #f5f5f5;
border-color: #d9d9d9;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.batch-info-item {
display: flex;
flex-direction: column;
gap: 4px;
}
.batch-info-label {
font-size: 12px;
font-weight: 500;
color: #8c8c8c;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.batch-info-value {
font-size: 14px;
font-weight: 600;
color: #262626;
}
/* Stock Quantity Input */
.stock-qty-input {
max-width: 120px;
}
.stock-qty-input .ant-input {
font-family: 'Poppins', sans-serif;
font-size: 14px;
font-weight: 500;
text-align: center;
border-radius: 6px;
border: 1px solid #d9d9d9;
transition: all 0.3s ease;
}
.stock-qty-input .ant-input:focus {
border-color: #901D77;
box-shadow: 0 0 0 2px rgba(144, 29, 119, 0.1);
}
/* Button Customization */
.modal-footer button {
font-family: 'Poppins', sans-serif;
font-weight: 500;
height: 40px;
padding: 0 24px;
border-radius: 8px;
text-transform: uppercase;
letter-spacing: 0.5px;
transition: all 0.3s ease;
box-shadow: 0 2px 6px rgba(144, 29, 119, 0.2);
}
.modal-footer button:hover:not(:disabled) {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(144, 29, 119, 0.3);
}
.modal-footer button:disabled {
opacity: 0.6;
cursor: not-allowed;
box-shadow: none;
}
/* Responsive Design */
@media (max-width: 768px) {
.qty-summary {
flex-direction: column;
align-items: flex-start;
gap: 12px;
}
.batch-detail-row {
grid-template-columns: 1fr;
}
max-width: 95vw !important;
}
/* Animation */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.product-variants-container {
animation: fadeInUp 0.4s ease;
}
}