diff options
-rw-r--r-- | src/manifest.json | 2 | ||||
-rw-r--r-- | src/pages/options/general/general.html | 51 | ||||
-rw-r--r-- | src/pages/stylesheets/styles.css | 4 |
3 files changed, 29 insertions, 28 deletions
diff --git a/src/manifest.json b/src/manifest.json index fb78974b..5a86bdf2 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,7 +1,7 @@ { "name": "__MSG_extensionName__", "description": "__MSG_extensionDescription__", - "version": "1.4.3", + "version": "1.4.4", "manifest_version": 2, "background": { "page": "pages/background/background.html", diff --git a/src/pages/options/general/general.html b/src/pages/options/general/general.html index a4e6f295..852283d0 100644 --- a/src/pages/options/general/general.html +++ b/src/pages/options/general/general.html @@ -96,6 +96,32 @@ </select> </div> + + <div class="some-block option-block"> + <h4>Exceptions</h4> + </div> + + <form id="custom-exceptions-instance-form"> + <div class="some-block option-block"> + <div class="some-block" style="padding:0;"> + <input id="exceptions-custom-instance" placeholder="https://www.google.com" type="url" /> + + <select id="exceptions-custom-instance-type"> + <option value="url">URL</option> + <option value="regex">Regex</option> + </select> + + </div> + <button type="submit" class="add" id="exceptions-add-instance"> + <svg xmlns="http://www.w3.org/2000/svg" height="20px" viewBox="0 0 24 24" width="20px" fill="currentColor"> + <path d="M0 0h24v24H0V0z" fill="none" /> + <path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z" /> + </svg> + </button> + </div> + </form> + <div class="checklist" id="exceptions-custom-checklist"></div> + <div class="buttons buttons-inline"> <a class="button button-inline" id="update-instances"> <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="currentColor"> @@ -137,31 +163,6 @@ </a> </div> - <div class="some-block option-block"> - <h4>Exceptions</h4> - </div> - - <form id="custom-exceptions-instance-form"> - <div class="some-block option-block"> - <div class="some-block" style="padding:0;"> - <input id="exceptions-custom-instance" placeholder="https://www.google.com" type="url" /> - - <select id="exceptions-custom-instance-type"> - <option value="url">URL</option> - <option value="regex">Regex</option> - </select> - - </div> - <button type="submit" class="add" id="exceptions-add-instance"> - <svg xmlns="http://www.w3.org/2000/svg" height="20px" viewBox="0 0 24 24" width="20px" fill="currentColor"> - <path d="M0 0h24v24H0V0z" fill="none" /> - <path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z" /> - </svg> - </button> - </div> - </form> - <div class="checklist" id="exceptions-custom-checklist"></div> - </a> </section> <script type="module" src="../init.js"></script> diff --git a/src/pages/stylesheets/styles.css b/src/pages/stylesheets/styles.css index 97ba1953..e1a347cd 100644 --- a/src/pages/stylesheets/styles.css +++ b/src/pages/stylesheets/styles.css @@ -250,8 +250,8 @@ div.buttons-popup { div.buttons-inline { display: flex; - justify-content: space-between; - padding: 0 15px; + justify-content: start; + /* padding: 0 15px; */ } .button-inline { |