dev1/src/components/Dashboard.css

111 lines
2.1 KiB
CSS

/* Dashboard.css */
.dashboard {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Ensure responsive layout */
gap: 15px;
padding: 15px;
background-color: #f4f7fa;
}
.dashboard section {
background-color: #ffffff;
padding: 15px;
border-radius: 8px;
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
border-left: 4px solid #6a9fb5;
}
.dashboard section:hover {
transform: translateY(-3px);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
h2 {
font-size: 1.4rem;
color: #2b4a67;
margin-bottom: 10px;
border-bottom: 1px solid #e0e0e0;
padding-bottom: 4px;
}
.career-suggestions h1 {
font-size: 1.75rem; /* Adjusted size for better hierarchy */
margin-bottom: 15px;
color: #2b4a67;
}
.career-list {
display: flex;
flex-direction: column;
gap: 10px;
}
.career-item {
padding: 8px;
background-color: #eaf6fb;
border: 1px solid #d1e7f0;
border-radius: 4px;
transition: background-color 0.2s ease;
}
.career-item:hover {
background-color: #d4edf6;
}
.career-item h3 {
font-size: 1.1rem; /* Smaller font for career titles */
margin-bottom: 4px;
font-weight: bold;
color: #34596a;
}
.career-item p {
font-size: 0.9rem;
margin: 4px 0;
color: #555555;
}
.riasec-scores h2 {
font-size: 1.5rem;
margin-bottom: 20px;
}
.chart-container {
margin: 20px 0;
max-width: 600px;
margin-left: auto;
margin-right: auto;
}
.sign-out-container {
text-align: center;
margin-top: 20px;
}
.sign-out-btn {
padding: 10px 20px;
background-color: #007bff;
color: white;
border: none;
cursor: pointer;
margin-top: 20px;
font-size: 1rem;
width: 150px;
}
.sign-out-btn:hover {
background-color: #0056b3;
}
.career-item.selected {
background-color: #cce5ff; /* Light blue background when selected */
border: 2px solid #0056b3; /* Dark blue border */
cursor: pointer;
}
.career-item:hover {
background-color: #e6f7ff; /* Lighter blue when hovering */
}