<button class="buttonselect" type="button">
    <span class="buttonselect-x-top">
        <span class="buttonselect-x-title">Culinary Arts</span>
        <span class="buttonselect-x-pointer">
            <svg>
                <use xlink:href="#icon-pointerdown"></use>
            </svg>
        </span>
    </span>
    <span class="buttonselect-x-subtitle">Provide intellectual, psychosocial, and physical care and development of children.</span>
</button>
<button class="{{#if xSelector}}{{xSelector}} {{/if}}buttonselect" type="button">
  <span class="buttonselect-x-top">
    <span class="buttonselect-x-title">{{title}}</span>
    <span class="buttonselect-x-pointer">
      <svg>
        <use xlink:href="#icon-pointerdown"></use>
      </svg>
    </span>
  </span>
  <span class="buttonselect-x-subtitle">Provide intellectual, psychosocial, and physical care and development of children.</span>
</button>
{
  "title": "Culinary Arts"
}
  • Content:
    .buttonselect {
      background-color: $color-light1;
      border-radius: $border-radius;
      box-shadow: 0 10px 20px 0 rgba($color-dark1, .2);
      padding: $gridspacing * 2;
      text-align: left;
      width: 100%;
    
      .buttonselect-x-top {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
      }
    
      .buttonselect-x-title {
        @include textstyle-h2-compact;
        color: $color-interactive1;
        padding-right: $gridspacing * 2;
      }
    
      .buttonselect-x-pointer {
        align-items: center;
        background-color: $color-light2;
        border-radius: 100%;
        display: flex;
        flex-shrink: 0;
        height: 32px;
        width: 32px;
        justify-content: center;
        transition: background-color $transition-duration $transition-easing;
        will-change: background-color;
    
        svg {
          fill: $color-interactive1;
          height: 24px;
          transition: fill $transition-duration $transition-easing;
          width: 24px;
          will-change: fill;
        }
      }
    
      &:hover {
    
        .buttonselect-x-pointer {
          background-color: $color-interactive1;
    
          svg {
            fill: $color-light1;
          }
        }
      }
    
      &:active:hover {
    
        .buttonselect-x-text {
          background-color: rgba($color-interactive1, .08);
        }
      }
    }
    
  • URL: /components/raw/buttonselect/_buttonselect.scss
  • Filesystem Path: src/scss/02-modules/buttonselect/_buttonselect.scss
  • Size: 1.2 KB

No notes defined.