-
Notifications
You must be signed in to change notification settings - Fork 0
/
shadow.css
89 lines (71 loc) · 1.14 KB
/
shadow.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
* {
line-height: 1.8em;
font-family: Verdana, Geneva, sans-serif;
font-size: 13px;
}
:host(:hover) #controls {
display: inline;
}
#controller {
position: absolute;
top: 0;
left: 0;
background: black;
color: white;
border-radius: 5px;
padding: 5px;
margin: 10px 10px 10px 15px;
cursor: default;
z-index: 9999999;
}
#controller:hover {
opacity: 0.7;
}
#controller:hover > .draggable {
margin-right: 0.8em;
}
#controls {
display: none;
}
#controller.dragging {
cursor: -webkit-grabbing;
opacity: 0.7;
}
#controller.dragging #controls {
display: inline;
}
.draggable {
cursor: -webkit-grab;
}
.draggable:active {
cursor: -webkit-grabbing;
}
button {
cursor: pointer;
color: black;
background: white;
font-weight: bold;
border-radius: 5px;
padding: 1px 6px 3px 6px;
font-size: 14px;
line-height: 14px;
border: 1px solid white;
font-family: "Lucida Console", Monaco, monospace;
margin-bottom: 2px;
}
button:focus {
outline: 0;
}
button:hover {
opacity: 1;
}
button:active {
background: #ccc;
}
button.rw {
opacity: 0.65;
}
button.hideButton {
margin-right: 2px;
opacity: 0.5;
}