first commit
This commit is contained in:
127
libraries/framework/skin/base/plugins/select2.less
Normal file
127
libraries/framework/skin/base/plugins/select2.less
Normal file
@@ -0,0 +1,127 @@
|
||||
/*===============================================
|
||||
Select2 Contextuals
|
||||
================================================= */
|
||||
/* Select2 contextual */
|
||||
.select2-primary + .select2-container .select2-selection--single,
|
||||
.select2-primary + .select2-container .select2-selection--single .select2-selection__rendered {
|
||||
color: #FFF;
|
||||
border-color: @brand-primary;
|
||||
background-color: @brand-primary;
|
||||
}
|
||||
/* arrow */
|
||||
.select2-primary + .select2-container .select2-selection__arrow b {
|
||||
border-top-color: #FFF;
|
||||
}
|
||||
.select2-primary + .select2-container.select2-container--open .select2-selection__arrow b {
|
||||
border-bottom-color: #FFF;
|
||||
}
|
||||
|
||||
|
||||
/* Select2 contextual */
|
||||
.select2-success + .select2-container .select2-selection--single,
|
||||
.select2-success + .select2-container .select2-selection--single .select2-selection__rendered {
|
||||
color: #FFF;
|
||||
border-color: @brand-success;
|
||||
background-color: @brand-success;
|
||||
}
|
||||
/* arrow */
|
||||
.select2-success + .select2-container .select2-selection__arrow b {
|
||||
border-top-color: #FFF;
|
||||
}
|
||||
.select2-success + .select2-container.select2-container--open .select2-selection__arrow b {
|
||||
border-bottom-color: #FFF;
|
||||
}
|
||||
|
||||
|
||||
/* Select2 contextual */
|
||||
.select2-info + .select2-container .select2-selection--single,
|
||||
.select2-info + .select2-container .select2-selection--single .select2-selection__rendered {
|
||||
color: #FFF;
|
||||
border-color: @brand-info;
|
||||
background-color: @brand-info;
|
||||
}
|
||||
/* arrow */
|
||||
.select2-info + .select2-container .select2-selection__arrow b {
|
||||
border-top-color: #FFF;
|
||||
}
|
||||
.select2-info + .select2-container.select2-container--open .select2-selection__arrow b {
|
||||
border-bottom-color: #FFF;
|
||||
}
|
||||
|
||||
|
||||
/* Select2 contextual */
|
||||
.select2-warning + .select2-container .select2-selection--single,
|
||||
.select2-warning + .select2-container .select2-selection--single .select2-selection__rendered {
|
||||
color: #FFF;
|
||||
border-color: @brand-warning;
|
||||
background-color: @brand-warning;
|
||||
}
|
||||
/* arrow */
|
||||
.select2-warning + .select2-container .select2-selection__arrow b {
|
||||
border-top-color: #FFF;
|
||||
}
|
||||
.select2-warning + .select2-container.select2-container--open .select2-selection__arrow b {
|
||||
border-bottom-color: #FFF;
|
||||
}
|
||||
|
||||
|
||||
/* Select2 contextual */
|
||||
.select2-danger + .select2-container .select2-selection--single,
|
||||
.select2-danger + .select2-container .select2-selection--single .select2-selection__rendered {
|
||||
color: #FFF;
|
||||
border-color: @brand-danger;
|
||||
background-color: @brand-danger;
|
||||
}
|
||||
/* arrow */
|
||||
.select2-danger + .select2-container .select2-selection__arrow b {
|
||||
border-top-color: #FFF;
|
||||
}
|
||||
.select2-danger + .select2-container.select2-container--open .select2-selection__arrow b {
|
||||
border-bottom-color: #FFF;
|
||||
}
|
||||
|
||||
|
||||
/* Select2 contextual */
|
||||
.select2-alert + .select2-container .select2-selection--single,
|
||||
.select2-alert + .select2-container .select2-selection--single .select2-selection__rendered {
|
||||
color: #FFF;
|
||||
border-color: @brand-alert;
|
||||
background-color: @brand-alert;
|
||||
}
|
||||
/* arrow */
|
||||
.select2-alert + .select2-container .select2-selection__arrow b {
|
||||
border-top-color: #FFF;
|
||||
}
|
||||
.select2-alert + .select2-container.select2-container--open .select2-selection__arrow b {
|
||||
border-bottom-color: #FFF;
|
||||
}
|
||||
|
||||
/* Select2 contextual */
|
||||
.select2-system + .select2-container .select2-selection--single,
|
||||
.select2-system + .select2-container .select2-selection--single .select2-selection__rendered {
|
||||
color: #FFF;
|
||||
border-color: @brand-system;
|
||||
background-color: @brand-system;
|
||||
}
|
||||
/* arrow */
|
||||
.select2-system + .select2-container .select2-selection__arrow b {
|
||||
border-top-color: #FFF;
|
||||
}
|
||||
.select2-system + .select2-container.select2-container--open .select2-selection__arrow b {
|
||||
border-bottom-color: #FFF;
|
||||
}
|
||||
|
||||
/* Select2 contextual */
|
||||
.select2-dark + .select2-container .select2-selection--single,
|
||||
.select2-dark + .select2-container .select2-selection--single .select2-selection__rendered {
|
||||
color: #FFF;
|
||||
border-color: @brand-dark;
|
||||
background-color: @brand-dark;
|
||||
}
|
||||
/* arrow */
|
||||
.select2-dark + .select2-container .select2-selection__arrow b {
|
||||
border-top-color: #FFF;
|
||||
}
|
||||
.select2-dark + .select2-container.select2-container--open .select2-selection__arrow b {
|
||||
border-bottom-color: #FFF;
|
||||
}
|
||||
Reference in New Issue
Block a user