Android_Retail/src/Styles/Reports/KOT/kot.scss

343 lines
5.9 KiB
SCSS

.kot-table .ant-table table {
// height:60vh;
// overflow:scroll;
overflow: scroll;
// height: clamp(30vh , 85vh,95vh);
border-spacing: 0 0.3rem;
}
.kot-table .ant-table-thead {
position: sticky;
top: 0 !important;
background-color: #bad4f9;
z-index: 1;
border-spacing: 0 0 !important;
}
.kot-table .ant-table-wrapper .ant-table-thead > tr > th,
.ant-table-wrapper .ant-table-thead > tr > td {
color: #000000;
font-size: 12px;
font-weight: 600;
border-spacing: 0 0.3rem;
}
.kot-table .ant-table-row > td {
color: black !important;
font-weight: 500 !important;
font-size: 16px;
}
.kot-table .ant-pagination {
position: sticky;
bottom: 0;
margin: 0px 6px 6px 6px !important;
padding: 0.5rem;
background-color: #fafafa;
box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.kot-table .label-float {
font-size: 12px !important;
top: 2px;
left: 12px;
font-style: normal;
color: #007eb5;
z-index: 0;
}
.kot-container {
width: 100%;
height: 95%;
background-color: #fff;
}
.kotalModal {
.ant-modal-content {
padding: 24px !important;
}
.kot-table {
height: max-content;
max-height: 70vh;
}
}
.kot-date-div {
display: inline-flex;
gap: 3px;
float: right;
font-size: 14px;
}
.kot-date {
display: flex;
font-size: 14px;
font-family: "Gilroy";
font-weight: 500;
border-radius: 5px;
color: #212529 !important;
text-wrap: nowrap;
}
.kot-title {
margin: 1rem 0rem 0rem 0rem;
font-size: 20px;
font-weight: 600;
}
.kot-nav {
display: flex;
//srinath
flex-wrap: wrap;
//
justify-content: space-between;
margin: 10px 0;
}
.kot-title-div {
display: inline-flex;
gap: 2rem;
}
.kot-search-dev {
display: flex;
//srinath
flex-wrap: wrap !important;
//
// margin: 2rem 3rem 0rem 1rem;
justify-content: space-between;
width: 100%;
overflow: auto;
gap: 10px;
//
align-items: center;
.ant-segmented-group {
padding: 4px;
background-color: #ffead3;
border-radius: 6px;
}
.ant-badge {
position: absolute;
top: 0;
right: 0;
}
.ant-segmented-item-label {
font-family: "Poppins";
font-size: 12px !important;
}
.ant-segmented-item-selected {
opacity: 1 !important;
}
.ant-segmented-item {
opacity: 0.8;
width: 100px !important;
}
}
.kot-search-dev :where(.css-dev-only-do-not-override-2i2tap).ant-segmented .ant-segmented-group {
position: relative;
display: flex;
//srinath
// align-items: stretch;
//
justify-items: flex-start;
width: 100%;
box-shadow:
rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}
.kot-search-dev :where(.css-dev-only-do-not-override-2i2tap).ant-segmented .ant-segmented-item-selected {
background-color: #ffffff;
box-shadow:
0 1px 2px 0 rgba(0, 0, 0, 0.03),
0 1px 6px -1px rgba(0, 0, 0, 0.02),
0 2px 4px 0 rgba(0, 0, 0, 0.02);
color: rgba(0, 0, 0, 0.88);
box-shadow:
rgba(6, 24, 44, 0.4) 0px 0px 0px 2px,
rgba(6, 24, 44, 0.65) 0px 4px 6px -1px,
rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
}
.kot-table {
margin: 12px 0 12px 0;
height: 70vh;
overflow: scroll;
.ant-table-thead {
background-color: #2c88ee !important;
}
.ant-table-cell {
padding: 6px !important;
}
@media (max-width: 768px) {
height: 60vh;
scrollbar-width: thin;
}
.ant-table-content {
border: 1px solid #cecece;
border-top: unset;
border-radius: 16px 16px 3px 3px;
}
table {
tbody {
font-family: "Poppins";
> tr:nth-child(even) {
background-color: #b4b4b4;
}
}
}
thead .ant-table-cell {
text-wrap: nowrap;
}
tbody .ant-table-cell {
font-size: 14px !important;
font-weight: 400 !important;
}
}
.kot-Dropdown {
//srinath
// padding: 15px;
margin: 0.5rem 0rem 0rem 0rem;
.ant-form-item {
margin-bottom: 8px;
}
}
.status-buttons-container {
display: flex;
gap: 8px;
flex-wrap: wrap;
justify-content: center;
.status-btn {
padding: 6px 6px;
border: 0px solid #d9d9d9;
border-radius: 4px;
background: #fff;
cursor: pointer;
font-size: 12px;
font-weight: 400;
transition: all 0.2s ease;
min-width: 70px;
text-align: center;
font-family: "Poppins", sans-serif;
color: #fff;
-webkit-text-stroke-width: 0.1px;
&.status-o {
background: #d99521;
}
&.status-p {
background: #4c6fd1;
}
&.status-r {
background: #0bad77;
}
&.status-s {
background: #808080;
}
&.status-c {
background: #f24b4b;
}
&:hover:not(:disabled) {
opacity: 0.8;
}
&.active {
box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}
&:disabled {
opacity: 0.5;
cursor: not-allowed;
}
}
}
.kot-hide-breadcrumb {
display: none !important;
}
.kot-fullscreen-mode {
position: fixed !important;
top: 0 !important;
left: 0 !important;
width: 100vw !important;
height: 100vh !important;
background: white !important;
overflow: auto !important;
transition: all 0.3s ease !important;
}
.kot-fullscreen-exit {
animation: exitFullscreen 0.4s ease forwards;
}
@keyframes exitFullscreen {
from {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
z-index: 9999;
}
to {
position: relative;
top: auto;
left: auto;
width: auto;
height: auto;
z-index: auto;
}
}
.kot-fullscreen-btn {
display: flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
border-radius: 4px;
cursor: pointer;
transition: all 0.2s ease;
background: #f5f5f5;
&:hover {
background: #e6f7ff;
color: #1890ff;
}
&.active {
background: #1890ff;
color: white;
}
svg {
font-size: 16px;
}
}
.kot-clock {
display: flex;
align-items: center;
gap: 6px;
font-size: 14px;
font-weight: 500;
color: #212529;
}
.kot-time {
font-family: monospace;
font-weight: 600;
}