mirror of
https://github.com/System-End/theseus.git
synced 2026-04-19 22:15:09 +00:00
178 lines
No EOL
2.9 KiB
SCSS
178 lines
No EOL
2.9 KiB
SCSS
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
margin: 0;
|
|
padding: 0.5rem; // Reduce padding
|
|
background-color: transparent; // Transparent for iframe
|
|
color: #333;
|
|
}
|
|
|
|
.tracking-widget {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
background: transparent; // Transparent
|
|
// Remove border-radius and box-shadow
|
|
padding: 1rem; // Reduce padding
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.5rem;
|
|
margin-bottom: 1rem;
|
|
color: #222;
|
|
}
|
|
|
|
.timeline {
|
|
display: flex;
|
|
align-items: center; // Change to center for better arrow alignment
|
|
position: relative;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.step {
|
|
flex: 1;
|
|
text-align: center;
|
|
position: relative;
|
|
z-index: 1;
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
.step .icon {
|
|
width: 50px;
|
|
height: 50px;
|
|
line-height: 50px;
|
|
border-radius: 50%;
|
|
background: #ffffff;
|
|
border: none; // Remove border
|
|
color: #666;
|
|
margin: 0 auto 0.5rem;
|
|
font-size: 1.5rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.step.completed .icon {
|
|
background: #4caf50;
|
|
// Remove border-color
|
|
color: white;
|
|
}
|
|
|
|
.step.backorder .icon {
|
|
background: #ff9800;
|
|
// Remove border-color
|
|
color: white;
|
|
}
|
|
|
|
.step .label {
|
|
font-weight: bold;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.step .date {
|
|
color: #666;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.arrow {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
align-self: center; // Ensure vertical centering
|
|
color: #888;
|
|
font-size: 2rem;
|
|
position: relative;
|
|
z-index: 1;
|
|
width: 50px;
|
|
height: 50px; // Match icon height
|
|
line-height: 50px;
|
|
margin: 0 0.5rem;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.backorder .details {
|
|
font-size: 0.85rem;
|
|
color: #ff9800;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.tracking-info {
|
|
background: #f8f9fa;
|
|
padding: 1rem;
|
|
border-radius: 6px;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.tracking-info p {
|
|
margin: 0.5rem 0;
|
|
}
|
|
|
|
.contents {
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
.contents h3 {
|
|
font-size: 1.2rem;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.contents ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.contents li {
|
|
padding: 0.5rem 0;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
.customs {
|
|
margin-top: 1rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.customs .btn {
|
|
background: #2196f3;
|
|
color: white;
|
|
padding: 0.75rem 1.5rem;
|
|
border-radius: 4px;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
}
|
|
|
|
.error-message {
|
|
text-align: center;
|
|
padding: 2rem;
|
|
font-size: 1.5rem;
|
|
color: #f44336;
|
|
}
|
|
|
|
.in-stock {
|
|
color: #4caf50;
|
|
font-size: 0.9rem;
|
|
margin-left: 0.5rem;
|
|
}
|
|
|
|
// Responsive adjustments
|
|
@media (max-width: 600px) {
|
|
.timeline {
|
|
align-items: flex-start; // Adjust for column layout
|
|
}
|
|
|
|
.step {
|
|
flex: none;
|
|
width: 100%;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.arrow {
|
|
// For vertical layout, center horizontally relative to icons
|
|
justify-content: center;
|
|
padding-left: 0;
|
|
width: 50px;
|
|
height: 30px;
|
|
line-height: 30px;
|
|
margin: 0.5rem auto; // Center horizontally
|
|
transform: rotate(90deg);
|
|
font-size: 1.5rem;
|
|
}
|
|
} |