Skip to content
Snippets Groups Projects
hy-shortcuts.scss 2.86 KiB
Newer Older
  • Learn to ignore specific revisions
  • :host {
      display: block;
    }
    
    .hy-shortcuts {
      overflow: hidden;
    
      .shortcut-link-container {
        display: flex;
        flex-wrap: wrap;
        margin: 0 calc(#{var(--gutter-mobile)}* -1);
    
    
        @include breakpoint($narrow) {
          margin: 0 calc(#{var(--gutter-narrow)}* -1);
    
        }
        @include breakpoint($wide) {
          margin: 0 calc(#{var(--gutter-wide)}* -1);
        }
    
        .shortcut-link-wrapper {
          min-height: 62px;
          padding: 0 var(--gutter-mobile);
    
    
          @include breakpoint($narrow) {
    
            min-height: 70px;
    
            padding: 0 var(--gutter-narrow);
    
          }
          @include breakpoint($wide) {
            min-height: 82px;
            padding: 0 var(--gutter-wide);
          }
        }
    
        .shortcut-link-wrapper.box-3 {
          width: 100%;
    
    
          @include breakpoint($narrow) {
    
            width: 33.33%;
          }
        }
    
        .shortcut-link-wrapper.box-4 {
          width: 50%;
    
    
          @include breakpoint($narrow) {
    
            width: 25%;
          }
        }
    
        .shortcut-link-wrapper.box-3.first a.shortcut-link,
        .shortcut-link-wrapper.box-4.first a.shortcut-link {
    
          border-top: 2.5px solid var(--brand-main-nearly-black);
    
          @include breakpoint($narrow) {
    
            // tablet
            border-top: 3px solid var(--brand-main-nearly-black);
          }
    
        }
    
        a.shortcut-link {
          align-items: center;
          background-color: transparent;
    
          border-bottom: 2.5px solid var(--brand-main-nearly-black);
          color: var(--brand-main-nearly-black);
          cursor: pointer;
          display: flex;
          font-family: var(--main-font-family);
          font-size: 14px;
          font-weight: 600;
          justify-content: space-between;
          height: 100%;
          letter-spacing: -0.44px;
          line-height: 18px;
          min-height: 70px;
          position: relative;
          text-decoration: none;
    
    
          @include breakpoint($narrow) {
    
            border-bottom: 3px solid var(--brand-main-nearly-black);
            border-top: 3px solid var(--brand-main-nearly-black);
            font-size: 16px;
            letter-spacing: -0.5px;
            line-height: 18px;
            min-height: 70px;
          }
          @include breakpoint($wide) {
            font-size: 16px;
            letter-spacing: -0.5px;
            line-height: 22px;
            min-height: 82px;
          }
    
          .link-icon {
            padding: 0 0 0 8px;
    
            @include breakpoint($narrow) {
    
              padding: 0 0 0 12px;
            }
            @include breakpoint($wide) {
              padding: 0 4px 0 22px;
            }
    
            svg {
              height: 20px;
              fill: var(--brand-main-light);
              width: 20px;
    
              @include breakpoint($narrow) {
    
                height: 24px;
                width: 24px;
              }
              @include breakpoint($wide) {
                height: 28px;
                width: 28px;
              }
            }
          }
    
    
          &:hover {
            color: var(--brand-main);
            svg {
              fill: var(--brand-main);
            }
          }