Files
openfoodnetwork/app/assets/stylesheets/admin/select2.scss
Pau Perez f36e08a163 Rename *.css.scss to *.scss
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)
(...)
```
2020-06-19 16:29:08 +02:00

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;
}
}
}
}
}
}