diff options
Diffstat (limited to 'web/cobrands')
-rw-r--r-- | web/cobrands/fixmystreet/fixmystreet.js | 6 | ||||
-rw-r--r-- | web/cobrands/sass/_multiselect.scss | 19 |
2 files changed, 18 insertions, 7 deletions
diff --git a/web/cobrands/fixmystreet/fixmystreet.js b/web/cobrands/fixmystreet/fixmystreet.js index 53954f57a..9000d34e7 100644 --- a/web/cobrands/fixmystreet/fixmystreet.js +++ b/web/cobrands/fixmystreet/fixmystreet.js @@ -585,7 +585,11 @@ $.extend(fixmystreet.set_up, { $id.multiSelect({ allText: all, noneText: all, - positionMenuWithin: $('#side') + positionMenuWithin: $('#side'), + presets: [{ + name: all, + options: [] + }] }); } make_multi('statuses'); diff --git a/web/cobrands/sass/_multiselect.scss b/web/cobrands/sass/_multiselect.scss index 6760b2282..5ee15ead8 100644 --- a/web/cobrands/sass/_multiselect.scss +++ b/web/cobrands/sass/_multiselect.scss @@ -11,16 +11,19 @@ min-width: 100%; background: #fff; margin: 1em 0; - padding: 0.4em 0; border: 1px solid #aaa; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); display: none; +} - label { - display: block; - font-size: 0.875em; - padding: 0.3em 1em 0.3em 30px; - white-space: nowrap; +.multi-select-menuitem { + display: block; + font-size: 0.875em; + padding: 0.6em 1em 0.6em 30px; + white-space: nowrap; + + & + & { + padding-top: 0; } input { @@ -30,6 +33,10 @@ } } +.multi-select-presets { + border-bottom: 1px solid #ddd; +} + .multi-select-button { display: inline-block; font-size: 0.875em; |