Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve support for user stylesheets
Currently WebKit based browsers only support *global* user stylesheets. That means the rules you put in the stylesheet will be used for *all* websites you visit, and even more, for the browser's chrome itself. Until an equivalent @-moz-document rule is implemented, the only solution seems to be CSS class namespacing. By providing a `node-inspector` class on the `html` element, users can now tweak the UI of node-inspector without messing up the browser's chrome. For example, in order to increase the font size of code blocks, you'd put this in your user stylesheet: html.node-inspector body.platform-mac .monospace, html.node-inspector body.platform-mac .source-code { font-size: 13px !important; } See also: - http://code.google.com/p/chromium/issues/detail?id=2393 - https://bugs.webkit.org/show_bug.cgi?id=51172
- Loading branch information