183 lines
2.8 KiB
CSS
183 lines
2.8 KiB
CSS
|
|
.dashboard {
|
||
|
|
max-width: 1200px;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Banner */
|
||
|
|
.dashboard-banner {
|
||
|
|
background: #fff;
|
||
|
|
border-radius: var(--radius-card);
|
||
|
|
padding: 24px;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: space-between;
|
||
|
|
margin-bottom: 24px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.banner-text h2 {
|
||
|
|
margin: 0 0 8px;
|
||
|
|
font-size: 20px;
|
||
|
|
color: var(--color-text-primary);
|
||
|
|
}
|
||
|
|
|
||
|
|
.banner-text p {
|
||
|
|
margin: 0;
|
||
|
|
color: var(--color-text-secondary);
|
||
|
|
}
|
||
|
|
|
||
|
|
.banner-image-placeholder {
|
||
|
|
width: 200px;
|
||
|
|
height: 100px;
|
||
|
|
background: var(--color-accent-green);
|
||
|
|
border-radius: 12px;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
color: var(--color-primary-green);
|
||
|
|
font-size: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* KPI Cards */
|
||
|
|
.kpi-row {
|
||
|
|
margin-bottom: 24px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.kpi-card {
|
||
|
|
border-radius: var(--radius-card);
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.kpi-icon {
|
||
|
|
width: 56px;
|
||
|
|
height: 56px;
|
||
|
|
border-radius: 12px;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.kpi-info {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
}
|
||
|
|
|
||
|
|
.kpi-value {
|
||
|
|
font-size: 24px;
|
||
|
|
font-weight: 600;
|
||
|
|
color: var(--color-text-primary);
|
||
|
|
}
|
||
|
|
|
||
|
|
.kpi-label {
|
||
|
|
font-size: 12px;
|
||
|
|
color: var(--color-text-secondary);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Content Cards */
|
||
|
|
.cards-row {
|
||
|
|
margin-bottom: 24px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.content-card {
|
||
|
|
border-radius: var(--radius-card);
|
||
|
|
height: 100%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.content-card .ant-card-head-title {
|
||
|
|
font-weight: 600;
|
||
|
|
}
|
||
|
|
|
||
|
|
.placeholder-text {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
padding: 32px 16px;
|
||
|
|
text-align: center;
|
||
|
|
color: var(--color-text-secondary);
|
||
|
|
}
|
||
|
|
|
||
|
|
.placeholder-text p {
|
||
|
|
margin: 8px 0 4px;
|
||
|
|
font-weight: 500;
|
||
|
|
}
|
||
|
|
|
||
|
|
.placeholder-text small {
|
||
|
|
color: #999;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Chart Container */
|
||
|
|
.chart-container {
|
||
|
|
padding: 8px 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.bars-wrapper {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
align-items: flex-end;
|
||
|
|
height: 200px;
|
||
|
|
padding: 0 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.bar-item {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: center;
|
||
|
|
flex: 1;
|
||
|
|
max-width: 40px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.bar {
|
||
|
|
width: 24px;
|
||
|
|
border-radius: 4px 4px 0 0;
|
||
|
|
transition: all 0.3s;
|
||
|
|
cursor: pointer;
|
||
|
|
}
|
||
|
|
|
||
|
|
.bar-label-top {
|
||
|
|
font-size: 9px;
|
||
|
|
color: var(--color-text-secondary);
|
||
|
|
text-align: center;
|
||
|
|
margin-top: 4px;
|
||
|
|
max-width: 40px;
|
||
|
|
overflow: hidden;
|
||
|
|
white-space: nowrap;
|
||
|
|
text-overflow: ellipsis;
|
||
|
|
}
|
||
|
|
|
||
|
|
.bar-label-bottom {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: center;
|
||
|
|
gap: 2px;
|
||
|
|
margin-top: 4px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.bar-label-bottom span {
|
||
|
|
font-size: 9px;
|
||
|
|
color: var(--color-text-secondary);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Chart Legend */
|
||
|
|
.chart-legend {
|
||
|
|
display: flex;
|
||
|
|
justify-content: center;
|
||
|
|
gap: 16px;
|
||
|
|
margin-top: 12px;
|
||
|
|
padding-top: 12px;
|
||
|
|
border-top: 1px solid #f0f0f0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.legend-item {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 4px;
|
||
|
|
font-size: 11px;
|
||
|
|
color: var(--color-text-secondary);
|
||
|
|
}
|
||
|
|
|
||
|
|
.dot {
|
||
|
|
width: 8px;
|
||
|
|
height: 8px;
|
||
|
|
border-radius: 50%;
|
||
|
|
}
|