Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 23, 2011
  1. @igstan @dannycoates

    Improve support for user stylesheets

    igstan authored dannycoates committed
    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
Something went wrong with that request. Please try again.