dev1/src/components/MilestoneTimeline.css

55 lines
876 B
CSS

.milestone-timeline-container {
position: relative;
margin-top: 40px;
height: 120px;
}
.milestone-timeline-line {
position: absolute;
top: 50%;
left: 0;
right: 0;
height: 4px;
background-color: #ccc;
transform: translateY(-50%);
}
.milestone-timeline-post {
position: absolute;
transform: translateX(-50%);
cursor: pointer;
}
.milestone-timeline-dot {
width: 12px;
height: 12px;
border-radius: 50%;
background-color: #007bff;
margin: 0 auto;
}
.milestone-content {
margin-top: 10px;
text-align: center;
width: 160px;
background: white;
border: 1px solid #ddd;
padding: 6px;
border-radius: 8px;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.progress-bar {
height: 6px;
background-color: #e0e0e0;
border-radius: 3px;
margin-top: 5px;
overflow: hidden;
}
.progress {
height: 100%;
background-color: #28a745;
}