feat(usage): render token trends as stacked bars with an adaptive time axis
This commit is contained in:
1 parent
81597fcf91
commit
ba247159da
7 files changed
+259
-337
No files matched your search
+12
-18
@@ -8313,13 +8313,9 @@ textarea:focus-visible {
|
||||
}
|
||||
|
||||
.usage-trend-y-axis {
|
||||
position: relative;
|
||||
grid-column: 1;
|
||||
grid-row: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
align-items: flex-end;
|
||||
padding: 2px 0;
|
||||
color: var(--theme-8a847c);
|
||||
font-size: 10px;
|
||||
font-variant-numeric: tabular-nums;
|
||||
@@ -8327,6 +8323,12 @@ textarea:focus-visible {
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.usage-trend-y-axis span {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
.usage-trend-plot {
|
||||
position: relative;
|
||||
grid-column: 2;
|
||||
@@ -8363,17 +8365,13 @@ textarea:focus-visible {
|
||||
vector-effect: non-scaling-stroke;
|
||||
}
|
||||
|
||||
.usage-trend-area {
|
||||
transition: opacity 0.2s ease;
|
||||
.usage-trend-bar {
|
||||
opacity: 0.8;
|
||||
transition: opacity 0.15s ease;
|
||||
}
|
||||
|
||||
.usage-trend-line {
|
||||
vector-effect: non-scaling-stroke;
|
||||
}
|
||||
|
||||
.usage-trend-total-line {
|
||||
opacity: 0.5;
|
||||
vector-effect: non-scaling-stroke;
|
||||
.usage-trend-bar.is-active {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.usage-trend-cursor-line {
|
||||
@@ -8384,10 +8382,6 @@ textarea:focus-visible {
|
||||
vector-effect: non-scaling-stroke;
|
||||
}
|
||||
|
||||
.usage-trend-dot {
|
||||
vector-effect: non-scaling-stroke;
|
||||
}
|
||||
|
||||
.usage-trend-x-axis {
|
||||
position: relative;
|
||||
grid-column: 2;
|
||||
|
||||
Reference in new issue
Block a user