Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
Bartik theme
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
30 Jul 2015 at 08:44 UTC
Updated:
23 Sep 2015 at 12:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
manjit.singhComment #2
manjit.singhComment #3
emma.mariaI noticed that there was a lot of redundant CSS code, selectors that could be improved, a lot of code that was being overwritten by the Views module that I made kick in / got rid of as it was not needed, and declarations of styles to improve.
As the list of improvements to make was going to be a huge list I knocked up a patch myself.
Patch and interdiff attached.
Comment #4
emma.mariaBecause the changes are big I have attached a visual regression report to show what's going on in the frontend.
There is only one difference which is an improvement.
Before

After

A code review is much needed please :)
Comment #5
lewisnymanGreat, I can confirm that there are no visual regressions. Just a few questions:
Why are we disabling this styling for a summary in this particular occasion? It feels inconsistent for the sake of it.
This doesn't work as expected, as the styling is directly overriding from
.region-content ul, .region-content ol. Usually in these situations we have to set the padding again but I would just remove all padding so you don't have to set it again for RTL.Comment #6
emma.mariaI agree with the first point. Bartik declares the summary styling so we shouldn't override it just for Views.
Also good spot on the padding of
.views-displays .tabs .action-list. I wondered what was going on there,padding: 0creates no visual regressions.I have made the changes in this patch.
PS. should we capitalise 'Views' in the file comment?
Comment #7
emma.mariaI added the capital letter to "Views" in the file comment. All other feedback has been addressed. Can someone please final check this for me?
Comment #8
lewisnymanGreat, thanks for making these changes. I can confirm there are no regressions.
Comment #11
rudraram commentedComment #12
rudraram commentedRe-test passed so RTBC.
Comment #13
alexpottCommitted 2c62403 and pushed to 8.0.x. Thanks!