Sha256: 3849164ad868f00638ecebbecd4db6a8ccabae8b359fde2cc02a26307be4d483

Contents?: true

Size: 1.09 KB

Versions: 35

Compression:

Stored size: 1.09 KB

Contents

// Rules for styling links
// =========================================

.links__darker-link {
  color: $darker-link;
}

.links__phone--span { // Phone # link in the navigation on landing pages like info.kcc.edu
  color: $white;
  position: relative; // Needed to make pseudo-element underlining the right width
  text-decoration: none;
  &:visited {
    color: $white;
  }
  &:hover,
  &:focus {
    color: $white;  // Remove the Bootstrap primary blue colour on a:hover
    text-decoration: none; // Prevent underlining
  }
}


.links__phone--span:focus:after,
.links__phone--span:hover:after { // mouse-hover effect for phone # in landing pages
  opacity: 1;  // Make the underline fade in
  transform: translateY(-.2em); // Move the underline up (along the Y-axis) as it fades-in
}

.links__phone--span:after { // Pseudo-element to unerline the phone # on mouse-hover
    background-color: $color-orange;
    bottom: - .325rem;
    content: "";
    display: block;
    height: .1875rem;
    opacity: 0;
    position: absolute;
    transition: opacity .3s,transform .3s; // mouse-hover effect
    width: 100%;
}

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
landing-page-gem-1.2.2 assets/scss/1-base/_links.scss
landing-page-gem-1.2.1 assets/scss/1-base/_links.scss
landing-page-gem-1.2.0 assets/scss/1-base/_links.scss
landing-page-gem-0.17.1 assets/scss/1-base/_links.scss
landing-page-gem-0.17.0 assets/scss/1-base/_links.scss
landing-page-gem-0.16.0 assets/scss/1-base/_links.scss
landing-page-gem-0.15.0 assets/scss/1-base/_links.scss
landing-page-gem-0.14.0 assets/scss/1-base/_links.scss
landing-page-gem-0.13.0 assets/scss/1-base/_links.scss
landing-page-gem-0.12.0 assets/scss/1-base/_links.scss
landing-page-gem-0.11.1 assets/scss/1-base/_links.scss
landing-page-gem-0.11.0 assets/scss/1-base/_links.scss
landing-page-gem-0.10.1 assets/scss/1-base/_links.scss
landing-page-gem-0.10.0 assets/scss/1-base/_links.scss
landing-page-gem-0.9.0 assets/scss/1-base/_links.scss
landing-page-gem-0.8.1 assets/scss/1-base/_links.scss
landing-page-gem-0.8.0 assets/scss/1-base/_links.scss
landing-page-gem-0.7.2 assets/scss/1-base/_links.scss
landing-page-gem-0.7.1 assets/scss/1-base/_links.scss
landing-page-gem-0.7.0 assets/scss/1-base/_links.scss