mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-09 03:20:21 +00:00
The Admin V3 styles are now the primary styles for the application. This change promotes the `admin_v3` directory to `admin` and archives the old styles. Changes: - Renamed `app/webpacker/css/admin_v3` to `app/webpacker/css/admin`. - Renamed the previous `app/webpacker/css/admin` to `app/webpacker/css/admin_legacy`. - Moved all files referenced by V3 styles from the legacy directory to the new `admin` directory. - Updated imports in `all.scss` to distinct local files instead of relative paths. - Cleaned up `admin_legacy` by removing files that are duplicates (by name or content) of the new admin styles. - Updated `admin-style-v3` pack to point to the new location.
64 lines
1.2 KiB
SCSS
64 lines
1.2 KiB
SCSS
.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;
|
|
color: $spree-blue !important;
|
|
border: 1px solid $color-border !important;
|
|
}
|
|
|
|
&:hover,
|
|
&.select2-container-active {
|
|
.select2-choice {
|
|
background-color: #ffffff !important;
|
|
border: 1px solid $spree-green !important;
|
|
|
|
.select2-arrow {
|
|
&:before {
|
|
color: $spree-blue;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&.select2-container-multi {
|
|
.select2-search-field {
|
|
max-height: 20px;
|
|
input {
|
|
padding: 0 !important;
|
|
margin: 0 0 0 5px !important;
|
|
}
|
|
}
|
|
.select2-search-choice {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding-left: 7px;
|
|
|
|
.select2-search-choice-close {
|
|
position: relative;
|
|
order: -1;
|
|
width: auto;
|
|
left: 0;
|
|
top: 0;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-size: 100% !important;
|
|
}
|
|
}
|
|
}
|
|
}
|