chrome extension v3.0.0, docs site logo update
diff --git a/README.md b/README.md
index ddae451..3ee4e9c 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
<p align="center">
- <img width="320" src="https://i.imgur.com/z7doH7n.png" />
+ <img width="320" src="https://i.imgur.com/Ujq41C1.png" />
</p>
<br />
diff --git a/chrome/128.png b/chrome/128.png
index 453cb81..ae1443d 100644
--- a/chrome/128.png
+++ b/chrome/128.png
Binary files differ
diff --git a/chrome/16.png b/chrome/16.png
index 0000bfa..65d66f8 100644
--- a/chrome/16.png
+++ b/chrome/16.png
Binary files differ
diff --git a/chrome/32.png b/chrome/32.png
index c66ed64..6837324 100644
--- a/chrome/32.png
+++ b/chrome/32.png
Binary files differ
diff --git a/chrome/48.png b/chrome/48.png
index 462a373..5c8f7fa 100644
--- a/chrome/48.png
+++ b/chrome/48.png
Binary files differ
diff --git a/chrome/communicator.js b/chrome/communicator.js
index c86b46b..c3d6cef 100644
--- a/chrome/communicator.js
+++ b/chrome/communicator.js
@@ -24,9 +24,10 @@
if (node.nodeType === 1 && node.tagName === 'BODY') {
node.innerHTML = /*html*/`
<div dtps="true" id="dtpsNativeOverlay" style="background-color: #151515; position: fixed; top: 0px; left: 0px; width: 100%; height: 100vh; z-index: 99;text-align: center;z-index: 999;transition: opacity 0.2s;">
- <img dtps="true" style="height: 100px; margin-top: 132px;" src="https://i.imgur.com/eiTE2sW.png" />
- <div dtps="true" class="loader"></div>
- <style dtps="true">body {background-color: #151515; overflow: hidden;}*,:after,:before{box-sizing:border-box}.loader{position:absolute;top:450px;left:50%;transform:translate(-50%,-50%);width:50px;height:10px;background:#3498db;border-radius:5px;animation:load 1.8s ease-in-out infinite}.loader:after,.loader:before{position:absolute;display:block;content:"";animation:load 1.8s ease-in-out infinite;height:10px;border-radius:5px}.loader:before{top:-20px;left:10px;width:40px;background:#ef4836}.loader:after{bottom:-20px;width:35px;background:#f5ab35}@keyframes load{0%{transform:translateX(40px)}50%{transform:translateX(-30px)}100%{transform:translateX(40px)}}</style>
+ <img dtps="true" style="height: 100px; margin-top: 132px;" src="https://i.imgur.com/7dDUVh2.png" />
+ <br dtps="true" />
+ <div dtps="true" class="progress"><div dtps="true" class="indeterminate"></div></div>
+ <style dtps="true">body {background-color: #151515; overflow: hidden;}*,:after,:before{box-sizing:border-box}.progress{position:relative;width:600px;height:5px;overflow:hidden;border-radius:12px;background:#262626;backdrop-filter:opacity(.4);display:inline-block;margin-top:75px}.progress .indeterminate{position:absolute;background:#e3ba4b;height:5px;animation:indeterminate 1.4s infinite;animation-timing-function:linear}@keyframes indeterminate{0%{width:5%;left:-15%}to{width:100%;left:110%}}</style>
</div>
`;
} else if (node.nodeType === 1 && node.tagName === 'HEAD') {
@@ -35,7 +36,7 @@
<meta dtps="true" name="viewport" content="width=device-width, initial-scale=1">
<meta dtps="true" charset="utf-8">
<title dtps="true">Power+</title>
- <meta dtps="true" name="description" content="A better way to manage coursework">
+ <meta dtps="true" name="description" content="A better UI for Canvas LMS">
<meta dtps="true" name="author" content="jottocraft">
`;
} else if (node.nodeType === 1 && node.getAttribute("dtps") != "true") {
diff --git a/chrome/icon.png b/chrome/icon.png
index e2f9c0e..2a7c40b 100644
--- a/chrome/icon.png
+++ b/chrome/icon.png
Binary files differ
diff --git a/chrome/manifest.json b/chrome/manifest.json
index 0c08561..0915878 100644
--- a/chrome/manifest.json
+++ b/chrome/manifest.json
@@ -3,7 +3,7 @@
"name": "Power+",
"description": "A redesigned UI for Canvas LMS",
- "version": "2.9.1",
+ "version": "3.0.0",
"background": {
"scripts": ["background.js"]
},
diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css
index 19eb972..2b10353 100644
--- a/docs/src/css/custom.css
+++ b/docs/src/css/custom.css
@@ -7,24 +7,24 @@
/* You can override the default Infima variables here. */
:root {
- --ifm-color-primary: #b7a900;
- --ifm-color-primary-dark: #a59800;
- --ifm-color-primary-darker: #9c9000;
- --ifm-color-primary-darkest: #807600;
- --ifm-color-primary-light: #c9ba00;
- --ifm-color-primary-lighter: #d2c200;
- --ifm-color-primary-lightest: #eedc00;
+ --ifm-color-primary: #c89b1f;
+ --ifm-color-primary-dark: #b48c1c;
+ --ifm-color-primary-darker: #aa841a;
+ --ifm-color-primary-darkest: #8c6d16;
+ --ifm-color-primary-light: #dcab22;
+ --ifm-color-primary-lighter: #deaf2b;
+ --ifm-color-primary-lightest: #e3ba49;
--ifm-code-font-size: 95%;
}
html[data-theme=dark] {
- --ifm-color-primary: #e2cf57;
- --ifm-color-primary-dark: #ddc73c;
- --ifm-color-primary-darker: #dbc42f;
- --ifm-color-primary-darkest: #bba620;
- --ifm-color-primary-light: #e7d772;
- --ifm-color-primary-lighter: #e9da7f;
- --ifm-color-primary-lightest: #f0e6a7;
+ --ifm-color-primary: #e7c465;
+ --ifm-color-primary-dark: #e3b948;
+ --ifm-color-primary-darker: #e0b33a;
+ --ifm-color-primary-darkest: #c99b1f;
+ --ifm-color-primary-light: #ebcf82;
+ --ifm-color-primary-lighter: #eed590;
+ --ifm-color-primary-lightest: #f4e5bb;
--ifm-code-font-size: 95%;
}
diff --git a/docs/static/img/favicon.png b/docs/static/img/favicon.png
index 90bf3f2..6091930 100644
--- a/docs/static/img/favicon.png
+++ b/docs/static/img/favicon.png
Binary files differ
diff --git a/docs/static/img/logo.svg b/docs/static/img/logo.svg
index 924491a..a6dc0a4 100644
--- a/docs/static/img/logo.svg
+++ b/docs/static/img/logo.svg
@@ -5,16 +5,22 @@
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- fill="#1A1A1A"
- version="1.1"
- viewBox="8 0 48 63.999000549316406"
- x="0px"
- y="0px"
+ inkscape:export-ydpi="23.436342"
+ inkscape:export-xdpi="23.436342"
+ inkscape:export-filename="C:\Users\j\Projects\dtps\v3\chrome\16.png"
+ inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
+ height="65.539238"
+ width="49"
+ sodipodi:docname="dtps.svg"
id="svg6"
- sodipodi:docname="logo.svg"
- inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)">
+ y="0px"
+ x="0px"
+ viewBox="8 0 49 65.539238"
+ version="1.1"
+ fill="#1a1a1a">
<metadata
id="metadata12">
<rdf:RDF>
@@ -23,35 +29,64 @@
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title>book-bookmark</dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
- id="defs10" />
+ id="defs10">
+ <linearGradient
+ id="linearGradient841"
+ inkscape:collect="always">
+ <stop
+ id="stop837"
+ offset="0"
+ style="stop-color:#e3ba4b;stop-opacity:1" />
+ <stop
+ id="stop839"
+ offset="1"
+ style="stop-color:#f5c669;stop-opacity:1" />
+ </linearGradient>
+ <linearGradient
+ gradientTransform="translate(0.5,0.5)"
+ gradientUnits="userSpaceOnUse"
+ y2="65.191643"
+ x2="57.066414"
+ y1="-1.5925453"
+ x1="7.0668874"
+ id="linearGradient843"
+ xlink:href="#linearGradient841"
+ inkscape:collect="always" />
+ </defs>
<sodipodi:namedview
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1"
- objecttolerance="10"
- gridtolerance="10"
- guidetolerance="10"
- inkscape:pageopacity="0"
- inkscape:pageshadow="2"
- inkscape:window-width="1920"
- inkscape:window-height="1017"
- id="namedview8"
- showgrid="false"
- inkscape:zoom="3.6875576"
- inkscape:cx="24"
- inkscape:cy="31.9995"
- inkscape:window-x="-8"
- inkscape:window-y="-8"
+ inkscape:current-layer="svg6"
inkscape:window-maximized="1"
- inkscape:current-layer="svg6" />
+ inkscape:window-y="-8"
+ inkscape:window-x="-8"
+ inkscape:cy="38.646211"
+ inkscape:cx="45.329738"
+ inkscape:zoom="7.501776"
+ fit-margin-bottom="0"
+ fit-margin-right="0"
+ fit-margin-left="0"
+ fit-margin-top="0"
+ showgrid="false"
+ id="namedview8"
+ inkscape:window-height="1017"
+ inkscape:window-width="1920"
+ inkscape:pageshadow="2"
+ inkscape:pageopacity="0"
+ guidetolerance="10"
+ gridtolerance="10"
+ objecttolerance="10"
+ borderopacity="1"
+ bordercolor="#666666"
+ pagecolor="#ffffff"
+ inkscape:document-rotation="0" />
<title
id="title2">book-bookmark</title>
<path
- d="M13.333 0c-2.946 0-5.333 2.4-5.333 5.333v48c0 2.933 2.388 5.333 5.333 5.333h5.333v5.333l6.667-5.333 6.667 5.333v-5.333h18.667c2.947 0 5.333-2.4 5.333-5.333v-2.667c0 2.933-2.387 5.333-5.333 5.333h-18.667v-5.333h-13.333v5.333h-4c-2.209 0-4-1.867-4-4 0-2.4 1.791-4 4-4h36c2.947 0 5.333-2.4 5.333-5.333v-37.333c0-2.933-2.387-5.333-5.333-5.333h-37.333z"
+ style="fill:url(#linearGradient843);fill-opacity:1;stroke:#daaf3c;stroke-opacity:1"
id="path4"
- style="fill:#e2cf57;fill-opacity:1" />
+ d="M 13.833,0.5 C 10.887,0.5 8.5,2.9 8.5,5.833 v 48 c 0,2.933 2.388,5.333 5.333,5.333 h 5.333 v 5.333 l 6.667,-5.333 6.667,5.333 v -5.333 h 18.667 c 2.947,0 5.333,-2.4 5.333,-5.333 v -2.667 c 0,2.933 -2.387,5.333 -5.333,5.333 H 32.5 V 51.166 H 19.167 v 5.333 h -4 c -2.209,0 -4,-1.867 -4,-4 0,-2.4 1.791,-4 4,-4 h 36 c 2.947,0 5.333,-2.4 5.333,-5.333 V 5.833 C 56.5,2.9 54.113,0.5 51.167,0.5 H 13.834 Z" />
</svg>