/* Table of Contents ================================================== # Loader */ /* # Loader ================================================== */ @-webkit-keyframes loader-spinner { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); } } @keyframes loader-spinner { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .loader-backdrop, .loader-bar { height: 2px; left: 0; pointer-events: none; position: fixed; top: 0; width: 100%; z-index: 9999; } .loader-backdrop { background: $color-transparent; } .loader-bar { background: $color-primary; } .loader-peg { box-shadow: 0 0 10px $color-primary, 0 0 5px $color-primary; display: block; height: 100%; opacity: 1; pointer-events: none; position: absolute; right: 0; -webkit-transform: rotate(3deg) translate(0, -4px); transform: rotate(3deg) translate(0, -4px); width: 100px; } .loader-spinner { display: block; pointer-events: none; position: fixed; right: 15px; top: 15px; z-index: 9999; } .loader-spinner-icon { -webkit-animation: loader-spinner 400ms linear infinite; animation: loader-spinner 400ms linear infinite; border: solid 2px $color-transparent; border-left-color: $color-primary; border-top-color: $color-primary; border-radius: 500px; box-sizing: border-box; height: 18px; pointer-events: none; width: 18px; }