-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathloader.less
111 lines (96 loc) · 2.28 KB
/
loader.less
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
@import "lesshat";
// START: TEMPLATE
@blue: #26bbf0;
@green: #c2d5a0;
@red: #cf6a6d;
@yellow: #ffbc0d;
@black: #343536;
@black-2: #424950;
@grey: #89949b;
@grey-2: #9aa8b1;
@light-grey: #c4c9cd ;
@light-grey-2: #dbdfe1;
@white: #f3f4f5;
body {
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
font-family: "proxima-nova-soft", sans-serif;
-webkit-user-select: none;
overflow: hidden;
.vertical-centered-box {
position: absolute;
.size(100%);
text-align: center;
&:after {
content: '';
display: inline-block;
height: 100%;
vertical-align: middle;
margin-right: -0.25em;
}
.content {
.box-sizing(border-box);
display: inline-block;
vertical-align: middle;
text-align: left;
font-size: 0;
}
}
}
* {
.transition(all .3s);
}
// END: TEMPLATE
body {
background: mix(#3f3251, #002025, 70%);
}
#prism-logo {
path {
// fill: #20293b;
// stroke: rgba(255,255,255,1);
// stroke-width: 1px;
}
}
.loader-circle {
position: absolute;
left: 50%;
top: 50%;
.size(120);
border-radius: 50%;
box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
margin-left: -60px;
margin-top: -60px;
// .animation(fade 1.2s infinite ease-in-out);
}
.loader-line-mask {
position: absolute;
left: 50%;
top: 50%;
.size(60,120);
margin-left: -60px;
margin-top: -60px;
overflow: hidden;
.transform-origin(60px 60px);
-webkit-mask-image: -webkit-linear-gradient(top, rgba(0,0,0,1), rgba(0,0,0,0));
.animation(rotate 1.2s infinite linear);
.loader-line {
.size(120);
border-radius: 50%;
box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
}
}
#particles-background, #particles-foreground {
left: -51%;
top: -51%;
.size(202%);
.scale3d(.5, .5, 1);
}
#particles-background {
background: mix(#3f3251, #002025, 70%);
background-image: -moz-linear-gradient(45deg, #3f3251 2%, #002025 100%);
background-image: -webkit-linear-gradient(45deg, #3f3251 2%, #002025 100%);
background-image: linear-gradient(45deg, #3f3251 2%, #002025 100%);
}
.keyframes(~'rotate, 0% { transform: rotate(0deg);} 100% { transform: rotate(360deg);}');
.keyframes(~'fade, 0% { opacity: 1;} 50% { opacity: 0.25;}');
.keyframes(~'fade-in, 0% { opacity: 0;} 100% { opacity: 1;}');