-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathstyles.css
101 lines (87 loc) · 1.41 KB
/
styles.css
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
main {
background: #000000;
color: #fff;
font-family: sans-serif;
height: 100%;
left: 0;
padding: 10px;
position: fixed;
text-align: center;
top: 0;
width: 100%;
}
section {
margin: auto;
width: 170px;
}
.btn {
background: #a52df4;
border: none;
border-radius: 5px;
color: white;
padding: 10px;
width: 80px;
}
.btn.btn-yes {
display: block;
position: fixed;
}
.btn.btn-no {
position: absolute;
}
/* Coração pulsante */
.loading-heart {
display: block;
position: relative;
width: 60px;
height: 60px;
margin: auto auto 30px auto;
transform: rotate(45deg);
transform-origin: 40px 40px;
}
.loading-heart span {
top: 32px;
left: 32px;
position: absolute;
width: 32px;
height: 32px;
background: #a52df4;
animation: loading-heart 1.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}
.loading-heart span:after,
.loading-heart span:before {
content: " ";
position: absolute;
display: block;
width: 32px;
height: 32px;
background: #a52df4;
}
.loading-heart span:before {
left: -24px;
border-radius: 50% 0 0 50%;
}
.loading-heart span:after {
top: -24px;
border-radius: 50% 50% 0 0;
}
@keyframes loading-heart {
0% {
transform: scale(0.95);
}
5% {
transform: scale(1.1);
}
39% {
transform: scale(0.85);
}
45% {
transform: scale(1);
}
60% {
transform: scale(0.95);
}
100% {
transform: scale(0.9);
}
}