Remove static/css/select2Theme and move SCSS file in static/scss/_select2.scss

This commit is contained in:
Marc Farré 2024-09-30 14:06:34 +01:00
parent a3921d549a
commit 2e858a77ac
4 changed files with 5 additions and 4 deletions

View File

@ -77,6 +77,10 @@ However, you need to check the output manually.
In all SCSS files except `_variables.scss`, replace all SCSS variables with CSS variables.
E.g.: `color: $primary` -> `color: var(--primary)`
### Select2 stylesheet
`static/css/select2Theme` folder has been remove, and the SCSS file moved and renamed to `static/scss/_select2.scss`
## Bootstrap widgets

View File

@ -1,3 +0,0 @@
@import "../../../protected/vendor/bower-asset/bootstrap/scss/_variables";
@import "../../../protected/vendor/bower-asset/bootstrap/scss/_mixins";
@import "_select2-humhub";

View File

@ -209,7 +209,7 @@ $prev-search: false;
$prev-select2: false;
@if not $prev-select2 {
@import "../css/select2Theme/build";
@import "select2";
}
// TODO: Remove this when Bootstrap 3 is no longer supported