0001-scss-add-support-for-new-widget-properties-to-select.patch
static/includes/_forms.scss | ||
---|---|---|
239 | 239 |
span.select2-container { |
240 | 240 |
min-width: 20em; |
241 | 241 |
margin: 0.2em 0; |
242 |
padding-bottom: 1px; |
|
242 | 243 |
a.select2-choice { |
243 | 244 |
padding: 0.2ex 0.7em; |
244 | 245 |
} |
245 | 246 |
span.select2-selection--single, |
246 | 247 |
a.select2-choice, |
247 | 248 |
a.select2-choice div { |
248 |
background: white; |
|
249 |
box-sizing: content-box; |
|
250 |
padding: 0.3ex 0 0.3ex 0; |
|
251 |
background: $widget-background; |
|
249 | 252 |
border-radius: 0; |
253 |
border: $widget-border; |
|
254 |
} |
|
255 |
&.select2-container--focus, |
|
256 |
&.select2-container--open { |
|
257 |
span.select2-selection--single, |
|
258 |
a.select2-choice, |
|
259 |
a.select2-choice div { |
|
260 |
background: $widget-focus-background; |
|
261 |
border: $widget-focus-border; |
|
262 |
} |
|
250 | 263 |
} |
251 | 264 |
.select2-choices, |
252 | 265 |
.select2-choice { |
253 | 266 |
box-shadow: none; |
254 | 267 |
} |
268 |
.select2-search--dropdown input, |
|
269 |
.select2-search--dropdown input:active, |
|
270 |
.select2-search--dropdown input:focus { |
|
271 |
background: white; |
|
272 |
border: 1px solid #ccc; |
|
273 |
} |
|
274 |
.select2-selection--single .select2-selection__arrow { |
|
275 |
top: 0.5rem; |
|
276 |
} |
|
255 | 277 |
} |
278 | ||
256 | 279 |
div.select2-container.select2-drop-above .select2-choice { |
257 | 280 |
background: white; |
258 | 281 |
border-radius: 0; |
259 | 282 |
} |
260 |
div.select2-container-active { |
|
261 |
a.select2-choices, |
|
262 |
a.select2-choice { |
|
263 |
border: 1px solid #AAA; |
|
264 |
} |
|
265 |
} |
|
266 | 283 | |
267 | 284 |
div.select2-drop { |
268 | 285 |
box-shadow: none; |
269 |
- |