Sha256: 27af820e5a1a22f972bacd24efecd354e6739dd42a4e52adba53aeb437f3bb52

Contents?: true

Size: 945 Bytes

Versions: 31

Compression:

Stored size: 945 Bytes

Contents

.statistics-cell{
  overflow: hidden;
  margin: 2rem 0;
  display: flex;
  flex-wrap: wrap;

  .statistic__title{
    color: $muted;
    font-size: .9rem;
    letter-spacing: .01em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0;
  }

  .statistic__data{
    text-align: center;
    padding: 1rem .25rem;
    width: calc(50% - 1rem);
    margin: .5rem;
    position: relative;

    &::after{
      content: "";
      display: inline-block;
      border-left: 2px solid $primary;
      height: 2rem;
      position: absolute;
      left: 0;
      top: calc(50% - 1rem);
    }

    @include breakpoint(medium down){
      &:nth-child(odd)::after{
        border: none;
      }
    }

    @include breakpoint(mediumlarge){
      width: calc(25% - 1rem);

      &:nth-child(4n + 1)::after{
        border: none;
      }
    }
  }

  .statistic__number{
    font-weight: 800;
    font-size: 2rem;
    line-height: 1;
  }
}

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
decidim-core-0.27.9 app/packs/stylesheets/decidim/modules/_statistics.scss
decidim-core-0.27.8 app/packs/stylesheets/decidim/modules/_statistics.scss
decidim-core-0.27.7 app/packs/stylesheets/decidim/modules/_statistics.scss
decidim-core-0.27.6 app/packs/stylesheets/decidim/modules/_statistics.scss
decidim-core-0.26.10 app/packs/stylesheets/decidim/modules/_statistics.scss
decidim-core-0.26.9 app/packs/stylesheets/decidim/modules/_statistics.scss
decidim-core-0.27.5 app/packs/stylesheets/decidim/modules/_statistics.scss
decidim-core-0.26.8 app/packs/stylesheets/decidim/modules/_statistics.scss
decidim-core-0.27.4 app/packs/stylesheets/decidim/modules/_statistics.scss
decidim-core-0.27.3 app/packs/stylesheets/decidim/modules/_statistics.scss
decidim-core-0.26.7 app/packs/stylesheets/decidim/modules/_statistics.scss
decidim-core-0.26.5 app/packs/stylesheets/decidim/modules/_statistics.scss
decidim-core-0.27.2 app/packs/stylesheets/decidim/modules/_statistics.scss
decidim-core-0.27.1 app/packs/stylesheets/decidim/modules/_statistics.scss
decidim-core-0.26.4 app/packs/stylesheets/decidim/modules/_statistics.scss
decidim-core-0.27.0 app/packs/stylesheets/decidim/modules/_statistics.scss
decidim-core-0.26.3 app/packs/stylesheets/decidim/modules/_statistics.scss
decidim-core-0.27.0.rc2 app/packs/stylesheets/decidim/modules/_statistics.scss
decidim-core-0.27.0.rc1 app/packs/stylesheets/decidim/modules/_statistics.scss
decidim-core-0.26.2 app/packs/stylesheets/decidim/modules/_statistics.scss