ChenyuRabbitLove commited on
Commit
4859033
·
1 Parent(s): 90b6517

fix: modify css code to check the deployment env

Browse files
Files changed (1) hide show
  1. css/style.css +18 -11
css/style.css CHANGED
@@ -189,18 +189,24 @@ input[type="range"] {
189
 
190
  /* Styles for the slider thumb for Firefox */
191
  input[type="range"]::-moz-range-thumb {
192
- width: 20px; /* Width of the thumb */
193
- height: 28px; /* Height of the thumb */
194
- border-radius: 5px; /* Rounded corners of the thumb */
195
- background: #4CAF50; /* Background color of the thumb */
 
 
 
196
  }
197
 
198
  /* Styles for the slider thumb for IE */
199
  input[type="range"]::-ms-thumb {
200
- width: 20px; /* Width of the thumb */
201
- height: 28px; /* Height of the thumb */
202
- border-radius: 5px; /* Rounded corners of the thumb */
203
- background: #4CAF50; /* Background color of the thumb */
 
 
 
204
  }
205
 
206
  /* Styles for the track (progress) for Webkit browsers */
@@ -215,17 +221,18 @@ input[type="range"] {
215
  /* Styles for the track for Firefox */
216
  input[type="range"]::-moz-range-track {
217
  width: 100%;
218
- height: 30px; /* Height of the track */
219
  background: #eee;
 
220
  border-radius: 10px; /* Rounded corners of the track */
221
  }
222
 
223
  /* Styles for the track for IE */
224
  input[type="range"]::-ms-track {
225
  width: 100%;
226
- height: 30px; /* Height of the track */
227
  background: #eee;
 
228
  border-radius: 10px; /* Rounded corners of the track */
229
- border: none; /* IE may require removing the border */
230
  }
231
 
 
189
 
190
  /* Styles for the slider thumb for Firefox */
191
  input[type="range"]::-moz-range-thumb {
192
+ appearance: none;
193
+ height: 24px; /* Height of the thumb */
194
+ width: 24px; /* Width of the thumb */
195
+ border-radius: 50%; /* Rounded corners of the thumb */
196
+ background: #f3b968; /* Background color of the thumb */
197
+ margin-top: -6px; /* Ensures the thumb aligns with the track */
198
+ box-shadow: 0px -2px 5px #eb6584 inset, 0px 2px 5px #b7456e;
199
  }
200
 
201
  /* Styles for the slider thumb for IE */
202
  input[type="range"]::-ms-thumb {
203
+ appearance: none;
204
+ height: 24px; /* Height of the thumb */
205
+ width: 24px; /* Width of the thumb */
206
+ border-radius: 50%; /* Rounded corners of the thumb */
207
+ background: #f3b968; /* Background color of the thumb */
208
+ margin-top: -6px; /* Ensures the thumb aligns with the track */
209
+ box-shadow: 0px -2px 5px #eb6584 inset, 0px 2px 5px #b7456e;
210
  }
211
 
212
  /* Styles for the track (progress) for Webkit browsers */
 
221
  /* Styles for the track for Firefox */
222
  input[type="range"]::-moz-range-track {
223
  width: 100%;
224
+ height: 10px; /* Height of the track */
225
  background: #eee;
226
+ box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.75) inset;
227
  border-radius: 10px; /* Rounded corners of the track */
228
  }
229
 
230
  /* Styles for the track for IE */
231
  input[type="range"]::-ms-track {
232
  width: 100%;
233
+ height: 10px; /* Height of the track */
234
  background: #eee;
235
+ box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.75) inset;
236
  border-radius: 10px; /* Rounded corners of the track */
 
237
  }
238