262 lines
4.7 KiB
SCSS
262 lines
4.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: absolute;
|
||
|
|
right: 0;
|
||
|
|
bottom: 0;
|
||
|
|
|
||
|
|
@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;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
.stockAdjustListMaster {
|
||
|
|
.primary_Button {
|
||
|
|
width: 290px !important;
|
||
|
|
}
|
||
|
|
}
|