Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Olivero's autocomplete-loading-module.pcss.css
file (https://git.drupalcode.org/project/drupal/-/blob/10.0.x/core/themes/oliv...) should be refactored.
When doing this
- Remove unneeded IE11 compatibility code.
- Componentize CSS custom properties to element
- Create new custom properties to make code more portable
- Utilize the
:dir(rtl)
and nesting (which will be transpiled by PostCSS)
Comment | File | Size | Author |
---|---|---|---|
#10 | rtl.gif | 44.3 KB | ckrina |
#7 | 3314532-7-reroll.patch | 11.23 KB | mherchel |
| |||
#5 | 3314532.png | 179.02 KB | gajendra_sharma |
Comments
Comment #2
mherchelPatch attached. Note this removes a lot of legacy code (the file was derived from Claro's CSS), in addition to IE compatible code.
The resulting code is a lot smaller, and really didn't have any need for custom CSS properties, so there are none.
Comment #4
mherchelComment #5
gajendra_sharma CreditAttribution: gajendra_sharma at Dotsquares Ltd. commentedIn #2 Patch 3314532.patch is corrupted and failed to apply patch see in screenshot
Comment #6
mherchel@gajendra_sharma Thanks for the comment.
The reason the file looks corrupted is because I'm deleting a binary file (the spinning gif). The patch is correct, although we're running into some random test failures.
Comment #7
mherchelRe-roll
Comment #9
mherchelComment #10
ckrinaThis looks great!
Comment #11
alexpottCommitted and pushed 55c7c51e14 to 10.1.x and b13a431963 to 10.0.x. Thanks!