Closed (outdated)
Project:
Seven
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
10 Aug 2014 at 12:36 UTC
Updated:
6 Jun 2025 at 13:21 UTC
Jump to comment: Most recent
The Seven style guide defines a reasonable component for a dropdown menu that can be reused in multiple places:

Implement the dropdown menu as a separate reusable component and then add the classes to the autocomplete widget
A nicer, more consistent looking dropdown popup for autocomplete
A new reusable CSS component
| Comment | File | Size | Author |
|---|---|---|---|
| 8.dropdown-and-popover.png | 26.87 KB | lewisnyman |
Comments
Comment #1
lewisnymanComment #2
lewisnymanIt looks like the classes in the JS plugin can't be changed :( http://api.jqueryui.com/menu/#theming
Comment #3
lewisnymanIn case i didn't make it clear (I didn't), we just need to apply the design to the existing classes. We can add the styling to jquery.ui.theme,css in Seven
Comment #4
amateescu commentedNote that we're trying to replace jQuery UI autocomplete with Select2 in #2346973: Improve usability, accessibility, and scalability of long select lists. That library looks more themeable-friendly, and I think the 4.0 version even supports custom themes.
Comment #5
lewisnymanComment #6
r_sharma08 commentedComment #7
emma.mariaComment #8
vijay.cgs commentedComment #10
aaronchristian commentedI've created a child issue for building the throbber animation component. You can find it here #2775725.
Comment #11
Bojhan commentedComment #12
aaronchristian commentedUpdate: AJAX throbber has been added in the child issue, I'll start working on getting the dropdowns implemented next.
Comment #17
nick pasiuk commentedComment #22
avpadernoComment #27
yuvalbh commentedthe autocomplete script creates an element with id: ui-id-1, or class: ui-autocomplete
the system creates it under the 'body' element, after activating it, it might hold the last call data,
if you want to style it,
1. unset its display property which will be 'none'.
2. update the desired css/scss
Comment #28
longwaveThe Seven theme has been removed from Drupal 10 core. I confirmed that this issue only affects Seven and no other themes included with Drupal core, so I am moving this to the contributed Seven project.
Comment #29
avpadernoI am closing this issue, since there has not been any development in eight years.