| 1 |
$e-elementor-loader-container-background-color: tints(200); |
| 2 |
$e-elementor-loader-background-color: rgba(theme-colors(light), .9); |
| 3 |
|
| 4 |
:root { |
| 5 |
--e-elementor-loader-container-background-color: #{$e-elementor-loader-container-background-color}; |
| 6 |
--e-elementor-loader-background-color: #{$e-elementor-loader-background-color}; |
| 7 |
} |
| 8 |
|
| 9 |
$e-elementor-loader-dark-background-color: dark-tints(500); |
| 10 |
$e-elementor-loader-container-dark-background-color: dark-tints(700); |
| 11 |
|
| 12 |
.eps-theme-dark { |
| 13 |
--e-elementor-loader-container-background-color: #{$e-elementor-loader-container-dark-background-color}; |
| 14 |
--e-elementor-loader-background-color: #{$e-elementor-loader-dark-background-color}; |
| 15 |
} |
| 16 |
|
| 17 |
.elementor-loading { |
| 18 |
background-color: var(--e-elementor-loader-container-background-color); |
| 19 |
height: 100vh; |
| 20 |
} |
| 21 |
|
| 22 |
.elementor-loader-wrapper { |
| 23 |
@include absolute-center; |
| 24 |
width: 300px; |
| 25 |
display: flex; |
| 26 |
flex-wrap: wrap; |
| 27 |
justify-content: center; |
| 28 |
} |
| 29 |
|
| 30 |
.elementor-loader { |
| 31 |
border-radius: 50%; |
| 32 |
padding: 40px; |
| 33 |
height: 150px; |
| 34 |
width: 150px; |
| 35 |
background-color: var(--e-elementor-loader-background-color); |
| 36 |
box-sizing: border-box; // For admin |
| 37 |
box-shadow: 2px 2px 20px 4px rgba(0, 0, 0, .02); |
| 38 |
} |
| 39 |
|
| 40 |
.elementor-loader-boxes { |
| 41 |
height: 100%; |
| 42 |
width: 100%; |
| 43 |
position: relative; |
| 44 |
} |
| 45 |
|
| 46 |
.elementor-loader-box { |
| 47 |
$animation-time: 1.8s; |
| 48 |
|
| 49 |
position: absolute; |
| 50 |
background-color: $editor-lightest; |
| 51 |
animation: load $animation-time linear infinite; |
| 52 |
|
| 53 |
&:nth-of-type(1) { |
| 54 |
width: 20%; |
| 55 |
height: 100%; |
| 56 |
left: 0; |
| 57 |
top: 0; |
| 58 |
} |
| 59 |
|
| 60 |
&:not(:nth-of-type(1)) { |
| 61 |
right: 0; |
| 62 |
height: 20%; |
| 63 |
width: 60%; |
| 64 |
} |
| 65 |
|
| 66 |
&:nth-of-type(2) { |
| 67 |
top: 0; |
| 68 |
animation-delay: calc( #{$animation-time} / 4 * -1 ); |
| 69 |
} |
| 70 |
|
| 71 |
&:nth-of-type(3) { |
| 72 |
top: 40%; |
| 73 |
animation-delay: calc( #{$animation-time} / 4 * -2 ); |
| 74 |
} |
| 75 |
|
| 76 |
&:nth-of-type(4) { |
| 77 |
bottom: 0; |
| 78 |
animation-delay: calc( #{$animation-time} / 4 * -3 ); |
| 79 |
} |
| 80 |
} |
| 81 |
|
| 82 |
.elementor-loading-title { |
| 83 |
$spacing: 7px; |
| 84 |
|
| 85 |
color: $editor-light; |
| 86 |
text-align: center; |
| 87 |
text-transform: uppercase; |
| 88 |
margin-top: 30px; |
| 89 |
letter-spacing: $spacing; |
| 90 |
text-indent: $spacing; |
| 91 |
font-size: 10px; |
| 92 |
width: 100%; |
| 93 |
} |
| 94 |
|
| 95 |
@keyframes load { |
| 96 |
0% { opacity: .3; } |
| 97 |
50% { opacity: 1; } |
| 98 |
100% { opacity: .3; } |
| 99 |
} |
| 100 |
|