@import "./../variables";
.loading{
  vertical-align: middle;
  text-align: center;
  &.fix{
    position: fixed;
    top: 0;
    left: 0;
    z-index: $zindex-loading-bar;
    width: 100%;
    height: 100%;
    background-color: hsla(0,0%,100%,.9);
    .loading-box{
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%,-50%);
    }
  }
  .loading-box{
    .circular{
      height: $component-size-large;
      width: $component-size-large;
      animation: load-loop 1s linear infinite;
      .path{
        stroke-dasharray: 90,150;
        stroke-dashoffset: 0;
        stroke-width: 2;
        stroke: $primary-color;
        stroke-linecap: round;
      }
    }
  }
}