@m2c2kit/core 0.1.10 → 0.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,712 @@
1
+ /*!
2
+ * Copyright (c) 2012-2017 Kevin Brown, Igor Vaynberg, and Select2 contributors
3
+ * License: MIT (https://github.com/select2/select2/blob/develop/LICENSE.md)
4
+ */
5
+ .select2-container {
6
+ box-sizing: border-box;
7
+ display: inline-block;
8
+ margin: 0;
9
+ position: relative;
10
+ vertical-align: middle;
11
+ }
12
+ .select2-container .select2-selection--single {
13
+ box-sizing: border-box;
14
+ cursor: pointer;
15
+ display: block;
16
+ height: 28px;
17
+ user-select: none;
18
+ -webkit-user-select: none;
19
+ }
20
+ .select2-container .select2-selection--single .select2-selection__rendered {
21
+ display: block;
22
+ padding-left: 8px;
23
+ padding-right: 20px;
24
+ overflow: hidden;
25
+ text-overflow: ellipsis;
26
+ white-space: nowrap;
27
+ }
28
+ .select2-container .select2-selection--single .select2-selection__clear {
29
+ position: relative;
30
+ }
31
+ .select2-container[dir="rtl"]
32
+ .select2-selection--single
33
+ .select2-selection__rendered {
34
+ padding-right: 8px;
35
+ padding-left: 20px;
36
+ }
37
+ .select2-container .select2-selection--multiple {
38
+ box-sizing: border-box;
39
+ cursor: pointer;
40
+ display: block;
41
+ min-height: 32px;
42
+ user-select: none;
43
+ -webkit-user-select: none;
44
+ }
45
+ .select2-container .select2-selection--multiple .select2-selection__rendered {
46
+ display: inline-block;
47
+ overflow: hidden;
48
+ padding-left: 8px;
49
+ text-overflow: ellipsis;
50
+ white-space: nowrap;
51
+ }
52
+ .select2-container .select2-search--inline {
53
+ float: left;
54
+ }
55
+ .select2-container .select2-search--inline .select2-search__field {
56
+ box-sizing: border-box;
57
+ border: none;
58
+ font-size: 100%;
59
+ margin-top: 5px;
60
+ padding: 0;
61
+ }
62
+ .select2-container
63
+ .select2-search--inline
64
+ .select2-search__field::-webkit-search-cancel-button {
65
+ -webkit-appearance: none;
66
+ }
67
+
68
+ .select2-dropdown {
69
+ background-color: white;
70
+ border: 1px solid #aaa;
71
+ border-radius: 4px;
72
+ box-sizing: border-box;
73
+ display: block;
74
+ position: absolute;
75
+ left: -100000px;
76
+ width: 100%;
77
+ z-index: 1051;
78
+ }
79
+
80
+ .select2-results {
81
+ display: block;
82
+ }
83
+
84
+ .select2-results__options {
85
+ list-style: none;
86
+ margin: 0;
87
+ padding: 0;
88
+ }
89
+
90
+ .select2-results__option {
91
+ padding: 6px;
92
+ user-select: none;
93
+ -webkit-user-select: none;
94
+ }
95
+ .select2-results__option[aria-selected] {
96
+ cursor: pointer;
97
+ }
98
+
99
+ .select2-container--open .select2-dropdown {
100
+ left: 0;
101
+ }
102
+
103
+ .select2-container--open .select2-dropdown--above {
104
+ border-bottom: none;
105
+ border-bottom-left-radius: 0;
106
+ border-bottom-right-radius: 0;
107
+ }
108
+
109
+ .select2-container--open .select2-dropdown--below {
110
+ border-top: none;
111
+ border-top-left-radius: 0;
112
+ border-top-right-radius: 0;
113
+ }
114
+
115
+ .select2-search--dropdown {
116
+ display: block;
117
+ padding: 4px;
118
+ }
119
+ .select2-search--dropdown .select2-search__field {
120
+ padding: 4px;
121
+ width: 100%;
122
+ box-sizing: border-box;
123
+ }
124
+ .select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
125
+ -webkit-appearance: none;
126
+ }
127
+ .select2-search--dropdown.select2-search--hide {
128
+ display: none;
129
+ }
130
+
131
+ .select2-close-mask {
132
+ border: 0;
133
+ margin: 0;
134
+ padding: 0;
135
+ display: block;
136
+ position: fixed;
137
+ left: 0;
138
+ top: 0;
139
+ min-height: 100%;
140
+ min-width: 100%;
141
+ height: auto;
142
+ width: auto;
143
+ opacity: 0;
144
+ z-index: 99;
145
+ background-color: #fff;
146
+ filter: alpha(opacity=0);
147
+ }
148
+
149
+ .select2-hidden-accessible {
150
+ border: 0 !important;
151
+ clip: rect(0 0 0 0) !important;
152
+ -webkit-clip-path: inset(50%) !important;
153
+ clip-path: inset(50%) !important;
154
+ height: 1px !important;
155
+ overflow: hidden !important;
156
+ padding: 0 !important;
157
+ position: absolute !important;
158
+ width: 1px !important;
159
+ white-space: nowrap !important;
160
+ }
161
+
162
+ .select2-container--default .select2-selection--single {
163
+ background-color: #fff;
164
+ border: 1px solid #aaa;
165
+ border-radius: 4px;
166
+ }
167
+ .select2-container--default
168
+ .select2-selection--single
169
+ .select2-selection__rendered {
170
+ color: #444;
171
+ line-height: 28px;
172
+ }
173
+ .select2-container--default
174
+ .select2-selection--single
175
+ .select2-selection__clear {
176
+ cursor: pointer;
177
+ float: right;
178
+ font-weight: bold;
179
+ }
180
+ .select2-container--default
181
+ .select2-selection--single
182
+ .select2-selection__placeholder {
183
+ color: #999;
184
+ }
185
+ .select2-container--default
186
+ .select2-selection--single
187
+ .select2-selection__arrow {
188
+ height: 26px;
189
+ position: absolute;
190
+ top: 1px;
191
+ right: 1px;
192
+ width: 20px;
193
+ }
194
+ .select2-container--default
195
+ .select2-selection--single
196
+ .select2-selection__arrow
197
+ b {
198
+ border-color: #888 transparent transparent transparent;
199
+ border-style: solid;
200
+ border-width: 5px 4px 0 4px;
201
+ height: 0;
202
+ left: 50%;
203
+ margin-left: -4px;
204
+ margin-top: -2px;
205
+ position: absolute;
206
+ top: 50%;
207
+ width: 0;
208
+ }
209
+
210
+ .select2-container--default[dir="rtl"]
211
+ .select2-selection--single
212
+ .select2-selection__clear {
213
+ float: left;
214
+ }
215
+
216
+ .select2-container--default[dir="rtl"]
217
+ .select2-selection--single
218
+ .select2-selection__arrow {
219
+ left: 1px;
220
+ right: auto;
221
+ }
222
+
223
+ .select2-container--default.select2-container--disabled
224
+ .select2-selection--single {
225
+ background-color: #eee;
226
+ cursor: default;
227
+ }
228
+ .select2-container--default.select2-container--disabled
229
+ .select2-selection--single
230
+ .select2-selection__clear {
231
+ display: none;
232
+ }
233
+
234
+ .select2-container--default.select2-container--open
235
+ .select2-selection--single
236
+ .select2-selection__arrow
237
+ b {
238
+ border-color: transparent transparent #888 transparent;
239
+ border-width: 0 4px 5px 4px;
240
+ }
241
+
242
+ .select2-container--default .select2-selection--multiple {
243
+ background-color: white;
244
+ border: 1px solid #aaa;
245
+ border-radius: 4px;
246
+ cursor: text;
247
+ }
248
+ .select2-container--default
249
+ .select2-selection--multiple
250
+ .select2-selection__rendered {
251
+ box-sizing: border-box;
252
+ list-style: none;
253
+ margin: 0;
254
+ padding: 0 5px;
255
+ width: 100%;
256
+ }
257
+ .select2-container--default
258
+ .select2-selection--multiple
259
+ .select2-selection__rendered
260
+ li {
261
+ list-style: none;
262
+ }
263
+ .select2-container--default
264
+ .select2-selection--multiple
265
+ .select2-selection__clear {
266
+ cursor: pointer;
267
+ float: right;
268
+ font-weight: bold;
269
+ margin-top: 5px;
270
+ margin-right: 10px;
271
+ padding: 1px;
272
+ }
273
+ .select2-container--default
274
+ .select2-selection--multiple
275
+ .select2-selection__choice {
276
+ background-color: #e4e4e4;
277
+ border: 1px solid #aaa;
278
+ border-radius: 4px;
279
+ cursor: default;
280
+ float: left;
281
+ margin-right: 5px;
282
+ margin-top: 5px;
283
+ padding: 0 5px;
284
+ }
285
+ .select2-container--default
286
+ .select2-selection--multiple
287
+ .select2-selection__choice__remove {
288
+ color: #999;
289
+ cursor: pointer;
290
+ display: inline-block;
291
+ font-weight: bold;
292
+ margin-right: 2px;
293
+ }
294
+ .select2-container--default
295
+ .select2-selection--multiple
296
+ .select2-selection__choice__remove:hover {
297
+ color: #333;
298
+ }
299
+
300
+ .select2-container--default[dir="rtl"]
301
+ .select2-selection--multiple
302
+ .select2-selection__choice,
303
+ .select2-container--default[dir="rtl"]
304
+ .select2-selection--multiple
305
+ .select2-search--inline {
306
+ float: right;
307
+ }
308
+
309
+ .select2-container--default[dir="rtl"]
310
+ .select2-selection--multiple
311
+ .select2-selection__choice {
312
+ margin-left: 5px;
313
+ margin-right: auto;
314
+ }
315
+
316
+ .select2-container--default[dir="rtl"]
317
+ .select2-selection--multiple
318
+ .select2-selection__choice__remove {
319
+ margin-left: 2px;
320
+ margin-right: auto;
321
+ }
322
+
323
+ .select2-container--default.select2-container--focus
324
+ .select2-selection--multiple {
325
+ border: solid black 1px;
326
+ outline: 0;
327
+ }
328
+
329
+ .select2-container--default.select2-container--disabled
330
+ .select2-selection--multiple {
331
+ background-color: #eee;
332
+ cursor: default;
333
+ }
334
+
335
+ .select2-container--default.select2-container--disabled
336
+ .select2-selection__choice__remove {
337
+ display: none;
338
+ }
339
+
340
+ .select2-container--default.select2-container--open.select2-container--above
341
+ .select2-selection--single,
342
+ .select2-container--default.select2-container--open.select2-container--above
343
+ .select2-selection--multiple {
344
+ border-top-left-radius: 0;
345
+ border-top-right-radius: 0;
346
+ }
347
+
348
+ .select2-container--default.select2-container--open.select2-container--below
349
+ .select2-selection--single,
350
+ .select2-container--default.select2-container--open.select2-container--below
351
+ .select2-selection--multiple {
352
+ border-bottom-left-radius: 0;
353
+ border-bottom-right-radius: 0;
354
+ }
355
+
356
+ .select2-container--default .select2-search--dropdown .select2-search__field {
357
+ border: 1px solid #aaa;
358
+ }
359
+
360
+ .select2-container--default .select2-search--inline .select2-search__field {
361
+ background: transparent;
362
+ border: none;
363
+ outline: 0;
364
+ box-shadow: none;
365
+ -webkit-appearance: textfield;
366
+ }
367
+
368
+ .select2-container--default .select2-results > .select2-results__options {
369
+ max-height: 200px;
370
+ overflow-y: auto;
371
+ }
372
+
373
+ .select2-container--default .select2-results__option[role="group"] {
374
+ padding: 0;
375
+ }
376
+
377
+ .select2-container--default .select2-results__option[aria-disabled="true"] {
378
+ color: #999;
379
+ }
380
+
381
+ .select2-container--default .select2-results__option[aria-selected="true"] {
382
+ background-color: #ddd;
383
+ }
384
+
385
+ .select2-container--default .select2-results__option .select2-results__option {
386
+ padding-left: 1em;
387
+ }
388
+ .select2-container--default
389
+ .select2-results__option
390
+ .select2-results__option
391
+ .select2-results__group {
392
+ padding-left: 0;
393
+ }
394
+ .select2-container--default
395
+ .select2-results__option
396
+ .select2-results__option
397
+ .select2-results__option {
398
+ margin-left: -1em;
399
+ padding-left: 2em;
400
+ }
401
+ .select2-container--default
402
+ .select2-results__option
403
+ .select2-results__option
404
+ .select2-results__option
405
+ .select2-results__option {
406
+ margin-left: -2em;
407
+ padding-left: 3em;
408
+ }
409
+ .select2-container--default
410
+ .select2-results__option
411
+ .select2-results__option
412
+ .select2-results__option
413
+ .select2-results__option
414
+ .select2-results__option {
415
+ margin-left: -3em;
416
+ padding-left: 4em;
417
+ }
418
+ .select2-container--default
419
+ .select2-results__option
420
+ .select2-results__option
421
+ .select2-results__option
422
+ .select2-results__option
423
+ .select2-results__option
424
+ .select2-results__option {
425
+ margin-left: -4em;
426
+ padding-left: 5em;
427
+ }
428
+ .select2-container--default
429
+ .select2-results__option
430
+ .select2-results__option
431
+ .select2-results__option
432
+ .select2-results__option
433
+ .select2-results__option
434
+ .select2-results__option
435
+ .select2-results__option {
436
+ margin-left: -5em;
437
+ padding-left: 6em;
438
+ }
439
+
440
+ .select2-container--default
441
+ .select2-results__option--highlighted[aria-selected] {
442
+ background-color: #5897fb;
443
+ color: white;
444
+ }
445
+
446
+ .select2-container--default .select2-results__group {
447
+ cursor: default;
448
+ display: block;
449
+ padding: 6px;
450
+ }
451
+
452
+ .select2-container--classic .select2-selection--single {
453
+ background-color: #f7f7f7;
454
+ border: 1px solid #aaa;
455
+ border-radius: 4px;
456
+ outline: 0;
457
+ background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%);
458
+ background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%);
459
+ background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%);
460
+ background-repeat: repeat-x;
461
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0);
462
+ }
463
+ .select2-container--classic .select2-selection--single:focus {
464
+ border: 1px solid #5897fb;
465
+ }
466
+ .select2-container--classic
467
+ .select2-selection--single
468
+ .select2-selection__rendered {
469
+ color: #444;
470
+ line-height: 28px;
471
+ }
472
+ .select2-container--classic
473
+ .select2-selection--single
474
+ .select2-selection__clear {
475
+ cursor: pointer;
476
+ float: right;
477
+ font-weight: bold;
478
+ margin-right: 10px;
479
+ }
480
+ .select2-container--classic
481
+ .select2-selection--single
482
+ .select2-selection__placeholder {
483
+ color: #999;
484
+ }
485
+ .select2-container--classic
486
+ .select2-selection--single
487
+ .select2-selection__arrow {
488
+ background-color: #ddd;
489
+ border: none;
490
+ border-left: 1px solid #aaa;
491
+ border-top-right-radius: 4px;
492
+ border-bottom-right-radius: 4px;
493
+ height: 26px;
494
+ position: absolute;
495
+ top: 1px;
496
+ right: 1px;
497
+ width: 20px;
498
+ background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
499
+ background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
500
+ background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);
501
+ background-repeat: repeat-x;
502
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0);
503
+ }
504
+ .select2-container--classic
505
+ .select2-selection--single
506
+ .select2-selection__arrow
507
+ b {
508
+ border-color: #888 transparent transparent transparent;
509
+ border-style: solid;
510
+ border-width: 5px 4px 0 4px;
511
+ height: 0;
512
+ left: 50%;
513
+ margin-left: -4px;
514
+ margin-top: -2px;
515
+ position: absolute;
516
+ top: 50%;
517
+ width: 0;
518
+ }
519
+
520
+ .select2-container--classic[dir="rtl"]
521
+ .select2-selection--single
522
+ .select2-selection__clear {
523
+ float: left;
524
+ }
525
+
526
+ .select2-container--classic[dir="rtl"]
527
+ .select2-selection--single
528
+ .select2-selection__arrow {
529
+ border: none;
530
+ border-right: 1px solid #aaa;
531
+ border-radius: 0;
532
+ border-top-left-radius: 4px;
533
+ border-bottom-left-radius: 4px;
534
+ left: 1px;
535
+ right: auto;
536
+ }
537
+
538
+ .select2-container--classic.select2-container--open .select2-selection--single {
539
+ border: 1px solid #5897fb;
540
+ }
541
+ .select2-container--classic.select2-container--open
542
+ .select2-selection--single
543
+ .select2-selection__arrow {
544
+ background: transparent;
545
+ border: none;
546
+ }
547
+ .select2-container--classic.select2-container--open
548
+ .select2-selection--single
549
+ .select2-selection__arrow
550
+ b {
551
+ border-color: transparent transparent #888 transparent;
552
+ border-width: 0 4px 5px 4px;
553
+ }
554
+
555
+ .select2-container--classic.select2-container--open.select2-container--above
556
+ .select2-selection--single {
557
+ border-top: none;
558
+ border-top-left-radius: 0;
559
+ border-top-right-radius: 0;
560
+ background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%);
561
+ background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%);
562
+ background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%);
563
+ background-repeat: repeat-x;
564
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0);
565
+ }
566
+
567
+ .select2-container--classic.select2-container--open.select2-container--below
568
+ .select2-selection--single {
569
+ border-bottom: none;
570
+ border-bottom-left-radius: 0;
571
+ border-bottom-right-radius: 0;
572
+ background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%);
573
+ background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%);
574
+ background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%);
575
+ background-repeat: repeat-x;
576
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0);
577
+ }
578
+
579
+ .select2-container--classic .select2-selection--multiple {
580
+ background-color: white;
581
+ border: 1px solid #aaa;
582
+ border-radius: 4px;
583
+ cursor: text;
584
+ outline: 0;
585
+ }
586
+ .select2-container--classic .select2-selection--multiple:focus {
587
+ border: 1px solid #5897fb;
588
+ }
589
+ .select2-container--classic
590
+ .select2-selection--multiple
591
+ .select2-selection__rendered {
592
+ list-style: none;
593
+ margin: 0;
594
+ padding: 0 5px;
595
+ }
596
+ .select2-container--classic
597
+ .select2-selection--multiple
598
+ .select2-selection__clear {
599
+ display: none;
600
+ }
601
+ .select2-container--classic
602
+ .select2-selection--multiple
603
+ .select2-selection__choice {
604
+ background-color: #e4e4e4;
605
+ border: 1px solid #aaa;
606
+ border-radius: 4px;
607
+ cursor: default;
608
+ float: left;
609
+ margin-right: 5px;
610
+ margin-top: 5px;
611
+ padding: 0 5px;
612
+ }
613
+ .select2-container--classic
614
+ .select2-selection--multiple
615
+ .select2-selection__choice__remove {
616
+ color: #888;
617
+ cursor: pointer;
618
+ display: inline-block;
619
+ font-weight: bold;
620
+ margin-right: 2px;
621
+ }
622
+ .select2-container--classic
623
+ .select2-selection--multiple
624
+ .select2-selection__choice__remove:hover {
625
+ color: #555;
626
+ }
627
+
628
+ .select2-container--classic[dir="rtl"]
629
+ .select2-selection--multiple
630
+ .select2-selection__choice {
631
+ float: right;
632
+ margin-left: 5px;
633
+ margin-right: auto;
634
+ }
635
+
636
+ .select2-container--classic[dir="rtl"]
637
+ .select2-selection--multiple
638
+ .select2-selection__choice__remove {
639
+ margin-left: 2px;
640
+ margin-right: auto;
641
+ }
642
+
643
+ .select2-container--classic.select2-container--open
644
+ .select2-selection--multiple {
645
+ border: 1px solid #5897fb;
646
+ }
647
+
648
+ .select2-container--classic.select2-container--open.select2-container--above
649
+ .select2-selection--multiple {
650
+ border-top: none;
651
+ border-top-left-radius: 0;
652
+ border-top-right-radius: 0;
653
+ }
654
+
655
+ .select2-container--classic.select2-container--open.select2-container--below
656
+ .select2-selection--multiple {
657
+ border-bottom: none;
658
+ border-bottom-left-radius: 0;
659
+ border-bottom-right-radius: 0;
660
+ }
661
+
662
+ .select2-container--classic .select2-search--dropdown .select2-search__field {
663
+ border: 1px solid #aaa;
664
+ outline: 0;
665
+ }
666
+
667
+ .select2-container--classic .select2-search--inline .select2-search__field {
668
+ outline: 0;
669
+ box-shadow: none;
670
+ }
671
+
672
+ .select2-container--classic .select2-dropdown {
673
+ background-color: white;
674
+ border: 1px solid transparent;
675
+ }
676
+
677
+ .select2-container--classic .select2-dropdown--above {
678
+ border-bottom: none;
679
+ }
680
+
681
+ .select2-container--classic .select2-dropdown--below {
682
+ border-top: none;
683
+ }
684
+
685
+ .select2-container--classic .select2-results > .select2-results__options {
686
+ max-height: 200px;
687
+ overflow-y: auto;
688
+ }
689
+
690
+ .select2-container--classic .select2-results__option[role="group"] {
691
+ padding: 0;
692
+ }
693
+
694
+ .select2-container--classic .select2-results__option[aria-disabled="true"] {
695
+ color: grey;
696
+ }
697
+
698
+ .select2-container--classic
699
+ .select2-results__option--highlighted[aria-selected] {
700
+ background-color: #3875d7;
701
+ color: white;
702
+ }
703
+
704
+ .select2-container--classic .select2-results__group {
705
+ cursor: default;
706
+ display: block;
707
+ padding: 6px;
708
+ }
709
+
710
+ .select2-container--classic.select2-container--open .select2-dropdown {
711
+ border-color: #5897fb;
712
+ }