<div class="back-to-section-home">
    <a class="back-to-section-home__link" href="#">
        <span class="side-menu__icon__wrapper">
            <svg class="side-menu__icon">
                <use xlink:href="/assets/sprites/icons.svg#ico-chevron-down"></use>
            </svg>
        </span>
        <span>back to section home</span>
    </a>
</div>
<div class="back-to-section-home">
    <a class="back-to-section-home__link" href="#">
        <span class="side-menu__icon__wrapper">
            <svg class="side-menu__icon">
                <use xlink:href="/assets/sprites/icons.svg#ico-chevron-down"></use>
            </svg>
        </span>
        <span>back to section home</span>
    </a>
</div>
/* No context defined for this component. */
  • Content:
    .back-to-section-home {
      width: 100%;
      text-align: center;
      position: absolute;
      top: 0;
      margin-bottom: $space-xxl;
      z-index: 1;
    
      &__link {
        background-color: $gray-lighter;
        color: $primary-lighter;
        display: flex;
        font-size: $font-size-sm;
        font-weight: $font-weight-normal;
        justify-content: center;
        letter-spacing: .1em;
        line-height: 1;
        padding: $space-sm;
        text-transform: uppercase;
        transition: all 0.3 ease-in-out;
    
        &:hover {
          background-color: $primary-lighter;
          color: $white;
        }
    
        .side-menu__icon {
          fill: $white;
          height: .375rem;
          left: 4px;
          margin: 0;
          top: 4px;
          position: absolute;
          transform: rotate(180deg);
          width: .375rem;
    
          &__wrapper {
            background-color: #946d84;
            border-radius: 50%;
            height: $space-sm;
            margin-right: .75rem;
            position: relative;
            width: $space-sm;
          }
        }
      }
    }
    
  • URL: /components/raw/in_page_back_button/_in-page-back-button.scss
  • Filesystem Path: src/components/atoms/in_page_back_button/_in-page-back-button.scss
  • Size: 965 Bytes

There are no notes for this item.