@import "../../assets/scss/variables"; .graph { position: relative; display: block; background: $white; border-radius: 3px; padding: 0px; width: 100%; height: calc(100vh - $header-height-mobile); @media (min-width: map-get($grid-breakpoints, 'md')) { height: calc(100vh - $header-height-mobile); } .canvas-container { position: relative; display: block; border-radius: 3px; padding: 0px; height: calc(100vh - $header-height-mobile); @media (min-width: map-get($grid-breakpoints, 'md')) { height: calc(100vh - $header-height-mobile); } .canvas-loader { position: absolute; top: 0; left: 0; border-radius: 3px; background: $white; margin-top: 0; width: 100%; height: 630px; z-index: 1; >.spinner { position: absolute; top: calc(50% - 30px); left: calc(50% - 30px); 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; border-radius: 3px; padding: 0px; height: calc(100vh - $header-height-mobile); @media (min-width: map-get($grid-breakpoints, 'md')) { height: calc(100vh - $header-height-mobile); } } } } @keyframes graphLoader { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }