Sha256: 44647842c91a6e407fbdde840099a1cd5a8ba2f133fe6c671c05c004b9f9e8d7

Contents?: true

Size: 1.98 KB

Versions: 2

Compression:

Stored size: 1.98 KB

Contents

//
// Spinner
// --------------------------------------------------

@-webkit-keyframes rotation {
  from {-webkit-transform: rotate(0deg);}
  to {-webkit-transform: rotate(359deg);}
}

@keyframes rotation {
  from {transform: rotate(0deg);}
  to {transform: rotate(359deg);}
}

.spinner {
  -webkit-animation: rotation .6s infinite linear;
  animation: rotation .6s infinite linear;
  border-bottom: 4px solid rgba(0,0,0,.25);
  border-left: 4px solid rgba(0,0,0,.25);
  border-right: 4px solid rgba(0,0,0,.25);
  border-radius: 100%;
  border-top: 4px solid rgba(0,0,0,.75);
  height: $font-size-base*2;
  margin: 0 auto;
  position: relative;
  width: $font-size-base*2;
  &.spinner-inline {
    display: inline-block;
    margin-right: 3px;
  }
  &.spinner-lg {
    border-width: 5px;
    height: $font-size-base*2.5;
    width: $font-size-base*2.5;
  }
  &.spinner-sm {
    border-width: 3px;
    height: $font-size-base*1.5;
    width: $font-size-base*1.5;
  }
  &.spinner-xs {
    border-width: 2px;
    height: $font-size-base;
    width: $font-size-base;
  }
  &.spinner-inverse {
    border-bottom-color: rgba(255, 255, 255, 0.25);
    border-left-color: rgba(255, 255, 255, 0.25);
    border-right-color: rgba(255, 255, 255, 0.25);
    border-top-color: rgba(255, 255, 255, 0.75);
  }
}

.ie9 .spinner {
  background: url("#{$img-path}/#{$img-spinner}") no-repeat;
  border: 0;
  &.spinner-inverse {
    background-image: url("#{$img-path}/#{$img-spinner-inverse}");
  }
  &.spinner-inverse-lg {
    background-image: url("#{$img-path}/#{$img-spinner-inverse-lg}");
  }
  &.spinner-inverse-sm {
    background-image: url("#{$img-path}/#{$img-spinner-inverse-sm}");
  }
  &.spinner-inverse-xs {
    background-image: url("#{$img-path}/#{$img-spinner-inverse-xs}");
  }
  &.spinner-lg {
    background-image: url("#{$img-path}/#{$img-spinner-lg}");
  }
  &.spinner-sm {
    background-image: url("#{$img-path}/#{$img-spinner-sm}");
  }
  &.spinner-xs {
    background-image: url("#{$img-path}/#{$img-spinner-xs}");
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
patternfly-sass-2.6.0 assets/stylesheets/patternfly/_spinner.scss
patternfly-sass-2.5.0 assets/stylesheets/patternfly/_spinner.scss