// // Spinner // -------------------------------------------------- @keyframes rotation { from {transform: rotate(0deg);} to {transform: rotate(359deg);} } .spinner { animation: rotation 600ms infinite linear; border-bottom: 4px solid rgba($color-pf-black, (25/100)); border-left: 4px solid rgba($color-pf-black, (25/100)); border-right: 4px solid rgba($color-pf-black, (25/100)); border-radius: 100%; border-top: 4px solid rgba($color-pf-black, (75/100)); height: $spinner-size; margin: 0 auto; position: relative; width: $spinner-size; &.spinner-inline { display: inline-block; margin-right: 3px; } &.spinner-lg { border-width: 5px; height: $spinner-size-lg; width: $spinner-size-lg; } &.spinner-sm { border-width: 3px; height: $spinner-size-sm; width: $spinner-size-sm; } &.spinner-xs { border-width: 2px; height: $spinner-size-xs; width: $spinner-size-xs; } &.spinner-inverse { border-bottom-color: rgba($color-pf-white, (25/100)); border-left-color: rgba($color-pf-white, (25/100)); border-right-color: rgba($color-pf-white, (25/100)); border-top-color: rgba($color-pf-white, (75/100)); } } .ie9 .spinner { background: url(if($bootstrap-sass-asset-helper, twbs-image-path("#{$img-path}#{$img-spinner}"), "#{$img-path}#{$img-spinner}")) no-repeat; border: 0; &.spinner-inverse { background-image: url(if($bootstrap-sass-asset-helper, twbs-image-path("#{$img-path}#{$img-spinner-inverse}"), "#{$img-path}#{$img-spinner-inverse}")); } &.spinner-inverse-lg { background-image: url(if($bootstrap-sass-asset-helper, twbs-image-path("#{$img-path}#{$img-spinner-inverse-lg}"), "#{$img-path}#{$img-spinner-inverse-lg}")); } &.spinner-inverse-sm { background-image: url(if($bootstrap-sass-asset-helper, twbs-image-path("#{$img-path}#{$img-spinner-inverse-sm}"), "#{$img-path}#{$img-spinner-inverse-sm}")); } &.spinner-inverse-xs { background-image: url(if($bootstrap-sass-asset-helper, twbs-image-path("#{$img-path}#{$img-spinner-inverse-xs}"), "#{$img-path}#{$img-spinner-inverse-xs}")); } &.spinner-lg { background-image: url(if($bootstrap-sass-asset-helper, twbs-image-path("#{$img-path}#{$img-spinner-lg}"), "#{$img-path}#{$img-spinner-lg}")); } &.spinner-sm { background-image: url(if($bootstrap-sass-asset-helper, twbs-image-path("#{$img-path}#{$img-spinner-sm}"), "#{$img-path}#{$img-spinner-sm}")); } &.spinner-xs { background-image: url(if($bootstrap-sass-asset-helper, twbs-image-path("#{$img-path}#{$img-spinner-xs}"), "#{$img-path}#{$img-spinner-xs}")); } }