Sha256: 20e2c35b596826737d6c0f4a821569c3ba150c779bfd377ebedf15c783ea176e

Contents?: true

Size: 1.79 KB

Versions: 56

Compression:

Stored size: 1.79 KB

Contents

.process-header{
  background-image: linear-gradient(to right, rgba($black, .8) 50%, var(--primary) 50%);

  .heading2{
    font-weight: bold;
  }
}

.process-header__inner{
  position: relative;

  @include flex;
  @include flex-align($x: center);
}

.process-header__main{
  background-size: cover;
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: rem-calc(1920);
  margin: 0 auto;
  background-color: lighten($dark-gray, 30);

  // decorators
  @include breakpoint(small){
    -webkit-clip-path: polygon(0 0, 95% 0, 80% 100%, 0% 100%);
    clip-path: polygon(0 0, 95% 0, 80% 100%, 0% 100%);
  }

  @include breakpoint(large){
    -webkit-clip-path: polygon(0 0, 90% 0, 70% 100%, 0% 100%);
    clip-path: polygon(0 0, 90% 0, 70% 100%, 0% 100%);
  }

  @include breakpoint(xlarge){
    -webkit-clip-path: polygon(0 0, 80% 0, 70% 100%, 0% 100%);
    clip-path: polygon(0 0, 80% 0, 70% 100%, 0% 100%);
  }

  @include breakpoint(100rem){
    -webkit-clip-path: polygon(0 0, 75% 0, 65% 100%, 0% 100%);
    clip-path: polygon(0 0, 75% 0, 65% 100%, 0% 100%);
  }

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

.process-header__container{
  position: relative;
  z-index: 1;

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

.process-header__info{
  padding: 1rem 1.5rem 1rem 1rem;

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

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

.process-header__hashtag{
  font-weight: 600;

  &::after{
    content: "ยท";
    margin-left: .5rem;
    margin-right: .5rem;
  }
}

.process-header__nav{
  margin-top: auto;
  z-index: 1;
}

Version data entries

56 entries across 56 versions & 1 rubygems

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