Problem/Motivation

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

Proposed resolution

Move the CSS file to classy
Rename the file to remove the .theme. extension
Alter the system.base library so the CSS file is 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

Beta phase evaluation

Reference: https://www.drupal.org/core/beta-changes
Issue category Task because coding standards
Issue priority Not critical because coding standards
Unfrozen changes Unfrozen because it only changes markup
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mdrummond created an issue. See original summary.

RainbowArray’s picture

Status: Needs review » Active
RainbowArray’s picture

RainbowArray’s picture

Issue summary: View changes
davidhernandez’s picture

Status: Active » Needs review
FileSize
2.28 KB

I used the weight and component instead of theme simply because Seven and Bartik heavily use component and have very little use of theme. This gets it about high up in the order without using base.

There shouldn't be visual regressions. This file just has the CSS to make the pink background when a node is unpublished.

LewisNyman’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community
FileSize
2.15 KB
424.54 KB
448.23 KB
447.65 KB

Here's the reroll after #977844: Remove the 'every_page' option for CSS/JS assets: it is confusing, even damaging

I tested the patch and I've attached screenshots to show Bartik, Classy, and Stark after the patch. It's a pretty simple patch.

  • webchick committed 6466caa on 8.0.x
    Issue #2553447 by LewisNyman, davidhernandez, mdrummond: Move system...
webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.0.x. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.