-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
80 lines (72 loc) · 1.35 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
.DIFI {
border: solid 1px #ccc;
width: 100%;
margin: 10px auto;
padding-top: 40%;
position: relative;
}
.DIFI-controls {
left: 10px;
position: absolute;
text-align: center;
top: 10px;
}
.DIFI-controls button {
margin-right: 5px;
padding: 0 1.5rem;
}
.DIFI-range {
position: absolute;
left: 10%;
right: 10%;
top: 55%;
padding-top: 20%;
transform: translateY(-50%);
}
.DIFI-me {
background-color: rgba(255, 255, 255, .8);
border: solid 1px #000;
border-radius: 50%;
cursor: move;
cursor: grab;
cursor: -webkit-grab;
padding-top: 25%;
position: absolute;
left: 0;
top: 0;
width: 25%;
user-select: none;
}
.DIFI-me.dragging {
cursor: move;
cursor: grabbing;
cursor: -webkit-grabbing;
}
.DIFI-me label {
cursor: move;
cursor: grab;
cursor: -webkit-grab;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.DIFI-group {
background-color: #ccc;
background-position: 50% 50%;
background-size: cover;
border-radius: 50%;
left: 80%;
padding-top: 30%;
position: absolute;
top: 55%;
transform: translate(-50%, -50%);
width: 30%;
}
.DIFI-group label {
position: absolute;
left: 50%;
top: 0;
transform: translate(-50%, -100%);
white-space: nowrap;
}