Skip to content

Commit 3b7d180

Browse files
author
Florian Kissling
committed
Update less.patch.
1 parent 241acb4 commit 3b7d180

File tree

1 file changed

+29
-17
lines changed

1 file changed

+29
-17
lines changed

test/support/less.patch

Lines changed: 29 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,14 @@ Index: select2-bootstrap.css
22
===================================================================
33
--- select2-bootstrap.css
44
+++ select2-bootstrap.css
5-
@@ -17,12 +17,12 @@
5+
@@ -14,16 +14,16 @@
6+
* courtesy of @juristr (@see https://github.com/fk/select2-bootstrap-css/pull/1)
7+
*/
8+
.select2-container.form-control {
69
background: transparent;
7-
border: none;
10+
+ border: none;
11+
box-shadow: none;
12+
- border: none;
813
display: block;
914
/* 1 */
1015
+
@@ -16,7 +21,7 @@ Index: select2-bootstrap.css
1621
* Adjust Select2 inputs to fit Bootstrap 3 default .form-control appearance.
1722
*/
1823
.select2-container .select2-choices .select2-search-field input,
19-
@@ -33,46 +33,41 @@
24+
@@ -34,46 +34,41 @@
2025
border-color: #cccccc;
2126
border-radius: 4px;
2227
color: #555555;
@@ -66,7 +71,7 @@ Index: select2-bootstrap.css
6671
* Address Bootstrap 3 control sizing classes
6772
* @see http://getbootstrap.com/css/#forms-control-sizes
6873
*/
69-
@@ -81,79 +76,67 @@
74+
@@ -82,79 +77,67 @@
7075
height: 30px;
7176
line-height: 1.5;
7277
border-radius: 3px;
@@ -146,8 +151,8 @@ Index: select2-bootstrap.css
146151
* Adjust the single Select2's dropdown arrow button appearance.
147152
*
148153
* 1. For Select2 v.3.3.2.
149-
@@ -163,16 +146,14 @@
150-
border-left: 1px solid #cccccc;
154+
@@ -164,16 +147,14 @@
155+
border-left: none;
151156
background: none;
152157
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
153158
}
@@ -163,7 +168,7 @@ Index: select2-bootstrap.css
163168
* Adjust the dropdown arrow button icon position for the single-select Select2 elements
164169
* to make it line up vertically now that we increased the height of .select2-container.
165170
*
166-
@@ -181,42 +162,36 @@
171+
@@ -182,42 +163,36 @@
167172
.select2-container .select2-choice .select2-arrow b,
168173
.select2-container .select2-choice div b {
169174
background-position: 0 3px;
@@ -206,7 +211,7 @@ Index: select2-bootstrap.css
206211
* Address Bootstrap's validation states and change Select2's border colors and focus states.
207212
* Apply .has-warning, .has-danger or .has-succes to #select2-drop to match Bootstraps' colors.
208213
*/
209-
@@ -235,9 +210,8 @@
214+
@@ -236,9 +211,8 @@
210215
}
211216
.has-warning.select2-drop-active.select2-drop.select2-drop-above {
212217
border-top-color: #66512c;
@@ -216,7 +221,7 @@ Index: select2-bootstrap.css
216221
.has-error .select2-choices {
217222
border-color: #a94442;
218223
}
219-
@@ -252,9 +226,8 @@
224+
@@ -253,9 +227,8 @@
220225
}
221226
.has-error.select2-drop-active.select2-drop.select2-drop-above {
222227
border-top-color: #843534;
@@ -226,7 +231,7 @@ Index: select2-bootstrap.css
226231
.has-success .select2-choices {
227232
border-color: #3c763d;
228233
}
229-
@@ -269,9 +242,8 @@
234+
@@ -270,9 +243,8 @@
230235
}
231236
.has-success.select2-drop-active.select2-drop.select2-drop-above {
232237
border-top-color: #2b542c;
@@ -236,7 +241,7 @@ Index: select2-bootstrap.css
236241
* Make Select2's active-styles - applied to .select2-container when the widget receives focus -
237242
* fit Bootstrap 3's .form-element:focus appearance.
238243
*/
239-
@@ -284,18 +256,15 @@
244+
@@ -285,18 +257,15 @@
240245
-webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
241246
-o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
242247
transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
@@ -255,7 +260,7 @@ Index: select2-bootstrap.css
255260
* Select2 widgets in Bootstrap Input Groups
256261
*
257262
* When Select2 widgets are combined with other elements using Bootstrap 3's
258-
@@ -316,19 +285,16 @@
263+
@@ -317,25 +286,22 @@
259264
.input-group.select2-bootstrap-prepend [class^="select2-choice"] {
260265
border-bottom-left-radius: 0 !important;
261266
border-top-left-radius: 0 !important;
@@ -275,7 +280,14 @@ Index: select2-bootstrap.css
275280
border-top-right-radius: 0 !important;
276281
border-top-left-radius: 0 !important;
277282
border-bottom-right-radius: 4px !important;
278-
@@ -353,68 +319,61 @@
283+
border-bottom-left-radius: 4px !important;
284+
+ background: #ffffff;
285+
- background: white;
286+
}
287+
.input-group.select2-bootstrap-prepend .select2-dropdown-open.select2-drop-above [class^="select2-choice"] {
288+
border-bottom-left-radius: 0 !important;
289+
border-top-left-radius: 0 !important;
290+
@@ -355,68 +321,61 @@
279291
}
280292
.input-group.input-group-lg.select2-bootstrap-append .select2-dropdown-open.select2-drop-above [class^="select2-choice"] {
281293
border-bottom-left-radius: 6px !important;
@@ -287,7 +299,7 @@ Index: select2-bootstrap.css
287299
.select2-results .select2-highlighted {
288300
+ color: #ffffff;
289301
- color: white;
290-
background-color: #428bca;
302+
background-color: #337ab7;
291303
}
292304
-
293305
/**
@@ -348,7 +360,7 @@ Index: select2-bootstrap.css
348360
* Adjust "no results" and "selection limit" messages to make use
349361
* of Bootstrap 3's default "Alert" style.
350362
*
351-
@@ -425,9 +384,8 @@
363+
@@ -427,9 +386,8 @@
352364
.select2-results .select2-selection-limit {
353365
background-color: #fcf8e3;
354366
color: #8a6d3b;
@@ -358,7 +370,7 @@ Index: select2-bootstrap.css
358370
* Address disabled Select2 styles.
359371
*
360372
* 1. For Select2 v.3.3.2.
361-
@@ -440,16 +398,16 @@
373+
@@ -442,16 +400,16 @@
362374
background-color: #eeeeee;
363375
border-color: #cccccc;
364376
}
@@ -377,7 +389,7 @@ Index: select2-bootstrap.css
377389
* Address Select2's loading indicator position - which should not stick
378390
* to the right edge of Select2's search input.
379391
*
380-
@@ -474,19 +432,20 @@
392+
@@ -476,19 +434,20 @@
381393
.select2-container-multi .select2-choices .select2-search-field input.select2-active,
382394
.select2-more-results.select2-active {
383395
background-position: 99%;

0 commit comments

Comments
 (0)