mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-30 21:27:17 +00:00
Bring some variant autocomplete styling from spree_backend
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
.select2-result-label {
|
||||
.variant-autocomplete-item {
|
||||
.variant-details {
|
||||
padding: 0 10px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.variant-image {
|
||||
margin-top: 5px;
|
||||
background-color: white;
|
||||
float: left;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
ul.variant-details {
|
||||
li {
|
||||
display: inline-block;
|
||||
|
||||
&:after {
|
||||
content: ' / ';
|
||||
}
|
||||
|
||||
&:last-child:after {
|
||||
content: '';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user