Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Remaining tasks
Review the current CSS - What to look for when reviewing CSS
User interface changes
None
API changes
None
Beta phase evaluation
Issue category | Task because coding standards |
---|---|
Issue priority | Not critical because coding standards |
Unfrozen changes | Unfrozen because it only changes CSS |
Comment | File | Size | Author |
---|---|---|---|
#25 | Screenshot 2015-06-05 16.46.47.jpg | 406.08 KB | LewisNyman |
#25 | Screenshot 2015-06-05 16.49.09.jpg | 449.11 KB | LewisNyman |
#24 | clean-up-tour-module-css-2485293-24.patch | 2.74 KB | MathieuSpil |
#16 | clean-up-tour-module-css-2485293-16.patch | 2.26 KB | MathieuSpil |
#16 | interdiff-2485293-9-16.txt | 334 bytes | MathieuSpil |
Comments
Comment #1
Manjit.Singhremoving css lint issues.
Comment #2
Manjit.SinghComment #3
LewisNymanI have no idea why this code exists and it's overwritten by the toolbar module CSS anyway, we shouldn't be changing the look and feel of toolbar components in another module.
We can delete this CSS.
I can't find this ID or this class in the markup? I wonder if we can delete this without any effect.
I'm also uploading the css file so it can reviewed using Dreditor
Comment #4
LewisNymanNone of these properties have any affect, and we shouldn't be doing this anyway, we should remove it.
I'm not sure when the 'hidden' class is added but this is just a clone of CSS that already exists in the toolbar module CSS. We should delete this.
This is an accidental copy of the CSS above and can be removed as well
Comment #5
rudraram CreditAttribution: rudraram at Axelerant commentedPatched as per the suggestions form @LewisNyman above.
Comment #6
prajaankit CreditAttribution: prajaankit commentedComment #7
Manjit.Singh@prajaankit It would be good if you can create interdiff as well, Please check this https://www.drupal.org/documentation/git/interdiff
There are some text added accidentally, Please check interdiff.
For Now, I am creating interdiff of #5 and #6 for you. Please keep in mind, when you review any other issue.
Comment #8
Manjit.SinghComment #9
MathieuSpil CreditAttribution: MathieuSpil as a volunteer commentedI noticed the first change of #6 is a typo:
Also removed :
as Lewis suggested in #3.
When running csslint, I still noticed a warning:
[L34:C3] Using width with padding can sometimes make elements larger than you expect. Don't use width or height when using padding or border. (box-model)
And this was about this:
I also removed some unnecessary comments and moved a media-query to its appropriate place.
@lewis: Is this a ticket where we change some classnames to be more readable?
Comment #10
MathieuSpil CreditAttribution: MathieuSpil as a volunteer commentedComment #11
MathieuSpil CreditAttribution: MathieuSpil as a volunteer commentedComment #12
LewisNymanNo, but we are a little stuck on the classes that the joyride library supplies.
We just need some screenshots from Stark and Seven to show that it still looks good.
Comment #13
DeeLay CreditAttribution: DeeLay commentedI'm at DrupalCon LA I'll make the screenshots
Comment #14
DeeLay CreditAttribution: DeeLay commentedAdding screenshots, side by side on the left the patch on the right 8.0.x
Comment #15
LewisNymanNice work, thanks for the screenshots!
Comment #16
MathieuSpil CreditAttribution: MathieuSpil as a volunteer commentedThanks for the work on this!
I mentioned that there was still 1 cssLint error on the boxmodel.
Thats is why I tweaked the approved patch a tiny little bit, so also the last error is solved. => see interdiff.
The only visual change I see is when there is not a lot of text inside a popup, everything will be more compact (but without breaking.)
Comment #17
YesCT CreditAttribution: YesCT commentedPlease make before and after screenshots to show what is mentioned in #16
Comment #18
sqndr CreditAttribution: sqndr as a volunteer commentedSeems like there is still work. The closing arrow doesn't look good when at tablet breakpoint. The more compact layout doesn't look good, since the x is to close to the text.
Here's the modal dialog from the Seven styleguide.
Added
screenshot-with-patch.png
that shows before and after side by side.Added
with-pach.png
that shows after.Comment #19
MathieuSpil CreditAttribution: MathieuSpil as a volunteer commentedThanks for the screenshots sqndr!
So: The underlying problem is that sometimes with
width: 300px;
instead ofmax-width: 300px;
this will also sometimes happen. But not so often. That is why my suggestion would be to add more padding so the spacing stays correct. next to the close-button.Also the adding of a min-width would be good so with very short titles & text, the button doesn't overlap with the pager-thing in the bottom-right
Comment #20
MathieuSpil CreditAttribution: MathieuSpil as a volunteer commentedPlaced the width of 300pixels back but styled the rest in a way that it no longer depends on its container width to not break.
Needs another round of review!
Comment #23
LewisNymanSorry I didn't get a chance to test it until now, it needs a reroll.
Comment #24
MathieuSpil CreditAttribution: MathieuSpil as a volunteer commentedThere were some comments that were now using a different notation of a drupal.org link and therefor the patch no longer applied.
Setting back to needs review.
Comment #25
LewisNymanGreat thanks. The code looks good, here are some screenshots from Stark and Seven.
Comment #26
alexpottI did some manual testing of this patch nothing appeared to be broken any more than it already is. We need to check if issues exist for the following issues and if not create them:
This is currently completely broken when the toolbar is down the left hand side of the screen. However it is broken in exactly the same way in HEAD.
Committed aa19ecf and pushed to 8.0.x. Thanks!
Thanks for adding the beta evaluation to the critical.