Follow-up to #1342054: [META] Clean up templates and CSS
Problem/Motivation
Bartik's code needs to meet current coding standards in Drupal.
Lists.css currently only contains component specific list styles. As part of the coding standards, styles for components need to be kept together in one file and not be split across files.
Proposed resolution
We need to split out all of the styles in lists.css into the correct components and remove the file from Bartik.
Remaining tasks
Write a patch.
Visual review of the patch + screenshots - to check we do not visually change/break anything in Bartik.
Code review of the patch - to check the standards have been met correctly.
User interface changes
None, we are cleaning up files and code.
API changes
n/a
Comments
Comment #1
DickJohnson commentedPager and tips related things are duplicates at the moment so removing those.
For block related styles I created new file.
Content related stuff went to content.css.
Item-list related stuff got a new file called item-list.css.
ul.menu li { margin: 0 } didn't do anything so I removed it.
Sending to testbot.
Comment #5
DickJohnson commentedOk, so there was a typo.
Comment #6
DickJohnson commentedComment #7
lewisnymanI diffed the pages using BackstopJS and it's all clear! I've attached the report.
Comment #8
alexpottThis seems to the be only css rule that is being removed. Are we sure that this is ok? Seems to be as this is a duplicate of the rule in system.theme.css
CSS changes are permitted during beta. Committed 0f97b4f and pushed to 8.0.x. Thanks!
Comment #10
emma.mariaJust noticed that we have forgotten to remove list.css from the list of stylesheets in the info file to be used by ckeditor.
Core currently has a 404 error looking for the removed file.
We need to create a follow up patch to take this file out of the there asap.
Comment #11
emma.mariaPatch to remove declaration of list.css for the ckeditor in the info file.
Comment #12
emma.mariaComment #13
lewisnymanAfter the patch there is no longer a 404 on this page

Comment #15
emma.mariaDoh! I forgot about the test!
New patch.
Comment #16
emma.mariaComment #17
idebr commentedGo, testbot!
Comment #18
emma.mariaCreated a new follow up issue for the leftover bug here.... #2415855: A forgotten reference to list.css in Bartik's info file is giving core a 404 error..
Comment #19
idebr commentedI think the correct status is 'Fixed', since it was only resolved recently in #8