<div class="jumbotron">
    <div class="jumbotron__background-image__container">
        <div class="jumbotron__background-image" style="background: url(../../assets/images/convergence-background-e1484316906564.jpg) no-repeat scroll center center/cover;"></div>
        <div class="jumbotron__background-filter"></div>
    </div>
    <div class="jumbotron__content__container">
        <div class="jumbotron__content align__right">
            <h2 class="jumbotron__title">Re-engineer traditional meta-services</h2>
            <div class="jumbotron__description">
                <p>
                    Nulla vitae elit libero, a pharetra augue. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Integer posuere erat a ante venenatis.
                </p>
            </div>

            <div class="jumbotron__cta">

                <button class="btn btn--call-to-action">Read more</button>

            </div>

        </div>
    </div>
</div>
<div class="jumbotron">
  <div class="jumbotron__background-image__container">
    <div class="jumbotron__background-image" style="background: url({{ image_src }}) no-repeat scroll center center/cover;"></div>
    <div class="jumbotron__background-filter"></div>
  </div>
  <div class="jumbotron__content__container">
    <div class="jumbotron__content align__{{ align }}">
      <h2 class="jumbotron__title">{{ title }}</h2>
      <div class="jumbotron__description">
        <p>
          {{ text }}
        </p>
      </div>
      {% if label %}
      <div class="jumbotron__cta">
        {% include '@buttons' %}
      </div>
      {% endif %}
    </div>
  </div>
</div>
/* No context defined for this component. */
  • Content:
    .jumbotron {
      display: flex;
      position: relative;
    
      &__big {
        display: flex;
    
        .jumbotron__content__container {
          min-height: 80vh;
    
          @include mq($breakpoint-lg) {
            min-height: 34vw;
          }
    
          .jumbotron__content {
            padding: $space-xl;
    
            @include mq($breakpoint-lg) {
              max-width: 65%;
            }
    
            .jumbotron__title {
              font-weight: $font-weight-bold;
              text-transform: uppercase;
            }
    
            .jumbotron__description {
              font-weight: $font-weight-light;
            }
          }
        }
      }
    
      &__with_image {
    
        .jumbotron__content__container .jumbotron__content .jumbotron__title {
          margin: $space-lg 0 $space-xl;
        }
      }
    }
    
    .jumbotron__background-image__container {
      width: 100%;
      height: 100%;
      position: absolute;
    
      .jumbotron__background-image {
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: 100%;
        position: absolute;
      }
    
      .jumbotron__background-filter {
        width: 100%;
        height: 100%;
        position: absolute;
        background-color: rgba(0,0,0,0.45);
        opacity: .9;
      }
    
    }
    
    .jumbotron__content__container {
      max-width: $breakpoint-xxl;
      margin: auto;
      position: relative;
      min-height: 350px;
      padding: $spacer;
      display: flex;
    
      .jumbotron__content {
        max-width: $container-sm;
        align-self: center;
    
        img {
          width: 120px !important;
        }
    
        &.align__right {
          margin: 0 0 0 auto;
          text-align: right;
        }
    
        &.align__center {
          margin: 0 auto;
          text-align: center;
        }
    
        .jumbotron__title {
          color: $white;
          line-height: $line-height-sm;
        }
    
        .jumbotron__description {
          margin-top: $spacer;
          color: $white;
        }
    
        .jumbotron__cta {
          margin-top: $spacer;
        }
      }
    }
    
  • URL: /components/raw/jumbotron/_jumbotron.scss
  • Filesystem Path: src/components/molecules/jumbotron/_jumbotron.scss
  • Size: 1.8 KB

There are no notes for this item.