-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
157 lines (113 loc) · 2.2 KB
/
index.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
147
148
149
150
151
152
153
154
155
156
157
* {
margin:0;
padding:0;
} /* to remove the top and left whitespace */
:root {
--slider-color: #1f1fff;;
}
div {
margin:0; padding:0;
}
.controls {
overflow: auto;
width: 30%;
/*display: inline-block;*/
background: gray;
float:left;
height: 100%;
}
.noDispButton {
background: none;
border: none;
margin-left:5px; margin-right:5px;
padding: 3px
}
.slider {
-webkit-appearance: none;
width: 70%;
height: 15px;
border-radius: 5px;
background: #d3d3d3;
outline: none;
opacity: 0.7;
-webkit-transition: .2s;
transition: opacity .2s;
}
.slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 15px;
height: 15px;
border-radius: 2%;
background: #1f1fff;
cursor: pointer;
}
.slider::-moz-range-thumb {
width: 15px;
height: 15px;
border-radius: 2%;
background: var(--slider-color);
cursor: pointer;
}
.noSelect {
user-select: none; /* supported by Chrome and Opera */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
}
/* toggle in label designing */
.toggle {
text-align:center;
top:7px;
position : relative;
display : inline-block;
width : 120px;
height : 20px;
background-color: #e5e3ff; /*The background of the blue side*/
border-radius: 3%;
border: 2px solid #aba07e;
}
/* After slide changes */
.toggle:after {
content: '';
position: absolute;
width: 60px;
height: 18px;
border-radius: 3%;
background-color: #aba07e;
top: 1px;
left: 1px;
transition: all 0.5s;
}
/* Toggle text */
.switchtxt {
position: absolute;
/*top: -15px;*/
text-align:center;
}
/* Checkbox checked effect */
.checkbox:checked + .toggle::after {
left : 59px;
}
/* Checkbox checked toggle label bg color */
.checkbox:checked + .toggle {
background-color: #e8ffe6; /*The background of the green side*/
}
/* Checkbox vanished */
.checkbox {
display : none;
}
.fileControlButton {
/*display: inline-block;*/
border: none;
background: #e9e9ed;
padding: 0.2em;
margin-left: 4px;
}
.fileControlButton:hover {
background: #c1c1c7;
}
.ctrlLabel {
background: #e9e9ed;
}