mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
This fixes the following deprecation warning ``` DEPRECATION WARNING: Extra .css in SCSS file is unnecessary. Rename /usr/src/app/app/assets/stylesheets/darkswarm/variables.css.scss to /usr/src/app/app/assets/stylesheets/darkswar m/variables.scss. (called from _app_views_layouts_darkswarm_html_haml___3990351141569700945_46957256630860 at /usr/src/app/app/views/layouts/darkswarm.html.haml:18) (...) ```
48 lines
927 B
SCSS
48 lines
927 B
SCSS
@import "variables";
|
|
|
|
.select2-container {
|
|
.select2-choice {
|
|
.select2-search-choice-close {
|
|
display: none !important;
|
|
}
|
|
.select2-arrow {
|
|
width: 22px;
|
|
border: none;
|
|
background-image: none;
|
|
background-color: transparent;
|
|
}
|
|
}
|
|
|
|
&.light {
|
|
.select2-choice{
|
|
background-color: #ffffff;
|
|
font-weight: normal;
|
|
border: 1px solid $spree-blue !important;
|
|
color: $spree-blue !important;
|
|
|
|
.select2-arrow {
|
|
&:before {
|
|
color: $spree-blue;
|
|
font-size: 1rem;
|
|
font-weight: 400;
|
|
content: '\25be';
|
|
display: inline;
|
|
}
|
|
}
|
|
}
|
|
|
|
&:hover, &.select2-container-active {
|
|
.select2-choice{
|
|
color: #ffffff !important;
|
|
background-color: $spree-blue !important;
|
|
|
|
.select2-arrow {
|
|
&:before {
|
|
color: #ffffff;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|