Sub-issue of #1190252: [573] Use csslint as a weapon to beat the crappy CSS out of Drupal core
Inline with the CSS cleanup efforts of the HTML5 initiative, using CSSLint at http://csslint.net provides a quick way to code-sniff our css and tweak styles.
- Copy and paste the the stylesheet(s) below into the css lint tool at http://csslint.net and test.
- Fix any warnings or errors the tool finds.
- Patch Drupal 8 locally and make sure the css changes have not broken anything visually.
- Create patch and upload for the testbot.
Files:
- modules/overlay/overlay-child.css
- modules/overlay/overlay-parent.css
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | drupal-csslint-overlay-1663144-4.patch | 9.67 KB | barraponto |
| #3 | overlaycsslint-1663144.patch | 7.46 KB | tlattimore |
Comments
Comment #1
robloachhttps://gist.github.com/3006391#L4503
Comment #2
tlattimore commentedI'll take this one.
Comment #3
tlattimore commentedPatch attached with 1st revision of changes.
The remaining output of csslint's warning's I think needs to be discussed, and is the following:
I'd like to hear some other peoples thoughts on these results.
Comment #4
barrapontoSome changes:
overlay-wrapperto avoid conflicts with otheroverlayclasses.box-sizing: border-boxto overlay-wrapper makes it look even better than the defaultbox-sizing: content-boxoverlay-titleis not a link, thus can't be focused/active, right? Will it become a link under any circumstance?Sinceoverflow: hiddenin theaelement seems to work ok.overflow: hiddenbreaks Firefox, I just enabled the outline, hope Chrome gets its act together.That said, I kept the id in
skip-linksince we're not changing that pattern right now.Comment #6
brenda003Comment #6.0
brenda003Updated issue summary.
Comment #7
nod_Overlay is dead to D8 #2088121: Remove Overlay.
Comment #8
tlattimore commented