Skip to content

Instantly share code, notes, and snippets.

View DaleMckeown's full-sized avatar

Dale Mckeown DaleMckeown

View GitHub Profile
@DaleMckeown
DaleMckeown / select2-bootstrap-v4.0.0-Beta.css
Last active January 26, 2018 11:27
Select2 Bootstrap theme for Bootstrap Beta. SCSS and CSS versions (compiled to my Bootstrap specs)
.select2-container--bootstrap {
display: block;
/*------------------------------------* #COMMON STYLES
\*------------------------------------*/
/**
* Search field in the Select2 dropdown.
*/
/**
* No outline for all search fields - in the dropdown
* and inline in multi Select2s.
/* To avoid mixing em and rem units during compilation */
.select2-container--bootstrap {
display: block;
/*------------------------------------* #COMMON STYLES
\*------------------------------------*/
/**
* Search field in the Select2 dropdown.
*/
/**
@DaleMckeown
DaleMckeown / select2-bootstrap-v4.0.0-alpha.6.scss
Last active July 21, 2017 08:52
Modification of judetucker's select2-bootstrap-v4.0.0-alpha.6.scss to fix Bootstrap border-radius issue. This uses the Bootstrap border-radius mixin to ensure $enable-rounded is honored.
//
// Mixins - we need to override the Bootstrap mixins to set border-radius to 0 if $enable-rounded is false.
// --------------------------------------------------
@mixin border-radius($radius: $border-radius) {
@if $enable-rounded {
border-radius: $radius;
}
@else {
//
// bootstrap-tagsinput v0.8.0 for Bootstrap v4.0.0-alpha.6
// --------------------------------------------------
.bootstrap-tagsinput {
width: 100%;
cursor: text;
background-color: $input-bg;
border: $input-btn-border-width solid $input-border-color;