Skip to content

Commit

Permalink
Merge pull request #270 from aopell/develop
Browse files Browse the repository at this point in the history
Version 7.3.5
  • Loading branch information
aopell authored Nov 14, 2021
2 parents 347b3be + fa14122 commit f4b9475
Show file tree
Hide file tree
Showing 8 changed files with 115 additions and 117 deletions.
2 changes: 1 addition & 1 deletion css/theme-editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ label {
margin: 10px;
cursor: pointer;
position: relative;
background-image: url(https://image.flaticon.com/icons/svg/164/164949.svg);
background-image: url(https://cdn-icons-png.flaticon.com/512/164/164949.png);
background-repeat: no-repeat;
background-position: top center;
background-size: 50px;
Expand Down
2 changes: 1 addition & 1 deletion js/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ let siteNavigationTileHelpers = {
let coursesHeader = coursesDropdownContainer.querySelector(".CjR09._8a6xl._1tpub > h2");
if (coursesHeader && !coursesHeader.querySelector(".splus-coursesdropdown-reorder-btn")) {
// https://www.flaticon.com/free-icon/sort_159800
let newBtn = createElement("img", ["splus-coursesdropdown-reorder-btn", "splus-addedtodynamicdropdown"], { src: "https://image.flaticon.com/icons/svg/690/690319.svg", title: "Reorder Courses", alt: "Reorder Icon" });
let newBtn = createElement("img", ["splus-coursesdropdown-reorder-btn", "splus-addedtodynamicdropdown"], { src: "https://cdn-icons-png.flaticon.com/512/690/690319.png", title: "Reorder Courses", alt: "Reorder Icon" });
newBtn.onclick = () => location.href = "/courses?reorder";
coursesHeader.appendChild(newBtn);
}
Expand Down
200 changes: 100 additions & 100 deletions js/icons.js

Large diffs are not rendered by default.

6 changes: 2 additions & 4 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"id": "[email protected]"
}
},
"version": "7.3.3",
"version": "7.3.5",
"icons": {
"128": "imgs/[email protected]",
"64": "imgs/[email protected]",
Expand All @@ -35,9 +35,7 @@
"notifications",
"cookies",
"contextMenus",
"activeTab",
"webRequest",
"webRequestBlocking"
"activeTab"
],
"optional_permissions": [
"<all_urls>"
Expand Down
2 changes: 1 addition & 1 deletion theme-editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ <h3 class="setting-title">Clickable Link</h3>
<div id="tab-icons" class="col s12">
<div class="row">
<div class="col s3 m2 l1 center" style="margin-top: 16px;">
<img src="https://image.flaticon.com/icons/svg/164/164949.svg" alt="Test Icon"
<img src="https://cdn-icons-png.flaticon.com/512/164/164949.png" alt="Test Icon"
height="49" id="test-icon">
</div>
<div class="input-field col s9 m10 l11">
Expand Down
16 changes: 8 additions & 8 deletions themes/BlackAndWhite.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,35 +12,35 @@
"icons": [
{
"regex": "Art|Paint(ing)?",
"url": "https://image.flaticon.com/icons/svg/1258/1258333.svg"
"url": "https://cdn-icons-png.flaticon.com/512/1258/1258333.png"
},
{
"regex": "Astro(nomy)?",
"url": "https://image.flaticon.com/icons/svg/1258/1258364.svg"
"url": "https://cdn-icons-png.flaticon.com/512/1258/1258364.png"
},
{
"regex": "Computer",
"url": "https://image.flaticon.com/icons/svg/1258/1258347.svg"
"url": "https://cdn-icons-png.flaticon.com/512/1258/1258347.png"
},
{
"regex": "Math|Calc",
"url": "https://image.flaticon.com/icons/svg/1258/1258335.svg"
"url": "https://cdn-icons-png.flaticon.com/512/1258/1258335.png"
},
{
"regex": "Physics",
"url": "https://image.flaticon.com/icons/svg/1258/1258357.svg"
"url": "https://cdn-icons-png.flaticon.com/512/1258/1258357.png"
},
{
"regex": "Read|Eng(lish)?",
"url": "https://image.flaticon.com/icons/svg/1258/1258341.svg"
"url": "https://cdn-icons-png.flaticon.com/512/1258/1258341.png"
},
{
"regex": "Writing|Comp(osition)?",
"url": "https://image.flaticon.com/icons/svg/1258/1258348.svg"
"url": "https://cdn-icons-png.flaticon.com/512/1258/1258348.png"
},
{
"regex": ".",
"url": "https://image.flaticon.com/icons/svg/1258/1258334.svg"
"url": "https://cdn-icons-png.flaticon.com/512/1258/1258334.png"
}
],
"logo": {
Expand Down
2 changes: 1 addition & 1 deletion themes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ A Schoology Plus theme has the following format and components (each component w
},
{
"regex": ".",
"url": "https://image.flaticon.com/icons/svg/183/183759.svg"
"url": "https://cdn-icons-png.flaticon.com/512/183/183759.png"
}
]
```
2 changes: 1 addition & 1 deletion themes/penguins.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"icons": [
{
"regex": ".",
"url": "https://image.flaticon.com/icons/svg/692/692439.svg"
"url": "https://cdn-icons-png.flaticon.com/512/692/692439.png"
}
]
}

0 comments on commit f4b9475

Please sign in to comment.