/*
 * SonarQube
 * Copyright (C) 2009-2018 SonarSource SA
 * mailto:info 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-chart {
  display: inline-block;
  vertical-align: middle;
  width: 70px;
  margin-right: 20px;
  text-align: center;

  .rating {
    font-size: 32px;
  }
}

.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-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;
  }
}