NonInventPurchasingSystem/CPRNIMS.WebApps/wwwroot/css/PR/TrackingV2.css
2026-01-20 07:44:30 +08:00

173 lines
2.9 KiB
CSS

.progress-container {
display: flex;
align-items: center;
position: relative;
}
.step {
display: flex;
flex-direction: column;
align-items: center;
z-index: 1;
}
.icon-container {
width: 50px;
height: 50px;
border-radius: 50%;
background-color: #ddd;
display: flex;
justify-content: center;
align-items: center;
}
.icon-container.completed {
background-color: orange;
}
.step i {
font-size: 1.5rem;
color: #fff;
}
.line-container {
flex-grow: 1;
height: 5px;
position: relative;
}
.line {
position: absolute;
top: 50%;
left: 0;
right: 0;
height: 3px;
background-color: #ddd;
}
.step.completed + .line-container .line {
background-color: orange;
}
.truck-icon {
position: absolute;
top: 25px;
transform: translateY(-50%);
z-index: 2;
transition: left 0.5s ease-in-out;
max-width: 100%; /* Ensures the truck stays within the container */
overflow: hidden; /* Prevents overflow outside the container */
}
.truck-icon i {
font-size: 2rem;
color: #008080;
}
.step p {
margin: 5px 0 0;
text-align: center;
}
.step .date {
font-size: 0.8rem;
}
.step .label {
font-size: 0.9rem;
font-weight: bold;
}
.custom-modal-tracker {
max-width: 1320px !important;
margin: 0 auto;
overflow-x: hidden; /* Prevents horizontal overflow in the modal */
}
.completed {
background-color: orange !important;
color: white !important;
}
.form-group {
margin-bottom: 10px;
}
textarea {
resize: none;
}
#t-itemName {
width: 100%;
height: 100px;
margin-top: 5px;
}
#t-itemCategoryName {
width: 100%;
height: 100px;
margin-top: 5px;
}
#t-itemDescription {
width: 100%;
height: 100px;
margin-top: 5px;
}
#itemName {
width: 100%;
height: 100px;
margin-top: 5px;
}
#itemCategoryName {
width: 100%;
height: 100px;
margin-top: 5px;
}
#itemDescription {
width: 100%;
height: 100px;
margin-top: 5px;
}
.modal-footer .btn {
min-width: 80px;
}
.form-row .col {
padding-left: 0;
padding-right: 0;
}
.status-badge {
display: inline-block;
margin-top: 10px;
padding: 6px 14px;
border-radius: 20px;
font-size: 14px;
font-weight: 600;
letter-spacing: 0.5px;
color: #fff;
box-shadow: 0 3px 8px rgba(0,0,0,0.15);
transition: all 0.3s ease;
}
.status-badge.approved {
background: linear-gradient(135deg, #28a745, #34d058);
box-shadow: 0 4px 10px rgba(0,0,0,0.2)
}
.status-badge.denied {
background: linear-gradient(135deg, #dc3545, #ff4d6d);
box-shadow: 0 4px 10px rgba(0,0,0,0.2)
}
.status-badge.pending {
background: linear-gradient(135deg, #6c757d, #adb5bd);
box-shadow: 0 4px 10px rgba(0,0,0,0.2)
}
.status-badge:hover {
transform: scale(1.05);
box-shadow: 0 4px 10px rgba(0,0,0,0.2)
}