https://bugzilla.wikimedia.org/show_bug.cgi?id=36294

--- Comment #1 from Krinkle <[email protected]> 2012-04-27 10:07:21 UTC ---
The <body> contains action- prefixed  class names (e.g. action-view,
action-history, action-edit etc.). However "diff' is not an action, but a
component of the view action.

It is not a different page action or layout, it therefor doesn't make sense to
style the entire page differently just because it contains a diff component.

The diff component itself can be styled by using the css hooks of the diff
component:

- table.diff
- .diff-marker
- .diff-content
- .diff-otitle
- .diff-ntitle
- .diff-lineno
- .diff-deletedline
- etc. (See also
./resources/mediawiki.action/mediawiki.action.history.diff.css)

If you need a selector for the entire page, could you elaborate on a use case?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to