-
Notifications
You must be signed in to change notification settings - Fork 0
/
controls.css
146 lines (125 loc) · 2.41 KB
/
controls.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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
#main-controls {
top: 20px;
left: 20px;
width: 20%;
min-width: 280px;
z-index: 1000;
position: absolute;
background-color: #444141;
padding: 1%;
border-radius: 10px;
opacity: 0.4;
-webkit-transition: .2s;
transition: opacity .2s;
/*pointer-events: none;*/
}
#main-controls:hover {
opacity: 0.9;
}
.sliders-container {
border: 3px solid #6b6464;
padding: 4%;
border-radius: 2px;
}
.slider-container {
width: 100%; /* Width of the outside container */
padding-bottom: 35px;
opacity: 0.5;
-webkit-transition: .2s;
transition: opacity .2s;
display: block;
}
.slider-container:last-child {
padding-bottom: 15px;
}
.slider-container:hover {
opacity: 1;
}
.slider:hover {
cursor: pointer; /* Cursor on hover */
}
.slider {
-webkit-appearance: none;
appearance: none;
outline: none;
width: 55%;
height: 12px;
border-radius: 5px;
background: #d3d3d3;
float: left;
margin: 2px;
}
.slider-value {
float: left;
margin-left: 2%;
margin-right: 2%;
color: white;
width: 5%;
text-align: center;
}
.slider-label {
float: left;
padding-left: 2%;
padding-right: 2%;
color: white;
width: 25%;
text-align: center;
}
.slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 25px;
height: 25px;
border-radius: 50%;
background: #4CAF50;
cursor: pointer;
}
.slider::-moz-range-thumb {
width: 25px;
height: 25px;
border-radius: 50%;
background: #4CAF50;
cursor: pointer;
}
.control-container-group {
display: table;
margin: 0 auto;
padding-bottom: 35px;
}
.dropdown {
position: relative;
display: inline-block;
}
button {
background-color: #4CAF50;
color: white;
padding: 16px;
font-size: 16px;
border: none;
cursor: pointer;
margin-right: 10px;
}
button:active {
background-color: #3e8e41;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.dropdown-content a:hover {background-color: #f1f1f1}
.dropdown:hover .dropdown-content {
display: block;
}
.dropdown:hover button {
background-color: #3e8e41;
}