Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
system.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
21 May 2012 at 01:41 UTC
Updated:
24 Sep 2015 at 12:44 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #1
jacineIn an effort to get a better picture of issues remaining in the HTML5 Initiative, we're removing issues that are not directly HTML5-related. Note: Any issues assigned to the "Markup, CSS and JavaScript" components will still be broadcast on the HTML5 Twitter feed so that interested parties can participate. It might be more accurate to put this in the Markup component. I'll leave that up to you. :)
Comment #2
droplet commentedNo reviews please :) I will reroll it after related issue got committed.
Also seems like I can downgrade this patch to D7 now: #1001932: Clean up Status report CSS (and IE fix)
Comment #3
sun#665790: Redesign the status report page landed :)
Comment #4
droplet commentedComment #5
droplet commentedmyself expatiation and further suggestions :)
remove bg color in stark theme
created an issue to see if it possible to get rid of border from global.
#1601196: remove TH border from base.css
I preferred to remove TR. looking for your comments.
Also, there's one good thing I suggested in #1001932: Clean up Status report CSS (and IE fix) to optimize table rendering performance. (Maybe a new issue to apply it to all possible tables in Drupal)
ref:
http://msdn.microsoft.com/en-us/library/ie/ms531161(v=vs.85).aspx
Comment #6
sun@droplet: Your explanations in #5 are way too sparse for someone like me. ;) It also seems like you forgot to link to that new issue to "get rid of border from global" (whatever that means ;)).
Also, you didn't actually implement any of the suggestions from the OP, or did I miss something? :P ;)
Comment #7
droplet commentedno ? or anything I'm missing too ?
It's using TH now
Usability issue, "CSS only" isn't the good way. But I merged it into one column
some css fixes.
Comment #8
mgiffordJust adding a related issue.
Comment #9
droplet commentedComment #10
yesct commentedcorrecting the tag to the more common one.
Comment #11
Aleksandar_P commentedIcon is merged into the heading column, and the heading is continuing under heading instead of under the icon.
Comment #12
Aleksandar_P commentedComment #13
yesct commentedComment #14
yesct commentedComment #15
Aleksandar_P commentedHere is the requested screenshot.
Comment #16
mgiffordRemoving tag. Adding image provided by @Aleksandar_P

Comment #17
lewisnymanThis patch is very out of date. I think it's better to start again and see what we can improve. I've uploaded the CSS so it can be reviewed in Dreditor
Comment #18
lewisnymanWe need to SMACSS up these classes, see: https://www.drupal.org/node/2408617
I think we can remove this styling because it is overidden by Seven's table.css. Can we also remove the override in Seven here?
Comment #19
MathieuSpil commentedLooking into this, what of the old changes we can still implement and if the smacss'ing should be in a follow-up ticket for clarity purposes...
Comment #20
MathieuSpil commentedAs expected, the last patch (#11) no longer applied, so I re-implemented all the needed changes following the new semantics (so no interdiff needed).
So merged the first 2 td's in one th as suggested, and adjusted the css accordingly. (What will we need for RTL?)
The smacss'ing up of the css has apparently been solved in another ticket? The only thing I should change is the div with class
description, but I am not sure if this is something we use frequently?Please review! (The use of th now causes a font-weight bold, but not really a fan of resetting this to a normal font weight because it looks better..)
Comment #21
MathieuSpil commentedComment #22
MathieuSpil commentedComment #23
lewisnymanThis is looking good, but now we have a row of
<th>'s and a column of<th>'s. Is that valid markup? I ran it through the W3C markup validator and it did complain a little:Can we create a class to apply this to the correct cells instead of the th elements?
These properties are commented out
Comment #24
DeeLay commentedI'm at DrupalCon LA and I can update the patch to reinstate the commented out code
Comment #25
DeeLay commentedThe .admin-link css wasn't added in this patch, so I'm guessing best to create a new issue for that?
Un-commented out the rtl css lines and checked the pages look good in LTR and RTL. Attaching new patch and interdiff
Comment #26
DeeLay commentedAdding screenshots
Comment #27
lewisnymanComment #28
droplet commented1 suggestion:
- Adding a class to right column (td)
Comment #29
MathieuSpil commentedApparently, the status report-page is the only page that uses hidden headers as the only thead, so we should remove it's
<thead>-tag. or not hide it.I am keen on removing it because the table itself speaks for itself and the labels in the thead don't add anything for anyone in any situation I can think of.
@Lewis: the error the W3C-validator threw was because we had 3 table-elements inside a tr inside the thead and we had 2 table-elements inside a tr inside the tbody.
So the easy fix would be to remove the this:
<th>{{ 'Status'|t }}</th>But the better solution for me would be to remove the thead altogether and therefor the tbody-tag is also no longer needed. (the th-elements provide more than enough context & information)
Extras:
1) The RTL-styling was in comments because I wasn't sure how this should be on rtl-installs, but the screenshots made this more clear.
2) I was bothered by the fact that tr's without icons also had padding for the icon, so I fixed this. => This causes some wanted visual changes, so any opniion on this would be great.
3) Added a extra if statement to status-report.html.twig so the div with the status information is not printed for th's that don't need it.
4) @Droplet, wasn't sure why we should add a class on the td?
Comment #30
lewisnymanOk cool, this is looking good. I'm not sure what the effects of removing the th's will have on screenreaders, so tagging this for accessibility review.
I wonder if there is another class we could use instead of colored? I know that there is a color class being added but it would nice to keep the other classes logical, instead of presentational.
Comment #31
lewisnymanComment #32
MathieuSpil commented@LewisNyman not really sure if this is the tag you wanted?
Every
<tr>now has the classes:system-status-report__entry--{{ requirement.severity_status }}This way, the classes are more consistent and more readable. The tr with the classsystem-status-report__entry--infois now the exception instead of the other 2 posiibilities in warnings.Adjusted the css so nothing visually changes in comparison with last patch.
The interdiff is a bit chaotic because of tab-indents being altered :)
Comment #33
lewisnymanOk thanks. This looks great I found one suggestion:
If we just set padding-left here then we don't have to override the vertical padding, which is nice.
Screenshot and bet eval added. I'll ping someone who can review the accessibility.
Comment #34
manjit.singhComment #35
RavindraSingh commentedGood Work all, #34 looks good.
it is removing
+ padding-right: 40px;as it was suggested by @LewisNymanMoving this to RTBC as of now.
Comment #36
MathieuSpil commentedSupplied a interdiff for #34.
This will still need some accessibility-review before it can go on rtbc.
Comment #37
idebr commentedThe padding-left is not applied for RTL. This results in the icon being displayed op top of the title.
Re: #35
Lewis was suggesting only styling the padding-left instead of all the padding. The padding-right still needs to be applied for RTL.
Comment #38
MathieuSpil commented@LewisNyman:

