activeadmin_addons 1.10.0 → 2.0.0.beta.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (172) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +1 -17
  3. data/app/inputs/active_admin/inputs/select_input.rb +9 -5
  4. data/app/inputs/nested_level_input.rb +13 -7
  5. data/app/inputs/nested_select_input.rb +19 -13
  6. data/app/inputs/search_select_filter_input.rb +15 -1
  7. data/app/inputs/search_select_input.rb +6 -5
  8. data/app/inputs/tags_input.rb +5 -34
  9. data/app/javascript/activeadmin_addons/addons/slim-select-interactive-tag.js +78 -0
  10. data/app/javascript/activeadmin_addons/all.js +2 -7
  11. data/app/javascript/activeadmin_addons/config.js +8 -5
  12. data/app/javascript/activeadmin_addons/inputs/slim-select-nested.js +95 -0
  13. data/app/javascript/activeadmin_addons/inputs/slim-select-search.js +37 -0
  14. data/app/javascript/activeadmin_addons/inputs/slim-select-selected-list.js +103 -0
  15. data/app/javascript/activeadmin_addons/inputs/slim-select-simple-tags.js +22 -0
  16. data/app/javascript/activeadmin_addons/inputs/slim-select-tags.js +28 -0
  17. data/app/javascript/activeadmin_addons/inputs/slim-select-utils.js +70 -0
  18. data/app/javascript/activeadmin_addons/inputs/slim-select.js +93 -0
  19. data/app/{assets/stylesheets/activeadmin_addons → javascript/activeadmin_addons/stylesheets}/all.scss +4 -10
  20. data/app/javascript/activeadmin_addons/stylesheets/imports/slimselect.css +1 -0
  21. data/app/{assets/stylesheets/activeadmin_addons → javascript/activeadmin_addons/stylesheets}/inputs/selected-list.scss +0 -1
  22. data/app/javascript/activeadmin_addons/stylesheets/inputs/slim-select.scss +9 -0
  23. data/lib/activeadmin_addons/addons/image_builder.rb +2 -9
  24. data/lib/activeadmin_addons/addons/state_builder.rb +1 -0
  25. data/lib/activeadmin_addons/addons/tag_builder.rb +3 -22
  26. data/lib/activeadmin_addons/engine.rb +1 -6
  27. data/lib/activeadmin_addons/support/custom_builder.rb +1 -1
  28. data/lib/activeadmin_addons/support/input_base.rb +0 -42
  29. data/lib/activeadmin_addons/support/input_helpers/filter_input_methods.rb +1 -0
  30. data/lib/activeadmin_addons/support/input_helpers/input_html_helpers.rb +42 -0
  31. data/lib/activeadmin_addons/support/input_helpers/select_helpers.rb +10 -12
  32. data/lib/activeadmin_addons/support/select_filter_input_extension.rb +1 -3
  33. data/lib/activeadmin_addons/support/select_input_base.rb +11 -0
  34. data/lib/activeadmin_addons/version.rb +1 -1
  35. data/lib/activeadmin_addons.rb +4 -1
  36. data/lib/generators/activeadmin_addons/install/install_generator.rb +2 -1
  37. data/lib/generators/activeadmin_addons/install/templates/initializer.rb +2 -2
  38. data/lib/generators/activeadmin_addons/webpacker/webpacker_generator.rb +3 -6
  39. metadata +82 -196
  40. data/app/assets/images/fileicons/file_extension_3gp.png +0 -0
  41. data/app/assets/images/fileicons/file_extension_7z.png +0 -0
  42. data/app/assets/images/fileicons/file_extension_ace.png +0 -0
  43. data/app/assets/images/fileicons/file_extension_ai.png +0 -0
  44. data/app/assets/images/fileicons/file_extension_aif.png +0 -0
  45. data/app/assets/images/fileicons/file_extension_aiff.png +0 -0
  46. data/app/assets/images/fileicons/file_extension_amr.png +0 -0
  47. data/app/assets/images/fileicons/file_extension_asf.png +0 -0
  48. data/app/assets/images/fileicons/file_extension_asx.png +0 -0
  49. data/app/assets/images/fileicons/file_extension_bat.png +0 -0
  50. data/app/assets/images/fileicons/file_extension_bin.png +0 -0
  51. data/app/assets/images/fileicons/file_extension_bmp.png +0 -0
  52. data/app/assets/images/fileicons/file_extension_bup.png +0 -0
  53. data/app/assets/images/fileicons/file_extension_cab.png +0 -0
  54. data/app/assets/images/fileicons/file_extension_cbr.png +0 -0
  55. data/app/assets/images/fileicons/file_extension_cda.png +0 -0
  56. data/app/assets/images/fileicons/file_extension_cdl.png +0 -0
  57. data/app/assets/images/fileicons/file_extension_cdr.png +0 -0
  58. data/app/assets/images/fileicons/file_extension_chm.png +0 -0
  59. data/app/assets/images/fileicons/file_extension_dat.png +0 -0
  60. data/app/assets/images/fileicons/file_extension_divx.png +0 -0
  61. data/app/assets/images/fileicons/file_extension_dll.png +0 -0
  62. data/app/assets/images/fileicons/file_extension_dmg.png +0 -0
  63. data/app/assets/images/fileicons/file_extension_doc.png +0 -0
  64. data/app/assets/images/fileicons/file_extension_docx.png +0 -0
  65. data/app/assets/images/fileicons/file_extension_dss.png +0 -0
  66. data/app/assets/images/fileicons/file_extension_dvf.png +0 -0
  67. data/app/assets/images/fileicons/file_extension_dwg.png +0 -0
  68. data/app/assets/images/fileicons/file_extension_eml.png +0 -0
  69. data/app/assets/images/fileicons/file_extension_eps.png +0 -0
  70. data/app/assets/images/fileicons/file_extension_exe.png +0 -0
  71. data/app/assets/images/fileicons/file_extension_fla.png +0 -0
  72. data/app/assets/images/fileicons/file_extension_flv.png +0 -0
  73. data/app/assets/images/fileicons/file_extension_gif.png +0 -0
  74. data/app/assets/images/fileicons/file_extension_gz.png +0 -0
  75. data/app/assets/images/fileicons/file_extension_hqx.png +0 -0
  76. data/app/assets/images/fileicons/file_extension_htm.png +0 -0
  77. data/app/assets/images/fileicons/file_extension_html.png +0 -0
  78. data/app/assets/images/fileicons/file_extension_ifo.png +0 -0
  79. data/app/assets/images/fileicons/file_extension_indd.png +0 -0
  80. data/app/assets/images/fileicons/file_extension_iso.png +0 -0
  81. data/app/assets/images/fileicons/file_extension_jar.png +0 -0
  82. data/app/assets/images/fileicons/file_extension_jpeg.png +0 -0
  83. data/app/assets/images/fileicons/file_extension_jpg.png +0 -0
  84. data/app/assets/images/fileicons/file_extension_lnk.png +0 -0
  85. data/app/assets/images/fileicons/file_extension_log.png +0 -0
  86. data/app/assets/images/fileicons/file_extension_m4a.png +0 -0
  87. data/app/assets/images/fileicons/file_extension_m4b.png +0 -0
  88. data/app/assets/images/fileicons/file_extension_m4p.png +0 -0
  89. data/app/assets/images/fileicons/file_extension_m4v.png +0 -0
  90. data/app/assets/images/fileicons/file_extension_mcd.png +0 -0
  91. data/app/assets/images/fileicons/file_extension_mdb.png +0 -0
  92. data/app/assets/images/fileicons/file_extension_mid.png +0 -0
  93. data/app/assets/images/fileicons/file_extension_mov.png +0 -0
  94. data/app/assets/images/fileicons/file_extension_mp2.png +0 -0
  95. data/app/assets/images/fileicons/file_extension_mp3.png +0 -0
  96. data/app/assets/images/fileicons/file_extension_mp4.png +0 -0
  97. data/app/assets/images/fileicons/file_extension_mpeg.png +0 -0
  98. data/app/assets/images/fileicons/file_extension_mpg.png +0 -0
  99. data/app/assets/images/fileicons/file_extension_msi.png +0 -0
  100. data/app/assets/images/fileicons/file_extension_mswmm.png +0 -0
  101. data/app/assets/images/fileicons/file_extension_ogg.png +0 -0
  102. data/app/assets/images/fileicons/file_extension_pdf.png +0 -0
  103. data/app/assets/images/fileicons/file_extension_png.png +0 -0
  104. data/app/assets/images/fileicons/file_extension_pps.png +0 -0
  105. data/app/assets/images/fileicons/file_extension_ppt.png +0 -0
  106. data/app/assets/images/fileicons/file_extension_pptx.png +0 -0
  107. data/app/assets/images/fileicons/file_extension_ps.png +0 -0
  108. data/app/assets/images/fileicons/file_extension_psd.png +0 -0
  109. data/app/assets/images/fileicons/file_extension_pst.png +0 -0
  110. data/app/assets/images/fileicons/file_extension_ptb.png +0 -0
  111. data/app/assets/images/fileicons/file_extension_pub.png +0 -0
  112. data/app/assets/images/fileicons/file_extension_qbb.png +0 -0
  113. data/app/assets/images/fileicons/file_extension_qbw.png +0 -0
  114. data/app/assets/images/fileicons/file_extension_qxd.png +0 -0
  115. data/app/assets/images/fileicons/file_extension_ram.png +0 -0
  116. data/app/assets/images/fileicons/file_extension_rar.png +0 -0
  117. data/app/assets/images/fileicons/file_extension_rm.png +0 -0
  118. data/app/assets/images/fileicons/file_extension_rmvb.png +0 -0
  119. data/app/assets/images/fileicons/file_extension_rtf.png +0 -0
  120. data/app/assets/images/fileicons/file_extension_sea.png +0 -0
  121. data/app/assets/images/fileicons/file_extension_ses.png +0 -0
  122. data/app/assets/images/fileicons/file_extension_sit.png +0 -0
  123. data/app/assets/images/fileicons/file_extension_sitx.png +0 -0
  124. data/app/assets/images/fileicons/file_extension_ss.png +0 -0
  125. data/app/assets/images/fileicons/file_extension_swf.png +0 -0
  126. data/app/assets/images/fileicons/file_extension_tgz.png +0 -0
  127. data/app/assets/images/fileicons/file_extension_thm.png +0 -0
  128. data/app/assets/images/fileicons/file_extension_tif.png +0 -0
  129. data/app/assets/images/fileicons/file_extension_tmp.png +0 -0
  130. data/app/assets/images/fileicons/file_extension_torrent.png +0 -0
  131. data/app/assets/images/fileicons/file_extension_ttf.png +0 -0
  132. data/app/assets/images/fileicons/file_extension_txt.png +0 -0
  133. data/app/assets/images/fileicons/file_extension_unknown.png +0 -0
  134. data/app/assets/images/fileicons/file_extension_vcd.png +0 -0
  135. data/app/assets/images/fileicons/file_extension_vob.png +0 -0
  136. data/app/assets/images/fileicons/file_extension_wav.png +0 -0
  137. data/app/assets/images/fileicons/file_extension_wma.png +0 -0
  138. data/app/assets/images/fileicons/file_extension_wmv.png +0 -0
  139. data/app/assets/images/fileicons/file_extension_wps.png +0 -0
  140. data/app/assets/images/fileicons/file_extension_xls.png +0 -0
  141. data/app/assets/images/fileicons/file_extension_xlsx.png +0 -0
  142. data/app/assets/images/fileicons/file_extension_xpi.png +0 -0
  143. data/app/assets/images/fileicons/file_extension_zip.png +0 -0
  144. data/app/assets/images/material/icons/keyboard_arrow_down.svg +0 -4
  145. data/app/assets/images/material/icons/keyboard_arrow_left.svg +0 -4
  146. data/app/assets/images/material/icons/keyboard_arrow_right.svg +0 -4
  147. data/app/assets/images/material/icons/keyboard_arrow_up.svg +0 -4
  148. data/app/assets/images/material/icons/today.svg +0 -4
  149. data/app/assets/javascripts/activeadmin_addons/all.js +0 -753
  150. data/app/assets/stylesheets/activeadmin_addons/addons/material-datepicker.scss +0 -173
  151. data/app/assets/stylesheets/activeadmin_addons/addons/material-toggle_bool.scss +0 -52
  152. data/app/assets/stylesheets/activeadmin_addons/inputs/select2.scss +0 -3
  153. data/app/assets/stylesheets/activeadmin_addons/material.scss +0 -53
  154. data/app/javascript/activeadmin_addons/addons/interactive_select_tag.js +0 -95
  155. data/app/javascript/activeadmin_addons/inputs/nested-select.js +0 -170
  156. data/app/javascript/activeadmin_addons/inputs/search-select.js +0 -76
  157. data/app/javascript/activeadmin_addons/inputs/select2.js +0 -52
  158. data/app/javascript/activeadmin_addons/inputs/selected-list.js +0 -107
  159. data/app/javascript/activeadmin_addons/inputs/tags.js +0 -76
  160. data/lib/activeadmin_addons/addons/attachment_builder.rb +0 -60
  161. data/lib/activeadmin_addons/support/enumerize_formtastic_support.rb +0 -18
  162. data/lib/generators/activeadmin_addons/assets/assets_generator.rb +0 -53
  163. data/vendor/assets/select2/select2.css +0 -481
  164. data/vendor/assets/select2/select2.full.js +0 -6820
  165. /data/app/{assets/stylesheets/activeadmin_addons → javascript/activeadmin_addons/stylesheets}/addons/interactive_select_tag.scss +0 -0
  166. /data/app/{assets/stylesheets/activeadmin_addons → javascript/activeadmin_addons/stylesheets}/addons/toggle_bool.scss +0 -0
  167. /data/app/{assets/stylesheets/activeadmin_addons → javascript/activeadmin_addons/stylesheets}/imports/jquery-datepicker.scss +0 -0
  168. /data/app/{assets/stylesheets/activeadmin_addons → javascript/activeadmin_addons/stylesheets}/inputs/color-picker.scss +0 -0
  169. /data/app/{assets/stylesheets/activeadmin_addons → javascript/activeadmin_addons/stylesheets}/inputs/date-time-picker-filter.scss +0 -0
  170. /data/app/{assets/stylesheets/activeadmin_addons → javascript/activeadmin_addons/stylesheets}/inputs/date-time-picker.scss +0 -0
  171. /data/app/{assets/stylesheets/activeadmin_addons → javascript/activeadmin_addons/stylesheets}/inputs/numeric-range-filter.scss +0 -0
  172. /data/app/{assets/stylesheets/activeadmin_addons → javascript/activeadmin_addons/stylesheets}/vendor/palette-color-picker.scss +0 -0
