Page MenuHomePhabricator

Fix sub-subpage styles in sidebar
Closed, ResolvedPublic

Description

Page: https://api.wikimedia.beta.wmflabs.org/wiki/Reference/Subreference/Nested_item

Expected behavior: To mimic the style guide:

  • Unselected sub-subpages should have font color #54595d
  • Unselected sub-subpages should have the adjacent line be of color #eaecf0
  • On hover, unselected sub-subpages should have background color #f8f9fa

Screenshots from the style guide:

Screen Shot 2020-08-12 at 3.53.57 PM.png (446×538 px, 25 KB)
Screen Shot 2020-08-12 at 3.57.02 PM.png (590×566 px, 34 KB)

Observed behavior: Styles do not match

Screen Shot 2020-08-12 at 3.50.18 PM.png (412×550 px, 26 KB)
Screen Shot 2020-08-12 at 3.57.58 PM.png (386×488 px, 25 KB)

Event Timeline

apaskulin triaged this task as Medium priority.Aug 12 2020, 10:59 PM

Change 622236 had a related patch set uploaded (by Alex Paskulin; owner: Alex Paskulin):
[mediawiki/skins/WikimediaApiPortal@master] styles: Fix sidebar styles

https://gerrit.wikimedia.org/r/622236

Change 622236 merged by jenkins-bot:
[mediawiki/skins/WikimediaApiPortal@master] styles: Fix sidebar styles

https://gerrit.wikimedia.org/r/622236

This seems to have fixed the main issues described in the task but also produced an issue where the unselected subpage text is now of color #54595d instead of #202122. Moving back to Doing to address this

Change 622609 had a related patch set uploaded (by Alex Paskulin; owner: Alex Paskulin):
[mediawiki/skins/WikimediaApiPortal@master] style: Fix font color

https://gerrit.wikimedia.org/r/622609

Change 622609 merged by jenkins-bot:
[mediawiki/skins/WikimediaApiPortal@master] style: Fix font color

https://gerrit.wikimedia.org/r/622609