@import "../variables/mixins";
@import "../variables/colors";
@import "../variables/sizes";

.NavButton {
  @include display-flex();
  @include justify-content(center, center);
  @include align-items(center, center);
  width: 40px;
  height: 40px;
  line-height: 42px;
  background: transparent;
  border-radius: 30px;
  border: 1px solid $cNavButton-default;
  color: $cNavButton-default;
  font-weight: $sFontWeight-lighter;
  font-size: 18px;
  outline: none;

  &:hover {
    border-color: $cNavButton-active;
    color: $cNavButton-active;
    text-decoration: none;
  }

  // For safari 8 the element node inside the NavButton is not centered horizontally with the flex layout, this uses the
  // margin auto-trick to center it as expected.
  &> * {
    margin-left: auto;
    margin-right: auto;
  }
}
.NavButton--withText {
  font-size: $sFontSize-largest;
  line-height: $sLineHeight-largest;
  font-weight: $sFontWeight-normal;
  color: $cTypography-paragraphs;
}

.NavButton--back { line-height: 40px }

@import "../variables/mixins";
@import "../variables/colors";
@import "../variables/sizes";

.NavButton {
  @include display-flex();
  @include justify-content(center, center);
  @include align-items(center, center);
  width: 40px;
  height: 40px;
  line-height: 42px;
  background: transparent;
  border-radius: 30px;
  border: 1px solid $cNavButton-default;
  color: $cNavButton-default;
  font-weight: $sFontWeight-lighter;
  font-size: 18px;
  outline: none;
  box-sizing: border-box;

  &:hover {
    border-color: $cNavButton-active;
    color: $cNavButton-active;
    text-decoration: none;
  }

  // For safari 8 the element node inside the NavButton is not centered horizontally with the flex layout, this uses the
  // margin auto-trick to center it as expected.
  &> * {
    margin-left: auto;
    margin-right: auto;
  }
}
.NavButton--withText {
  font-size: $sFontSize-largest;
  line-height: $sLineHeight-largest;
  font-weight: $sFontWeight-normal;
  color: $cTypography-paragraphs;
}

.NavButton--back { line-height: 40px }

Fix NavButton sizing to be consistent
Fix NavButton sizing to be consistent