@@ -1,481 +0,0 @@
1
- .select2-container {
2
- box-sizing: border-box;
3
- display: inline-block;
4
- margin: 0;
5
- position: relative;
6
- vertical-align: middle; }
7
- .select2-container .select2-selection--single {
8
- box-sizing: border-box;
9
- cursor: pointer;
10
- display: block;
11
- height: 28px;
12
- user-select: none;
13
- -webkit-user-select: none; }
14
- .select2-container .select2-selection--single .select2-selection__rendered {
15
- display: block;
16
- padding-left: 8px;
17
- padding-right: 20px;
18
- overflow: hidden;
19
- text-overflow: ellipsis;
20
- white-space: nowrap; }
21
- .select2-container .select2-selection--single .select2-selection__clear {
22
- position: relative; }
23
- .select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
24
- padding-right: 8px;
25
- padding-left: 20px; }
26
- .select2-container .select2-selection--multiple {
27
- box-sizing: border-box;
28
- cursor: pointer;
29
- display: block;
30
- min-height: 32px;
31
- user-select: none;
32
- -webkit-user-select: none; }
33
- .select2-container .select2-selection--multiple .select2-selection__rendered {
34
- display: inline-block;
35
- overflow: hidden;
36
- padding-left: 8px;
37
- text-overflow: ellipsis;
38
- white-space: nowrap; }
39
- .select2-container .select2-search--inline {
40
- float: left; }
41
- .select2-container .select2-search--inline .select2-search__field {
42
- box-sizing: border-box;
43
- border: none;
44
- font-size: 100%;
45
- margin-top: 5px;
46
- padding: 0; }
47
- .select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {
48
- -webkit-appearance: none; }
49
-
50
- .select2-dropdown {
51
- background-color: white;
52
- border: 1px solid #aaa;
53
- border-radius: 4px;
54
- box-sizing: border-box;
55
- display: block;
56
- position: absolute;
57
- left: -100000px;
58
- width: 100%;
59
- z-index: 1051; }
60
-
61
- .select2-results {
62
- display: block; }
63
-
64
- .select2-results__options {
65
- list-style: none;
66
- margin: 0;
67
- padding: 0; }
68
-
69
- .select2-results__option {
70
- padding: 6px;
71
- user-select: none;
72
- -webkit-user-select: none; }
73
- .select2-results__option[aria-selected] {
74
- cursor: pointer; }
75
-
76
- .select2-container--open .select2-dropdown {
77
- left: 0; }
78
-
79
- .select2-container--open .select2-dropdown--above {
80
- border-bottom: none;
81
- border-bottom-left-radius: 0;
82
- border-bottom-right-radius: 0; }
83
-
84
- .select2-container--open .select2-dropdown--below {
85
- border-top: none;
86
- border-top-left-radius: 0;
87
- border-top-right-radius: 0; }
88
-
89
- .select2-search--dropdown {
90
- display: block;
91
- padding: 4px; }
92
- .select2-search--dropdown .select2-search__field {
93
- padding: 4px;
94
- width: 100%;
95
- box-sizing: border-box; }
96
- .select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
97
- -webkit-appearance: none; }
98
- .select2-search--dropdown.select2-search--hide {
99
- display: none; }
100
-
101
- .select2-close-mask {
102
- border: 0;
103
- margin: 0;
104
- padding: 0;
105
- display: block;
106
- position: fixed;
107
- left: 0;
108
- top: 0;
109
- min-height: 100%;
110
- min-width: 100%;
111
- height: auto;
112
- width: auto;
113
- opacity: 0;
114
- z-index: 99;
115
- background-color: #fff;
116
- filter: alpha(opacity=0); }
117
-
118
- .select2-hidden-accessible {
119
- border: 0 !important;
120
- clip: rect(0 0 0 0) !important;
121
- -webkit-clip-path: inset(50%) !important;
122
- clip-path: inset(50%) !important;
123
- height: 1px !important;
124
- overflow: hidden !important;
125
- padding: 0 !important;
126
- position: absolute !important;
127
- width: 1px !important;
128
- white-space: nowrap !important; }
129
-
130
- .select2-container--default .select2-selection--single {
131
- background-color: #fff;
132
- border: 1px solid #aaa;
133
- border-radius: 4px; }
134
- .select2-container--default .select2-selection--single .select2-selection__rendered {
135
- color: #444;
136
- line-height: 28px; }
137
- .select2-container--default .select2-selection--single .select2-selection__clear {
138
- cursor: pointer;
139
- float: right;
140
- font-weight: bold; }
141
- .select2-container--default .select2-selection--single .select2-selection__placeholder {
142
- color: #999; }
143
- .select2-container--default .select2-selection--single .select2-selection__arrow {
144
- height: 26px;
145
- position: absolute;
146
- top: 1px;
147
- right: 1px;
148
- width: 20px; }
149
- .select2-container--default .select2-selection--single .select2-selection__arrow b {
150
- border-color: #888 transparent transparent transparent;
151
- border-style: solid;
152
- border-width: 5px 4px 0 4px;
153
- height: 0;
154
- left: 50%;
155
- margin-left: -4px;
156
- margin-top: -2px;
157
- position: absolute;
158
- top: 50%;
159
- width: 0; }
160
-
161
- .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {
162
- float: left; }
163
-
164
- .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
165
- left: 1px;
166
- right: auto; }
167
-
168
- .select2-container--default.select2-container--disabled .select2-selection--single {
169
- background-color: #eee;
170
- cursor: default; }
171
- .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
172
- display: none; }
173
-
174
- .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
175
- border-color: transparent transparent #888 transparent;
176
- border-width: 0 4px 5px 4px; }
177
-
178
- .select2-container--default .select2-selection--multiple {
179
- background-color: white;
180
- border: 1px solid #aaa;
181
- border-radius: 4px;
182
- cursor: text; }
183
- .select2-container--default .select2-selection--multiple .select2-selection__rendered {
184
- box-sizing: border-box;
185
- list-style: none;
186
- margin: 0;
187
- padding: 0 5px;
188
- width: 100%; }
189
- .select2-container--default .select2-selection--multiple .select2-selection__rendered li {
190
- list-style: none; }
191
- .select2-container--default .select2-selection--multiple .select2-selection__clear {
192
- cursor: pointer;
193
- float: right;
194
- font-weight: bold;
195
- margin-top: 5px;
196
- margin-right: 10px;
197
- padding: 1px; }
198
- .select2-container--default .select2-selection--multiple .select2-selection__choice {
199
- background-color: #e4e4e4;
200
- border: 1px solid #aaa;
201
- border-radius: 4px;
202
- cursor: default;
203
- float: left;
204
- margin-right: 5px;
205
- margin-top: 5px;
206
- padding: 0 5px; }
207
- .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
208
- color: #999;
209
- cursor: pointer;
210
- display: inline-block;
211
- font-weight: bold;
212
- margin-right: 2px; }
213
- .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
214
- color: #333; }
215
-
216
- .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline {
217
- float: right; }
218
-
219
- .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
220
- margin-left: 5px;
221
- margin-right: auto; }
222
-
223
- .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
224
- margin-left: 2px;
225
- margin-right: auto; }
226
-
227
- .select2-container--default.select2-container--focus .select2-selection--multiple {
228
- border: solid black 1px;
229
- outline: 0; }
230
-
231
- .select2-container--default.select2-container--disabled .select2-selection--multiple {
232
- background-color: #eee;
233
- cursor: default; }
234
-
235
- .select2-container--default.select2-container--disabled .select2-selection__choice__remove {
236
- display: none; }
237
-
238
- .select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
239
- border-top-left-radius: 0;
240
- border-top-right-radius: 0; }
241
-
242
- .select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
243
- border-bottom-left-radius: 0;
244
- border-bottom-right-radius: 0; }
245
-
246
- .select2-container--default .select2-search--dropdown .select2-search__field {
247
- border: 1px solid #aaa; }
248
-
249
- .select2-container--default .select2-search--inline .select2-search__field {
250
- background: transparent;
251
- border: none;
252
- outline: 0;
253
- box-shadow: none;
254
- -webkit-appearance: textfield; }
255
-
256
- .select2-container--default .select2-results > .select2-results__options {
257
- max-height: 200px;
258
- overflow-y: auto; }
259
-
260
- .select2-container--default .select2-results__option[role=group] {
261
- padding: 0; }
262
-
263
- .select2-container--default .select2-results__option[aria-disabled=true] {
264
- color: #999; }
265
-
266
- .select2-container--default .select2-results__option[aria-selected=true] {
267
- background-color: #ddd; }
268
-
269
- .select2-container--default .select2-results__option .select2-results__option {
270
- padding-left: 1em; }
271
- .select2-container--default .select2-results__option .select2-results__option .select2-results__group {
272
- padding-left: 0; }
273
- .select2-container--default .select2-results__option .select2-results__option .select2-results__option {
274
- margin-left: -1em;
275
- padding-left: 2em; }
276
- .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
277
- margin-left: -2em;
278
- padding-left: 3em; }
279
- .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
280
- margin-left: -3em;
281
- padding-left: 4em; }
282
- .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
283
- margin-left: -4em;
284
- padding-left: 5em; }
285
- .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
286
- margin-left: -5em;
287
- padding-left: 6em; }
288
-
289
- .select2-container--default .select2-results__option--highlighted[aria-selected] {
290
- background-color: #5897fb;
291
- color: white; }
292
-
293
- .select2-container--default .select2-results__group {
294
- cursor: default;
295
- display: block;
296
- padding: 6px; }
297
-
298
- .select2-container--classic .select2-selection--single {
299
- background-color: #f7f7f7;
300
- border: 1px solid #aaa;
301
- border-radius: 4px;
302
- outline: 0;
303
- background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%);
304
- background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%);
305
- background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%);
306
- background-repeat: repeat-x;
307
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }
308
- .select2-container--classic .select2-selection--single:focus {
309
- border: 1px solid #5897fb; }
310
- .select2-container--classic .select2-selection--single .select2-selection__rendered {
311
- color: #444;
312
- line-height: 28px; }
313
- .select2-container--classic .select2-selection--single .select2-selection__clear {
314
- cursor: pointer;
315
- float: right;
316
- font-weight: bold;
317
- margin-right: 10px; }
318
- .select2-container--classic .select2-selection--single .select2-selection__placeholder {
319
- color: #999; }
320
- .select2-container--classic .select2-selection--single .select2-selection__arrow {
321
- background-color: #ddd;
322
- border: none;
323
- border-left: 1px solid #aaa;
324
- border-top-right-radius: 4px;
325
- border-bottom-right-radius: 4px;
326
- height: 26px;
327
- position: absolute;
328
- top: 1px;
329
- right: 1px;
330
- width: 20px;
331
- background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
332
- background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
333
- background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);
334
- background-repeat: repeat-x;
335
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0); }
336
- .select2-container--classic .select2-selection--single .select2-selection__arrow b {
337
- border-color: #888 transparent transparent transparent;
338
- border-style: solid;
339
- border-width: 5px 4px 0 4px;
340
- height: 0;
341
- left: 50%;
342
- margin-left: -4px;
343
- margin-top: -2px;
344
- position: absolute;
345
- top: 50%;
346
- width: 0; }
347
-
348
- .select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear {
349
- float: left; }
350
-
351
- .select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow {
352
- border: none;
353
- border-right: 1px solid #aaa;
354
- border-radius: 0;
355
- border-top-left-radius: 4px;
356
- border-bottom-left-radius: 4px;
357
- left: 1px;
358
- right: auto; }
359
-
360
- .select2-container--classic.select2-container--open .select2-selection--single {
361
- border: 1px solid #5897fb; }
362
- .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow {
363
- background: transparent;
364
- border: none; }
365
- .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b {
366
- border-color: transparent transparent #888 transparent;
367
- border-width: 0 4px 5px 4px; }
368
-
369
- .select2-container--classic.select2-container--open.select2-container--above .select2-selection--single {
370
- border-top: none;
371
- border-top-left-radius: 0;
372
- border-top-right-radius: 0;
373
- background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%);
374
- background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%);
375
- background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%);
376
- background-repeat: repeat-x;
377
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }
378
-
379
- .select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {
380
- border-bottom: none;
381
- border-bottom-left-radius: 0;
382
- border-bottom-right-radius: 0;
383
- background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%);
384
- background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%);
385
- background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%);
386
- background-repeat: repeat-x;
387
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0); }
388
-
389
- .select2-container--classic .select2-selection--multiple {
390
- background-color: white;
391
- border: 1px solid #aaa;
392
- border-radius: 4px;
393
- cursor: text;
394
- outline: 0; }
395
- .select2-container--classic .select2-selection--multiple:focus {
396
- border: 1px solid #5897fb; }
397
- .select2-container--classic .select2-selection--multiple .select2-selection__rendered {
398
- list-style: none;
399
- margin: 0;
400
- padding: 0 5px; }
401
- .select2-container--classic .select2-selection--multiple .select2-selection__clear {
402
- display: none; }
403
- .select2-container--classic .select2-selection--multiple .select2-selection__choice {
404
- background-color: #e4e4e4;
405
- border: 1px solid #aaa;
406
- border-radius: 4px;
407
- cursor: default;
408
- float: left;
409
- margin-right: 5px;
410
- margin-top: 5px;
411
- padding: 0 5px; }
412
- .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {
413
- color: #888;
414
- cursor: pointer;
415
- display: inline-block;
416
- font-weight: bold;
417
- margin-right: 2px; }
418
- .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover {
419
- color: #555; }
420
-
421
- .select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
422
- float: right;
423
- margin-left: 5px;
424
- margin-right: auto; }
425
-
426
- .select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
427
- margin-left: 2px;
428
- margin-right: auto; }
429
-
430
- .select2-container--classic.select2-container--open .select2-selection--multiple {
431
- border: 1px solid #5897fb; }
432
-
433
- .select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple {
434
- border-top: none;
435
- border-top-left-radius: 0;
436
- border-top-right-radius: 0; }
437
-
438
- .select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple {
439
- border-bottom: none;
440
- border-bottom-left-radius: 0;
441
- border-bottom-right-radius: 0; }
442
-
443
- .select2-container--classic .select2-search--dropdown .select2-search__field {
444
- border: 1px solid #aaa;
445
- outline: 0; }
446
-
447
- .select2-container--classic .select2-search--inline .select2-search__field {
448
- outline: 0;
449
- box-shadow: none; }
450
-
451
- .select2-container--classic .select2-dropdown {
452
- background-color: white;
453
- border: 1px solid transparent; }
454
-
455
- .select2-container--classic .select2-dropdown--above {
456
- border-bottom: none; }
457
-
458
- .select2-container--classic .select2-dropdown--below {
459
- border-top: none; }
460
-
461
- .select2-container--classic .select2-results > .select2-results__options {
462
- max-height: 200px;
463
- overflow-y: auto; }
464
-
465
- .select2-container--classic .select2-results__option[role=group] {
466
- padding: 0; }
467
-
468
- .select2-container--classic .select2-results__option[aria-disabled=true] {
469
- color: grey; }
470
-
471
- .select2-container--classic .select2-results__option--highlighted[aria-selected] {
472
- background-color: #3875d7;
473
- color: white; }
474
-
475
- .select2-container--classic .select2-results__group {
476
- cursor: default;
477
- display: block;
478
- padding: 6px; }
479
-
480
- .select2-container--classic.select2-container--open .select2-dropdown {
481
- border-color: #5897fb; }