Skip to content

Commit

Permalink
Wallpaper opacity, theme fixes and file restructuring
Browse files Browse the repository at this point in the history
  • Loading branch information
QkeleQ10 committed Sep 23, 2024
1 parent 1c6359d commit bc2ae43
Show file tree
Hide file tree
Showing 54 changed files with 271 additions and 351 deletions.
2 changes: 1 addition & 1 deletion jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"target": "ES6"
},
"include": [
"src/util.js",
"src/scripts/util.js",
"src/magister/scripts/api.js",
"src/*"
]
Expand Down
34 changes: 17 additions & 17 deletions manifest-firefox.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"manifest_version": 3,
"name": "__MSG_appName__",
"description": "__MSG_appDesc__",
"version": "3.12.2",
"version": "3.12.3",
"default_locale": "nl",
"icons": {
"16": "icons/icon@16px.png",
Expand Down Expand Up @@ -33,8 +33,8 @@
"*://login.microsoftonline.com/*/oauth2/authorize*"
],
"js": [
"src/magister/scripts/api.js",
"src/util.js"
"src/scripts/api.js",
"src/scripts/util.js"
],
"run_at": "document_start"
},
Expand All @@ -43,14 +43,14 @@
"*://*.magister.net/*"
],
"js": [
"src/magister/scripts/style.js"
"src/scripts/style.js"
],
"css": [
"src/magister/styles/main.css",
"src/magister/styles/gamification.css",
"src/magister/styles/today.css",
"src/magister/styles/grades.css",
"src/magister/styles/studyguide.css"
"src/styles/main.css",
"src/styles/gamification.css",
"src/styles/today.css",
"src/styles/grades.css",
"src/styles/studyguide.css"
],
"run_at": "document_start"
},
Expand All @@ -59,12 +59,12 @@
"*://*.magister.net/magister/*"
],
"js": [
"src/magister/scripts/main.js",
"src/magister/scripts/gamification.js",
"src/magister/scripts/today.js",
"src/magister/scripts/grades.js",
"src/magister/scripts/studyguide.js",
"src/magister/scripts/books.js"
"src/scripts/main.js",
"src/scripts/gamification.js",
"src/scripts/today.js",
"src/scripts/grades.js",
"src/scripts/studyguide.js",
"src/scripts/books.js"
],
"run_at": "document_end"
},
Expand All @@ -73,7 +73,7 @@
"*://accounts.magister.net/account/login*"
],
"js": [
"src/magister/scripts/login.js"
"src/scripts/login.js"
],
"run_at": "document_end"
},
Expand All @@ -82,7 +82,7 @@
"*://login.microsoftonline.com/*/oauth2/authorize*"
],
"js": [
"src/other/microsoft-login.js"
"src/scripts/microsoft-login.js"
],
"run_at": "document_end"
}
Expand Down
34 changes: 17 additions & 17 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"manifest_version": 3,
"name": "__MSG_appName__",
"description": "__MSG_appDesc__",
"version": "3.12.2",
"version": "3.12.3",
"default_locale": "nl",
"icons": {
"16": "icons/icon@16px.png",
Expand All @@ -27,8 +27,8 @@
"*://login.microsoftonline.com/*/oauth2/authorize*"
],
"js": [
"src/magister/scripts/api.js",
"src/util.js"
"src/scripts/api.js",
"src/scripts/util.js"
],
"run_at": "document_start"
},
Expand All @@ -37,14 +37,14 @@
"*://*.magister.net/*"
],
"js": [
"src/magister/scripts/style.js"
"src/scripts/style.js"
],
"css": [
"src/magister/styles/main.css",
"src/magister/styles/gamification.css",
"src/magister/styles/today.css",
"src/magister/styles/grades.css",
"src/magister/styles/studyguide.css"
"src/styles/main.css",
"src/styles/gamification.css",
"src/styles/today.css",
"src/styles/grades.css",
"src/styles/studyguide.css"
],
"run_at": "document_start"
},
Expand All @@ -53,12 +53,12 @@
"*://*.magister.net/magister/*"
],
"js": [
"src/magister/scripts/main.js",
"src/magister/scripts/gamification.js",
"src/magister/scripts/today.js",
"src/magister/scripts/grades.js",
"src/magister/scripts/studyguide.js",
"src/magister/scripts/books.js"
"src/scripts/main.js",
"src/scripts/gamification.js",
"src/scripts/today.js",
"src/scripts/grades.js",
"src/scripts/studyguide.js",
"src/scripts/books.js"
],
"run_at": "document_end"
},
Expand All @@ -67,7 +67,7 @@
"*://accounts.magister.net/account/login*"
],
"js": [
"src/magister/scripts/login.js"
"src/scripts/login.js"
],
"run_at": "document_end"
},
Expand All @@ -76,7 +76,7 @@
"*://login.microsoftonline.com/*/oauth2/authorize*"
],
"js": [
"src/other/microsoft-login.js"
"src/scripts/microsoft-login.js"
],
"run_at": "document_end"
}
Expand Down
31 changes: 31 additions & 0 deletions popup/dist/assets/index-7w6hhPrH.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion popup/dist/assets/index-BvtylL9n.css

This file was deleted.

1 change: 1 addition & 0 deletions popup/dist/assets/index-DM9lituW.css

Large diffs are not rendered by default.

31 changes: 0 additions & 31 deletions popup/dist/assets/index-UH3xIVXV.js

This file was deleted.

4 changes: 2 additions & 2 deletions popup/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="./favicon.ico">
<title>Study Tools-configuratiepaneel</title>
<script type="module" crossorigin src="./assets/index-UH3xIVXV.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-BvtylL9n.css">
<script type="module" crossorigin src="./assets/index-7w6hhPrH.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-DM9lituW.css">
</head>

<body>
Expand Down
24 changes: 20 additions & 4 deletions popup/dist/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,21 @@ export default [
type: "DecorationPickerSetting",
default: 'none,',
},
{
id: "wallpaper-opacity",
title: "Achtergrondtransparantie",
type: "Slider",
display: "inline",
default: 0.2,
format: "percent",
decimals: 0,
min: 0.05,
max: 1,
step: 0.05,
conditions: [
{ settingId: 'wallpaper', operator: 'not starting with', value: 'none' }
],
},
{
id: "sidecolor",
title: "Menubalkkleur",
Expand All @@ -37,7 +52,8 @@ export default [
{
id: "decoration-size",
title: "Menubalkdecoratieformaat",
type: "DecorationSizeSetting",
type: "Slider",
display: "inline",
default: 1,
format: "percent",
decimals: 0,
Expand All @@ -58,7 +74,7 @@ export default [
{
id: "shape",
title: "Hoekstraal",
type: "SlideInput",
type: "Slider",
default: 8,
format: "px",
decimals: 0,
Expand Down Expand Up @@ -229,7 +245,7 @@ export default [
{
id: "suf-threshold",
title: "Voldoendegrens",
type: "SlideInput",
type: "Slider",
default: 5.5,
decimals: 1,
min: 1,
Expand Down Expand Up @@ -277,7 +293,7 @@ export default [
{
id: "sw-cols",
title: "Aantal kolommen",
type: "SlideInput",
type: "Slider",
default: 3,
decimals: 0,
min: 1,
Expand Down
Loading

0 comments on commit bc2ae43

Please sign in to comment.