Sha256: ca695f38d4639cfdec24ebdd3cad3daf2a8f6228986c312f11e3abfd5b551891

Contents?: true

Size: 1.57 KB

Versions: 6

Compression:

Stored size: 1.57 KB

Contents

.votings-header{
  margin-bottom: $margin-sm;

  @include breakpoint(medium){
    margin-bottom: $margin-m;
  }

  .heading2{
    font-weight: bold;
  }
}

.votings-header__main{
  background-size: cover;
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;

  &::after{
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba($black, .6);
  }
}

.votings-header__container{
  position: relative;
  z-index: 1;
  padding: 0 0 0 1rem;

  @include breakpoint(mediumlarge){
    display: flex;
    align-items: stretch;

    .columns{
      > *{
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
      }
    }
  }
}

.votings-header__info{
  padding: 1rem 1.5rem 1rem 1rem;
  text-align: center;

  @include breakpoint(medium){
    padding: 1rem 1.5rem 1rem 1rem;
  }

  @include breakpoint(mediumlarge){
    padding-left: 2rem;
    text-align: left;
  }
}

.votings-header__extra{
  background: rgba($dark-gray, .8);
  color: $white;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 16rem;
  padding: 1rem;
  margin-bottom: 1.5rem;

  @include breakpoint(medium){
    margin-left: -1rem;
    margin-right: 0;
    margin-bottom: 0;
    max-width: 150%;
    padding: 2rem 1rem;
  }
}

.votings-header__extra-title{
  display: block;
  font-weight: 600;
  font-size: 1rem;

  @include breakpoint(medium){
    font-size: 1.1rem;
  }

  line-height: 1;
}

.votings-header__extra-date{
  font-weight: 900;
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-elections-0.24.3 app/assets/stylesheets/decidim/votings/votings/_votings-header.scss
decidim-elections-0.24.2 app/assets/stylesheets/decidim/votings/votings/_votings-header.scss
decidim-elections-0.24.1 app/assets/stylesheets/decidim/votings/votings/_votings-header.scss
decidim-elections-0.24.0 app/assets/stylesheets/decidim/votings/votings/_votings-header.scss
decidim-elections-0.24.0.rc2 app/assets/stylesheets/decidim/votings/votings/_votings-header.scss
decidim-elections-0.24.0.rc1 app/assets/stylesheets/decidim/votings/votings/_votings-header.scss