Android_Retail/src/Styles/Stock/StockMaster.scss

875 lines
13 KiB
SCSS

.purchaseDetails {
display: flex;
flex-direction: column;
align-items: flex-start;
width: 100%;
}
.product-qty-info {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 1rem;
margin-top: 1rem;
.example {
width: 125px;
}
}
.dates-and-expiry {
display: flex;
align-items: flex-start;
gap: 10px;
flex-wrap: wrap;
}
.collapse-data {
display: flex;
flex-direction: column;
gap: 15px;
.ant-collapse-header {
font-weight: 600;
}
}
.Product-table {
table {
border-spacing: unset;
}
}
.Product-table .ant-input {
width: 4rem !important;
}
.Product-table .ant-picker {
width: 5rem !important;
}
.additional-preview {
cursor: pointer;
}
.pricing-dtl-fields {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
}
.supplierInfo {
display: flex;
flex-direction: column;
border: 0.3px solid rgb(230, 228, 228);
padding: 0.8rem;
gap: 10px;
width: 100%;
border-radius: 6px;
}
.supplierInfo1 {
display: flex;
flex-wrap: wrap;
width: 100% !important;
gap: 1rem;
align-items: flex-start;
@media screen and (max-width: 768px) {
width: 90% !important;
}
.field-DropDown {
width: 180px !important;
}
> div:nth-child(2) {
p {
display: none !important;
}
}
.ant-form-item {
margin-bottom: 12px !important;
}
}
.supplier-dtls {
font-family: "Poppins", sans-serif;
font-size: 18px;
font-weight: 500 !important;
}
.supplierInfo2 {
display: flex;
align-items: flex-start;
gap: 1.5rem;
flex-wrap: wrap;
.ant-form-item {
margin-bottom: 0 !important;
}
}
.invoiceDetails {
display: flex;
width: 100%;
flex-direction: row;
column-gap: 1rem;
row-gap: 2rem;
flex-wrap: wrap;
border: 0.3px solid rgb(230, 228, 228);
padding: 1rem;
.ant-form-item {
margin-bottom: 0 !important;
}
}
.extractor-table {
overflow: auto;
scrollbar-width: thin;
}
.extractor-table-red .ant-table-thead {
background-color: #ef4444;
}
.product-extractor-table {
font-family: "Poppins";
.ant-input {
padding: 6px 12px 6px 12px !important;
font-size: 14px !important;
width: max-content !important;
max-width: 130px !important;
}
> td:nth-child(3) {
.ant-input {
width: max-content !important;
max-width: 70px !important;
text-align: center;
}
}
> td:nth-child(5) {
.ant-input {
width: max-content !important;
max-width: 100px !important;
text-align: center;
}
}
&.not-added {
background-color: #ff4d4f;
&:hover {
background-color: #ff4d4f !important;
}
}
&.added {
background-color: #52c41a;
}
}
.product-legend {
display: flex;
align-items: center;
gap: 10px;
font-family: "Poppins";
margin-bottom: 10px;
.legend-item {
display: flex;
align-items: center;
gap: 10px;
}
.legend-box {
width: 10px;
height: 10px;
border-radius: 2px;
&.green {
background-color: #52c41a;
}
&.red {
background-color: #ff4d4f;
}
}
}
.stockDiv {
display: flex;
flex-wrap: wrap;
flex-direction: row;
gap: 1.5rem;
padding-top: 0.5rem;
justify-content: space-between;
width: 100%;
& .field-DropDown {
width: 200px !important;
}
& .ant-input {
width: 200px;
}
& .example {
width: 200px;
}
}
.Product-table::-webkit-scrollbar {
display: block !important;
}
.purchase-entry-form {
width: 100%;
}
.purchase-entry-fh {
@media (max-width: 600px) {
padding-top: 0;
}
.formName {
display: flex;
}
.header-buttons {
display: flex;
align-items: center;
justify-content: flex-end;
flex-direction: row;
width: 100%;
gap: 10px;
}
}
.supplier-invoice-date {
display: flex;
flex-direction: row;
gap: 10px;
white-space: nowrap;
align-items: flex-start;
}
.purchase-entry-dtls {
display: flex;
align-items: flex-start;
gap: 30px;
flex-wrap: wrap;
width: 100%;
}
.switch-order-type {
display: flex;
gap: 10px;
font-weight: 600;
align-items: center;
.ant-switch-inner-checked,
.ant-switch-inner-unchecked {
font-family: "Poppins";
font-weight: 500;
}
.ant-switch {
background-color: rgb(0, 132, 255);
&:hover {
background-color: rgb(0, 132, 255);
}
}
.ant-switch.ant-switch-checked {
background-color: #52c41a;
background: #52c41a;
}
}
.Product-table {
width: 95%;
}
.purchase-entry-form {
.formDivS {
row-gap: unset;
}
}
.inputFormSTOCKFORM .ant-table-content {
width: 100% !important;
}
.pe-inward-date {
display: flex;
align-items: start;
gap: 5px;
}
.total-purchase-amnt {
border: 1px solid #26c026;
padding: 5px 10px;
display: flex;
font-weight: 500;
font-size: 16px;
height: 100%;
align-items: center;
color: #26c026;
border-radius: 4px;
}
.purchase-status {
> div:nth-child(1) {
display: flex;
align-items: center;
gap: 10px;
> p {
padding-bottom: 0 !important;
}
}
}
.purchase-status-data {
display: flex;
align-items: center;
gap: 30px;
justify-content: flex-end;
width: 100%;
}
.disc-type-purc {
background-color: #ffffff !important;
&:hover {
background-color: #ffffff !important;
height: max-content !important;
}
.ant-select-selection-item {
margin-bottom: -7px;
}
}
.supplier-invoice-no {
margin-bottom: 3rem !important;
}
.supplier-invoice-select {
.ant-select-selection-wrap {
height: 40px !important;
}
.ant-select-selector {
height: 50px !important;
}
}
.additional-dtls-modal {
.ant-modal-content {
overflow: auto;
scrollbar-width: thin;
max-height: 85vh !important;
}
.submitButtonDiv {
display: flex;
align-items: center;
justify-content: flex-end;
width: 100%;
}
}
.model-data-add {
display: flex;
align-items: center;
gap: 10px;
color: blue;
cursor: pointer;
justify-content: flex-start;
width: 100%;
padding: 0px 1rem;
flex-wrap: wrap;
font-weight: 600;
}
.prurachseViewBtn {
display: flex;
align-items: center;
justify-content: flex-end;
width: 100%;
button {
border: none;
outline: none;
padding: 8px 16px;
color: #ffffff;
background-color: #1b86dd;
font-family: "Poppins", sans-serif;
font-size: 14px;
border-radius: 8px;
cursor: pointer;
display: flex;
align-items: center;
gap: 5px;
}
}
.product-scan {
position: relative;
.product-scan-Icon {
position: absolute;
right: 10px;
top: 35%;
cursor: pointer;
}
.IsmoBileBarcode {
position: absolute;
right: 10px;
top: 25%;
.BarCodeScanMaster {
padding: 0 !important;
svg {
font-size: 25px !important;
}
}
}
}
.extracted-data-form {
display: flex;
flex-wrap: wrap;
column-gap: 1.5rem;
.invoice-date {
.ant-form-item-control-input-content {
> label {
font-family: "Poppins";
font-weight: 500;
}
display: flex;
align-items: flex-start;
gap: 10px;
}
}
.address-text-area {
max-height: 150px;
height: max-content;
width: 70%;
}
}
.invoice-image-extractor-modal {
.preview-header {
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
margin-bottom: 10px;
> button {
font-family: "Poppins";
background-color: #ef4444;
color: #fff;
display: flex;
align-items: center;
.ant-btn-icon {
> span {
> svg {
width: 13px;
height: 13px;
}
}
}
}
}
}
.uploadMoreBTN {
button {
font-size: 14px;
border: none;
outline: none;
padding: 10px 16px;
font-weight: 400;
font-family: "Poppins";
background-color: #1b86dd;
border-radius: 2px 8px 2px 8px;
color: #fff;
height: unset;
transition: all 0.3s;
&:hover {
box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
background-color: #1b86dd !important;
border-radius: 8px 2px 8px 2px;
color: #fff !important;
}
}
}
.stockformTabele {
width: 80vw;
.float-label,
.ant-select {
width: 60px !important;
}
.ant-select-selection-item {
padding-top: 0 !important;
margin-top: 0 !important;
}
.ant-select-arrow {
top: 53% !important;
font-size: 12px;
}
.ant-select-selector {
height: 32px !important;
}
}
@media only screen and (max-width: 768px) {
.purchaseDetails {
flex-direction: column;
}
.Product-table .ant-input,
.Product-table .ant-picker {
width: 100% !important;
}
.supplierInfo,
.invoiceDetails {
width: 90%;
padding: 0.8rem;
border: 0.3px solid rgb(230, 228, 228);
}
.stockDiv .field-DropDown,
.stockDiv .ant-input,
.stockDiv .example {
width: 100%;
}
.Product-table {
width: 100%;
}
.stock-input {
width: 100%;
}
}
@media only screen and (max-width: 480px) {
.purchaseDetails {
flex-direction: column;
width: 100%;
}
.supplierInfo,
.invoiceDetails {
width: 85vw;
padding: 0.8rem;
border: 0.3px solid rgb(230, 228, 228);
}
.Product-table .ant-input,
.Product-table .ant-picker {
width: 100% !important;
}
.invoiceDetails {
width: 100%;
flex-direction: column;
padding: 1rem;
}
.stockDiv .field-DropDown,
.stockDiv .ant-input,
.stockDiv .example {
width: 100%;
}
.Product-table {
width: 100%;
}
.stock-input {
width: 100vw;
}
.tipsForUpload {
ul li {
font-size: 10px !important;
}
}
}
.scan-animation-container {
display: flex;
flex-direction: column;
align-items: center;
padding: 40px 20px;
}
.scan-document {
position: relative;
width: 100px;
height: 120px;
margin-bottom: 20px;
}
.scan-document-frame {
width: 100%;
height: 100%;
border: 2px solid #1292ee;
border-radius: 8px;
background-color: #f8f9fa;
position: relative;
overflow: hidden;
}
.scan-line {
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
background-color: #1292ee;
animation: scanLine 2s ease-in-out infinite;
box-shadow: 0 0 10px rgba(18, 146, 238, 0.6);
}
.scan-text-line {
position: absolute;
left: 10px;
right: 10px;
height: 2px;
background-color: #ddd;
border-radius: 1px;
&:nth-child(2) {
top: 15px;
}
&:nth-child(3) {
top: 25px;
}
&:nth-child(4) {
top: 35px;
}
}
.scan-message {
font-size: 15px;
color: #1292ee;
font-weight: 500;
font-family: "Poppins";
}
@keyframes scanLine {
0% {
top: 0;
opacity: 1;
}
50% {
opacity: 0.8;
}
100% {
top: calc(100% - 3px);
opacity: 1;
}
}
.preview-text-data {
display: flex;
flex-direction: column;
gap: 5px;
background-color: #f8f9fa;
border-radius: 8px;
font-family: "Poppins", sans-serif;
}
.preview-field {
display: flex;
align-items: flex-start;
gap: 10px;
padding: 2px 0;
border-bottom: 1px solid #dfe1e4;
font-weight: 400;
&:last-child {
border-bottom: none;
}
strong {
min-width: 120px;
color: #495057;
font-weight: 500;
}
}
.loading-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(255, 255, 255, 0.9);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
z-index: 9999;
pointer-events: all;
}
.loading-spinner {
width: 60px;
height: 60px;
border: 5px solid #f0f0f0;
border-top: 5px solid #1292ee;
border-radius: 50%;
animation: spin 1s linear infinite;
box-shadow: 0 4px 15px rgba(18, 146, 238, 0.2);
}
.loading-text {
margin-top: 20px;
font-size: 16px;
color: #1292ee;
font-weight: 500;
font-family: "Poppins", sans-serif;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.purchase-receipt-table {
.ant-input {
padding-top: 6px !important;
}
.ant-table-cell {
padding: 5px !important;
}
}
.addallProductTBN {
border: none;
outline: none;
padding: 8px 16px;
width: max-content;
font-family: "Poppins";
font-weight: 500;
font-size: 14px;
cursor: pointer;
background-color: #1292ee;
height: max-content;
color: #fff;
border-radius: 4px;
}
.productSearchRecipt {
display: flex;
align-items: center;
flex-wrap: nowrap;
flex-direction: row-reverse;
gap: 1rem;
.ant-input-affix-wrapper {
width: 250px !important;
}
.ant-input {
padding: 3px 14px 6px 11px !important;
}
}
.finalSubmitPRBTN {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 1rem;
margin-top: 1rem;
}
.imeiSNTable {
.ant-input {
padding: 4px 4px !important;
text-align: center;
}
}
.proReceiptTD {
.ant-input {
width: 100% !important;
height: 35px !important;
padding: 2px !important;
text-align: center;
}
}
@media (max-width: 500px) {
.tdProductrecipt,
.proReceiptTD {
font-size: 12px !important;
}
.div-flex {
padding-bottom: 18px !important;
}
}
.div-flex {
display: flex;
align-items: center;
gap: 10px;
background-color: rgb(218, 218, 218);
border-radius: 4px;
padding: 4px 4px 8px 4px;
.ant-form-item {
margin-bottom: 0 !important;
}
.float-label {
margin-bottom: 0;
}
}
@media (max-width: 400px) {
.div-flex {
flex-direction: column;
align-items: flex-start;
padding-bottom: 8px !important;
}
}
.inputFormSTOCKFORM {
width: 100%;
}