/* * SonarQube * Copyright (C) 2009-2016 SonarSource SA * mailto:contact AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ @import (reference) "../variables"; @import (reference) "../mixins"; @import (reference) "../init/links"; .sonar-d3 { } .sonar-d3 .axis path { fill: none; stroke: #444; } .sonar-d3 .tick line { stroke: #444; } .sonar-d3 .tick text { fill: #444; } .sonar-d3 .plot { transition: all 0.2s ease; } .sonar-d3 .plot:hover .arc, .sonar-d3 .plot.hover .arc { opacity: 0.4; } .sonar-d3 .plot .arc:hover, .sonar-d3 .plot .arc.hover { opacity: 1; } .sonar-d3 .plot .line { fill: none; stroke: #000; stroke-width: 2; } .sonar-d3 .plot .line-marker { fill: #fff; stroke: #000; stroke-width: 2; opacity: 0; } .sonar-d3 .plot .scanner { stroke: #000; opacity: 0.25; } .sonar-d3 .arc, .sonar-d3 .bar rect { cursor: pointer; stroke: #fff; stroke-width: 1px; transition: all 0.2s ease; } .sonar-d3 .bar, .sonar-d3 .bar .legend-text, .sonar-d3 .pie-legend, .sonar-d3 .pie-legend .legend-text { cursor: pointer; } .sonar-d3 .legend { } .sonar-d3 .legend-bullet { transition: all 0.2s ease; } .sonar-d3 .legend-text { font-size: 12px; cursor: default; } .sonar-d3 .legend-active .legend-bullet { transform: scale(1.4); transform-origin: center; } .sonar-d3 .legend-html { margin-bottom: 10px; color: @secondFontColor; .legend-text + .legend-text { margin-left: 15px; } .legend-text-main { font-weight: 600; } } .sonar-d3 .details-color-indicator { fill: #fff; transition: fill 0.2s ease; } .sonar-d3 .details-metric { font-size: 12px; } .sonar-d3 .details-metric-main { font-weight: bold; } .sonar-d3 .info { } .sonar-d3 .info-text { font-size: 13px; } .sonar-d3 .info-text-bold { font-weight: bold; } .sonar-d3 .info-text-small { font-size: 12px; } .sonar-d3 .event-tick { fill: none; stroke: #000; stroke-width: 1px; transition: all 0.3s ease; } .sonar-d3.cloud-widget { text-align: center; } .sonar-d3 .cloud-word { display: inline-block; vertical-align: baseline; white-space: nowrap; margin-right: 14px; text-decoration: none; border-bottom: 1px solid transparent; &:hover { border-bottom: 1px solid; } } .max-results-reached-message { font-size: 12px; } div.max-results-reached-message { margin-top: 10px; color: #777; text-align: center; } text.max-results-reached-message { fill: #777; } .sonar-d3 .treemap-container { position: relative; } .sonar-d3 .treemap-cell { position: absolute; border-right: 1px solid #fff; border-bottom: 1px solid #fff; box-sizing: border-box; text-align: center; } .sonar-d3 .treemap-cell-drilldown { cursor: pointer; } .sonar-d3 .treemap-inner { display: inline-block; vertical-align: middle; line-height: 1.2; padding: 5px; box-sizing: border-box; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sonar-d3 .treemap-link { position: absolute; z-index: @treemap-link-z-index; top: 5px; right: 5px; line-height: @iconSmallFontSize; opacity: 0.5; .link-no-underline; &:hover { opacity: 1; } } .sonar-d3 .treemap-link i, .sonar-d3 .treemap-link i:before { vertical-align: top; font-size: inherit; line-height: inherit; } .sonar-d3 .treemap-cell-small { .treemap-inner { display: none; } } .sonar-d3 .treemap-cell-very-small { .treemap-inner { display: none; } .treemap-link { display: none; } } .sonar-d3 .treemap-breadcrumbs { margin-top: 10px; padding-top: 7px; border-top: 1px solid #e6e6e6; line-height: 1.3; } .sonar-d3 .treemap-breadcrumbs-item { color: @secondFontColor; & > [class^="icon-qualifier-"] { margin-right: 4px; } } .sonar-d3 .treemap-breadcrumbs-item + .treemap-breadcrumbs-item { margin-left: 10px; & > .icon-chevron-right { margin-right: 10px; } } .word-cloud { display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center; a { padding: 5px; .link-no-underline; } } /* * Line Chart */ .line-chart { } .line-chart-path { fill: none; stroke: @blue; stroke-width: 2px; } .line-chart-point { fill: #fff; stroke: @darkBlue; stroke-width: 2px; } .line-chart-backdrop { } .line-chart-tick { fill: @secondFontColor; font-size: 12px; text-anchor: middle; } .line-chart-tick-x { text-anchor: end; } .line-chart-tick-x-right { text-anchor: start; } .line-chart-grid { shape-rendering: crispedges; stroke: #eee; } /* * Bubble Chart */ .bubble-chart { } .bubble-chart-bubble { fill: @blue; fill-opacity: 0.2; stroke: @blue; cursor: pointer; transition: all 0.2s ease; &:hover { fill-opacity: 0.8; } } .bubble-chart-grid { shape-rendering: crispedges; stroke: #eee; } .bubble-chart-tick { fill: @secondFontColor; font-size: 12px; text-anchor: middle; } .bubble-chart-tick-y { text-anchor: end; } /* * Bar Chart */ .bar-chart { } .bar-chart-bar { fill: @blue; } .bar-chart-tick { fill: @secondFontColor; font-size: 12px; text-anchor: middle; } .histogram-tick { text-anchor: end; } .histogram-value { text-anchor: start; }