@@ -252,14 +252,17 @@ code, .mono { font-family: var(--mono); }
252252 ============================================================ */
253253.history {
254254 display : grid;
255- grid-template-columns : .9 fr 1.1 fr ;
255+ grid-template-columns : 1 fr 1.15 fr ;
256256 gap : 16px ;
257+ align-items : start;
257258}
258259.history-panel {
259260 border : 1px solid var (--border );
260261 border-radius : 8px ;
261262 background : var (--surface );
262- padding : 22px ;
263+ padding : 24px ;
264+ display : flex;
265+ flex-direction : column;
263266}
264267.history-label {
265268 font-family : var (--mono );
@@ -279,22 +282,22 @@ code, .mono { font-family: var(--mono); }
279282.history-grid {
280283 display : grid;
281284 grid-template-columns : repeat (2 , minmax (0 , 1fr ));
282- gap : 8 px ;
285+ gap : 9 px ;
283286 margin-top : 22px ;
284287}
285288.history-count {
286289 display : flex;
287290 align-items : center;
288291 justify-content : space-between;
289292 gap : 12px ;
290- padding : 10 px 12 px ;
293+ padding : 13 px 14 px ;
291294 border : 1px solid var (--border );
292295 border-radius : var (--radius );
293296 background : var (--surface-2 );
294297 font-family : var (--mono );
295298}
296- .history-count span { color : var (--muted ); font-size : 12 px ; }
297- .history-count b { color : var (--fg ); font-size : 13 px ; }
299+ .history-count span { color : var (--muted ); font-size : 12.5 px ; }
300+ .history-count b { color : var (--fg ); font-size : 15 px ; }
298301.history-list {
299302 list-style : none;
300303 margin : 20px 0 0 ;
@@ -312,71 +315,39 @@ code, .mono { font-family: var(--mono); }
312315.history-list ::-webkit-scrollbar-thumb { background : var (--border-strong ); border-radius : 4px ; }
313316.history-list ::-webkit-scrollbar-track { background : transparent; }
314317.history-chart {
315- min-height : 210px ;
318+ position : relative;
319+ height : 168px ;
316320 margin-top : 18px ;
317- padding : 16px 12px 12px ;
318- display : grid;
319- grid-auto-flow : column;
320- grid-auto-columns : minmax (62px , 1fr );
321- align-items : end;
322- gap : 10px ;
323- overflow-x : auto;
324321 border : 1px solid var (--border );
325322 border-radius : var (--radius );
323+ overflow : hidden;
326324 background :
327- linear-gradient (to top, var (--border ) 1px , transparent 1px ) 0 25 % / 100% 25% ,
325+ linear-gradient (to top, var (--grid-line ) 1px , transparent 1px ) 0 0 / 100% 25% ,
328326 var (--surface-2 );
329327}
330- .history-empty {
331- align-self : center;
332- justify-self : center ;
333- grid-column : 1 / -1 ;
328+ .history-svg { display : block; width : 100 % ; height : 100 % ; }
329+ . history-cap {
330+ position : absolute ;
331+ bottom : 8 px ;
334332 font-family : var (--mono );
333+ font-size : 10.5px ;
335334 color : var (--muted );
336- font-size : 12px ;
335+ background : color-mix (in srgb, var (--surface-2 ) 72% , transparent);
336+ padding : 1px 6px ;
337+ border-radius : 3px ;
337338}
338- .history-bar {
339- min-width : 0 ;
340- height : 178px ;
339+ .history-cap-lo { left : 9px ; }
340+ .history-cap-hi { right : 9px ; color : var (--accent-text ); }
341+ .history-empty {
342+ position : absolute;
343+ inset : 0 ;
341344 display : grid;
342- grid-template-rows : 1fr auto auto;
343- gap : 6px ;
344- color : var (--fg );
345- }
346- .history-bar-fill {
347- align-self : end;
348- min-height : 10px ;
349- height : var (--h );
350- border : 1px solid color-mix (in srgb, var (--accent ) 60% , var (--border ));
351- border-radius : 4px 4px 2px 2px ;
352- background :
353- linear-gradient (180deg , color-mix (in srgb, var (--accent ) 92% , white 8% ), var (--accent-deep ));
354- box-shadow : 0 0 26px -12px var (--accent );
355- transition : filter .16s , transform .16s ;
356- }
357- .history-bar : hover .history-bar-fill {
358- filter : brightness (1.08 );
359- transform : translateY (-2px );
360- }
361- .history-bar-total ,
362- .history-bar-delta {
363- min-width : 0 ;
364- overflow : hidden;
365- text-overflow : ellipsis;
366- white-space : nowrap;
367- font-family : var (--mono );
345+ place-items : center;
368346 text-align : center;
369- }
370- .history-bar-total {
371- font-size : 11px ;
372- font-weight : 700 ;
373- }
374- .history-bar-delta {
375- font-size : 10px ;
376- color : var (--accent-text );
377- }
378- .history-bar-delta .is-negative {
379- color : var (--err );
347+ padding : 0 16px ;
348+ font-family : var (--mono );
349+ color : var (--muted );
350+ font-size : 12px ;
380351}
381352.history-list li {
382353 display : grid;
0 commit comments