This fixes the SASS error caused by the `&[dir="rtl"]` selector in the `_single.scss` and `_multiple.scss` files. We were expecting these files to be nested within the `.select-container` class, which would have made this a non-error as the `&` would refer to the `.select2-container` class that was wrapping the `@import`. This moves the `@import` statements into the `.select2-container` class, so this no longer triggers an error in the Ruby version of SASS. This closes https://github.com/select2/select2/issues/2896
38 lines
579 B
SCSS
38 lines
579 B
SCSS
.select2-container {
|
|
box-sizing: border-box;
|
|
|
|
display: inline-block;
|
|
margin: 0;
|
|
position: relative;
|
|
vertical-align: middle;
|
|
|
|
@import "single";
|
|
@import "multiple";
|
|
}
|
|
|
|
@import "dropdown";
|
|
|
|
.select2-close-mask {
|
|
border: 0;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: block;
|
|
position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
min-height: 100%;
|
|
min-width: 100%;
|
|
height: auto;
|
|
width: auto;
|
|
opacity: 0;
|
|
z-index: 99;
|
|
|
|
// styles required for IE to work
|
|
|
|
background-color: #fff;
|
|
filter: alpha(opacity=0);
|
|
}
|
|
|
|
@import "theme/default/layout";
|
|
@import "theme/classic/layout";
|