Skip to content

Commit

Permalink
Merge pull request #10 from SinclaM/finalize-mathquill-overrides
Browse files Browse the repository at this point in the history
Finalize mathquill overrides
  • Loading branch information
SinclaM authored Jul 23, 2022
2 parents 03e453d + 1ab5328 commit 9375d4f
Show file tree
Hide file tree
Showing 22 changed files with 4,011 additions and 2,936 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules/
dist/
src/preload/extend_mathquill.js
284 changes: 177 additions & 107 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "desmos-unlocked",
"version": "1.0.7",
"version": "1.1.0",
"description": "Browser extension for better user control of the Desmos graphing calculator configuration ",
"main": "background.js",
"scripts": {
Expand Down Expand Up @@ -38,7 +38,7 @@
},
"homepage": "https://github.com/SinclaM/desmos-unlocked#readme",
"devDependencies": {
"@types/chrome": "0.0.135",
"@types/chrome": "0.0.193",
"@types/sinon": "^10.0.0",
"@typescript-eslint/eslint-plugin": "4.17.0",
"@typescript-eslint/parser": "4.17.0",
Expand Down
13 changes: 2 additions & 11 deletions public/chrome_manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "Desmos Unlocked",
"version": "1.0.7",
"version": "1.1.0",
"description": "Browser extension for better user control of the Desmos graphing calculator configuration",
"permissions": ["storage", "declarativeNetRequest", "declarativeNetRequestWithHostAccess", "webRequest"],
"permissions": ["storage", "declarativeNetRequestWithHostAccess", "webRequest"],
"manifest_version": 3,
"background": {
"service_worker": "background.js"
Expand Down Expand Up @@ -35,15 +35,6 @@
"128": "images/logo/128.png"
}
},
"declarative_net_request": {
"rule_resources": [
{
"id": "ruleset_1",
"enabled": true,
"path": "net_request_rules.json"
}
]
},
"icons": {
"16": "images/logo/16.png",
"32": "images/logo/32.png",
Expand Down
13 changes: 2 additions & 11 deletions public/edge_manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "Desmos Unlocked",
"version": "1.0.7",
"version": "1.1.0",
"description": "Browser extension for better user control of the Desmos graphing calculator configuration",
"permissions": ["storage", "declarativeNetRequest", "declarativeNetRequestWithHostAccess", "webRequest"],
"permissions": ["storage", "declarativeNetRequestWithHostAccess", "webRequest"],
"manifest_version": 3,
"background": {
"service_worker": "background.js"
Expand Down Expand Up @@ -35,15 +35,6 @@
"128": "images/logo/128.png"
}
},
"declarative_net_request": {
"rule_resources": [
{
"id": "ruleset_1",
"enabled": true,
"path": "net_request_rules.json"
}
]
},
"icons": {
"16": "images/logo/16.png",
"32": "images/logo/32.png",
Expand Down
2 changes: 1 addition & 1 deletion public/firefox_manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Desmos Unlocked",
"version": "1.0.7",
"version": "1.1.0",
"description": "Browser extension for better user control of the Desmos graphing calculator configuration",
"permissions": ["https://*.desmos.com/*", "storage", "webRequest", "webRequestBlocking"],
"manifest_version": 2,
Expand Down
4 changes: 4 additions & 0 deletions public/images/extern-link.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 0 additions & 24 deletions public/net_request_rules.json

This file was deleted.

13 changes: 2 additions & 11 deletions public/opera_manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "Desmos Unlocked",
"version": "1.0.7",
"version": "1.1.0",
"description": "Browser extension for better user control of the Desmos graphing calculator configuration",
"permissions": ["storage", "declarativeNetRequest", "declarativeNetRequestWithHostAccess", "webRequest"],
"permissions": ["storage", "declarativeNetRequestWithHostAccess", "webRequest"],
"manifest_version": 3,
"background": {
"service_worker": "background.js"
Expand Down Expand Up @@ -35,15 +35,6 @@
"128": "images/logo/128.png"
}
},
"declarative_net_request": {
"rule_resources": [
{
"id": "ruleset_1",
"enabled": true,
"path": "net_request_rules.json"
}
]
},
"icons": {
"16": "images/logo/16.png",
"32": "images/logo/32.png",
Expand Down
59 changes: 55 additions & 4 deletions public/popup.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,38 @@ header {
padding-right: 25px;
}

a {
header a {
display: flex;
width: 17%;
align-items: center;
justify-content: space-between;
}

a img {
header a img {
padding-right: 5px;
}

#config-container a {
text-decoration: none;
}

#config-container a,
#config-container a:visited,
#config-container a:hover,
#config-containera:active {
color: inherit;
}

#config-container a[href^="http"]::after,
#config-container a[href^="https://"]::after
{
content: url(./images/extern-link.svg);
width: 11px;
height: 11px;
margin-left: 7px;
display: inline-block;
}

#github-image {
height: 40px;
}
Expand Down Expand Up @@ -213,11 +234,14 @@ h2 {
align-items: center;
}

textarea {
resize: none;
font-size: 1.4em;
}

#breakout textarea {
flex-grow: 0.5;
height: 1.5em;
resize: none;
font-size: 1.4em;
}

#set-chars {
Expand All @@ -230,3 +254,30 @@ h2 {
grid-template-columns: 260px 100px;
align-items: center;
}

#extend-mq h2 {
margin-top: 10px;
margin-bottom: 0px;
}

#collapsible textarea {
grid-row: 1 / span 3;
}

#collapsible .container {
display: grid;
grid-template-columns: 70% 25%;
grid-template-rows: 3em 3em 3em;
row-gap: 10px;
column-gap: 10px;
}

#collapsible button {
height: 20px;
padding: 0px;
align-self: center;
}

#error-bar {
color: #cc0000;
}
Loading

0 comments on commit 9375d4f

Please sign in to comment.