文件操作 - _panel_heatmap.scss
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/grafana/public/sass/components/_panel_heatmap.scss
编辑文件内容
$font-size-heatmap-tick: 11px; .heatmap-canvas-wrapper { // position: relative; cursor: crosshair; } .heatmap-panel { position: relative; .axis .tick { text { fill: $text-color; color: $text-color; font-size: $font-size-heatmap-tick; } line { opacity: 0.4; stroke: $text-color-weak; } } // This hack prevents mouseenter/mouseleave events get fired too often svg { pointer-events: none; rect { pointer-events: visiblePainted; } } } .heatmap-tooltip { white-space: nowrap; font-size: $font-size-sm; background-color: $graph-tooltip-bg; color: $text-color; } .heatmap-histogram rect { fill: $text-color-weak; } .heatmap-crosshair { line { stroke: darken($red, 15%); stroke-width: 1; } } .heatmap-selection { stroke-width: 1; fill: rgba(102, 102, 102, 0.4); stroke: rgba(102, 102, 102, 0.8); } .heatmap-legend-wrapper { @include clearfix(); margin: 0 $spacer; padding-top: 4px; svg { width: 100%; max-width: 300px; height: 18px; float: left; white-space: nowrap; } .heatmap-legend-values { display: inline-block; } .axis .tick { text { fill: $text-color; color: $text-color; font-size: $font-size-heatmap-tick; } line { opacity: 0.4; stroke: $text-color-weak; } .domain { opacity: 0.4; stroke: $text-color-weak; } } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件