feat: Clear review mode and revert to edit mode when navigating to next item feat: Implement close button functionality fix: Handle edge case with zero delivery notes feat: Add new type field with free text option fix: Enable cancellation reversal in WarehouseAdmin improve: Enhance article search autocomplete functionality
197 lines
3.2 KiB
CSS
197 lines
3.2 KiB
CSS
@media (min-width: 992px) {
|
|
.modal-lg, .modal-xl {
|
|
/*max width either 90% or 1120px*/
|
|
max-width: min(90vw, 1400px) !important;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 992px) {
|
|
.signModal > div {
|
|
margin: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
max-height: unset;
|
|
max-width: unset;
|
|
}
|
|
|
|
.signModal .modal-content {
|
|
height: 100%;
|
|
max-height: 100%;
|
|
}
|
|
|
|
.signModal .modal-body {
|
|
height: 100%;
|
|
max-height: 100%;
|
|
}
|
|
|
|
.signModal .modal-footer {
|
|
display: none;
|
|
}
|
|
|
|
}
|
|
|
|
.grid-container {
|
|
display: grid;
|
|
grid-template-columns: 2fr 0.5fr 0.5fr 1fr 2fr 0.5fr;
|
|
grid-gap: 10px;
|
|
}
|
|
.grid-container.header {
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.upload-success-alert {
|
|
background-color: #d4edda;
|
|
border: 1px solid #c3e6cb;
|
|
border-radius: 8px;
|
|
padding: 15px;
|
|
margin-bottom: 20px;
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.alert-header {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 10px;
|
|
font-size: 18px;
|
|
color: #155724;
|
|
}
|
|
|
|
.alert-header i {
|
|
margin-right: 10px;
|
|
font-size: 24px;
|
|
}
|
|
|
|
.file-list {
|
|
list-style-type: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.file-item {
|
|
display: flex;
|
|
align-items: center;
|
|
background-color: #ffffff;
|
|
border-radius: 4px;
|
|
padding: 10px;
|
|
margin-bottom: 8px;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
.file-item:hover {
|
|
background-color: #f8f9fa;
|
|
}
|
|
|
|
.file-item i {
|
|
color: #000000;
|
|
}
|
|
|
|
.file-name {
|
|
margin-left: 10px;
|
|
flex-grow: 1;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.remove-btn {
|
|
background-color: #dc3545;
|
|
color: #ffffff;
|
|
border: none;
|
|
border-radius: 4px;
|
|
padding: 5px 10px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
.remove-btn:hover {
|
|
background-color: #c82333;
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Expanded Row Styling */
|
|
.order-summary {
|
|
padding: 1rem;
|
|
}
|
|
.position-item {
|
|
margin-bottom: 1rem;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
}
|
|
.position-header {
|
|
background-color: #f0f0f0;
|
|
padding: 0.5rem;
|
|
font-weight: bold;
|
|
}
|
|
.position-details {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
|
|
padding: 0.5rem;
|
|
}
|
|
.field-item {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
|
|
.ios-switch-wrapper {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 50px;
|
|
height: 28px;
|
|
}
|
|
|
|
.ios-switch-wrapper.disabled {
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.ios-switch-wrapper input {
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.ios-switch-slider {
|
|
position: absolute;
|
|
cursor: pointer;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: #ccc;
|
|
transition: .4s;
|
|
border-radius: 34px;
|
|
}
|
|
|
|
.ios-switch-slider:before {
|
|
position: absolute;
|
|
content: "";
|
|
height: 20px;
|
|
width: 20px;
|
|
left: 4px;
|
|
bottom: 4px;
|
|
background-color: white;
|
|
transition: .4s;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
input:checked + .ios-switch-slider {
|
|
background-color: #4cd964;
|
|
}
|
|
|
|
input:checked + .ios-switch-slider:before {
|
|
transform: translateX(22px);
|
|
}
|
|
|
|
input:disabled + .ios-switch-slider {
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.see-through-test-modal .modal {
|
|
position: unset !important;
|
|
background: unset !important;
|
|
}
|
|
|
|
.see-through-test-modal .btn-secondary {
|
|
display:none;
|
|
}
|
|
|