Added optionsV2 support for Chrome 40 onwards
diff --git a/css/options.css b/css/options.css
index 9de9a29..6f09826 100644
--- a/css/options.css
+++ b/css/options.css
@@ -1,4 +1,4 @@
-@import url("widgets.css");
+/*@import url("widgets.css");*/
body {
padding: 10px;
@@ -6,8 +6,9 @@
background-color: #BBDEFB;
background-repeat: repeat;
background-position: left top;
- font-size: 100%;
+ font-size: 90%;
cursor: default;
+ min-width: 400px;
}
h1 {
text-align: center;
@@ -148,4 +149,9 @@
dialog#credits_dialog .content_area p.author {
margin-top: 7px;
+}
+
+#otheroptions p {
+ margin-top: 0;
+ margin-bottom: 0;
}
\ No newline at end of file
diff --git a/manifest.json b/manifest.json
index ecb672a..3345920 100644
--- a/manifest.json
+++ b/manifest.json
@@ -19,5 +19,9 @@
"scripts": ["background.js"]
},
"options_page": "options.html",
+ "options_ui": {
+ "page": "options.html",
+ "chrome_style": true
+ },
"default_locale": "en"
}
diff --git a/options.html b/options.html
index 2f0a37a..8cb7196 100644
--- a/options.html
+++ b/options.html
@@ -28,9 +28,9 @@
<h2 id="otheroptionsheader"></h2>
<div id="otheroptions">
- <input type="radio" name="uniquetab" id="varioustabs" value=""> <label id="varioustabs_label" for="varioustabs"></label><br>
- <input type="radio" name="uniquetab" id="uniquetab" value="yep"> <label id="uniquetab_label" for="uniquetab"></label><br>
- <input type="radio" name="uniquetab" id="panel" value="panel"> <label id="panel_label" for="panel"></label>
+ <p><input type="radio" name="uniquetab" id="varioustabs" value=""> <label id="varioustabs_label" for="varioustabs"></label></p>
+ <p><input type="radio" name="uniquetab" id="uniquetab" value="yep"> <label id="uniquetab_label" for="uniquetab"></label></p>
+ <p><input type="radio" name="uniquetab" id="panel" value="panel"> <label id="panel_label" for="panel"></label></p>
</div>
<button id="save"></button>