Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>What you're requesting is a highly-demanded feature (though not implemented yet), see <a href="https://code.google.com/p/chromium/issues/detail?id=25317" rel="nofollow" title="Issue 25317: Help extensions authors make options pages with a consistent look">Issue 25317: Help extensions authors make options pages with a consistent look</a> on Chromium's bug tracker.</p> <p>When you implement an options page, you could take either of the two next methods:</p> <ol> <li>Implement a pixel-perfect UI that looks identical on Linux, Mac and Windows.</li> <li>Implement a UI using native controls of the relevant platforms.</li> </ol> <p>I suggest to follow approach 2, because the most important part of an options page is the ability to quickly set preferences. This is achieved by using controls that are familiar to the user.</p> <p>So, start with the basic unstyled HTML to get the main purpose right. E.g.:</p> <pre><code>&lt;label&gt; &lt;input type="checkbox" id="some-option-id"&gt; &lt;span&gt;Some option&lt;/span&gt; &lt;/label&gt; </code></pre> <p>When you've done that, you could dress up the UI with CSS if you wish. But don't overdo it: users should still be able to recognize a checkbox.</p> <p>If your app specifically demands for platform-specific colors, use CSS color keywords such as <code>ButtonFace</code>, <code>ButtonText</code>, <code>CaptionText</code>, etc. You can find more of these keywords <a href="https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/web/WebColorName.cpp&amp;q=buttonface&amp;sq=package%3achromium&amp;dr=C&amp;l=43" rel="nofollow">in Chromium's source code</a>.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload