Blame view

src/main/resources/static/ajax/libs/select2/select2.css 17.3 KB
mahuandong authored
1
.select2-container {
2
3
4
5
6
7
8
9
    box-sizing: border-box;
    display: inline-block;
    margin: 0;
    position: relative;
    vertical-align: middle;
}

.select2-container .select2-selection--single {
mahuandong authored
10
11
12
13
14
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 28px;
    user-select: none;
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
    -webkit-user-select: none;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    display: block;
    padding-left: 8px;
    padding-right: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.select2-container .select2-selection--single .select2-selection__clear {
    position: relative;
}

.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
mahuandong authored
32
    padding-right: 8px;
33
34
35
36
    padding-left: 20px;
}

.select2-container .select2-selection--multiple {
mahuandong authored
37
38
39
40
41
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    min-height: 32px;
    user-select: none;
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
    -webkit-user-select: none;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
    display: inline-block;
    overflow: hidden;
    padding-left: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.select2-container .select2-search--inline {
    float: left;
}

.select2-container .select2-search--inline .select2-search__field {
    box-sizing: border-box;
    border: none;
    font-size: 100%;
    margin-top: 5px;
    padding: 0;
}

.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {
    -webkit-appearance: none;
}
mahuandong authored
68
69

.select2-dropdown {
70
71
72
73
74
75
76
77
78
79
    background-color: white;
    border: 1px solid #aaa;
    border-radius: 4px;
    box-sizing: border-box;
    display: block;
    position: absolute;
    left: -100000px;
    width: 100%;
    z-index: 1051;
}
mahuandong authored
80
81

.select2-results {
82
83
    display: block;
}
mahuandong authored
84
85

.select2-results__options {
86
87
88
89
    list-style: none;
    margin: 0;
    padding: 0;
}
mahuandong authored
90
91

.select2-results__option {
92
93
94
95
96
97
98
99
    padding: 6px;
    user-select: none;
    -webkit-user-select: none;
}

.select2-results__option[aria-selected] {
    cursor: pointer;
}
mahuandong authored
100
101

.select2-container--open .select2-dropdown {
102
103
    left: 0;
}
mahuandong authored
104
105

.select2-container--open .select2-dropdown--above {
106
107
108
109
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
mahuandong authored
110
111

.select2-container--open .select2-dropdown--below {
112
113
114
115
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
mahuandong authored
116
117

.select2-search--dropdown {
118
119
120
121
122
    display: block;
    padding: 4px;
}

.select2-search--dropdown .select2-search__field {
mahuandong authored
123
124
    padding: 4px;
    width: 100%;
125
126
127
128
129
130
131
132
133
134
    box-sizing: border-box;
}

.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.select2-search--dropdown.select2-search--hide {
    display: none;
}
mahuandong authored
135
136

.select2-close-mask {
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
    border: 0;
    margin: 0;
    padding: 0;
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    min-height: 100%;
    min-width: 100%;
    height: auto;
    width: auto;
    opacity: 0;
    z-index: 99;
    background-color: #fff;
    filter: alpha(opacity=0);
}
mahuandong authored
153
154

.select2-hidden-accessible {
155
156
157
158
159
160
161
162
163
164
165
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    white-space: nowrap !important;
}
mahuandong authored
166
167

.select2-container--default .select2-selection--single {
168
169
170
171
172
173
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 4px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
mahuandong authored
174
    color: #444;
175
176
177
178
    line-height: 28px;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
mahuandong authored
179
180
    cursor: pointer;
    float: right;
181
182
183
184
185
186
187
188
    font-weight: bold;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #999;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
mahuandong authored
189
190
191
192
    height: 26px;
    position: absolute;
    top: 1px;
    right: 1px;
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
    width: 20px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #888 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: -2px;
    position: absolute;
    top: 50%;
    width: 0;
}
mahuandong authored
208
209

.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {
210
211
    float: left;
}
mahuandong authored
212
213

.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
214
215
216
    left: 1px;
    right: auto;
}
mahuandong authored
217
218

.select2-container--default.select2-container--disabled .select2-selection--single {
219
220
221
222
223
224
225
    background-color: #eee;
    cursor: default;
}

.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
    display: none;
}
mahuandong authored
226
227

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
228
229
230
    border-color: transparent transparent #888 transparent;
    border-width: 0 4px 5px 4px;
}
mahuandong authored
231
232

.select2-container--default .select2-selection--multiple {
233
234
235
236
237
238
239
    background-color: white;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: text;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
mahuandong authored
240
241
242
243
    box-sizing: border-box;
    list-style: none;
    margin: 0;
    padding: 0 5px;
244
245
246
247
248
249
250
251
    width: 100%;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
    list-style: none;
}

.select2-container--default .select2-selection--multiple .select2-selection__placeholder {
mahuandong authored
252
253
    color: #999;
    margin-top: 5px;
254
255
256
257
    float: left;
}

.select2-container--default .select2-selection--multiple .select2-selection__clear {
mahuandong authored
258
259
260
261
    cursor: pointer;
    float: right;
    font-weight: bold;
    margin-top: 5px;
262
263
264
265
    margin-right: 10px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
mahuandong authored
266
267
268
269
270
271
272
    background-color: #e4e4e4;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: default;
    float: left;
    margin-right: 5px;
    margin-top: 5px;
273
274
275
276
    padding: 0 5px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
mahuandong authored
277
278
279
280
    color: #999;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
281
282
283
284
285
286
    margin-right: 2px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #333;
}
mahuandong authored
287
288

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline {
289
290
    float: right;
}
mahuandong authored
291
292

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
293
294
295
    margin-left: 5px;
    margin-right: auto;
}
mahuandong authored
296
297

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
298
299
300
    margin-left: 2px;
    margin-right: auto;
}
mahuandong authored
301
302

.select2-container--default.select2-container--focus .select2-selection--multiple {
303
304
305
    border: solid black 1px;
    outline: 0;
}
mahuandong authored
306
307

.select2-container--default.select2-container--disabled .select2-selection--multiple {
308
309
310
    background-color: #eee;
    cursor: default;
}
mahuandong authored
311
312

.select2-container--default.select2-container--disabled .select2-selection__choice__remove {
313
314
    display: none;
}
mahuandong authored
315
316

.select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
317
318
319
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
mahuandong authored
320
321

.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
322
323
324
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
mahuandong authored
325
326

.select2-container--default .select2-search--dropdown .select2-search__field {
327
328
    border: 1px solid #aaa;
}
mahuandong authored
329
330

.select2-container--default .select2-search--inline .select2-search__field {
331
332
333
334
335
336
    background: transparent;
    border: none;
    outline: 0;
    box-shadow: none;
    -webkit-appearance: textfield;
}
mahuandong authored
337
338

.select2-container--default .select2-results > .select2-results__options {
339
340
341
    max-height: 200px;
    overflow-y: auto;
}
mahuandong authored
342
343

.select2-container--default .select2-results__option[role=group] {
344
345
    padding: 0;
}
mahuandong authored
346
347

.select2-container--default .select2-results__option[aria-disabled=true] {
348
349
    color: #999;
}
mahuandong authored
350
351

.select2-container--default .select2-results__option[aria-selected=true] {
352
353
    background-color: #ddd;
}
mahuandong authored
354
355

.select2-container--default .select2-results__option .select2-results__option {
356
357
358
359
360
361
362
363
    padding-left: 1em;
}

.select2-container--default .select2-results__option .select2-results__option .select2-results__group {
    padding-left: 0;
}

.select2-container--default .select2-results__option .select2-results__option .select2-results__option {
mahuandong authored
364
    margin-left: -1em;
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
    padding-left: 2em;
}

.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
    margin-left: -2em;
    padding-left: 3em;
}

.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
    margin-left: -3em;
    padding-left: 4em;
}

.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
    margin-left: -4em;
    padding-left: 5em;
}

.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
    margin-left: -5em;
    padding-left: 6em;
}
mahuandong authored
387
388

.select2-container--default .select2-results__option--highlighted[aria-selected] {
389
390
391
    background-color: #5897fb;
    color: white;
}
mahuandong authored
392
393

.select2-container--default .select2-results__group {
394
395
396
397
    cursor: default;
    display: block;
    padding: 6px;
}
mahuandong authored
398
399

.select2-container--classic .select2-selection--single {
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
    background-color: #f7f7f7;
    border: 1px solid #aaa;
    border-radius: 4px;
    outline: 0;
    background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%);
    background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%);
    background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0);
}

.select2-container--classic .select2-selection--single:focus {
    border: 1px solid #5897fb;
}

.select2-container--classic .select2-selection--single .select2-selection__rendered {
mahuandong authored
416
    color: #444;
417
418
419
420
    line-height: 28px;
}

.select2-container--classic .select2-selection--single .select2-selection__clear {
mahuandong authored
421
422
423
    cursor: pointer;
    float: right;
    font-weight: bold;
424
425
426
427
428
429
430
431
    margin-right: 10px;
}

.select2-container--classic .select2-selection--single .select2-selection__placeholder {
    color: #999;
}

