<commit_before>// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP

.footer {
  min-height: $footer-height;
  line-height: $footer-height;
  width: 100%;

  &.box--direction-row {
    > h1,
    > h2,
    > h3,
    > h4 {
      margin-bottom: 0px;
    }
  }

  &__content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding-left: $inuit-base-spacing-unit;
    padding-right: $inuit-base-spacing-unit;

    @include flexible();

    > * {
      margin-right: double($inuit-base-spacing-unit);

      &:last-child {
        margin-right: 0px;
        text-align: left;
      }
    }
  }

  &--primary {
    height: auto;
    padding: $inuit-base-spacing-unit;

    .footer {
      &__content {
        position: relative;
        color: $secondary-text-color;
        display: block;

        p {
          padding-top: halve($inuit-base-spacing-unit);
          margin: 0;
          max-width: none;
          text-align: right;
          line-height: $inuit-base-spacing-unit;
        }
      }
    }
  }

  &--centered {
    .footer {
      &__content {
        display: block;
        text-align: center;

        > * {
          margin-right: auto;
          margin-left: auto;
          text-align: center;
        }
      }
    }
  }

  &--flush {
    .footer__content,
    .footer__wrapper {
      padding-left: 0px;
      padding-right: 0px;
    }
  }

  &--large {
    min-height: $large-footer-height;
    line-height: $large-footer-height;
  }

  &--small {
    min-height: $small-footer-height;
    line-height: $small-footer-height;
  }

  &--fixed {
    .footer__wrapper {
      position: absolute;
      bottom: 0px;
      left: 0px;
      right: 0px;
      z-index: 3;

      &--fill {
        .footer__wrapper {
          background-color: $footer-background-color;
        }
      }
    }

    &.footer--primary {
      .footer__wrapper {
        position: fixed;

        &--fill {
          .footer__wrapper {
            background-color: $footer-background-color;
          }
        }
      }

      .footer__content {
        position: static;
        background-color: transparent;
      }
    }
  }

  &__container {
    flex-shrink: 0;

    &--float {
      position: absolute;
      bottom: 0px;
      left: 0px;
      right: 0px;
    }

    &--fill {
      .footer {
        background-color: $footer-background-color;
      }
    }

    &--fixed {
      position: relative;
      width: 100%;

      .footer__wrapper {
        position: absolute;
        bottom: 0px;
        left: 0px;
        right: 0px;
        z-index: 3;
      }
    }
  }

  .footer__wrapper {
    height: $footer-height;

    &--large {
      height: $large-footer-height;
    }

    &--small {
      height: $small-footer-height;
    }
  }

  *:not(.footer__container--float) > &--float {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
  }
}<commit_msg>Fixed floating footer.<commit_after>// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP

.footer {
  min-height: $footer-height;
  line-height: $footer-height;
  width: 100%;

  &.box--direction-row {
    > h1,
    > h2,
    > h3,
    > h4 {
      margin-bottom: 0px;
    }
  }

  &__content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding-left: $inuit-base-spacing-unit;
    padding-right: $inuit-base-spacing-unit;

    @include flexible();

    > * {
      margin-right: double($inuit-base-spacing-unit);

      &:last-child {
        margin-right: 0px;
        text-align: left;
      }
    }
  }

  &--primary {
    height: auto;
    padding: $inuit-base-spacing-unit;

    .footer {
      &__content {
        position: relative;
        color: $secondary-text-color;
        display: block;

        p {
          padding-top: halve($inuit-base-spacing-unit);
          margin: 0;
          max-width: none;
          text-align: right;
          line-height: $inuit-base-spacing-unit;
        }
      }
    }
  }

  &--centered {
    .footer {
      &__content {
        display: block;
        text-align: center;

        > * {
          margin-right: auto;
          margin-left: auto;
          text-align: center;
        }
      }
    }
  }

  &--flush {
    .footer__content,
    .footer__wrapper {
      padding-left: 0px;
      padding-right: 0px;
    }
  }

  &--large {
    min-height: $large-footer-height;
    line-height: $large-footer-height;
  }

  &--small {
    min-height: $small-footer-height;
    line-height: $small-footer-height;
  }

  &--fixed {
    .footer__wrapper {
      position: absolute;
      bottom: 0px;
      left: 0px;
      right: 0px;
      z-index: 3;

      &--fill {
        .footer__wrapper {
          background-color: $footer-background-color;
        }
      }
    }

    &.footer--primary {
      .footer__wrapper {
        position: fixed;

        &--fill {
          .footer__wrapper {
            background-color: $footer-background-color;
          }
        }
      }

      .footer__content {
        position: static;
        background-color: transparent;
      }
    }
  }

  &__container {
    flex-shrink: 0;

    &--float {
      position: absolute;
      bottom: 0px;
      left: 0px;
      right: 0px;
    }

    &--fill {
      .footer {
        background-color: $footer-background-color;
      }
    }

    &--fixed {
      position: relative;
      width: 100%;

      .footer__wrapper {
        position: absolute;
        bottom: 0px;
        left: 0px;
        right: 0px;
        z-index: 3;
      }
    }
  }

  .footer__wrapper {
    height: $footer-height;

    &--large {
      height: $large-footer-height;
    }

    &--small {
      height: $small-footer-height;
    }
  }

  *:not(.footer__container--float) > &--float {
    position: fixed;
    bottom: 0px;
    left: 0px;
    right: 0px;
  }
}
{'fraction_non_alphanumeric': 0.13679727427597957, 'fraction_numerical': 0.013969335604770016, 'mean_word_length': 1.5262478485370052, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4031234', 'n_tokens_mistral': 2094, 'n_tokens_neox': 1945, 'n_words': 356}