/* * 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/misc"; @import (reference) "ui"; .measures { } .measures + .measures { margin-top: 15px; padding-top: 15px; border-top: 1px solid @barBorderColor; } .measures-duplex { font-size: 0; .justify; .measures-list { display: inline-block; vertical-align: top; width: 40%; font-size: @baseFontSize; } } .measures-chart { display: inline-block; vertical-align: middle; width: 70px; margin-right: 20px; text-align: center; .rating { font-size: 32px; } } .measures-chart-indent { padding-left: 90px; } .measure { line-height: 1.3333333333333; } .measure + .measure { } .measure-name { display: block; font-size: @baseFontSize; } .measure-value { color: @darkBlue; font-size: @bigFontSize; font-weight: 400; } .measure-bar { display: inline-block; width: 60px; } .measure-bar-inner { display: block; min-width: 1px; height: 5px; background-color: #c0c0c0; } .measure-bar-inner-BLOCKER { background-color: @severityBlockerColor; } .measure-bar-inner-CRITICAL { background-color: @severityCriticalColor; } .measure-bar-inner-MAJOR { background-color: @severityMajorColor; } .measure-bar-inner-MINOR { background-color: @severityMinorColor; } .measure-bar-inner-INFO { background-color: @severityInfoColor; } .measure-big { display: inline-block; vertical-align: middle; .measure-name { margin-top: 2px; font-size: 15px; font-weight: 400; } .measure-value { font-size: 22px; font-weight: 300; } .rating { font-size: 22px; } } .measure-big + .measure-big { margin-left: 20px; } .measure-one-line { .clearfix; .measure-name { float: left; } .measure-value { float: right; } } .measure-with-bar { font-size: 0; .measure-name { width: 40%; } .measure-value { width: 20%; } .measure-bar { width: 30%; padding: 7px 5px; box-sizing: border-box; } }