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.
Problem/Motivation
To much specificity on the list on default css for breadcrumbs and list defaults.
Proposed resolution
- Remove additional definitions on breadcrumbs
- as well cleanup the rtl and ltr attributes on ul and ol
- and pay attention to browser defaults
Remaining tasks
Needs review
Comment | File | Size | Author |
---|---|---|---|
#15 | css_cleanup_and_killing-2512870-15.patch | 1.36 KB | empesan |
#9 | rtl updated margin.png | 214.16 KB | tassilogroeper |
#9 | ltr updated margin.png | 231.32 KB | tassilogroeper |
#9 | current list margin with chrome styles overriding.png | 238.5 KB | tassilogroeper |
#5 | Bildschirmfoto 2015-09-25 um 10.38.02.png | 84.38 KB | tassilogroeper |
Comments
Comment #1
munzirtaha CreditAttribution: munzirtaha as a volunteer commentedAttached is the patch
Comment #2
LewisNymanOk thanks. I will review this when I get a chance. It looks like we are modifying system CSS here, so that would affect every theme?
Comment #3
tassilogroeper CreditAttribution: tassilogroeper commentedworking in BarcelonaCon on this issue. Needs re-roll. https://www.drupal.org/contributor-tasks/reroll
Comment #4
tassilogroeper CreditAttribution: tassilogroeper commentedComment #5
tassilogroeper CreditAttribution: tassilogroeper commentedchecking the rtl vs ltr in the breadcrumbs. see picture, nothing wrong with removing the additional override.
Comment #6
fatfish CreditAttribution: fatfish at FatFish commentedIm workin on it on DrupalCon Barcelona2015
Comment #7
tiefield CreditAttribution: tiefield as a volunteer commentedI am trying to make an issue summery based on the issue template. https://www.drupal.org/contributor-tasks/write-issue-summary
Comment #8
DuaelFr@fatfish Hi, someone already started to work on that issue (see comment #3)
You can come and join us in room 115 on the "stuff" table (see the map at the entrance)
Comment #9
tassilogroeper CreditAttribution: tassilogroeper commentedsince we are talking about the basic settings of lists, there are a couple things to consider:
- as shown in the first screenshot (see "current list margin with chrome styles overriding.png") browsers will apply their own padding - if not set. so set a padding 0 to ul.
- Furthermore we should align ul and ol insets commonly to 1.5em.
- lastly only apply the margin on the inset, leaving the opposite side (without the numbers or dots) set to 0 (see the "... updated margin.png")
Comment #10
DuaelFrI'm mentoring on that issue at DrupalCon Barcelona :)
Comment #11
tassilogroeper CreditAttribution: tassilogroeper commentedComment #12
tassilogroeper CreditAttribution: tassilogroeper commentedre-roll is done in the patch
Comment #13
tiefield CreditAttribution: tiefield as a volunteer commentedComment #14
JulienD CreditAttribution: JulienD as a volunteer commentedComment #15
empesan CreditAttribution: empesan commentedI've reproduced the problem but a new re-roll was needed. There's a patch based on tassilogroeper solution (#11).
Comment #16
dorficus CreditAttribution: dorficus as a volunteer commentedCan you provide instructions to reproduce with the new patch? Everything looks good, but before I RTBC I'd like to check to be certain.
Comment #17
Saphyel CreditAttribution: Saphyel as a volunteer commentedLooks fine, very well documented.
For replicate it, with the seven theme, create a node with this body:
Comment #19
cilefen CreditAttribution: cilefen commentedThere is no obvious next step for a Novice.
Comment #27
simeComment #31
longwaveThe Seven theme has been removed from Drupal 10 core. However, this patch appears to also affect the starter kit CSS, so moving to the Starterkit component.
Comment #33
smustgrave CreditAttribution: smustgrave at Mobomo commentedWork needs to be updated for the starterkit theme.
Tagging for IS for remaining tasks to be relooked at.
Thanks