<commit_before>// ┌────────┐
// │ Loader │
// └────────┘
//  ↳ http://esri.github.io/calcite-web/components/#loader
//  ↳ components → _loader.md

$loader-width: 0.85rem;
$loader-height: 2rem;
$loader-zoom: 0.5rem;
$loader-spacing: 1.25rem;
$loader-speed: 0.8s;
$loader-delay: 0.16s;

@mixin loader() {
  display: none;
  position: relative;
  &.is-active {
    display: block;
  }
}

%loader-styles {
  background: $blue;
  -webkit-animation: load $loader-speed infinite ease-in-out;
  animation: load $loader-speed infinite ease-in-out;
  width: $loader-width;
  height: $loader-height;
}

%loader-pseudoelements {
  @extend %loader-styles;
  position: absolute;
  top: 0;
  content: '';
}

@mixin loader-bars() {
  @extend %loader-styles;
  text-indent: -9999em;
  margin: auto;
  position: absolute;
  right: 50%;
  font-size: 11px;
  -webkit-animation-delay: $loader-delay;
  animation-delay: $loader-delay;
  &:before{
    @extend %loader-pseudoelements;
    left: -$loader-spacing;
  }
  &:after {
    @extend %loader-pseudoelements;
    left: $loader-spacing;
    -webkit-animation-delay: 2*$loader-delay;
    animation-delay: 2*$loader-delay;
  }
}

@mixin loader-text() {
  text-align: center;
  padding-top: 4rem;
}

@if $include-loader == true {
  @-webkit-keyframes load {
    0%,
    80%,
    100% {
      opacity: .75;
      box-shadow: 0 0 $blue;
      height: $loader-height;
    }
    40% {
      opacity: 1;
      box-shadow: 0 -1*$loader-zoom $blue;
      height: $loader-height+$loader-zoom;
    }
  }
  @keyframes load {
    0%,
    80%,
    100% {
      opacity: .75;
      box-shadow: 0 0 $blue;
      height: $loader-height;
    }
    40% {
      opacity: 1;
      box-shadow: 0 -1*$loader-zoom $blue;
      height: $loader-height+$loader-zoom;
    }
  }

  .loader {@include loader();}
    .loader-bars {@include loader-bars();}
    .loader-text {@include loader-text();}

  .ie9 {
    .loader-bars {
      position: inherit;
      background-color: transparent;
      background-image: url('../img/loader-ie9.gif');
      background-position: center top;
      animation: none;
      -webkit-animation-delay: none;
      -webkit-animation: none;
      width: 64px;
      height: 64px;
      &:before, &:after {
        background: none;
        animation: none;
        -webkit-animation: none;
        width: 0px;
        height: 0px;
      }
    }
    .loader-text {
      padding-top: 2rem;
    }
  }
}
<commit_msg>Missing instance of $image-path<commit_after>// ┌────────┐
// │ Loader │
// └────────┘
//  ↳ http://esri.github.io/calcite-web/components/#loader
//  ↳ components → _loader.md

$loader-width: 0.85rem;
$loader-height: 2rem;
$loader-zoom: 0.5rem;
$loader-spacing: 1.25rem;
$loader-speed: 0.8s;
$loader-delay: 0.16s;

@mixin loader() {
  display: none;
  position: relative;
  &.is-active {
    display: block;
  }
}

%loader-styles {
  background: $blue;
  -webkit-animation: load $loader-speed infinite ease-in-out;
  animation: load $loader-speed infinite ease-in-out;
  width: $loader-width;
  height: $loader-height;
}

%loader-pseudoelements {
  @extend %loader-styles;
  position: absolute;
  top: 0;
  content: '';
}

@mixin loader-bars() {
  @extend %loader-styles;
  text-indent: -9999em;
  margin: auto;
  position: absolute;
  right: 50%;
  font-size: 11px;
  -webkit-animation-delay: $loader-delay;
  animation-delay: $loader-delay;
  &:before{
    @extend %loader-pseudoelements;
    left: -$loader-spacing;
  }
  &:after {
    @extend %loader-pseudoelements;
    left: $loader-spacing;
    -webkit-animation-delay: 2*$loader-delay;
    animation-delay: 2*$loader-delay;
  }
}

@mixin loader-text() {
  text-align: center;
  padding-top: 4rem;
}

@if $include-loader == true {
  @-webkit-keyframes load {
    0%,
    80%,
    100% {
      opacity: .75;
      box-shadow: 0 0 $blue;
      height: $loader-height;
    }
    40% {
      opacity: 1;
      box-shadow: 0 -1*$loader-zoom $blue;
      height: $loader-height+$loader-zoom;
    }
  }
  @keyframes load {
    0%,
    80%,
    100% {
      opacity: .75;
      box-shadow: 0 0 $blue;
      height: $loader-height;
    }
    40% {
      opacity: 1;
      box-shadow: 0 -1*$loader-zoom $blue;
      height: $loader-height+$loader-zoom;
    }
  }

  .loader {@include loader();}
    .loader-bars {@include loader-bars();}
    .loader-text {@include loader-text();}

  .ie9 {
    .loader-bars {
      position: inherit;
      background-color: transparent;
      background-image: url('#{$image-path}/img/loader-ie9.gif');
      background-position: center top;
      animation: none;
      -webkit-animation-delay: none;
      -webkit-animation: none;
      width: 64px;
      height: 64px;
      &:before, &:after {
        background: none;
        animation: none;
        -webkit-animation: none;
        width: 0px;
        height: 0px;
      }
    }
    .loader-text {
      padding-top: 2rem;
    }
  }
}

{'fraction_non_alphanumeric': 0.16808943089430894, 'fraction_numerical': 0.026422764227642278, 'mean_word_length': 2.446078431372549, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '967713', 'n_tokens_mistral': 1915, 'n_tokens_neox': 1776, 'n_words': 379}