-
Notifications
You must be signed in to change notification settings - Fork 0
/
map.css
496 lines (423 loc) · 8.45 KB
/
map.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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
/* 提示框 */
.modal {
display: none;
/* 初始时隐藏模态框 */
}
.modal-content {
background-color: rgba(254, 254, 254, 0.6);
/* 使用 rgba 表示颜色,最后一个值为透明度(0-1之间) */
margin: auto;
padding: 10px;
border: 5px solid #888;
height: 50px;
width: 18%;
position: absolute;
left: 50%;
top: 20%;
transform: translate(-50%, -50%);
text-align: center;
font-size: 24px;
justify-content: center;
align-items: center;
line-height: 50px;
}
.close {
color: #aaaaaa;
float: right;
font-size: 28px;
font-weight: bold;
cursor: pointer;
}
.close:hover,
.close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}
/* 日期选择 */
.datepicker-container {
position: fixed;
top: 4%;
left: 12%;
transform: translate(-50%, -50%);
text-align: center;
background-color: rgb(255, 255, 255, 0.1);
/* 使用 rgba 表示颜色,最后一个值为透明度(0-1之间) */
}
/* 上下限选择 */
.BuFenpicker-container {
position: fixed;
top: 4%;
right: 19%;
transform: translate(-50%, -50%);
text-align: center;
background-color: rgb(255, 255, 255, 0.1);
/* 使用 rgba 表示颜色,最后一个值为透明度(0-1之间) */
}
.input-BuFenpicker {
width: 50px;
font-size: 14px;
flex: 1;
padding: 5px;
border: 1px solid #ccc;
border-radius: 5px;
}
/* 上下限选择复选框 */
/* 隐藏默认的复选框 */
input[type="checkbox"] {
display: none;
}
/* 开关的样式 */
.switch {
display: inline-block;
margin-right: 10px;
/* 添加间距以分隔开关 */
}
/* 开关的滑块 */
.slider {
position: relative;
width: 55px;
height: 25px;
background-color: #ccc;
border-radius: 34px;
transition: .4s;
}
/* 开关的滑块的圆形按钮 */
.slider::before {
position: absolute;
content: "关";
height: 18px;
width: 18px;
top: 4px;
left: 4px;
background-color: white;
border-radius: 50%;
transition: .4s;
}
/* 复选框选中时的样式 */
input[type="checkbox"]:checked+.slider {
background-color: #2196F3;
}
/* 复选框选中时滑块按钮的位置 */
input[type="checkbox"]:checked+.slider::before {
transform: translateX(28px);
content: "开";
}
/* 容器的样式 */
.switch-container {
position: fixed;
top: 7%;
right: 5%;
opacity: 0.8;
font-size: 12px;
text-align: center;
/* 设置容器的层级,使其覆盖其他元素 */
}
/* 容器的样式 */
.switch-container1 {
position: fixed;
top: 7%;
right: 27.5%;
opacity: 0.8;
font-size: 12px;
text-align: center;
/* 设置容器的层级,使其覆盖其他元素 */
}
/* <!-- 下拉框 --> */
select {
font-family: Arial, sans-serif;
text-align: center;
font-size: 18px;
color: rgb(255, 255, 255);
width: 120px;
height: 30px;
border: 2px solid #109217;
position: fixed;
/* 使用 fixed 将下拉选择框固定在视口中 */
top: 20px;
/* 调整距离顶部的位置 */
left: 50%;
/* 将选择框水平居中 */
transform: translateX(-50%);
/* 通过 transform 居中 */
background-color: rgba(26, 188, 156, 0.8);
/* 半透明白色背景 */
}
/* 设置第一个下拉框的垂直位置 */
#fruitSelect_1 {
left: 23%;
}
/* 设置第二个下拉框的垂直位置 */
#fruitSelect_2 {
left: 31%;
}
/* 设置第三个下拉框的垂直位置 */
#fruitSelect_3 {
left: 39%;
}
/* 设置第4个下拉框的垂直位置 */
#fruitSelect_4 {
left: 47%;
}
/* 设置第5个下拉框的垂直位置 */
#fruitSelect_5 {
left: 55%;
}
/* </style>
<!-- 输入框 -->
<style> */
.input-container {
position: fixed;
top: 2%;
/* 调整为适合的位置 */
left: 80%;
/* 调整为适合的位置 */
display: flex;
align-items: center;
width: 300px;
}
.input-field {
flex: 1;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
.input-label {
position: absolute;
top: 50%;
left: 10px;
transform: translateY(-50%);
pointer-events: none;
color: rgba(0, 0, 0, 0.5);
transition: all 0.3s ease;
}
.input-field:focus+.input-label,
.input-field:not(:placeholder-shown)+.input-label {
top: 0;
font-size: 12px;
color: #000;
}
.input-button {
padding: 8px 12px;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 5px;
margin-left: 10px;
cursor: pointer;
}
/* </style> */
/* 表格 */
.tableBodycontainer {
position: fixed;
top: 11%;
right: 0.5%;
width: 30%;
height: 87%;
overflow-y: scroll;
border: 3px solid rgb(158, 158, 158);
border-collapse: collapse;
box-shadow: 0px 2px 10px rgba(2, 0, 3, 0.5);
font-size: 12px;
}
table,
th,
td {
border: 1px solid rgb(19, 69, 161);
border-collapse: collapse;
padding: 5px;
text-align: center;
table-layout: fixed;
white-space: pre-wrap;
overflow: hidden;
/* white-space: nowrap; */
}
.mybutton0 {
position: fixed;
top: 10%;
left: 3%;
z-index: 9999;
background-color: #4CAF50;
border: none;
color: white;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
border-radius: 4px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
opacity: 0.6;
}
.mybutton0:active {
background-color: #3e8e41;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
}
.mybutton1 {
position: fixed;
top: 15%;
left: 3%;
z-index: 9999;
background-color: #4CAF50;
border: none;
color: white;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
border-radius: 4px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
opacity: 0.6;
}
.mybutton1:active {
background-color: #3e8e41;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
}
.mybutton2 {
position: fixed;
top: 20%;
left: 3%;
z-index: 9999;
background-color: #4CAF50;
border: none;
color: white;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
border-radius: 4px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
opacity: 0.6;
}
.mybutton2.active {
background-color: #3e8e41;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
opacity: 1;
}
.mybutton6 {
position: fixed;
top: 25%;
left: 3%;
z-index: 9999;
background-color: #4CAF50;
border: none;
color: white;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
border-radius: 4px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
opacity: 0.6;
}
.mybutton6:active {
background-color: #3e8e41;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
}
.mybutton7 {
position: fixed;
top: 30%;
left: 3%;
z-index: 9999;
background-color: #4CAF50;
border: none;
color: white;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
border-radius: 4px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
opacity: 0.6;
}
.mybutton7:active {
background-color: #3e8e41;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
}
.mybutton8 {
position: fixed;
top: 7%;
right: 3.3%;
z-index: 9999;
border: none;
color: white;
padding: 5px 5px;
text-decoration: none;
display: inline-block;
margin: 2px 2px;
cursor: pointer;
border-radius: 4px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
opacity: 0.8;
}
.mybutton8:active {
box-shadow: 0 1px 2px rgba(0, 0, 0, 1) inset;
}
/* 二选一 */
#choose {
position: fixed;
top: 5%;
right: -1%;
transform: translate(-50%, -50%);
background-color: #fff;
padding: 1px 1px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
z-index: 9999;
border-radius: 5px;
text-align: center;
font-size: 8px;
font-weight: bold;
}
h1,
p {
margin: 0;
}
input[type='radio'] {
display: none;
}
.label-container label {
cursor: pointer;
display: inline-block;
margin-bottom: 1px;
background-color: #eee;
padding: 10px 10px;
border-radius: 5px;
}
.label-container input[type='radio']:checked+label {
background-color: #2196f3;
color: #fff;
}
/* 文字标签 */
.bordered {
position: fixed;
top: 7%;
right: 14%;
display: block;
border: 1px solid black;
padding: 10px;
z-index: 9999;
padding: 5px 10px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
border-radius: 4px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
opacity: 0.8;
}