v1.2.0 对比车+运行速度对比图+图表可配置:移除前台后台管理链接(网址直达登录);新增🛒对比车(排行榜行加入,浮动条隐藏默认,对比页按加入顺序对比,无车默认前5,默认只对比预填充+解码);首页解码速度对比图改运行速度对比(预填充左轴空心柱+解码右轴实心柱+首字虚线);对比图支持柱状(空心/实心)/折线(实线/虚线)+左右双轴+三色深度+X轴旋转/间隔/字号防拥挤
This commit is contained in:
@@ -238,3 +238,18 @@ label { font-size: 12px; color: var(--muted); display: block; margin-bottom: 4px
|
||||
.cap-edit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
|
||||
@media (max-width: 760px) { .cap-edit-grid { grid-template-columns: 1fr; } }
|
||||
textarea.items-editor { min-height: 160px; font-family: ui-monospace, monospace; font-size: 12px; width: 100%; }
|
||||
|
||||
/* 对比车(浮动条) */
|
||||
#cart-bar {
|
||||
position: fixed; right: 18px; bottom: 18px; z-index: 90;
|
||||
display: flex; align-items: center; gap: 10px; max-width: 640px;
|
||||
background: var(--panel); border: 1px solid var(--accent); border-radius: 12px;
|
||||
padding: 9px 14px; box-shadow: 0 10px 30px rgba(0,0,0,.45);
|
||||
}
|
||||
#cart-bar[hidden] { display: none; }
|
||||
#cart-bar .cart-label { font-weight: 700; color: var(--text-strong); white-space: nowrap; }
|
||||
#cart-bar .cart-items {
|
||||
color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis;
|
||||
white-space: nowrap; max-width: 260px;
|
||||
}
|
||||
#cart-bar .cart-items b { color: var(--text); font-weight: 600; }
|
||||
Reference in New Issue
Block a user