make CBL gradebook summary smaller
diff --git a/dtps.css b/dtps.css
index 1a5b4dd..4b77dea 100644
--- a/dtps.css
+++ b/dtps.css
@@ -3,14 +3,18 @@
(c) jottocraft 2018-2021
*/
+[data-theme-image] .sidebar {
+ background-color: transparent;
+}
+
[data-theme-type=light] {
--theme: #ccac56 !important;
--themeText: #ffffff !important;
}
[data-theme-type=dark] {
- --theme: #8c7541 !important;
- --themeText: #ffffff !important;
+ --theme: #cc9e54 !important;
+ --themeText: #261900 !important;
}
.alternateFont {
@@ -907,19 +911,37 @@
font-size: 14px;
opacity: 0.5;
position: absolute;
- top: 50px;
+ top: 40px;
}
.fixedGradeSummary #gradeSummary {
left: 275px;
+ border-radius: 0px 0px 20px 20px;
padding: 20px;
position: fixed;
top: 60px;
- z-index: 99;
+ z-index: 98;
width: calc(100% - 275px);
margin: 0px !important;
- background: var(--navbar);
+ background: var(--acrylic);
backdrop-filter: blur(20px);
+ box-shadow: var(--cardShadow);
+}
+
+.block.status {
+ min-height: 120px !important;
+}
+
+.block.status .main {
+ font-size: 28px !important;
+}
+
+.block.status .bottom {
+ font-size: 14px !important;
+}
+
+.block i {
+ font-size: 20px !important;
}
body.collapsedSidebar .fixedGradeSummary #gradeSummary {
diff --git a/scripts/core.js b/scripts/core.js
index a8ddd20..32e5528 100644
--- a/scripts/core.js
+++ b/scripts/core.js
@@ -1,7 +1,7 @@
/**
* @file DTPS Core functions and module loader
* @author jottocraft
- * @version v3.1.6
+ * @version v3.1.8
*
* @copyright Copyright (c) 2018-2021 jottocraft
* @license GPL-2.0-only
@@ -36,8 +36,8 @@
* @property {boolean} searchScrollListener True if the search scroll listener has been added
*/
var dtps = {
- ver: 317,
- readableVer: "v3.1.7",
+ ver: 318,
+ readableVer: "v3.1.8",
env: new URL(window.dtpsBaseURL || "https://powerplus.app").hostname == "localhost" ? "dev" : window.jottocraftSatEnv || "prod",
classes: [],
baseURL: window.dtpsBaseURL || "https://powerplus.app",