All Downloads are FREE. Search and download functionalities are using the official Maven repository.

default.assets.wondergem.stylesheets.statistics.scss Maven / Gradle / Ivy

There is a newer version: 22.2.3
Show newest version
/*
 * Made with all the love in the world
 * by scireum in Remshalden, Germany
 *
 * Copyright by scireum GmbH
 * http://www.scireum.de - [email protected]
 */

//
// Statistics
// --------------------------------------------------

.statistics-legend li {
  height: 35px;
  list-style-type: none;
  display: inline-block;
  padding: 2px 40px 2px 28px;
}

.statistics-legend li span.block {
  display: inline-block;
  width: 30px;
  height: 30px;
}

.statistics-legend li p {
  display: inline-block;
  margin: 0;
  vertical-align: 50%;
}

.statistic {
  margin-bottom: 10px;
  text-transform: uppercase;

  .value {
    font-size: 4em;
    line-height: 1em;
    text-align: center;
    font-weight: 300;

    &.text {
      font-size: 2em;
      font-weight: 600;
    }

    img {
      max-height: .8em;
      vertical-align: baseline;
    }
  }

  .label {
    color: inherit;
    display: block;
    font-size: 1em;
    text-align: center;
    font-weight: 300;
    white-space: normal;
    height: 32px;
  }

  .help {
    text-transform: none;
    color: #6c7378;
    font-size: 80%;
    text-align: center;
    padding-top: 10px;
  }
}

.statistic {
  &.mini .value {
    font-size: 1em;
    font-weight: bold;
  }
  &.tiny .value {
    font-size: 2em;
  }
  &.small .value {
    font-size: 3em !important;
  }
  &.large .value {
    font-size: 5em;
  }
  &.huge .value {
    font-size: 6em;
  }
}

.statistic {
  &.primary {
    .value {
      color: $color_primary;
    }
  }

  &.green {
    .value {
      color: $green;
    }
  }

  &.blue {
    .value {
      color: $blue;
    }
  }

  &.yellow {
    .value {
      color: $yellow;
    }
  }

  &.red {
    .value {
      color: $red;
    }
  }

  &.orange {
    .value {
      color: $orange;
    }
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy