You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
1.2 KiB

@import "../../assets/scss/variables";
.graph {
position: relative;
display: block;
background: $white;
padding: 0px;
width: 100%;
height: 500px;
.canvas-container {
position: relative;
display: block;
padding: 0px;
height: 500px;
.canvas-loader {
position: absolute;
top: 0;
left: 0;
border-radius: 3px;
background: $white;
margin-top: 0;
width: 100%;
height: 100%;
z-index: 1;
>.spinner {
position: absolute;
top: calc(50% - 50px);
left: calc(50% - 50px);
border-radius: 50%;
width: 100px;
height: 100px;
border-top: 15px solid $black-alpha;
border-right: 15px solid $black-alpha;
border-bottom: 15px solid $black-alpha;
border-left: 15px solid $white;
animation: graphLoader 1s infinite linear;
&:after {
border-radius: 50%;
width: 100px;
height: 100px;
}
}
}
.canvas {
position: relative;
display: block;
padding: 0px;
height: 500px;
}
}
}
@keyframes graphLoader {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}