147 lines
2.3 KiB
CSS
147 lines
2.3 KiB
CSS
/* src/components/CareerRoadmap.css */
|
|
|
|
.milestone-tracker {
|
|
width: 100%;
|
|
max-width: 900px;
|
|
margin: auto;
|
|
text-align: center;
|
|
}
|
|
|
|
.header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.view-selector {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
|
|
.view-selector button.active {
|
|
background: #0703e2;
|
|
}
|
|
|
|
.timeline-container {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100px;
|
|
border-top: 2px solid #ddd;
|
|
margin-top: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
position: relative;
|
|
}
|
|
|
|
.timeline-line {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 2px;
|
|
background-color: #ccc;
|
|
top: 50%;
|
|
left: 0;
|
|
}
|
|
|
|
.milestone-post {
|
|
position: absolute;
|
|
transform: translateX(-50%);
|
|
cursor: pointer;
|
|
text-align: center;
|
|
}
|
|
|
|
.milestone-dot {
|
|
width: 10px;
|
|
height: 10px;
|
|
background-color: #4caf50;
|
|
border-radius: 50%;
|
|
margin: 0 auto 5px;
|
|
}
|
|
|
|
.milestone-content {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.progress-bar {
|
|
height: 5px;
|
|
background: #ddd;
|
|
width: 50px;
|
|
margin: 5px auto;
|
|
position: relative;
|
|
}
|
|
|
|
.progress {
|
|
height: 5px;
|
|
background: #4caf50;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
|
|
/* ===== Modal Styles (New Addition) ===== */
|
|
|
|
.modal-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
background-color: rgba(0, 0, 0, 0.4);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 2000;
|
|
}
|
|
|
|
.modal {
|
|
background-color: white;
|
|
padding: 2rem;
|
|
border-radius: 10px;
|
|
max-width: 400px;
|
|
width: 90%;
|
|
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
|
|
text-align: center;
|
|
}
|
|
|
|
.modal h3 {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.modal p {
|
|
margin: 0.5rem 0;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.modal-actions {
|
|
margin-top: 1.5rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
}
|
|
|
|
.modal button {
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 6px;
|
|
border: 1px solid #ccc;
|
|
background-color: #f2f2f2;
|
|
cursor: pointer;
|
|
flex: 1;
|
|
}
|
|
|
|
.modal button:hover {
|
|
background-color: #e0e0e0;
|
|
}
|
|
|
|
.modal .confirm-btn {
|
|
background-color: #4caf50;
|
|
color: white;
|
|
border: none;
|
|
}
|
|
|
|
.modal .confirm-btn:hover {
|
|
background-color: #388e3c;
|
|
}
|