service-provider-app/src/app/home/chart/chart.component.scss
2025-06-06 07:38:11 -03:00

88 lines
1.9 KiB
SCSS

.dashboard-chart-container {
padding: 24px 0px;
margin-bottom: 24px;
.charts-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
gap: 24px;
}
.chart-card {
background: #fff;
border-radius: 8px;
padding: 16px;
display: flex;
flex-direction: column;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
.chart-wrapper {
position: relative;
height: 250px;
min-height: 250px;
}
.chart-header {
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 16px;
padding: 0 8px;
.chart-title {
margin: 0;
font-size: 16px;
font-weight: 400;
color: var(--mat-sys-primary);
}
.edit-icon {
color: rgba(0, 0, 0, 0.54);
transition: color 0.2s ease;
&:hover {
color: var(--mat-sys-primary);
}
mat-icon {
font-size: 20px;
width: 20px;
height: 20px;
}
}
}
}
.no-data {
height: 300px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: rgba(0, 0, 0, 0.54);
mat-icon {
font-size: 48px;
width: 48px;
height: 48px;
margin-bottom: 16px;
color: rgba(0, 0, 0, 0.24);
}
p {
margin: 0;
}
}
}
// Responsive adjustments
@media (max-width: 768px) {
.dashboard-chart-container {
padding: 16px;
.charts-grid {
grid-template-columns: 1fr;
}
}
}