MetaPhase-Consulting/State-TalentMAP

View on GitHub
src/sass/_footer.scss

Summary

Maintainability
Test Coverage
// footer container
.tm-footer {
  padding: 0;

  @media screen and (min-width: $screen-sm-min){
    .usa-grid {
      padding-left: 0;
      padding-right: 0;
    }
  }

  .commit-hash {
    display: block;
    font-size: .7em;
    padding-top: .5em;
  }

  .usa-footer-primary-content,
  .usa-footer-primary-content {
    border-bottom: 0;
    border-top: 0;
  }

  // scss-lint:disable SelectorFormat
  .usa-footer-secondary_section a {
    color: $color-white;
    text-decoration: none;
  }
  // scss-lint:enable SelectorFormat

  .usa-footer-logo {
    float: left;
    min-height: 100px;
  }

  .usa-footer-contact-links {
    float: left;
  }

  .usa-footer-logo-img {
    float: left;
  }

  .logo-img-seal {
    width: 90px;
  }

  .logo-img-tm {
    width: 200px;
  }

  .usa-footer-logo-img-tm {
    margin-top: 12px;
    padding-left: 10px;
  }

  .usa-footer-logo-img-tm-container {
    float: left;
    min-height: 55px;
  }

  .container--hr {
    border-left: 0;
    border-right: 1px solid;
    margin-top: 0;
    padding-left: 15px;
    padding-right: 10px;
  }

  .container--logo {
    margin-left: 0;
  }
}

.usa-footer-primary-section {
  font-weight: 200;
}

// footer nav
.tm-footer-nav {
  background-color: $dos-blue;
  border-bottom: 3px solid $dos-red;
  font-size: 16px;
  padding-bottom: 1rem;
  padding-top: 1rem;

  .questions-container {
    color: $color-white;
    float: right;

    a {
      color: $color-white;
      font-weight: 300;
      text-decoration: none;
    }

    .help-text {
      font-weight: normal;
    }
  }

  .usa-footer-primary-link {
    color: $color-white;
    font-size: 1.4rem;
    font-weight: 300;
    padding-bottom: 1rem;
    padding-top: 1rem;
  }
  .usa-footer-primary-link:hover {
    cursor: pointer;
  }

  li {
    line-height: 0;
  }
}

// footer main body
.tm-footer-body {
  background-color: $dos-blue;
  color: $color-white;
  padding-bottom: 3rem;
  padding-top: 3rem;

  a {
    color: $color-white;
  }

  .tm-footer-body-contact {

    padding: 15px;

    .tm-footer-body-contact-item {
      padding: 0 0 12px;
    }
  }
}