« get me outta code hell

Place general settings in sidebar - interactive-bgm - Browser extension that adds background music based on the site you're browsing
about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2019-03-24 12:07:55 -0300
committerFlorrie <towerofnix@gmail.com>2019-03-24 12:07:55 -0300
commitcc99da6dfe52d7a2779d3c2b031704181552ada3 (patch)
tree7fa1e3fe131b2d2a17471a2f14529f31ee2e381d
parenta417c5b800e329c897fc75f31c81935530c7d4fa (diff)
Place general settings in sidebar
..rather than under the space for rule-specific details.
-rw-r--r--extension/popup/index.html6
-rw-r--r--extension/popup/style.css2
2 files changed, 3 insertions, 5 deletions
diff --git a/extension/popup/index.html b/extension/popup/index.html
index ec49842..c0e3974 100644
--- a/extension/popup/index.html
+++ b/extension/popup/index.html
@@ -16,6 +16,8 @@
                 <ul id="rules-on-this-page"></ul>
                 <h2>All rules:</h2>
                 <ul id="all-rules"></ul>
+                <h2>General Settings</h2>
+                <p><label><input id="disable-everywhere" type="checkbox"> Disable everywhere for now?</label></p>
             </div>
             <div class="content">
                 <div class="content-screen" id="rule-content">
@@ -25,10 +27,6 @@
                         <h2>Tracks</h2>
                     </div>
                     <ul id="track-list"></ul>
-                    <div>
-                        <h1>General Settings</h1>
-                        <p><label><input id="disable-everywhere" type="checkbox"> Disable everywhere for now?</label></p>
-                    </div>
                 </div>
                 <div class="content-screen visible" id="no-rule-content">
                     <p>No rule selected. Please select or create one!</p>
diff --git a/extension/popup/style.css b/extension/popup/style.css
index 6338f93..b9c8571 100644
--- a/extension/popup/style.css
+++ b/extension/popup/style.css
@@ -13,7 +13,7 @@ body {
     font-family: Helvetica, Arial, sans-serif;
 }
 
-label {
+.content label {
     font-weight: 800;
 }