Closed Bug 1469029 Opened 7 years ago Closed 7 years ago

Support selected CSS rules for the Add-ons zone

Categories

(developer.mozilla.org Graveyard :: General, enhancement, P1)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wbamberg, Assigned: rjohnson)

Details

(Keywords: in-triage, Whiteboard: [points=1])

When we remove zones, we will also remove the zone CSS. In most cases this is fine, but there are a few cases where we probably still want to be able to use the zone styles. In the Add-ons zone, there are a couple of useful rules. I *don't* think we have to block zone removal on these, but it would be great to have these rules or some version of them reinstated in the common Kuma CSS. ## reference-values dd > dl.reference-values { padding-left: 40px; } This lets us give an extra indent to a dl, when it's embedded inside another dl, which comes up sometimes in the reference pages. The extra indent people understand that the embedded dl is part of an embedded list and is not part of the main list. Compare: https://screenshots.firefox.com/XTIi9NuEJL1rZj2G/developer.mozilla.org (with this class) https://screenshots.firefox.com/Tel4DbD7GnV8Gt49/developer.mozilla.org (without this class) ## webextension-api-sidebar li.webextension-api-sidebar { background-color: #f4f7f8; } This applies a background color to the piece of a sidebar containing the api items relevant to the current page. It helps people orient themselves in the sidebar: Compare: https://screenshots.firefox.com/MklnzMOR4g3oOk0o/developer.mozilla.org (with this class) https://screenshots.firefox.com/gS4tI3cWCSuXhHGI/developer.mozilla.org (without this class)
Keywords: in-triage
Priority: -- → P1
Whiteboard: [points=1]
Assignee: nobody → rjohnson
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.