Sha256: d68935a00abc05cbf44ccb1c8958af1adf3b7718974b18f7aeeab15f878943d1

Contents?: true

Size: 1.78 KB

Versions: 2

Compression:

Stored size: 1.78 KB

Contents

.process-header{
  background-image: linear-gradient(to right, rgba($black, .8) 50%, $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

2 entries across 2 versions & 1 rubygems

Version Path
decidim-core-0.16.1 app/assets/stylesheets/decidim/modules/_process-header.scss
decidim-core-0.16.0 app/assets/stylesheets/decidim/modules/_process-header.scss