Skip to content

Commit

Permalink
Refined design. Bump version to 1.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ManeraKai committed Feb 27, 2022
1 parent d488aff commit a6fb964
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 28 deletions.
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
51 changes: 26 additions & 25 deletions src/pages/options/general/general.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,32 @@ <h4>Theme</h4>
</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">
Expand Down Expand Up @@ -137,31 +163,6 @@ <h4>Theme</h4>
</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>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/stylesheets/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a6fb964

Please sign in to comment.