PluginProbe
MailerLite – WooCommerce integration / trunk
MailerLite – WooCommerce integration vtrunk
3.1.27 3.1.25 3.1.26 3.1.24 3.1.23 3.1.22 3.1.21 3.1.20 3.1.19 3.1.18 3.1.17 3.1.16 3.1.15 1.8.7 1.8.8 2.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 All 148 releases
← All changes | public/css/mailerlite-select2.css +150 -37 2.0 → trunk View file →
@@ -3,9 +3,9 @@
3 3 height: 38px;
4 4 width: 100%;
5 5 padding-left: 0;
6 6 border-radius: 0.25rem;}
7 -.select2-dropdown {
7 +.select2-container--mailerlite .select2-dropdown {
8 8 border-color: #d1d5db;
9 9 }
10 10 .select2-container--mailerlite .select2-selection--single .select2-selection__rendered {
11 11 line-height: 38px;
@@ -65,57 +65,63 @@
65 65 cursor: text;
66 66 padding-bottom: 5px;
67 67 padding-right: 5px;
68 68 position: relative; }
69 +.select2-container--mailerlite.select2-container--focus .select2-selection--multiple {
70 + border-color: #d1d5db;
71 +}
69 72 .select2-container--mailerlite .select2-selection--multiple.select2-selection--clearable {
70 - padding-right: 25px; }
73 + padding-right: 25px;
74 + height: 38px;
75 +}
71 76 .select2-container--mailerlite .select2-selection--multiple .select2-selection__clear {
72 - cursor: pointer;
73 - font-weight: bold;
74 - height: 20px;
75 - margin-right: 10px;
76 - margin-top: 5px;
77 - position: absolute;
78 - right: 0;
79 - padding: 1px; }
77 + display: none;
78 +}
80 79 .select2-container--mailerlite .select2-selection--multiple .select2-selection__choice {
81 - background-color: #e4e4e4;
82 - border: 1px solid #d1d5db;
83 - border-radius: 4px;
80 + display: inline-flex;
81 + align-items: center;
82 + background-color: #e5e7eb;
83 + border: 0;
84 + border-radius: 2px;
84 85 box-sizing: border-box;
85 - display: inline-block;
86 + font-size: 13px;
86 87 margin-left: 5px;
87 88 margin-top: 5px;
88 - padding: 0;
89 - padding-left: 20px;
90 - position: relative;
91 89 max-width: 100%;
92 90 overflow: hidden;
93 - text-overflow: ellipsis;
91 + padding: 2px 5px;
92 + position: relative;
94 93 vertical-align: bottom;
95 - white-space: nowrap; }
94 + white-space: nowrap;
95 +}
96 96 .select2-container--mailerlite .select2-selection--multiple .select2-selection__choice__display {
97 + color: rgba(0,0,0,0.75);
97 98 cursor: default;
98 - padding-left: 2px;
99 - padding-right: 5px; }
99 + min-width: 0;
100 + order: 0;
101 + overflow: hidden;
102 + padding-right: 4px;
103 + text-overflow: ellipsis;
104 +}
100 105 .select2-container--mailerlite .select2-selection--multiple .select2-selection__choice__remove {
101 106 background-color: transparent;
102 107 border: none;
103 - border-right: 1px solid #aaa;
104 - border-top-left-radius: 4px;
105 - border-bottom-left-radius: 4px;
106 108 color: #999;
107 109 cursor: pointer;
108 - font-size: 1em;
109 - font-weight: bold;
110 - padding: 0 4px;
111 - position: absolute;
112 - left: 0;
113 - top: 0; }
114 -.select2-container--mailerlite .select2-selection--multiple .select2-selection__choice__remove:hover, .select2-container--mailerlite .select2-selection--multiple .select2-selection__choice__remove:focus {
115 - background-color: #f1f1f1;
116 - color: #333;
117 - outline: none; }
110 + flex-shrink: 0;
111 + font-size: 0.875rem;
112 + font-weight: normal;
113 + line-height: 1;
114 + order: 1;
115 + padding: 0 2px;
116 + position: static;
117 +}
118 +.select2-container--mailerlite .select2-selection--multiple .select2-selection__choice__remove:hover,
119 +.select2-container--mailerlite .select2-selection--multiple .select2-selection__choice__remove:focus {
120 + color: #555;
121 + background-color: transparent;
122 + outline: none;
123 +}
118 124
119 125 .select2-container--mailerlite[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
120 126 margin-left: 5px;
121 127 margin-right: auto; }
@@ -147,13 +153,15 @@
147 153
148 154 .select2-container--mailerlite.select2-container--disabled .select2-selection__choice__remove {
149 155 display: none; }
150 156
151 -.select2-container--mailerlite.select2-container--open.select2-container--above .select2-selection--single, .select2-container--mailerlite.select2-container--open.select2-container--above .select2-selection--multiple {
157 +.select2-container--mailerlite.select2-container--open.select2-container--above .select2-selection--single,
158 +.select2-container--mailerlite.select2-container--open.select2-container--above .select2-selection--multiple {
152 159 border-top-left-radius: 0;
153 160 border-top-right-radius: 0; }
154 161
155 -.select2-container--mailerlite.select2-container--open.select2-container--below .select2-selection--single, .select2-container--mailerlite.select2-container--open.select2-container--below .select2-selection--multiple {
162 +.select2-container--mailerlite.select2-container--open.select2-container--below .select2-selection--single,
163 +.select2-container--mailerlite.select2-container--open.select2-container--below .select2-selection--multiple {
156 164 border-bottom-left-radius: 0;
157 165 border-bottom-right-radius: 0; }
158 166
159 167 .select2-container--mailerlite .select2-search--dropdown .select2-search__field {
@@ -163,9 +171,10 @@
163 171 background: transparent;
164 172 border: none;
165 173 outline: 0;
166 174 box-shadow: none;
167 - -webkit-appearance: textfield; }
175 + -webkit-appearance: textfield;
176 +}
168 177
169 178 .select2-container--mailerlite .select2-results > .select2-results__options {
170 179 max-height: 200px;
171 180 overflow-y: auto; }
@@ -207,4 +216,108 @@
207 216 .select2-container--mailerlite .select2-results__group {
208 217 cursor: default;
209 218 display: block;
210 219 padding: 6px; }
220 +
221 +.select2-container--mailerlite .select2-results__option {
222 + padding-right: 20px;
223 + vertical-align: middle;
224 +}
225 +
226 +.select2-container--mailerlite .select2-results__option:before {
227 + content: "";
228 + display: inline-block;
229 + position: relative;
230 + height: 10px;
231 + width: 10px;
232 + border: 2px solid #e9e9e9;
233 + border-radius: 4px;
234 + background-color: #fff;
235 + margin-right: 8px;
236 + vertical-align: middle;
237 +}
238 +.select2-container--mailerlite .select2-results__option {
239 + background-color: #fff;
240 + display: flex;
241 + align-items: center;
242 +}
243 +.select2-container--mailerlite .select2-results__option--highlighted[aria-selected] {
244 + background-color: #eaeaeb;
245 + color: #272727;
246 +}
247 +.select2-container--mailerlite .select2-selection--multiple {
248 + margin-bottom: 10px;
249 +}
250 +.select2-container--mailerlite.select2-container--open.select2-container--below .select2-selection--multiple {
251 + border-radius: 4px;
252 +}
253 +.select2-container--mailerlite.select2-container--focus .select2-selection--multiple {
254 + border-color: #d1d5db;
255 + border-width: 2px;
256 +}
257 +.select2-container--mailerlite .select2-selection--multiple {
258 + border-width: 2px;
259 +}
260 +.select2-container--mailerlite.select2-container--open .select2-dropdown--below {
261 + border-color: transparent;
262 + border-radius: 6px;
263 + box-shadow: 0 0 10px rgba(0,0,0,0.5);
264 + overflow: hidden;
265 +}
266 +
267 +.select2-container--mailerlite .select2-selection--multiple,
268 +.select2-container--mailerlite.select2-container--focus .select2-selection--multiple {
269 + border-width: 1px !important;
270 + border-color: #d1d5db !important;
271 +}
272 +.select2-container--mailerlite .select2-results__option.select2-results__option--selected:before {
273 + color: #fff;
274 + background-color: #09c269;
275 + border: 0;
276 + display: inline-block;
277 + content: url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C%2Fsvg%3E");
278 + padding-left: 0;
279 + width: 14px;
280 + height: 14px;
281 +}
282 +.select2-container--mailerlite .select2-results__option.select2-results__message:before {
283 + content: none;
284 +}
285 +.select2-container--mailerlite .ml-default-choice .select2-selection__choice__remove {
286 + display: none;
287 +}
288 +.select2-container--mailerlite .select2-selection__choice.ml-default-choice {
289 + padding: 2px 5px;
290 +}
291 +.select2-container--mailerlite .select2-search--inline {
292 + width: 100%;
293 + position: absolute;
294 +}
295 +.woo-ml-native-select {
296 + border: 1px solid #d1d5db;
297 + border-radius: 0.25rem;
298 + height: 38px;
299 + width: 100%;
300 + padding: 0 12px;
301 + font-size: 14px;
302 + color: rgba(0,0,0,0.75);
303 + background-color: #fff;
304 + appearance: none;
305 + background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E");
306 + background-repeat: no-repeat;
307 + background-position: right 12px center;
308 + background-size: 14px 14px;
309 + cursor: pointer;
310 +}
311 +.woo-ml-native-select:focus {
312 + outline: none;
313 + border-color: #000;
314 +}
315 +.woo-ml-native-select:disabled {
316 + background-color: #eee;
317 + cursor: default;
318 +}
319 +
320 +.wc-wp-version-gte-53 .select2-container--mailerlite.select2-container--open .select2-selection--multiple {
321 + border-width: 1px;
322 + border-color: #d1d5db;
323 +}