<div class="commitment-slide-label clearfix">
    <div class="circle"></div>
    <p class="text-dark">
        <span class="multi-underline">
      <a target="_blank" rel="noopener" href="www.starbucks.ca">Starbucks is committed to rescuing 100% of available food for donation</a>
    </span>
    </p>
</div>
<div class="commitment-slide-label clearfix">
  <div class="circle"></div>
  <p class="text-dark">
    <span class="multi-underline">
      <a target="_blank" rel="noopener" href="{{lableLinkSrc}}">{{lableLinkText}}</a>
    </span>
  </p>
</div>
{
  "lableLinkSrc": "www.starbucks.ca",
  "lableLinkText": "Starbucks is committed to rescuing 100% of available food for donation"
}
  • Content:
    .commitment-slide-label {
      display: flex;
      align-items: center;
      width: 100%;
      margin: 5px 0;
    
      .active {
    
    
    
        .circle {
          margin-left: -6px;
          // margin-right: 30px;
        }
      }
    
    
    
      .circle {
        overflow: visible;
        width: 50px;
        height: 50px;
        display: inline-flex;
        position: relative;
        left: -5px;
        justify-content: center;
        align-items: center;
        margin-right: 24px;
        transition: all 100ms;
        margin-left: 0;
    
        &:after {
          content: '';
          border-radius: 50%;
          $size: 25px;
          display: inline-block;
          border: 3px solid $green;
          min-width: $size;
          min-height: $size;
          transform-origin: center;
          transition: all 300ms ease-out;
          background: $light;
    
        }
      }
    
      &.slick-slide {
        margin: 5px;
      }
    
    
      @media all and (min-width: 768px) {
        min-width: 350px;
    
        max-width: 350px;
        min-height: 85px;
    
        .circle {
          left: -3px;
        }
    
      }
    
      @media all and (min-width: 930px) {
        min-width: 450px;
        min-height: 85px;
        max-width: 553px;
    
        .circle {
          left: -5px;
        }
      }
    
      @media all and (min-width: 1100px) {
        min-width: 553px;
        max-width: 575px;
      }
    
      p {
        display: inline-block;
        position: relative;
        margin: 0;
        line-height: 25px;
        text-align: left;
        width: 100%;
        max-width: 533px;
    
    
        span.multi-underline {
          padding-bottom: 0px;
          width: 100%;
          background-image: linear-gradient(transparent calc(100% - 2.5px), black 2.5px);
          background-repeat: no-repeat;
          background-size: 100% 0%;
          background-position: 100% 80%;
          transition: all 250ms;
    
          &:active {
            background-size: 100% 95%;
    
          }
        }
      }
    
    
    }
  • URL: /components/raw/commitment-slide-lable-desktop/commitment-slide-lable-desktop.scss
  • Filesystem Path: structures/02-molecules/commitment-slide-lable-desktop/commitment-slide-lable-desktop.scss
  • Size: 1.7 KB

There are no notes for this item.