-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcursors.css
92 lines (85 loc) · 2.1 KB
/
cursors.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
html, body {
margin: 0;
min-height: 100%; height: 100%;
font-family: Arial;
overflow: hidden;
-webkit-user-select: none;
}
#body {
width: 100%; height: 100%;
background: -webkit-radial-gradient(closest-corner,rgba(16,47,70,0) 60%,rgba(16,47,70,0.26)),-webkit-linear-gradient(108deg,rgba(105,44,204, 0.35),rgba(240,123,87, 0.33) 90%);
color: white;
-webkit-font-smoothing: antialiased;
font-size: 11px;
-webkit-transition: background-color linear 2s;
}
#logo img {
position: absolute;
z-index: 1;
height: 80px;
bottom: 30px; left: 30px;
}
#name {
position: absolute;
bottom: 70px; left: 150px;
}
#name input {
background: transparent;
border: none;
border-bottom: solid 1px rgba(255,255,255,.5);
padding: 3px 0;
color: white;
font: 16px "Helvetica Neue", Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
text-shadow: 0 1px rgba(0,0,0,.3);
}
#name input:focus {
outline: none;
}
#name input::-webkit-input-placeholder {
color: white;
}
.name {
position: absolute;
top: 4px; left: 60%;
font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
width: 100px;
white-space: nowrap;
overflow: hidden;
}
.c {
position: absolute;
z-index: 99;
pointer-events: none;
width: 28px; height: 40px;
}
.point { -webkit-transform: translateX(-5px) translateY(-4px); }
.click { -webkit-transform: translateX(-14px) translateY(-12px); }
.click { display: none;}
.clicking .click { display: block;}
.clicking .point { display: none; }
.just-clicked .animation {
-webkit-animation: expandFade ease-in-out .2s;
-webkit-animation-fill-mode: forwards;
width: 100px; height: 100px;
position: absolute;
top: -50px; left: -50px;
border-radius: 50%;
border: solid 1px white;
}
@-webkit-keyframes expandFade {
from { -webkit-transform: scale(0.3); opacity: 1; -webkit-transform-origin: center center;}
to { -webkit-transform: scale(1); opacity: 0; }
}
.brush {
width: 48px; height: 48px;
border-radius: 50%;
position: absolute;
opacity: .2;
-webkit-transition: opacity linear 1s;
}
#colorpicker {
position: absolute;
bottom: 30px;
right: 30px;
}