.select2-container--classic .select2-selection--single .select2-selection__arrow {
mahuandong authored
432
433
434
435
436
437
438
439
440
441
442
443
444
445
    background-color: #ddd;
    border: none;
    border-left: 1px solid #aaa;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    height: 26px;
    position: absolute;
    top: 1px;
    right: 1px;
    width: 20px;
    background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
    background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
    background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);
    background-repeat: repeat-x;
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0);
}

.select2-container--classic .select2-selection--single .select2-selection__arrow b {
    border-color: #888 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: -2px;
    position: absolute;
    top: 50%;
    width: 0;
}
mahuandong authored
461
462

.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear {
463
464
    float: left;
}
mahuandong authored
465
466

.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow {
467
468
469
470
471
472
473
474
    border: none;
    border-right: 1px solid #aaa;
    border-radius: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    left: 1px;
    right: auto;
}
mahuandong authored
475
476

.select2-container--classic.select2-container--open .select2-selection--single {
477
478
479
480
    border: 1px solid #5897fb;
}

.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow {
mahuandong authored
481
    background: transparent;
482
483
484
485
486
487
488
    border: none;
}

.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #888 transparent;
    border-width: 0 4px 5px 4px;
}
mahuandong authored
489
490

.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single {
491
492
493
494
495
496
497
498
499
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%);
    background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%);
    background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0);
}
mahuandong authored
500
501

.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {
502
503
504
505
506
507
508
509
510
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%);
    background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%);
    background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0);
}
mahuandong authored
511
512

.select2-container--classic .select2-selection--multiple {
513
514
515
516
517
518
519
520
521
522
523
524
    background-color: white;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: text;
    outline: 0;
}

.select2-container--classic .select2-selection--multiple:focus {
    border: 1px solid #5897fb;
}

.select2-container--classic .select2-selection--multiple .select2-selection__rendered {
mahuandong authored
525
526
    list-style: none;
    margin: 0;
527
528
529
530
531
532
533
534
    padding: 0 5px;
}

.select2-container--classic .select2-selection--multiple .select2-selection__clear {
    display: none;
}

.select2-container--classic .select2-selection--multiple .select2-selection__choice {
mahuandong authored
535
536
537
538
539
540
541
    background-color: #e4e4e4;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: default;
    float: left;
    margin-right: 5px;
    margin-top: 5px;
542
543
544
545
    padding: 0 5px;
}

.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {
mahuandong authored
546
547
548
549
    color: #888;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
550
551
552
553
554
555
    margin-right: 2px;
}

.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #555;
}
mahuandong authored
556
557

.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
558
559
560
561
    float: right;
    margin-left: 5px;
    margin-right: auto;
}
mahuandong authored
562
563

.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
564
565
566
    margin-left: 2px;
    margin-right: auto;
}
mahuandong authored
567
568

.select2-container--classic.select2-container--open .select2-selection--multiple {
569
570
    border: 1px solid #5897fb;
}
mahuandong authored
571
572

.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple {
573
574
575
576
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
mahuandong authored
577
578

.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple {
579
580
581
582
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
mahuandong authored
583
584

.select2-container--classic .select2-search--dropdown .select2-search__field {
585
586
587
    border: 1px solid #aaa;
    outline: 0;
}
mahuandong authored
588
589

.select2-container--classic .select2-search--inline .select2-search__field {
590
591
592
    outline: 0;
    box-shadow: none;
}
mahuandong authored
593
594

.select2-container--classic .select2-dropdown {
595
596
597
    background-color: white;
    border: 1px solid transparent;
}
mahuandong authored
598
599

.select2-container--classic .select2-dropdown--above {
600
601
    border-bottom: none;
}
mahuandong authored
602
603

.select2-container--classic .select2-dropdown--below {
604
605
    border-top: none;
}
mahuandong authored
606
607

.select2-container--classic .select2-results > .select2-results__options {
608
609
610
    max-height: 200px;
    overflow-y: auto;
}
mahuandong authored
611
612

.select2-container--classic .select2-results__option[role=group] {
613
614
    padding: 0;
}
mahuandong authored
615
616

.select2-container--classic .select2-results__option[aria-disabled=true] {
617
618
    color: grey;
}
mahuandong authored
619
620

.select2-container--classic .select2-results__option--highlighted[aria-selected] {
621
622
623
    background-color: #3875d7;
    color: white;
}
mahuandong authored
624
625

.select2-container--classic .select2-results__group {
626
627
628
629
    cursor: default;
    display: block;
    padding: 6px;
}
mahuandong authored
630
631

.select2-container--classic.select2-container--open .select2-dropdown {
632
633
    border-color: #5897fb;
}