-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
124 lines (105 loc) · 2.18 KB
/
style.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
body {
font-family: monospace;
color: #f8f9fa;
background-color: #0d0c14;
}
.gamepad {
border: 1px #b2b3b52f solid;
border-radius: .3rem;
padding: 15px;
padding-top: 0;
margin-bottom: 1rem;
}
.bg-primary {
background-color: #0dcaf0;
color: #212529;
}
/*meter*/.axis {
min-width: 200px;
margin: 1em;
}
.button {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAAXNSR0IArs4c6QAAAAxJREFUCNdjYPjPAAACAgEAqiqeJwAAAABJRU5ErkJggg==);
background-size: 0% 0%;
background-position: 100% 100%;
background-repeat: repeat-x;
padding: 5px;
}
.axes {
margin-left: 1.1rem;
}
.axis {
width: 15%;
height: 17px;
}
.vibrate-button {
background-color: transparent;
border: limegreen 1px solid;
border-radius: .2rem;
padding: 6px 13px;
color: #f8f9fa;
cursor: pointer;
margin-top: .7rem;
transition: all .15s;
}
.vibrate-button:hover {
background-color: rgba(50, 205, 50, 0.833);
color: #212529;
}
.title {
margin-bottom: .4rem;
}
.intensity {
margin-left: 1rem;
width: 15%;
}
.duration {
margin-left: 1rem;
background-color: transparent;
border: limegreen 1px solid;
border-radius: .2rem;
color: #f8f9fa;
max-width: 30px;
padding: 4px 0 4px 7px;
}
.pressed {
outline: 2px solid rgba(50, 205, 50, 0.268);
outline-offset: 2px;
border-radius: 2px;
}
.touched::after {
content: "touch";
display: block;
position: absolute;
margin-top: 0.2em;
margin-left: -0.5em;
font-size: 0.8em;
opacity: 0.7;
}
input[type='range'] {
-webkit-appearance: none;
width: 100%;
height: 5px;
background: #ddd;
outline: none;
opacity: 0.7;
-webkit-transition: .2s;
transition: opacity .2s;
border-radius: 3px;
}
input[type='range']::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 20px;
height: 20px;
background: #66b068;
cursor: pointer;
border-radius: 3px;
}
input[type='range']::-moz-range-thumb {
width: 20px;
height: 20px;
background: #66b068;
cursor: pointer;
border-radius: 3px;
}