You've already forked q3stats
Q3Stats is now open source! :)
This commit is contained in:
20
frontend/sass/components/ChartComponent.scss
Normal file
20
frontend/sass/components/ChartComponent.scss
Normal file
@@ -0,0 +1,20 @@
|
||||
.q3stats-chart {
|
||||
height: 400px;
|
||||
|
||||
.highcharts-loading {
|
||||
opacity: 1 !important;
|
||||
|
||||
.highcharts-loading-inner {
|
||||
position: static !important;
|
||||
top: 0px !important;
|
||||
visibility: hidden;
|
||||
|
||||
&::after {
|
||||
@include loading;
|
||||
content: '';
|
||||
display: block;
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
21
frontend/sass/components/LoaderComponent.scss
Normal file
21
frontend/sass/components/LoaderComponent.scss
Normal file
@@ -0,0 +1,21 @@
|
||||
.q3stats-loader {
|
||||
background-color: white;
|
||||
bottom: 0px;
|
||||
display: block;
|
||||
left: 0px;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
top: 0px;
|
||||
transition: opacity 0.3s;
|
||||
|
||||
&.visible {
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.inner {
|
||||
@include loading;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user