375 lines
6.7 KiB
SCSS
375 lines
6.7 KiB
SCSS
.stock-adjustment-container {
|
|
// padding: 20px;
|
|
// background-color: #fafafa;;
|
|
border-radius: 10px;
|
|
font-family: "Poppins", sans-serif;
|
|
color: #1f2d3d;
|
|
width: 100%;
|
|
height: 90%;
|
|
position: relative;
|
|
}
|
|
|
|
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
|
|
|
|
.stock-adjustment-top-bar {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
gap: 20px;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.product-filter-adjust {
|
|
.ant-input {
|
|
padding-top: 6px !important;
|
|
}
|
|
}
|
|
|
|
.stock-adjustment-search-bar {
|
|
margin-bottom: 0;
|
|
display: flex;
|
|
gap: 10px;
|
|
flex: 1;
|
|
}
|
|
|
|
.stock-adjustment-search-input {
|
|
flex: 1;
|
|
max-width: 300px;
|
|
padding: 10px 15px;
|
|
border: 1px solid #d0d0d0;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
color: #999;
|
|
|
|
&::placeholder {
|
|
color: #ccc;
|
|
}
|
|
|
|
&:focus {
|
|
outline: none;
|
|
border-color: #999;
|
|
}
|
|
}
|
|
|
|
.stock-adjustment-filters {
|
|
display: flex;
|
|
gap: 20px;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
}
|
|
|
|
.stock-adjustment-date-range {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
|
|
label {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: #333;
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
|
|
.stock-adjustment-range-picker {
|
|
width: auto;
|
|
}
|
|
|
|
.stock-adjustment-dropdown {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
|
|
label {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: #333;
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
|
|
.stock-adjustment-select {
|
|
width: 150px !important;
|
|
}
|
|
|
|
.stock-adjustment-table-wrapper {
|
|
background-color: #ffffff;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.stock-adjustment-table-header {
|
|
display: grid;
|
|
grid-template-columns: 60px 1fr 1fr 150px 150px;
|
|
background: linear-gradient(90deg, #f6f8fa 0%, #ffffff 100%);
|
|
color: #22303f;
|
|
font-weight: 600;
|
|
font-size: 12px;
|
|
border-bottom: 1px solid rgba(34, 48, 63, 0.06);
|
|
letter-spacing: 0.8px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.stock-adjustment-table-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.stock-adjustment-table-row {
|
|
display: grid;
|
|
grid-template-columns: 60px 1fr 1fr 150px 150px;
|
|
border-bottom: 1px solid rgba(34, 48, 63, 0.04);
|
|
transition:
|
|
background 0.18s ease,
|
|
transform 0.12s ease;
|
|
background-color: #fff;
|
|
|
|
&:hover {
|
|
background-color: #fbfdff;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
&:nth-child(even) {
|
|
background-color: #fbfbfc;
|
|
}
|
|
|
|
&:last-child {
|
|
border-bottom: none;
|
|
}
|
|
}
|
|
|
|
.stock-adjustment-table-cell {
|
|
padding: 14px 18px;
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 13px;
|
|
color: #2a3a48;
|
|
border-right: 1px solid rgba(34, 48, 63, 0.04);
|
|
|
|
&:last-child {
|
|
border-right: none;
|
|
}
|
|
|
|
&.stock-adjustment-sno {
|
|
text-align: center;
|
|
justify-content: center;
|
|
font-weight: 600;
|
|
color: #55667a;
|
|
}
|
|
|
|
&.stock-adjustment-product-name {
|
|
font-weight: 500;
|
|
color: #0f1724;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
&.stock-adjustment-current-stock,
|
|
&.stock-adjustment-actual-stock {
|
|
text-align: center;
|
|
justify-content: center;
|
|
font-weight: 500;
|
|
}
|
|
}
|
|
|
|
.stock-adjustment-header-cell {
|
|
background-color: #fafafa;
|
|
color: #333;
|
|
font-weight: 600;
|
|
padding: 12px 15px;
|
|
text-align: center;
|
|
font-size: 12px;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.stock-adjustment-input {
|
|
width: 100%;
|
|
max-width: 140px;
|
|
padding: 8px 12px;
|
|
border: 1px solid rgba(34, 48, 63, 0.411);
|
|
border-radius: 8px;
|
|
font-size: 13px;
|
|
box-sizing: border-box;
|
|
background-color: #ffffff;
|
|
color: #1f2d3d;
|
|
text-align: center;
|
|
transition:
|
|
box-shadow 0.15s ease,
|
|
border-color 0.15s ease,
|
|
transform 0.06s ease;
|
|
|
|
&:focus {
|
|
outline: none;
|
|
border-color: #4f46e5;
|
|
box-shadow: 0 6px 18px rgba(79, 70, 229, 0.08);
|
|
background-color: #fff;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
&:hover {
|
|
border-color: rgba(34, 48, 63, 0.12);
|
|
}
|
|
}
|
|
|
|
.stock-adjustment-submit-button {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
position: fixed;
|
|
right: 1rem;
|
|
bottom: 1rem;
|
|
|
|
@media (max-width: 720px) {
|
|
position: unset;
|
|
margin-top: 2rem;
|
|
}
|
|
}
|
|
|
|
/* Responsive: stack columns on small screens */
|
|
@media (max-width: 720px) {
|
|
.stock-adjustment-table-header,
|
|
.stock-adjustment-table-row {
|
|
grid-template-columns: 1fr 1fr 1fr 1fr;
|
|
grid-auto-rows: minmax(44px, auto);
|
|
grid-template-areas: "sno product" "current actual";
|
|
}
|
|
|
|
.stock-adjustment-table-cell.stock-adjustment-sno {
|
|
grid-area: sno;
|
|
}
|
|
|
|
.stock-adjustment-table-cell.stock-adjustment-product-name {
|
|
grid-area: product;
|
|
}
|
|
|
|
.stock-adjustment-table-cell.stock-adjustment-current-stock {
|
|
grid-area: current;
|
|
}
|
|
|
|
.stock-adjustment-table-cell.stock-adjustment-actual-stock {
|
|
grid-area: actual;
|
|
}
|
|
}
|
|
|
|
.custom-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
border: 1px solid #909090;
|
|
font-family: "Poppins", sans-serif;
|
|
|
|
> thead {
|
|
position: sticky;
|
|
top: -1px;
|
|
}
|
|
}
|
|
|
|
.custom-table th {
|
|
background-color: #a4c5f4;
|
|
color: #1e1e1e;
|
|
padding: 6px;
|
|
text-align: left;
|
|
border: 1px solid #909090;
|
|
-webkit-text-stroke-width: 0.2px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
font-family: VAR(--HEADING_FONT_FAMILY);
|
|
// text-transform: uppercase;
|
|
text-transform: capitalize;
|
|
letter-spacing: 0.2px;
|
|
}
|
|
|
|
.centerDivList {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
// width: 100%;
|
|
// height: 43vh;
|
|
overflow: scroll;
|
|
padding-bottom: 2rem;
|
|
}
|
|
|
|
.custom-table td {
|
|
padding: 4px 6px;
|
|
border: 1px solid #909090;
|
|
text-align: left;
|
|
font-size: 12px !important;
|
|
}
|
|
|
|
.custom-table tbody tr td {
|
|
text-align: left;
|
|
|
|
.ant-select.ant-select-in-form-item {
|
|
width: 190px !important;
|
|
}
|
|
}
|
|
|
|
.custom-table tbody tr td[colspan="7"] {
|
|
padding: 20px;
|
|
}
|
|
|
|
.custom-table tbody tr.additionalCharges-selected {
|
|
background-color: #dddddd;
|
|
}
|
|
|
|
.custom-table tbody tr.setAsDefault-selected {
|
|
background-color: #cceaf0;
|
|
}
|
|
|
|
.custom-table {
|
|
.ant-form-item {
|
|
margin-bottom: 0 !important;
|
|
}
|
|
|
|
.float-label {
|
|
margin-bottom: 8px !important;
|
|
}
|
|
}
|
|
|
|
.ChargesAddAndCancel {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 1rem;
|
|
|
|
> div {
|
|
border-radius: 6px;
|
|
padding: 5px 10px;
|
|
color: #fff;
|
|
font-weight: 600 !important;
|
|
cursor: pointer;
|
|
}
|
|
|
|
> div:nth-child(1) {
|
|
background-color: #28aa3a;
|
|
}
|
|
|
|
> div:nth-child(2) {
|
|
background-color: #ff0000;
|
|
}
|
|
}
|
|
|
|
.custom-table {
|
|
Button:disabled,
|
|
Button[disabled] {
|
|
width: unset !important;
|
|
height: unset !important;
|
|
border-radius: 50px !important;
|
|
}
|
|
}
|
|
|
|
.openingStock-ignoreProductBTN {
|
|
width: max-content;
|
|
white-space: nowrap;
|
|
height: max-content;
|
|
padding: 10px 16px;
|
|
color: #fff;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
border: none;
|
|
background-color: #e42006;
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
font-family: "Poppins";
|
|
margin-left: 6px;
|
|
}
|