File tree 3 files changed +636
-17
lines changed 3 files changed +636
-17
lines changed Original file line number Diff line number Diff line change 262
262
}
263
263
}
264
264
265
+ /* *
266
+ * Clear the selection.
267
+ */
268
+
269
+ .select2-selection__clear {
270
+ color : @clear-selection-color ;
271
+ cursor : pointer ;
272
+ float : right ;
273
+ font-weight : bold ;
274
+ margin-right : 10px ;
275
+
276
+ & :hover {
277
+ color : #333 ;
278
+ }
279
+ }
280
+
265
281
/* *
266
282
* Address disabled Select2 styles.
267
283
*
331
347
line-height : @line-height-base ;
332
348
padding : @padding-base-vertical @padding-base-horizontal + @caret-width-base * 3 @padding-base-vertical @padding-base-horizontal ;
333
349
334
- /* *
335
- * Clear the selection.
336
- */
337
-
338
- .select2-selection__clear {
339
- color : @clear-selection-color ;
340
- cursor : pointer ;
341
- float : right ;
342
- font-weight : bold ;
343
- margin-right : 10px ;
344
-
345
- & :hover {
346
- color : #333 ;
347
- }
348
- }
349
-
350
350
/* *
351
351
* Adjust the single Select2's dropdown arrow button appearance.
352
352
*/
453
453
color : #333 ;
454
454
}
455
455
}
456
+
457
+ /* *
458
+ * Clear the selection.
459
+ */
460
+
461
+ .select2-selection__clear {
462
+ margin-top : @padding-base-vertical ;
463
+ }
456
464
}
457
465
458
466
510
518
height : @input-height-small - 2 ;
511
519
line-height : @line-height-small ;
512
520
}
521
+
522
+ .select2-selection__clear {
523
+ margin-top : @padding-small-vertical ;
524
+ }
513
525
}
514
526
}
515
527
553
565
height : @input-height-large - 2 ;
554
566
line-height : @line-height-large ;
555
567
}
568
+
569
+ .select2-selection__clear {
570
+ margin-top : @padding-large-vertical ;
571
+ }
556
572
}
557
573
}
558
574
702
718
}
703
719
}
704
720
721
+ /* *
722
+ * Inline forms
723
+ */
724
+
725
+ .input-group .select2-container--bootstrap :not (:first-child ):not (:last-child ) .select2-selection {
726
+ border-radius : 0 ;
727
+ }
728
+
705
729
/* *
706
730
* Adjust alignment of Bootstrap buttons in Bootstrap Input Groups to address
707
731
* Multi Select2's height which - depending on how many elements have been selected -
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ exports.compileLess = function(test){
8
8
9
9
child = grunt . util . spawn ( {
10
10
cmd : 'lessc' ,
11
- args : [ '--verbose' , 'src/select2-bootstrap .less' , 'tmp/' + filename ]
11
+ args : [ '--verbose' , 'src/build .less' , 'tmp/' + filename ]
12
12
} , function ( ) {
13
13
var readFile = function ( name ) { return fs . readFileSync ( name , { encoding : 'utf8' } ) } ,
14
14
orig = readFile ( 'dist/' + filename ) ,
You can’t perform that action at this time.
0 commit comments