-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplaygroundStyle.css
85 lines (81 loc) · 2.3 KB
/
playgroundStyle.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
@import url(https://fonts.googleapis.com/css?family=Lato:400italic);
* {
font-family: 'Lato', sans-serif;
/*font-weight: 300;
font-size: 16px;*/
line-height: 1;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: white;
}
html, body {
/*height: 100%;*/
}
body {
margin: 0;
background: #f7dafb;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(to right, rgba(0, 0, 0, 0.75), rgba(92, 37, 141, 0.75), rgba(0, 0, 0, 1));
}
.drag-me {
background: #d94fed;
width: 180px;
padding: 0 0 0 40px;
color: #830f94;
line-height: 50px;
cursor: url("https://www.google.com/intl/en_ALL/mapfiles/openhand.cur"), all-scroll;
cursor: -webkit-grab;
cursor: -moz-grab;
cursor: -o-grab;
cursor: -ms-grab;
cursor: grab;
-moz-transition: -moz-transform 0.2s, box-shadow 0.2s;
-o-transition: -o-transform 0.2s, box-shadow 0.2s;
-webkit-transition: -webkit-transform 0.2s, box-shadow 0.2s;
transition: transform 0.2s, box-shadow 0.2s;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
-moz-box-shadow: #cf21e8 0 0 3px;
-webkit-box-shadow: #cf21e8 0 0 3px;
box-shadow: #cf21e8 0 0 3px;
}
.drag-me:hover {
-moz-transform: scale(1.03, 1.03);
-ms-transform: scale(1.03, 1.03);
-webkit-transform: scale(1.03, 1.03);
transform: scale(1.03, 1.03);
-moz-box-shadow: #830f94 0 1px 3px;
-webkit-box-shadow: #830f94 0 1px 3px;
box-shadow: #830f94 0 1px 3px;
}
.drag-me:active {
cursor: url("https://www.google.com/intl/en_ALL/mapfiles/closedhand.cur"), all-scroll;
cursor: -webkit-grabbing;
cursor: -moz-grabbing;
cursor: -o-grabbing;
cursor: -ms-grabbing;
cursor: grabbing;
-moz-transform: scale(1.1, 1.1);
-ms-transform: scale(1.1, 1.1);
-webkit-transform: scale(1.1, 1.1);
transform: scale(1.1, 1.1);
-moz-box-shadow: rgba(131, 15, 148, 0.7) 0 2px 8px;
-webkit-box-shadow: rgba(131, 15, 148, 0.7) 0 2px 8px;
box-shadow: rgba(131, 15, 148, 0.7) 0 2px 8px;
}
.drag-me:before {
content: '.';
position: absolute;
left: 14px;
font-size: 20px;
line-height: 26px;
color: #ac14c2;
text-shadow: 0 5px #ac14c2, 0 10px #ac14c2, 5px 0 #ac14c2, 5px 5px #ac14c2, 5px 10px #ac14c2, 10px 0 #ac14c2, 10px 5px #ac14c2, 10px 10px #ac14c2;
}
.shot {
position: absolute;
}