diff --git a/custom/public/assets/css/qq-pages.css b/custom/public/assets/css/qq-pages.css index 076bf8f..44740a8 100644 --- a/custom/public/assets/css/qq-pages.css +++ b/custom/public/assets/css/qq-pages.css @@ -516,6 +516,28 @@ margin: 0; } +/* 热力图:官方组件自己会画一层容器(边框/背景/圆角),和卡片边框叠成「框里套框」。 + 这里把内层容器压平,只留卡片这一层边框;tooltip 不动。 */ +.qq-dash-heat #user-heatmap, +.qq-dash-heat #user-heatmap > div, +.qq-dash-heat #user-heatmap .vch__wrapper, +.qq-dash-heat #user-heatmap .vch__legend, +.qq-dash-heat #user-heatmap svg { + border: 0 !important; + border-radius: 0 !important; + box-shadow: none !important; + background: transparent !important; + outline: 0 !important; +} + +.qq-dash-heat #user-heatmap .vch__tooltip, +.qq-dash-heat .ui.popup { + border: 1px solid var(--color-secondary) !important; + border-radius: 8px !important; + background: var(--color-box-body) !important; + box-shadow: 0 4px 16px rgb(0 0 0 / 12%) !important; +} + .qq-dash-feed .ui.feed { padding: 10px 16px 16px; margin: 0; diff --git a/custom/templates/custom/header.tmpl b/custom/templates/custom/header.tmpl index dccb62c..6df4ba9 100644 --- a/custom/templates/custom/header.tmpl +++ b/custom/templates/custom/header.tmpl @@ -4,9 +4,9 @@ 注意:只做外观增强,不引入任何外部依赖,全部资源随 custom/ 一起发布 */}} - - - + + +