PluginProbe ʕ •ᴥ•ʔ
WP All Import – Drag & Drop Import for CSV, XML, Excel & Google Sheets / trunk
WP All Import – Drag & Drop Import for CSV, XML, Excel & Google Sheets vtrunk
3.9.5 3.9.6 4.0.0 4.0.1 4.1.0 trunk 2.12 2.13 2.14 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.2.8 3.2.9 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.4.6 3.4.7 3.4.8 3.4.9 3.5.0 3.5.1 3.5.2 3.5.3 3.5.4 3.5.5 3.5.6 3.5.7 3.5.8 3.5.9 3.6.0 3.6.1 3.6.2 3.6.3 3.6.4 3.6.5 3.6.6 3.6.7 3.6.8 3.6.9 3.7.0 3.7.1 3.7.2 3.7.3 3.7.3-beta-1.0 3.7.4 3.7.4-beta-1.0 3.7.5 3.7.6 3.7.7 3.7.8 3.7.9 3.8.0 3.9.0 3.9.1 3.9.2 3.9.3 3.9.4
wp-all-import / static / css / select2-v4-ddslick-compat.css
wp-all-import / static / css Last commit date
admin-ie.css 12 years ago admin-wp-3.8.css 1 year ago admin-wp-4.0.css 11 years ago admin-wp-4.4.css 10 months ago admin.css 3 weeks ago custom-editor-style.css 11 years ago select2-v4-ddslick-compat.css 10 months ago
select2-v4-ddslick-compat.css
333 lines
1 /*
2 * Select2 v4 to Ddslick Compatibility CSS
3 * This file provides styling to make Select2 v4 dropdowns look exactly like the ddslick dropdowns they replaced
4 *
5 * EXACT DDSLICK REPLICATION:
6 * .dd-select: background #fff, border 1px solid #ddd, padding 10px 0, margin-left -5px
7 * .dd-selected: color #000, font-weight normal, font-size 18px, padding 0 12px, line-height 24px
8 * .change_file .dd-select: padding 5px 0 0
9 *
10 * WIDTHS: file_selector 600px, custom_type_selector 590px, taxonomy_to_import 300px
11 * ICONS: Selected state color #46ba69, font-size 24px, margin 2px 5px 2px 2px
12 *
13 * DROPDOWN HEIGHT: Double the default height for better visibility
14 */
15
16 /* Double the default dropdown height for Select2 v4 */
17 .select2-results__options {
18 max-height: 400px !important; /* Default is usually ~200px, doubling to 400px */
19 }
20
21 .select2-dropdown .select2-results {
22 max-height: 400px !important; /* Ensure results container matches */
23 }
24
25 .select2-container--default .select2-results__options {
26 max-height: 400px !important; /* Target default theme specifically */
27 }
28
29 /* ===== SELECT2 V4 TO DDSLICK EXACT REPLICATION ===== */
30
31 /* STEP 1: MAIN CONTAINER - Replicate .dd-select container styling */
32 .wpallimport-plugin .select2-container {
33 border: none !important;
34 background: transparent !important;
35 box-sizing: border-box !important;
36 }
37
38 /* STEP 2: SELECTION AREA - Replicate .dd-select styling exactly */
39 .wpallimport-plugin .select2-container .select2-selection--single {
40 background: #fff !important;
41 border: 1px solid #ddd !important;
42 border-radius: 4px !important;
43 box-shadow: none !important;
44 height: auto !important;
45 padding: 10px 0 !important;
46 line-height: 24px !important;
47 cursor: pointer !important;
48 outline: none !important;
49 user-select: none !important;
50 -webkit-user-select: none !important;
51 }
52
53 /* STEP 3: TEXT DISPLAY - Replicate .dd-selected styling exactly */
54 .wpallimport-plugin .select2-container .select2-selection--single .select2-selection__rendered {
55 color: #000 !important;
56 font-weight: normal !important;
57 font-size: 18px !important;
58 padding: 0 12px !important;
59 line-height: 24px !important;
60 text-align: left !important;
61 overflow: hidden !important;
62 text-overflow: ellipsis !important;
63 white-space: nowrap !important;
64 display: block !important;
65 padding-right: 20px !important; /* Space for arrow */
66 }
67
68 /* STEP 4: ARROW STYLING - Clean ddslick-style arrow */
69 .wpallimport-plugin .select2-container .select2-selection--single .select2-selection__arrow {
70 height: 24px !important;
71 position: absolute !important;
72 top: 50% !important;
73 right: 8px !important;
74 width: 20px !important;
75 transform: translateY(-50%) !important;
76 }
77
78 .wpallimport-plugin .select2-container .select2-selection--single .select2-selection__arrow b {
79 border-color: #888 transparent transparent transparent !important;
80 border-style: solid !important;
81 border-width: 5px 4px 0 4px !important;
82 height: 0 !important;
83 left: 50% !important;
84 margin-left: -4px !important;
85 margin-top: -2px !important;
86 position: absolute !important;
87 top: 50% !important;
88 width: 0 !important;
89 }
90
91 /* STEP 5: SPECIFIC WIDTHS - Match exact ddslick widths */
92 .wpallimport-plugin #file_selector + .select2-container,
93 .wpallimport-plugin .change_file #file_selector + .select2-container {
94 width: 600px !important;
95 margin-bottom: 10px !important;
96 margin-left: 0 !important;
97 }
98
99 .wpallimport-plugin #custom_type_selector + .select2-container {
100 width: 600px !important;
101 }
102
103 .wpallimport-plugin #taxonomy_to_import + .select2-container {
104 width: 600px !important;
105 }
106
107 .wpallimport-plugin #gravity_form_to_import + .select2-container {
108 width: 600px !important;
109 }
110
111 /* STEP 7: HOVER AND FOCUS STATES - Keep ddslick simplicity */
112 .wpallimport-plugin .select2-container .select2-selection--single:hover,
113 .wpallimport-plugin .select2-container .select2-selection--single:focus,
114 .wpallimport-plugin .select2-container.select2-container--open .select2-selection--single {
115 background: #fff !important;
116 border: 1px solid #ddd !important;
117 box-shadow: none !important;
118 outline: none !important;
119 }
120
121 /* STEP 8: DROPDOWN STYLING - Match ddslick dropdown appearance */
122 .wpallimport-plugin .select2-dropdown {
123 border: 1px solid #ddd !important;
124 border-top: none !important;
125 border-radius: 4px !important;
126 box-shadow: none !important;
127 margin-left: -10px !important;
128 }
129
130 .wpallimport-plugin .select2-dropdown .select2-results__option {
131 font-size: 18px !important;
132 color: #555 !important;
133 padding: 8px 12px !important;
134 line-height: 24px !important;
135 }
136
137 .wpallimport-plugin .select2-dropdown .select2-results__option:hover,
138 .wpallimport-plugin .select2-dropdown .select2-results__option--highlighted {
139 background: #eee !important;
140 color: #555 !important;
141 }
142
143 /* STEP 9: CUSTOM TYPE SELECTOR ICONS - Replicate ddslick icon styling */
144 .wpallimport-plugin #custom_type_selector + .select2-container .select2-selection__rendered .dashicon {
145 display: inline-block !important;
146 font-family: "dashicons" !important;
147 font-size: 24px !important;
148 width: 24px !important;
149 height: 24px !important;
150 line-height: 24px !important;
151 vertical-align: middle !important;
152 float: left !important;
153 margin: 2px 5px 2px 2px !important;
154 }
155
156 /* Selected state icons - replicate ddslick .dd-selected .dashicon:before styling */
157 .wpallimport-plugin #custom_type_selector + .select2-container .select2-selection__rendered .dashicon:before {
158 color: #46ba69 !important;
159 line-height: 24px !important;
160 }
161
162 /* STEP 10: DROPDOWN ICONS FOR CUSTOM_TYPE_SELECTOR */
163 .wpallimport-plugin .select2-dropdown.custom-type-dropdown .select2-results__option .dashicon {
164 display: inline-block !important;
165 font-family: "dashicons" !important;
166 font-size: 24px !important;
167 width: 24px !important;
168 height: 24px !important;
169 line-height: 24px !important;
170 margin-right: 8px !important;
171 color: #555 !important;
172 vertical-align: middle !important;
173 float: left !important;
174 margin: 2px 5px 2px 2px !important;
175 }
176
177 /* STEP 11: SEARCH INPUT STYLING - Match dropdown options */
178 .wpallimport-plugin .select2-dropdown.custom-type-dropdown .select2-search__field {
179 font-size: 18px !important;
180 color: #555 !important;
181 padding-left: 12px !important;
182 line-height: 24px !important;
183 height: auto !important;
184 padding-top: 8px !important;
185 padding-bottom: 8px !important;
186 }
187
188 /* STEP 12: CLEAN UP - Remove any conflicting default Select2 styling */
189 .wpallimport-plugin .select2-container--default .select2-selection--single {
190 background-color: #fff !important;
191 background-image: none !important;
192 }
193
194 .wpallimport-plugin .select2-container--default .select2-selection--single .select2-selection__placeholder {
195 color: #999 !important;
196 }
197
198 .wpallimport-plugin .select2-container--default.select2-container--disabled .select2-selection--single {
199 background-color: #eee !important;
200 cursor: default !important;
201 }
202
203 /* STEP 12: ENSURE PROPER POSITIONING */
204 .wpallimport-plugin .select2-dropdown {
205 left: 10px !important;
206 }
207
208 /* STEP 13: SPECIFIC ICON STYLES - Replicate exact ddslick icon styling */
209 .wpallimport-plugin #custom_type_selector + .select2-container .select2-selection__rendered .dashicon-post:before {
210 font-family: "dashicons" !important;
211 content: "\f109" !important;
212 color: #46ba69 !important;
213 }
214
215 .wpallimport-plugin #custom_type_selector + .select2-container .select2-selection__rendered .dashicon-page:before {
216 font-family: "dashicons" !important;
217 content: "\f105" !important;
218 color: #46ba69 !important;
219 }
220
221 .wpallimport-plugin #custom_type_selector + .select2-container .select2-selection__rendered .dashicon-cpt:before {
222 font-family: "dashicons" !important;
223 content: "\f111" !important;
224 color: #46ba69 !important;
225 }
226
227 .wpallimport-plugin #custom_type_selector + .select2-container .select2-selection__rendered .dashicon-import_users:before,
228 .wpallimport-plugin #custom_type_selector + .select2-container .select2-selection__rendered .dashicon-users:before {
229 font-family: "dashicons" !important;
230 content: "\f110" !important;
231 color: #46ba69 !important;
232 }
233
234 .wpallimport-plugin #custom_type_selector + .select2-container .select2-selection__rendered .dashicon-comments:before {
235 font-family: "dashicons" !important;
236 content: "\f101" !important;
237 color: #46ba69 !important;
238 }
239
240 .wpallimport-plugin #custom_type_selector + .select2-container .select2-selection__rendered .dashicon-taxonomies:before {
241 font-family: "dashicons" !important;
242 content: "\f318" !important;
243 color: #46ba69 !important;
244 }
245
246 .wpallimport-plugin #custom_type_selector + .select2-container .select2-selection__rendered .dashicon-shop_order:before,
247 .wpallimport-plugin #custom_type_selector + .select2-container .select2-selection__rendered .dashicon-shop_coupon:before,
248 .wpallimport-plugin #custom_type_selector + .select2-container .select2-selection__rendered .dashicon-shop_customer:before,
249 .wpallimport-plugin #custom_type_selector + .select2-container .select2-selection__rendered .dashicon-product:before,
250 .wpallimport-plugin #custom_type_selector + .select2-container .select2-selection__rendered .dashicon-woo_reviews:before {
251 font-family: "WooCommerce" !important;
252 content: "\e03d" !important;
253 color: #46ba69 !important;
254 margin-top: 2px !important;
255 }
256
257 /* Gravity Forms icon - special background image handling */
258 .wpallimport-plugin #custom_type_selector + .select2-container .select2-selection__rendered .dashicon-gf_entries {
259 background-image: url("../img/gf-selected.svg") !important;
260 background-repeat: no-repeat !important;
261 background-position: 3px 0 !important;
262 padding-left: 30px !important;
263 }
264
265 /* STEP 14: DROPDOWN ICON STYLES - For options in dropdown */
266 .wpallimport-plugin .select2-dropdown.custom-type-dropdown .select2-results__option .dashicon-post:before {
267 font-family: "dashicons" !important;
268 content: "\f109" !important;
269 color: #555 !important;
270 }
271
272 .wpallimport-plugin .select2-dropdown.custom-type-dropdown .select2-results__option .dashicon-page:before {
273 font-family: "dashicons" !important;
274 content: "\f105" !important;
275 color: #555 !important;
276 }
277
278 .wpallimport-plugin .select2-dropdown.custom-type-dropdown .select2-results__option .dashicon-cpt:before {
279 font-family: "dashicons" !important;
280 content: "\f111" !important;
281 color: #555 !important;
282 }
283
284 .wpallimport-plugin .select2-dropdown.custom-type-dropdown .select2-results__option .dashicon-import_users:before,
285 .wpallimport-plugin .select2-dropdown.custom-type-dropdown .select2-results__option .dashicon-users:before {
286 font-family: "dashicons" !important;
287 content: "\f110" !important;
288 color: #555 !important;
289 }
290
291 .wpallimport-plugin .select2-dropdown.custom-type-dropdown .select2-results__option .dashicon-comments:before {
292 font-family: "dashicons" !important;
293 content: "\f101" !important;
294 color: #555 !important;
295 }
296
297 .wpallimport-plugin .select2-dropdown.custom-type-dropdown .select2-results__option .dashicon-taxonomies:before {
298 font-family: "dashicons" !important;
299 content: "\f318" !important;
300 color: #555 !important;
301 }
302
303 .wpallimport-plugin .select2-dropdown.custom-type-dropdown .select2-results__option .dashicon-shop_order:before,
304 .wpallimport-plugin .select2-dropdown.custom-type-dropdown .select2-results__option .dashicon-shop_coupon:before,
305 .wpallimport-plugin .select2-dropdown.custom-type-dropdown .select2-results__option .dashicon-shop_customer:before,
306 .wpallimport-plugin .select2-dropdown.custom-type-dropdown .select2-results__option .dashicon-product:before,
307 .wpallimport-plugin .select2-dropdown.custom-type-dropdown .select2-results__option .dashicon-woo_reviews:before {
308 font-family: "WooCommerce" !important;
309 content: "\e03d" !important;
310 color: #555 !important;
311 margin-top: 2px !important;
312 }
313
314 /* Gravity Forms icon for dropdown options - special background image handling */
315 .wpallimport-plugin .select2-dropdown.custom-type-dropdown .select2-results__option .dashicon-gf_entries {
316 display: inline-block !important;
317 width: 24px !important;
318 height: 24px !important;
319 line-height: 24px !important;
320 vertical-align: middle !important;
321 float: left !important;
322 margin: 0 5px 2px 2px !important;
323 background-image: url("../img/gf.svg") !important;
324 background-repeat: no-repeat !important;
325 background-position: 1px 2px !important;
326 padding-left: 24px !important;
327 }
328
329 /* STEP 15: FINAL CLEANUP - Ensure no conflicts */
330 .wpallimport-plugin .select2-container * {
331 box-sizing: border-box !important;
332 }
333