Skip to content
Snippets Groups Projects
hy-large-process-flow.scss 1.86 KiB
Newer Older
  • Learn to ignore specific revisions
  • :host {
      display: block;
    }
    
    .hy-large-process-flow {
      max-width: 100%;
      width: 100%;
    
      @include breakpoint($narrow) {
    
        //tablet up till 768 (including 768px)
    
        max-width: calc(100% / 8 * 7 + var(--gutter-narrow)); // 7 columns out of 8
      }
    
      @include breakpoint($medium + 1) {
        //small desktop; > 768
    
        max-width: calc(100% / 12 * 8 + var(--gutter-medium)); // 8 columns out of 12
      }
      @include breakpoint($wide) {
        //mid desktop
        max-width: calc(100% / 12 * 8 + var(--gutter-wide)); // 8 columns out of 12
      }
      @include breakpoint($extrawide) {
        //large desktop
        max-width: calc(100% / 12 * 8 + var(--gutter-extrawide)); // 8 columns out of 12
      }
    
      h3.hy-heading {
        font-size: 20px;
        @include breakpoint($narrow) {
          font-size: 32px;
        }
      }
    
      &__first-phase {
        h3.hy-heading {
          margin-bottom: 8px;
          padding: 24px 0 !important; //48 32
    
          @include breakpoint($narrow) {
            margin-bottom: 24px;
            margin-top: 16px; //64 48
          }
        }
      }
    
      &__multi-phase-title {
        position: relative;
    
        &:after {
          background-color: var(--grayscale-background-arrow);
          bottom: 0;
          content: ' ';
          display: inline-block;
          height: 100%;
          left: 26.5px;
          position: absolute;
          width: 10px;
          z-index: -1;
    
          @include breakpoint($narrow) {
            left: calc(100% / 8 + var(--gutter-wide) + 26.5px);
          }
    
    
    Tuukka Turu's avatar
    Tuukka Turu committed
          @include breakpoint($medium + 1) {
            left: calc(100% / 12 + var(--gutter-wide) + 26.5px);
          }
    
    
          @include breakpoint($extrawide) {
    
    Tuukka Turu's avatar
    Tuukka Turu committed
            left: calc(100% / 12 + var(--gutter-extrawide) + 26.5px);
    
          }
        }
    
        h3.hy-heading {
          background-color: var(--grayscale-white);
          margin: 1.5rem 0 1.5rem;
          padding: 8px 0 !important;
    
          @include breakpoint($narrow) {
            margin: 40px 0 48px 0;
            padding: 16px 0 !important;
          }
        }
      }
    }