Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 46 additions & 11 deletions client/src/containers/User/UserDash/Dash.css
Original file line number Diff line number Diff line change
@@ -1,40 +1,75 @@
.dashboard-container {
max-width: 1200px;
margin: auto;
padding: 20px;
font-family: "Arial", sans-serif;
}

.dashboard-header {
text-align: center;
margin-bottom: 20px;
margin-bottom: 40px;
}

.dashboard-header h1 {
font-size: 2.5rem;
margin-bottom: 5px;
}

.dashboard-header p {
font-size: 1.2rem;
color: #555;
}

.user-info {
background: #f7f7f7;
padding: 20px;
border-radius: 12px;
margin-bottom: 40px;
}

.info-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 15px;
}

.chart-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}

.pie-charts {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 20px; /* Space between pie charts */
margin-bottom: 30px;
}

.pie-chart {
border: 1px solid #ddd; /* Optional: add border around each chart */
border-radius: 10px; /* Optional: rounded corners */
.pie-chart-wrapper {
margin: 0 20px;
}

.bar-chart {
.bar-chart-wrapper {
overflow-x: auto;
margin-top: 20px;
}

.home-link {
display: block;
text-align: center;
margin-top: 20px;
color: #007bff; /* Bootstrap primary color */
margin-top: 30px;
font-size: 1.1rem;
color: #007bff;
text-decoration: none;
}

.home-link:hover {
text-decoration: underline; /* Add underline on hover */
text-decoration: underline;
}

.loading, .error {
text-align: center;
font-size: 1.2rem;
padding: 50px;
color: #ff4d4f;
}
Loading
Loading