Closed (fixed)
Project:
Olivero
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Apr 2020 at 10:06 UTC
Updated:
2 May 2020 at 08:07 UTC
Jump to comment: Most recent, Most recent file
Autocomplete fields has core styles, which overrides styles of form-element.css.

These core styles comes from /core/modules/system/css/components/autocomplete-loading.module.css.
These styles should be kicked and recreated from Olivero, based on figma. So same as other input text fields.
About what icon we may have for autocomplete fields? Well, It's up to you, maybe make sense to follow Claro way and use magnifier icon:

| Comment | File | Size | Author |
|---|---|---|---|
| #13 | 3128172-13.patch | 27.1 KB | mherchel |
| #9 | 3128172-9.patch | 29.92 KB | kostyashupenko |
| #9 | autocomplete.gif | 3.3 MB | kostyashupenko |
| Снимок экрана 2020-04-16 в 16.03.55.png | 18.17 KB | kostyashupenko | |
| Снимок экрана 2020-04-16 в 16.03.39.png | 16.62 KB | kostyashupenko |
Comments
Comment #2
kostyashupenkoComment #3
kostyashupenkoComment #4
kostyashupenkoComment #5
kostyashupenkoComment #6
kostyashupenkoComment #7
kostyashupenkoNo time today for it :)
Comment #8
kostyashupenkoComment #9
kostyashupenkoAutocomplete was styled

How to test:
1. Set Olivero as administration theme + check checkbox "Use the administration theme when editing or creating content"
1. Add couple tags here
/admin/structure/taxonomy/manage/tags/overview2. Create Article CT node and play with
Tagsfield during creation of your node.Comment #10
kostyashupenkoIt's not easy to style autocomplete dropdown, since huge work expected.
We have to override whole this file https://git.drupalcode.org/project/drupal/-/blob/9.1.x/core/assets/vendo... like it was done in Claro. So better to manage it in new task
Comment #11
mherchelI'm not sure I like the the magnifying glass as the "non-active" icon. That icon looks to me like it's a traditional search form. I think just a standard ring would be more understood.
That being said, this is what Claro has implemented, which has been [hopefully] thought through.
Comment #12
mherchelI'm getting the following when applying the patch. I'm going to try to re-roll it.
Comment #13
mherchelThis looks good. I re-rolled, and also reformatted the CSS to use indentation and wrap the long multiple background properties (I made sure it passed linting). Patch attached and committing!
Comment #14
mherchelCommitted!