mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-26 20:56:48 +00:00
68 lines
1.1 KiB
SCSS
68 lines
1.1 KiB
SCSS
.ts-wrapper.single,
|
|
.ts-wrapper.multi {
|
|
min-height: 40px;
|
|
|
|
&.input-active {
|
|
.ts-control {
|
|
border-color: $lighter-grey;
|
|
|
|
input {
|
|
&::placeholder {
|
|
color: $light-grey;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.ts-control {
|
|
box-shadow: none;
|
|
border-color: $lighter-grey;
|
|
background-color: $lighter-grey;
|
|
background-image: none;
|
|
@include border-radius($border-radius);
|
|
|
|
input {
|
|
&::placeholder {
|
|
color: $near-black;
|
|
}
|
|
}
|
|
}
|
|
|
|
.ts-dropdown {
|
|
@include border-radius($border-radius);
|
|
border: none;
|
|
box-shadow: none;
|
|
color: $near-black;
|
|
|
|
.option {
|
|
&.selected {
|
|
border-left: 2px solid $orient;
|
|
}
|
|
|
|
&.active {
|
|
background-color: $lighter-grey;
|
|
color: $near-black;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.plugin-dropdown_input .dropdown-input {
|
|
border-color: $lighter-grey;
|
|
|
|
&:focus {
|
|
border-color: $orient;
|
|
}
|
|
}
|
|
|
|
// For the "single" tom_select, be as clause as native select boxes
|
|
// without too many options
|
|
.ts-wrapper.single {
|
|
max-height: 40px;
|
|
max-width: 100%;
|
|
|
|
&.input-active .ts-control {
|
|
cursor: pointer;
|
|
}
|
|
}
|