Not sure why you suggested to not override padding-right on RTL?
As screenshot shows, the padding stays necessary:
So everything inside #32 Is ok and there should the accessibility review should happen?
Comment #39
MathieuSpil commentedExtra: is the same interface being used on the install guide of Drupal? If so, it would be great if we can have some screenshots on those install pages, so we are sure everything looks ok there.
Comment #40
lewisnyman@MathieuSpil We should override the padding on RTL. I guess I worded it badly.
We only need to set padding-left here, we don't need to set padding on the right, top, and bottom.
Ah good point, we should.
Comment #41
MathieuSpil commentedComment #42
MathieuSpil commentedUpdated css based upon #32, so it now only overrides padding-left on LTR and padding-right on RTL.
Tested it on the install steps, and it broke indeed.
I assumes there were 3 possible classes of the tr's:
-
.system-status-report__status-icon--error=> red-
.system-status-report__status-icon--warning=> yellow-
.system-status-report__status-icon--error=> defaultBut appareantly there is one more:
-
.system-status-report__status-icon--ok=> only used on the install pages as far as I can see.As defined in:
So tweaked the patch so now the warning and error are the exception. => CSS looks now more logical, while the twig looks a bit more complex (moved the if-statement one line higher)
After that took some screenshots, who do we address for accessibility?
Comment #43
lewisnymanAh sorry. Needs a reroll
Comment #44
pguillard commentedJust rerolled patch #42
Comment #45
cchanana commentedComment #46
cchanana commentedAfter applying patch, design is looking same. Please find the attach below and after patch screenshots.
Comment #47
googletorp commentedComment #48
googletorp commentedThis patch looks good to me. Since it only changes CSS and HTML it's an unfrozen change, so should be fine for beta.
Before and after pics located in #46
Comment #49
alexpottI don't think this
ifis the way to go here. The whole --has-icon looks like something we could do without.Comment #50
lewisnymanNice! Alex is right, we can just add icon classes to the th. One less div! I removed the requirement for the accessibiltiy review because the elements used haven't changed.
Comment #51
lauriiiIs this visual change approved?
Before:

After:

Comment #52
lewisnymanComment #53
pguillard commented@LewisNyman : What is the remaining work to do, as you pushed Needs Work ?
Comment #54
pguillard commentedI don't see any visual change, so I try Needs Review again
Comment #55
lewisnyman@pguillard Sorry, the first column of the messages when warning or error are now bold, they weren't bold before. We shouldn't make any visual changes in this issue.
Comment #56
pguillard commentedThanks @LewisNyman
I replaced back
<th>with the original<td>Comment #57
lewisnyman@pguillard Thanks, I think we're close with this. I think we need to keep the
<th>for accessibility reasons. Is there a way we could just style the th so it doesn't include the bold styling?Comment #58
rudraram commented@LewisNyman Just re-rolled #56 as per your suggestion. Please see if that is correct. Attaching screenshot.
Comment #59
rudraram commentedComment #61
rudraram commentedOhk. My patch in #58 didn't capture everything properly. I updated the patch. Apologies for that. Screenshot remains the same as #58 though.
Comment #62
rudraram commentedComment #63
pguillard commentedChecking #61 in order to set it to RTBC, I discovered the patch was not applying anymore, just rerolled it.
Screenshot remains the same as #58.
Comment #64
lewisnymanGreat, thanks.
Comment #65
alexpottThe alignment of the text and icons has changed - the icons used to be in a "column" of their own.
Comment #66
alexpottTo see what I mean look at #51 thanks @lauriii and @emma
Comment #67
henrijs.seso commentedOk, will do.
Comment #68
emma.mariaI can help to visually test the solution when it is ready also :-)
Comment #69
henrijs.seso commentedHere is a update.
Comment #70
henrijs.seso commentedComment #71
lewisnymanThanks, this looks better.
Comment #72
alexpottNeeds LTR thingy. Will add on commit.
Comment #73
henrijs.seso commentedThere is one already.
Comment #74
alexpottCSS and Twig only - permitted in beta. Committed eb6330d and pushed to 8.0.x. Thanks!
@mansspams this is what I meant...
Fixed on commit.