Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
CSS
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Aug 2015 at 19:40 UTC
Updated:
13 Sep 2015 at 21:25 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mortendk commentedi remember getting heavy pushback on moving icons a bout a year ago - gonna ping wimleers about it, so i can figure out what the issue was
Comment #3
star-szrHere's an attempt at messages.theme.css.
Comment #4
rudraram commentedAll the below steps in the test are ok. Attaching a screenshot where the CSS file is being loaded.
Comment #5
rudraram commented@Cottser The patch in #3 is getting rejected.
Comment #6
star-szrThanks @rudraram, rebased and here is a new patch.
Comment #9
lewisnymanThis works as expected in Classy, Bartik, and Seven.
Comment #10
emma.mariaThe issue title and patch work do not match. The patch only contains work for messages.theme.css, are we not doing the rest in this issue? Halp :-)
Comment #11
jaxxed commentedComment #12
jaxxed commentednew patch repeats the effort from #6, but duplicates it across progress, messages and icons.
Icons stylesheet is not treated as a library, but rather is a part of the base library. Progress and messages are treated as libraries, and only loaded when the twig templates are loaded.
comments?
Comment #13
jaxxed commentedComment #14
lewisnymanThis is looking good. I applied the patch and checked to make sure the files were still loading on the pages they should be, including the installation screen.

The only last thing concerning me is that the Classy files are loading after the sub-theme, meaning that they would overwrite any sub-theme CSS that conflicts. Is there an issue about this general problem with base themes?

In #2549563: Move system action-links.theme.css, breadcrumb.theme.css, and button.theme.css to Classy, it looks like they've solved the problem by keeping the
weight: -10value for the file. I think we could also do that here.Comment #15
jaxxed commentedUpdated #12 patch to lower weights
Comment #16
lewisnymanSorry! Turns out that wasn't the solution:
We need to change 'theme' to 'component'
Comment #17
jaxxed commentedLatest re-roll, changes theme elements to components.
Comment #18
jaxxed commentedcss order on latest patch (please confirm)
Comment #19
jaxxed commentedComment #20
lewisnymanI can confirm that the CSS loading order is now correct. Thank you! *RTBC wand*
Comment #21
webchickNo longer applies due to #2553465: Move system exposed-filters.theme.css, more-link.theme.css, and pager.theme.css to Classy.
In fact, these are all going to step all over each other, so should we maybe do all of the moving in one patch?
Comment #22
manuel garcia commentedrrrrrrrrrerollin'
Comment #23
manuel garcia commentedReroll of #17. Fixed conflicts in:
Comment #24
lewisnymanThanks! Looking good.
Comment #25
lewisnymanPostponed on: #2566597: [Mega patch] Move system *.theme.css files to Classy
Comment #26
davidhernandezThe mega was committed so we don't need this.