.repair-tracker-container {
position: fixed;
top: -100%;
left: 50%;
opacity: 0;
transform: translate3d(-50%, -50%, 0);
min-width: calc(100% - 20px);
min-height: calc(100dvh - 20px);
background: rgba(245, 245, 245, 0.80);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-radius: 25px;
z-index: 99;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: var(--secondary-color);
}
.repair-tracker-container-appear {
animation: fadeInAndMove 1s ease-out forwards;
}
@keyframes fadeInAndMove {
from {
top: -100%;
opacity: 0;
}
to {
top: 50%;
opacity: 1;
}
}
.search-page {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 20px;
gap: 70px;
opacity: 0;
transform: translateX(-100%);
text-align: center;
transition: all 1s ease;
}
.page-active {
transition: all 1s ease;
transform: translateX(0%) !important;
opacity: 1 !important;
}
.main-title {
font-size: var(--h1-font-size);
font-weight: 600;
}
.sub-title {
font-size: var(--h3-font-size);
}
.close-modale-button {
position: absolute;
top: 20px;
right: 20px;
width: 50px;
height: 50px;
border: none;
padding: none;
background-color: transparent;
z-index: 99;
}
.close-modale-button svg {
fill: var(--secondary-color);
min-width: 100%;
min-height: 100%;
}
.search-page input {
border-radius: 25px;
padding: 12px 40px 12px 10px;
border: 2px solid var(--secondary-color);
transition: outline .5s ease-out;
}
.search-page input:focus-visible {
outline: 5px solid rgba(53, 51, 73, 0.3);
}
.search-inter-input {
position: relative;
box-shadow: 0 0 10px rgba(53, 51, 73, 0.3);
border-radius: 25px;
margin-left: -60px;
}
.search-bar-button {
background-color: var(--primary-color);
border-radius: 25px;
position: absolute;
top: 0;
right: -60px;
height: calc(100% - 4px);
width: 90px;
display: flex;
align-items: center;
justify-content: flex-end;
padding-right: 20px;
border: 2px dashed var(--secondary-color);
z-index: -1;
}
.search-bar-button svg {
fill: var(--secondary-color);
width: 30px;
height: 30px;
}
.search-bar-button:hover {
cursor: pointer;
}
.error-message {
color: firebrick;
font-weight: 600;
}
.timeline-page {
position: absolute;
left: 0;
top: 0;
height: calc(100% - 60px);
width: calc(100% - 100px);
padding: 30px 50px 30px 50px;
transform: translateX(-100%);
text-align: center;
transition: all 1s ease;
transition-delay: 500ms;
opacity: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 100px;
}
.timeline-wrapper {
display: grid;
grid-template-columns: repeat(7, 1fr);
width: 100%;
height: fit-content;
align-items: center;
justify-items: center;
}
.timeline-image {
border: 3px solid var(--primary-color);
width: 80px;
height: 80px;
filter: grayscale(100%);
opacity: .4;
border-radius: 100px;
margin: 20px 0;
padding: 10px;
background-image: var(--main-gradient);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.timeline-active {
filter: grayscale(0%);
opacity: 1;
}
.timeline-image img {
max-width: 100%;
max-height: 100%;
object-fit: contain !important;
}
.timeline-image-rotate {
rotate: -31.5deg;
}
.steps-details-container span {
font-weight: 700;
font-size: 1rem;
display: block;
margin-bottom: 10px;
display: flex;
align-items: center;
justify-content: center;
gap: 7px;
}
.steps-details-container p {
font-size: 14px;
}
.steps-details-container em {
font-size: 20px;
display: block;
font-style: normal;
margin-top: 10px;
}
.timeline-tray-tracking-1,
.timeline-tray-tracking-2,
.timeline-tray-tracking-3 {
height: 8px;
width: 100%;
background: linear-gradient(30deg, rgba(237, 196, 74, 1) 0%, rgba(53, 51, 73, 0.4992121848739496) 100%);
border-radius: 6px 6px;
}
.waiting-for-spare-parts,
.spare-parts-received,
.repair-debutting,
.repair-finished {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.steps-details-container {
display: grid;
grid-template-columns: repeat(7, 1fr);
margin-top: -120px;
}
.steps-detail-1,
.steps-detail-2,
.steps-detail-3,
.steps-detail-4 {
padding: 10px;
opacity: .5;
border: 2px solid transparent;
}
.step-details-active {
border: 2px dashed var(--secondary-color);
border-radius: 25px;
opacity: 1;
}
.steps-detail-1 {
grid-area: 1 / 1 / span 1 / span 1;
}
.steps-detail-2 {
grid-area: 1 / 3 / span 1 / span 1;
}
.steps-detail-3 {
grid-area: 1 / 5 / span 1 / span 1;
}
.steps-detail-4 {
grid-area: 1 / 7 / span 1 / span 1;
}
.flag {
display: none;
fill: var(--secondary-color);
margin: 7px 0;
}
.flag-active {
display: block;
}
.timeline-mobile {
display: contents;
}
@media screen and (max-width: 950px) {
.repair-tracker-container {
overflow-y: scroll;
pointer-events: all;
}
.repair-tracker-container::-webkit-scrollbar {
width: 0px;
}
.timeline-tray-tracking-1,
.timeline-tray-tracking-2,
.timeline-tray-tracking-3 {
height: 100%;
width: 8px;
}
.timeline-page {
height: inherit;
gap: 35px;
}
.timeline-wrapper,
.steps-details-container {
display: contents;
}
.timeline-mobile {
display: grid;
grid-template-columns: 1fr;
grid-template-rows: auto;
max-width: 500px;
}
.steps-detail-1,
.steps-detail-2,
.steps-detail-3,
.steps-detail-4 {
min-width: inherit;
max-width: 100%;
margin-left: 0px;
margin-top: -5px;
}
.waiting-for-spare-parts {
grid-area: 1 / 1 / 2 / 2;
}
.spare-parts-received {
grid-area: 3 / 1 / 4 / 2;
}
.repair-debutting {
grid-area: 5 / 1 / 6 / 2;
}
.repair-finished {
grid-area: 7 / 1 / 8 / 2;
}
.steps-detail-1 {
grid-area: 2 / 1 / 3 / 2;
}
.steps-detail-2 {
grid-area: 4 / 1 / 5 / 2;
}
.steps-detail-3 {
grid-area: 6 / 1 / 7 / 2;
}
.steps-detail-4 {
grid-area: 8 / 1 / 9 / 2;
}
.timeline-tray-tracking-1,
.timeline-tray-tracking-2,
.timeline-tray-tracking-3 {
display: none;
}
.steps-details-container {
margin-top: 0;
}
}