120 lines
2.0 KiB
SCSS
120 lines
2.0 KiB
SCSS
.account-activity-heatmap {
|
|
padding: 20px;
|
|
background: var(--color-alt-bg, #f5f5f5);
|
|
border-radius: 8px;
|
|
border: 1px solid var(--color-border, #e0e0e0);
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.heatmap-container {
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.heatmap-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(53, 1fr);
|
|
gap: 2px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.heatmap-cell {
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 2px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
|
|
&:hover {
|
|
transform: scale(1.2);
|
|
z-index: 10;
|
|
}
|
|
|
|
&.level-0 {
|
|
background: var(--color-bg, #ebedf0);
|
|
}
|
|
|
|
&.level-1 {
|
|
background: rgba(0, 240, 255, 0.2);
|
|
}
|
|
|
|
&.level-2 {
|
|
background: rgba(0, 240, 255, 0.4);
|
|
}
|
|
|
|
&.level-3 {
|
|
background: rgba(0, 240, 255, 0.6);
|
|
}
|
|
|
|
&.level-4 {
|
|
background: #00f0ff;
|
|
}
|
|
}
|
|
|
|
.heatmap-legend {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 5px;
|
|
font-size: 0.85rem;
|
|
color: var(--color-text-dimmed, #666);
|
|
}
|
|
|
|
.legend-label {
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.legend-cells {
|
|
display: flex;
|
|
gap: 2px;
|
|
}
|
|
|
|
.legend-cell {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 2px;
|
|
|
|
&.level-0 {
|
|
background: var(--color-bg, #ebedf0);
|
|
}
|
|
|
|
&.level-1 {
|
|
background: rgba(0, 240, 255, 0.2);
|
|
}
|
|
|
|
&.level-2 {
|
|
background: rgba(0, 240, 255, 0.4);
|
|
}
|
|
|
|
&.level-3 {
|
|
background: rgba(0, 240, 255, 0.6);
|
|
}
|
|
|
|
&.level-4 {
|
|
background: #00f0ff;
|
|
}
|
|
}
|
|
|
|
.heatmap-loading {
|
|
padding: 40px;
|
|
text-align: center;
|
|
color: var(--color-text-dimmed, #666);
|
|
}
|
|
|
|
// Dark theme
|
|
[data-theme="dark"] .account-activity-heatmap,
|
|
.dark .account-activity-heatmap {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-color: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
[data-theme="dark"] .heatmap-cell.level-0,
|
|
.dark .heatmap-cell.level-0 {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
[data-theme="dark"] .legend-cell.level-0,
|
|
.dark .legend-cell.level-0 {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|