Problem/Motivation

See: #2489460: [Meta] Move module.theme.css files to Classy or Seven

Proposed resolution

Move the CSS files to classy
Rename the files to remove the .theme. extension
Alter the drupal.dropbutton library so the CSS files are loaded with a similar weight to before

Remaining tasks

Test steps

Check that the CSS file was deleted from the module and added to Classy
Check that the references to that CSS file removed from the system module
Check that the CSS file is being loaded in the correct places in Classy
Check that there are no HTML classes in the module that relies on the theme CSS

User interface changes

None for Classy, Stark will be more Stark

API changes

None

Comments

LewisNyman created an issue. See original summary.

lewisnyman’s picture

Status: Postponed » Active
rainbowarray’s picture

Dropbutton is used by Quick Edit, so should maybe go in Seven with the funky stuff so that it works on the front-end even on non-Classy themes.

lewisnyman’s picture

Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new1.79 KB
new301.24 KB
new323.72 KB
new333.28 KB

Here's the patch and some screenshots in Stark, Classy, and Seven.

Stark

Classy

Seven

gints.erglis’s picture

Status: Needs review » Reviewed & tested by the community

https://www.drupal.org/node/2489564 - if this is applied before this patch, then conflicting, because the file /core/themes/classy/classy.theme is created already. But this is not an issue in this case.

lewisnyman’s picture

Status: Reviewed & tested by the community » Postponed

Thanks. Postponing based on: #2566771: [Voltron patch] Move all remaining *.theme.css to Classy Getting there!

rainbowarray’s picture

After seeing the screenshots, it's clear that Classy's dropbutton already looked more unstyled than Bartik for example. So moving those styles to Classy just leaves core looking more unstyled. So it goes.

Long term I'd love for the admin theme to be able to style front-end admin components like dropbutton, but that's a challenge for another day.

akalata’s picture

Status: Postponed » Closed (fixed)