Android_Retail/src/Pages/StockTransfer/Dispatch.scss

232 lines
4.4 KiB
SCSS

.dispatch-toggle {
display: inline-flex;
border: 1px solid #1677ff;
border-radius: 6px;
overflow: hidden;
font-family: 'Poppins';
margin: 10px 0px 20px 0px;
}
.toggle-btn {
padding: 6px 16px;
background: #fff;
color: #1677ff;
border: none;
cursor: pointer;
font-size: 14px;
transition: all 0.2s ease;
font-family: 'Poppins';
text-wrap: nowrap;
}
.toggle-btn:not(:last-child) {
border-right: 1px solid #1677ff;
}
.toggle-btn.active {
background: #1677ff;
color: #fff;
}
.toggle-btn:hover:not(.active) {
background: #e6f4ff;
}
.dispatch-table {
.ant-form-item {
margin-bottom: unset;
}
.ant-input {
padding-top: 6px !important;
width: 130px;
text-align: center;
}
}
.stock-dispatch-table,
.dispatch-view-table,
.dispatch-table {
table {
border-spacing: unset !important;
}
.ant-table-tbody {
font-family: 'Poppins';
}
}
.complete-table {
table {
border-spacing: unset !important;
.ant-table-thead {
>tr:nth-child(1) {
>th:nth-child(4) {
border-bottom: 1px solid #fff !important;
}
}
}
}
.ant-table-tbody {
font-family: 'Poppins';
}
}
.product-dtls-modal {
.ant-modal-content {
padding: 30px !important;
}
}
.dispatch-btn,
.allocate-btn {
font-family: 'Poppins';
background-color: #1292ee;
font-size: 12px;
cursor: pointer;
font-weight: 400;
border-radius: 4px;
color: #ffffff;
padding: 5px 8px;
&:hover {
background-color: #007ad1 !important;
}
&.disable {
background-color: #808080 !important;
cursor: not-allowed;
}
}
.allocate-qty-modal {
.ant-modal-content {
padding: 24px !important;
}
.allocate-qty-container {
padding: 4px;
}
.modal-footer {
display: flex;
justify-content: flex-end;
align-items: center;
// padding-top: 20px;
// border-top: 1px solid #f0f0f0;
margin-top: 16px;
}
/* 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;
}
}
.font-size-small {
>div {
font-size: 15px !important;
padding: 5px 8px;
align-items: center;
}
}
.badgeForTab {
width: max-content;
padding: 2px 4px;
background-color: #ee3333;
color: #fff;
font-size: 12px;
font-weight: 500;
border-radius: 10pc;
height: max-content;
margin-left: 3px;
min-width: 25px;
max-width: max-content;
text-align: center;
}