aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManeraKai <manerakai@protonmail.com>2022-02-27 20:19:09 +0300
committerManeraKai <manerakai@protonmail.com>2022-02-27 20:19:09 +0300
commita6fb964e993abd0a568c763e7cdf48e1ed14ac80 (patch)
tree56734946b71b46bc78d00546f759ba29ab186759
parentFixed a bug in exceptions (diff)
downloadlibredirect-a6fb964e993abd0a568c763e7cdf48e1ed14ac80.zip
Refined design. Bump version to 1.4.4
Diffstat (limited to '')
-rw-r--r--src/manifest.json2
-rw-r--r--src/pages/options/general/general.html51
-rw-r--r--src/pages/stylesheets/styles.css4
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" />
+ &nbsp;
+ <select id="exceptions-custom-instance-type">
+ <option value="url">URL</option>
+ <option value="regex">Regex</option>
+ </select>
+ &nbsp;
+ </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" />
- &nbsp;
- <select id="exceptions-custom-instance-type">
- <option value="url">URL</option>
- <option value="regex">Regex</option>
- </select>
- &nbsp;
- </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 {