-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbutton.css
More file actions
39 lines (35 loc) · 800 Bytes
/
button.css
File metadata and controls
39 lines (35 loc) · 800 Bytes
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
.login-button {
display: flex;
justify-content: center;
align-items: center;
margin: 0 auto;
width: calc(5*$uiGrid);
height: calc(5*$uiGrid);
font-size: 1.5em;
text-align: center;
color: $uiLoginBackground;
z-index: 0;
text-decoration: none;
position: relative;
will-change: transition;
transition: all 150ms $uiBaseTransition;
&:before {
content: '';
display: block;
position: absolute;
width: 100%;
height: 100%;
border-radius: 50%;
z-index: -1;
background: $uiLoginAccent;
filter: blur(16px);
}
}
.login-s-progress .login-button {
animation: login-progress 5s $uiBaseTransition infinite;
}
@keyframes login-progress {
0% { transform: scale(1); }
50% { transform: scale(0.9); }
100% { transform: scale(1); }
}