From 4d221670b30435e03083353c3ff1ff166f51d10f Mon Sep 17 00:00:00 2001
From: rhinolary <39052241+Roguim@users.noreply.github.com>
Date: Sat, 8 Oct 2022 22:10:45 +1100
Subject: [PATCH 01/24] Initial Teacher Modern Theme commit
Changed the settings label colours, fixed some button hover colours, and an active button hover colour.
TODO within Test Editing: Questions, Grading, Reporting, Input Styles, possibly more.
---
css/modern/all.css | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/css/modern/all.css b/css/modern/all.css
index d8b829eb..c307f1c0 100644
--- a/css/modern/all.css
+++ b/css/modern/all.css
@@ -2862,3 +2862,23 @@ variable-intellisense {
[modern=true]:root .splus-button-tile.active {
background-color: var(--active) !important;
}
+
+
+/* Teacher Areas */
+/* Test Setup */
+[modern="true"]:root .settings-label {
+ color: var(--text);
+}
+
+/* Button Hover */
+[modern="true"] ._2mytC:hover a,
+[modern="true"] ._2mytC:focus a,
+[modern="true"]:root .Oq4U1:hover:not(:active),
+[modern="true"]:root .Oq4U1:focus {
+ background-color: var(--hover-color);
+}
+
+/* Active Buttons */
+[modern="true"]:root .Oq4U1:active {
+ background-color: var(--active);
+}
From 62b451a163308ab0862ced1f814f77a6ee97d345 Mon Sep 17 00:00:00 2001
From: rhinolary <39052241+Roguim@users.noreply.github.com>
Date: Sat, 22 Oct 2022 20:35:52 +1100
Subject: [PATCH 02/24] Fixed colour on optgroup
---
css/modern/all.css | 1 +
1 file changed, 1 insertion(+)
diff --git a/css/modern/all.css b/css/modern/all.css
index c307f1c0..fab106d6 100644
--- a/css/modern/all.css
+++ b/css/modern/all.css
@@ -71,6 +71,7 @@ variable-intellisense {
[modern=true]:root textarea,
[modern=true]:root select,
+[modern=true]:root optgroup,
[modern=true]:root input[type=text] {
background-color: var(--input) !important;
color: var(--text) !important;
From ad428a0e6419445a2003bfff7a49c76a161d6b40 Mon Sep 17 00:00:00 2001
From: rhinolary <39052241+Roguim@users.noreply.github.com>
Date: Thu, 3 Nov 2022 18:37:06 +1100
Subject: [PATCH 03/24] Fixed up some mistakes and more Modern
Annotatable File (Teacher -> Edit Assignment) is now modern themed.
---
css/modern/all.css | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/css/modern/all.css b/css/modern/all.css
index fab106d6..9f58e2b6 100644
--- a/css/modern/all.css
+++ b/css/modern/all.css
@@ -2871,15 +2871,23 @@ variable-intellisense {
color: var(--text);
}
+/* Buttons */
+[modern=true]:root .s-grade-item-assignment-submission-app {
+ background-color: var(--primary);
+ color: var(--text);
+}
+
/* Button Hover */
-[modern="true"] ._2mytC:hover a,
-[modern="true"] ._2mytC:focus a,
-[modern="true"]:root .Oq4U1:hover:not(:active),
-[modern="true"]:root .Oq4U1:focus {
+[modern=true]:root ._2mytC:hover a,
+[modern=true]:root ._2mytC:focus a,
+[modern=true]:root .Oq4U1:hover:not(:active),
+[modern=true]:root .Oq4U1:focus,
+[modern=true]:root .s-grade-item-assignment-submission-app:hover,
+[modern=true]:root .s-grade-item-assignment-submission-app:focus {
background-color: var(--hover-color);
}
/* Active Buttons */
-[modern="true"]:root .Oq4U1:active {
+[modern=true]:root .Oq4U1:active {
background-color: var(--active);
}
From 4d4c7df4b14f717994aa67ea63613fc1546a908f Mon Sep 17 00:00:00 2001
From: rhinolary <39052241+Roguim@users.noreply.github.com>
Date: Thu, 3 Nov 2022 18:40:48 +1100
Subject: [PATCH 04/24] Unpublished Assignments Modern Theme
---
css/modern/all.css | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/css/modern/all.css b/css/modern/all.css
index 9f58e2b6..95bea962 100644
--- a/css/modern/all.css
+++ b/css/modern/all.css
@@ -2891,3 +2891,11 @@ variable-intellisense {
[modern=true]:root .Oq4U1:active {
background-color: var(--active);
}
+
+/* */
+/* Course Materials Page */
+/* */
+[modern=true]:root .unpublished,
+[modern=true]:root #folder-contents-table .unpublished .folder-contents-cell {
+ background-color: var(--primary);
+}
From 81f3fac910cf26b00fb0e444f19fed1c177d5d64 Mon Sep 17 00:00:00 2001
From: rhinolary <39052241+Roguim@users.noreply.github.com>
Date: Thu, 3 Nov 2022 18:44:50 +1100
Subject: [PATCH 05/24] View Course As box Modern Theme
I really need to start checking off multiple things at once as opposed to doing commits whenever I notice things.
---
css/modern/all.css | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/css/modern/all.css b/css/modern/all.css
index 95bea962..a8e6bd1d 100644
--- a/css/modern/all.css
+++ b/css/modern/all.css
@@ -2899,3 +2899,9 @@ variable-intellisense {
[modern=true]:root #folder-contents-table .unpublished .folder-contents-cell {
background-color: var(--primary);
}
+
+[modern=true] .masquerade-box {
+ background-color: var(--secondary);
+ border: var(--modern-border);
+}
+
From f95e966feea48a453a67c45346f73877acae235f Mon Sep 17 00:00:00 2001
From: rhinolary <39052241+Roguim@users.noreply.github.com>
Date: Thu, 3 Nov 2022 19:36:50 +1100
Subject: [PATCH 06/24] Stylised the popup overlay background
This was done in a modern-compatible way, however if modern is not enabled, will default to whatever the primary colour is.
---
css/all.css | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/css/all.css b/css/all.css
index bade8dc6..b586b166 100644
--- a/css/all.css
+++ b/css/all.css
@@ -411,6 +411,11 @@ h1.setting-title {
display: inline;
}
+.popups-overlay {
+ /* Modern-Compatible, however will default back to normal if Modern is not enabled.*/
+ background-color: var(--primary, var(--primary-color));
+}
+
.popups-body .no-answer-provided {
background: url('https://app.schoology.com/sites/all/themes/schoology_theme/images/error_404.png') no-repeat 0 0;
padding: 0 0 0 25px;
From 4fd0377ed3230c77faa04b3eeace6dcf53837a67 Mon Sep 17 00:00:00 2001
From: rhinolary <39052241+Roguim@users.noreply.github.com>
Date: Thu, 3 Nov 2022 19:57:15 +1100
Subject: [PATCH 07/24] Loading overlay now themed
---
css/all.css | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/css/all.css b/css/all.css
index b586b166..bcdb8007 100644
--- a/css/all.css
+++ b/css/all.css
@@ -411,7 +411,8 @@ h1.setting-title {
display: inline;
}
-.popups-overlay {
+.popups-overlay,
+.active-loader .loading-overlay {
/* Modern-Compatible, however will default back to normal if Modern is not enabled.*/
background-color: var(--primary, var(--primary-color));
}
From 47b7fa4319c64649020cc6795674af43996a9d17 Mon Sep 17 00:00:00 2001
From: rhinolary <39052241+Roguim@users.noreply.github.com>
Date: Thu, 3 Nov 2022 20:57:13 +1100
Subject: [PATCH 08/24] Grades, Badges, Attendance, Members should be done
---
css/modern/all.css | 120 +++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 116 insertions(+), 4 deletions(-)
diff --git a/css/modern/all.css b/css/modern/all.css
index a8e6bd1d..8dce6863 100644
--- a/css/modern/all.css
+++ b/css/modern/all.css
@@ -37,6 +37,14 @@ variable-intellisense {
--cal20: #461b2d;
}
+[modern=true]:root span[role="button"],
+[modern=true]:root #badges-fullscreen-btn {
+ background-color: var(--primary);
+ background-image: none;
+ border: var(--modern-border);
+ border-radius: var(--border-radius);
+}
+
[modern=true]:root {
--modern-border: var(--border-size) solid var(--contrast-border);
}
@@ -405,6 +413,7 @@ variable-intellisense {
[modern=true]:root tr.error {
background-color: var(--error) !important;
border-color: var(--error) !important;
+ color: var(--text);
}
[modern=true]:root .splus-courses-navbar-button div[role=menu],
@@ -867,6 +876,7 @@ variable-intellisense {
[modern=true]:root .userlist_input input[type=text] {
background-color: var(--input) !important;
border-radius: var(--border-radius) !important;
+ color: white;
}
[modern=true]:root #edge-filters-btn {
@@ -2864,10 +2874,11 @@ variable-intellisense {
background-color: var(--active) !important;
}
-
+/*****************/
/* Teacher Areas */
-/* Test Setup */
-[modern="true"]:root .settings-label {
+/* */
+/* Test Setup */
+[modern=true]:root .settings-label {
color: var(--text);
}
@@ -2883,7 +2894,13 @@ variable-intellisense {
[modern=true]:root .Oq4U1:hover:not(:active),
[modern=true]:root .Oq4U1:focus,
[modern=true]:root .s-grade-item-assignment-submission-app:hover,
-[modern=true]:root .s-grade-item-assignment-submission-app:focus {
+[modern=true]:root .s-grade-item-assignment-submission-app:focus,
+[modern=true]:root span[role="button"]:hover,
+[modern=true]:root span[role="button"]:focus,
+[modern=true]:root #grading-rubric-edit-slider .large-submit-buttons button.btn.submit.ng-binding:hover,
+[modern=true]:root #grading-rubric-edit-slider .large-submit-buttons button.btn.submit.ng-binding:focus,
+[modern=true]:root .sort-handle:hover,
+[modern=true]:root .sort-handle:focus {
background-color: var(--hover-color);
}
@@ -2905,3 +2922,98 @@ variable-intellisense {
border: var(--modern-border);
}
+/* */
+/* Badges Page */
+/* */
+[modern=true]:root .even .badge-course-table-cell {
+ background-color: var(--primary);
+}
+
+[modern=true]:root th.badge-course-table-cell,
+[modern=true]:root #s-badge-table-main .sticky-header th {
+ background-color: var(--secondary);
+}
+
+[modern=true]:root th.badge-course-table-cell .action-links-unfold {
+ background-color: var(--input) !important;
+}
+
+[modern=true]:root th.badge-course-table-cell .action-links-unfold span {
+ filter: contrast(5%);
+}
+
+/* */
+/* Grades Page */
+/* */
+[modern=true]:root .scale-level-scale {
+ background-color: var(--highlight);
+ border: var(--modern-border);
+}
+
+[modern=true]:root #s-grading-category-add-form .form-item,
+[modern=true]:root #s-grading-category-add-form fieldset {
+ background-color: var(--primary);
+}
+
+[modern=true]:root #grading-rubric-edit-slider .right-column {
+ border-color: var(--border-color);
+}
+
+[modern=true]:root #grading-rubric-edit-slider .large-submit-buttons {
+ background-color: var(--secondary);
+ border-color: var(--border-color);
+}
+
+[modern=true]:root #grading-rubric-edit-slider .large-submit-buttons button.btn.submit.ng-binding {
+ background-color: var(--primary);
+ box-shadow: 0px 2px 0px var(--highlight);
+}
+
+[modern=true]:root .sort-handle {
+ background-color: var(--accent);
+}
+
+[modern=true]:root #grading-rubric-edit-slider .ui-sortable-helper,
+[modern=true]:root #district-mastery-grading-rubric-edit-slider .ui-sortable-helper,
+[modern=true]:root #grading-rubric-edit-slider .ui-sortable-helper td,
+[modern=true]:root #district-mastery-grading-rubric-edit-slider .ui-sortable-helper td {
+ background-color: var(--active);
+}
+
+[modern=true]:root .rubric-editor-add-criteria,
+[modern=true]:root .rubric-editor-add-objectives {
+ color: text;
+}
+
+[modern=true]:root #grading-rubric-edit-slider .large-submit-buttons .btn.cancel.ng-scope {
+ color: var(--muted-text);
+}
+
+[modern=true]:root #grading-rubric-edit-slider .large-submit-buttons .btn.cancel.ng-scope:hover,
+[modern=true]:root #grading-rubric-edit-slider .large-submit-buttons .btn.cancel.ng-scope:focus {
+ color: var(--text);
+}
+
+[modern=true]:root .alignment-form-container .header {
+ background-color: var(--secondary);
+}
+
+[modern=true]:root .guid-item:active,
+[modern=true]:root .alignment-form-container .header .search-tab.active,
+[modern=true]:root .alignment-form-container li.active,
+[modern=true]:root .alignment-form-container div.active {
+ background-color: var(--active);
+}
+
+[modern=true]:root .alignment-breadcrumbs .breadcrumb-item:first-child,
+[modern=true]:root .alignment-breadcrumbs .breadcrumb-item,
+[modern=true]:root .alignment-form-container li,
+[modern=true]:root .selected-container .selected-item {
+ color: var(--link-color);
+ border-color: var(--contrast-border);
+}
+
+[modern=true]:root .alignment-form-container li .gray,
+[modern=true]:root .alignment-form-container div .gray {
+ color: var(--text);
+}
From 32b47d3dd5b180aa849ab4424753d6ffd25bc546 Mon Sep 17 00:00:00 2001
From: rhinolary <39052241+Roguim@users.noreply.github.com>
Date: Thu, 3 Nov 2022 21:27:05 +1100
Subject: [PATCH 09/24] Members done-- Attendance wasn't either.
---
css/modern/all.css | 71 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 71 insertions(+)
diff --git a/css/modern/all.css b/css/modern/all.css
index 8dce6863..a364df60 100644
--- a/css/modern/all.css
+++ b/css/modern/all.css
@@ -2922,6 +2922,8 @@ variable-intellisense {
border: var(--modern-border);
}
+
+
/* */
/* Badges Page */
/* */
@@ -2942,6 +2944,9 @@ variable-intellisense {
filter: contrast(5%);
}
+
+
+
/* */
/* Grades Page */
/* */
@@ -3017,3 +3022,69 @@ variable-intellisense {
[modern=true]:root .alignment-form-container div .gray {
color: var(--text);
}
+
+/* */
+/* MEMBERS PAGE */
+/* */
+[modern=true]:root .s-enrollment-invite-form .metadata-wrapper,
+[modern=true]:root #grading-group-create {
+ color: var(--text);
+}
+
+[modern=true]:root .s-enrollment-invite-form .user-invite-wrapper {
+ background-color: var(--accent);
+ color: var(--text);
+}
+
+[modern=true]:root .s-enrollment-invite-form .user-name-wrapper,
+[modern=true]:root .people-filters .selected-users,
+[modern=true]:root .people-filters .show-all-users {
+ color: var(--link-color);
+}
+
+[modern=true]:root .people-filters .selected-users.active,
+[modern=true]:root .people-filters .show-all-users.active {
+ color: var(--contrast-text);
+ background-color: var(--active);
+}
+
+[modern=true]:root .term-item-tag,
+[modern=true]:root .locked-question .tag-item {
+ color: var(--text);
+ background-color: var(--secondary);
+ border-color: var(--border-color);
+}
+
+[modern=true]:root .link-btn {
+ background: var(--secondary);
+ color: var(--text);
+ border: var(--modern-border);
+ border-radius: var(--border-radius);
+ border-color: var(--border-color);
+}
+
+[modern=true]:root .s-enrollment-invite-form .s-enrollment-invite-list-wrapper,
+[modern=true]:root .s-enrollment-invite-form #network-selected {
+ background-color: var(--primary);
+ border-color: var(--border-color);
+}
+
+[modern=true]:root .submit-btn {
+ background: var(--primary);
+ color: var(--contrast-text);
+ border-radius: var(--border-radius);
+}
+
+[modern=true]:root .cancel-btn {
+ background: var(--accent) !important;
+ color: var(--muted-text) !important;
+ border-radius: var(--border-radius);
+}
+
+[modern=true]:root .submit-btn:hover,
+[modern=true]:root .submit-btn:focus,
+[modern=true]:root .cancel-btn:hover,
+[modern=true]:root .cancel-btn:focus {
+ background: var(--hover-color) !important;
+ color: var(--text) !important;
+}
From 5917aa544fe463eb9a1a8a9c9969b8b0d5ba73e2 Mon Sep 17 00:00:00 2001
From: rhinolary <39052241+Roguim@users.noreply.github.com>
Date: Thu, 3 Nov 2022 21:57:24 +1100
Subject: [PATCH 10/24] Attendance Page should now work.
---
css/modern/all.css | 74 ++++++++++++++++++++++++++++++++++++++++++----
1 file changed, 68 insertions(+), 6 deletions(-)
diff --git a/css/modern/all.css b/css/modern/all.css
index a364df60..ed785419 100644
--- a/css/modern/all.css
+++ b/css/modern/all.css
@@ -2924,15 +2924,19 @@ variable-intellisense {
-/* */
-/* Badges Page */
-/* */
-[modern=true]:root .even .badge-course-table-cell {
+/* */
+/* Badges & Attendance Pages */
+/* */
+[modern=true]:root .even .badge-course-table-cell,
+[modern=true]:root #s-attendance-edit-form tbody td,
+[modern=true]:root #s-attendance-edit-form tbody td div,
+[modern=true] #s-attendance-edit-form tbody th {
background-color: var(--primary);
}
[modern=true]:root th.badge-course-table-cell,
-[modern=true]:root #s-badge-table-main .sticky-header th {
+[modern=true]:root #s-badge-table-main .sticky-header th,
+[modern=true]:root #s-attendance-edit-form thead th {
background-color: var(--secondary);
}
@@ -2940,11 +2944,68 @@ variable-intellisense {
background-color: var(--input) !important;
}
-[modern=true]:root th.badge-course-table-cell .action-links-unfold span {
+[modern=true]:root th.badge-course-table-cell .action-links-unfold span,
+[modern=true]:root .date-chooser a.prev span,
+[modern=true]:root .date-chooser a.next span {
filter: contrast(5%);
}
+[modern=true]:root #s-attendance-taken-row .attendance-taken-label {
+ color: var(--text);
+}
+
+[modern=true]:root #s-attendance-taken-row.odd td,
+[modern=true]:root #s-attendance-taken-row.even td {
+ background-color: var(--accent);
+}
+
+[modern=true]:root #s-attendance-edit-form tbody tr:hover th,
+[modern=true]:root #s-attendance-edit-form #s-attendance-taken-row .attendance-taken-status:hover,
+[modern=true]:root #s-attendance-edit-form #s-attendance-taken-row .attendance-taken-status:focus {
+ background-color: var(--hover-color);
+}
+
+[modern=true]:root #s-attendance-edit-form #s-attendance-taken-row .edited {
+ background-color: var(--highlight);
+}
+
+[modern=true]:root #attendance-comment-field {
+ background-color: var(--accent);
+ border: var(--modern-border);
+}
+
+[modern=true]:root .comment-status-label {
+ color: var(--text);
+}
+
+[modern=true]:root #s-attendance-edit-form #s-attendance-taken-row .attendance-taken-status--start {
+ background-color: var(--active);
+ border-color: var(--contrast-border);
+}
+
+[modern=true]:root .footer-buttons .date-chooser-calendar,
+[modern=true]:root .header-buttons .date-chooser-calendar,
+[modern=true]:root .footer-buttons .infotip,
+[modern=true]:root .header-buttons .infotip {
+ background: var(--primary);
+ border: var(--modern-border);
+ border-radius: var(--border-radius);
+}
+[modern=true]:root a.prev:hover,
+[modern=true]:root a.prev:focus,
+[modern=true]:root a.next:hover,
+[modern=true]:root a.next:focus {
+ background-color: var(--hover-color);
+}
+
+[modern=true]:root a.prev {
+ border-radius: var(--border-radius) 0 0 var(--border-radius);
+}
+
+[modern=true]:root a.next {
+ border-radius: 0 var(--border-radius) var(--border-radius) 0;
+}
/* */
@@ -3088,3 +3149,4 @@ variable-intellisense {
background: var(--hover-color) !important;
color: var(--text) !important;
}
+
From b4a67bba1e55f56561582070020334f4b1c86a03 Mon Sep 17 00:00:00 2001
From: rhinolary <39052241+Roguim@users.noreply.github.com>
Date: Thu, 3 Nov 2022 22:00:53 +1100
Subject: [PATCH 11/24] Popups overlay is ID, not Class.
---
css/all.css | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/css/all.css b/css/all.css
index bcdb8007..3d559880 100644
--- a/css/all.css
+++ b/css/all.css
@@ -411,7 +411,7 @@ h1.setting-title {
display: inline;
}
-.popups-overlay,
+#popups-overlay,
.active-loader .loading-overlay {
/* Modern-Compatible, however will default back to normal if Modern is not enabled.*/
background-color: var(--primary, var(--primary-color));
From 768b39458c2c76b972d5805b57a8c8fbec455c56 Mon Sep 17 00:00:00 2001
From: rhinolary <39052241+Roguim@users.noreply.github.com>
Date: Thu, 3 Nov 2022 22:04:01 +1100
Subject: [PATCH 12/24] I made le big mistake
Yeah nah Comment/Like on comments shouldn't have a border... oops! those are buttons!
---
css/modern/all.css | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/css/modern/all.css b/css/modern/all.css
index ed785419..1e517224 100644
--- a/css/modern/all.css
+++ b/css/modern/all.css
@@ -37,14 +37,6 @@ variable-intellisense {
--cal20: #461b2d;
}
-[modern=true]:root span[role="button"],
-[modern=true]:root #badges-fullscreen-btn {
- background-color: var(--primary);
- background-image: none;
- border: var(--modern-border);
- border-radius: var(--border-radius);
-}
-
[modern=true]:root {
--modern-border: var(--border-size) solid var(--contrast-border);
}
@@ -2927,6 +2919,13 @@ variable-intellisense {
/* */
/* Badges & Attendance Pages */
/* */
+[modern=true]:root #badges-fullscreen-btn {
+ background-color: var(--primary);
+ background-image: none;
+ border: var(--modern-border);
+ border-radius: var(--border-radius);
+}
+
[modern=true]:root .even .badge-course-table-cell,
[modern=true]:root #s-attendance-edit-form tbody td,
[modern=true]:root #s-attendance-edit-form tbody td div,
From befe31cce30104b9f378fd6688e171daa1166a19 Mon Sep 17 00:00:00 2001
From: rhinolary <39052241+Roguim@users.noreply.github.com>
Date: Thu, 3 Nov 2022 22:45:00 +1100
Subject: [PATCH 13/24] Added the Gradebook Page to Modern Theme
---
css/modern/all.css | 146 ++++++++++++++++++++++++++++++++++++---------
1 file changed, 117 insertions(+), 29 deletions(-)
diff --git a/css/modern/all.css b/css/modern/all.css
index 1e517224..cdfbd5a2 100644
--- a/css/modern/all.css
+++ b/css/modern/all.css
@@ -216,8 +216,8 @@ variable-intellisense {
}
/* Hover over Links in Schoology's Native Notifications */
-[modern="true"]:root .drGks a:hover,
-[modern="true"]:root .drGks a:focus {
+[modern=true]:root .drGks a:hover,
+[modern=true]:root .drGks a:focus {
background-color: var(--highlight);
}
@@ -776,7 +776,7 @@ variable-intellisense {
color: var(--text) !important;
}
-[modern="true"]:root .comment-body-wrapper {
+[modern=true]:root .comment-body-wrapper {
color: var(--text) !important;
}
@@ -1331,35 +1331,35 @@ variable-intellisense {
background-color: var(--input);
}
-[modern="true"]:root #ui-datepicker-div {
+[modern=true]:root #ui-datepicker-div {
background-color: var(--input) !important;
}
-[modern="true"]:root .ui-datepicker-days-cell a {
+[modern=true]:root .ui-datepicker-days-cell a {
background-color: var(--primary) !important;
border-color: var(--border-color) !important;
}
-[modern="true"]:root .ui-datepicker-unselectable {
+[modern=true]:root .ui-datepicker-unselectable {
background-color: var(--accent) !important;
}
-[modern="true"]:root .ui-datepicker-days-cell.ui-datepicker-current-day a {
+[modern=true]:root .ui-datepicker-days-cell.ui-datepicker-current-day a {
background-color: var(--active) !important;
}
-[modern="true"]:root .ui-datepicker-days-cell-over a {
+[modern=true]:root .ui-datepicker-days-cell-over a {
background-color: var(--hover-color) !important;
}
-[modern="true"]:root .ui-datepicker-links > div > a {
+[modern=true]:root .ui-datepicker-links > div > a {
background-color: var(--input);
background-blend-mode: screen;
border: var(--modern-border);
border-radius: var(--border-radius);
}
-[modern="true"]:root .ui-datepicker-links > div:hover > a {
+[modern=true]:root .ui-datepicker-links > div:hover > a {
background-color: var(--hover-color);
}
@@ -1780,7 +1780,7 @@ variable-intellisense {
}
[modern=true]:root .portfolio-card,
-[modern="true"]:root .item-card {
+[modern=true]:root .item-card {
background: var(--primary) !important;
}
@@ -1790,46 +1790,54 @@ variable-intellisense {
border-radius: var(--border-radius) !important;
}
-[modern="true"]:root .tw-bs .portfolio-card__item-count-num {
+[modern=true]:root .tw-bs .portfolio-card__item-count-num {
color: var(--contrast-text) !important;
}
-[modern="true"]:root .tw-bs .btn {
+[modern=true]:root .tw-bs .btn {
background-color: var(--primary) !important;
border: var(--modern-border) !important;
border-radius: var(--border-radius) !important;
color: var(--contrast-text) !important;
}
-[modern="true"]:root .tw-bs .item-form__title-inline .sgy-autosave-input .form-group:hover label,
-[modern="true"]:root .tw-bs .item-form__title-inline .sgy-autosave-input .form-group:hover label span {
+[modern=true]:root .tw-bs .btn:hover {
+ background-color: var(--hover-color) !important;
+}
+
+[modern=true]:root .tw-bs .dropdown-menu {
+ background-color: var(--primary) !important;
+}
+
+[modern=true]:root .tw-bs .item-form__title-inline .sgy-autosave-input .form-group:hover label,
+[modern=true]:root .tw-bs .item-form__title-inline .sgy-autosave-input .form-group:hover label span {
color: var(--muted-text) !important;
}
-[modern="true"]:root .sgy-autosave-input.sgy-autosave-input--editing label span,
-[modern="true"]:root .sgy-autosave-input.sgy-autosave-input--editing .form-group:hover label span {
+[modern=true]:root .sgy-autosave-input.sgy-autosave-input--editing label span,
+[modern=true]:root .sgy-autosave-input.sgy-autosave-input--editing .form-group:hover label span {
color: var(--text) !important;
}
-[modern="true"]:root .tw-bs .remaining-char-len {
+[modern=true]:root .tw-bs .remaining-char-len {
color: var(--text) !important;
}
-[modern="true"]:root .tw-bs .add-item-dropdown__add-new-icon::before,
-[modern="true"]:root .tw-bs .portfolio-list__add-new-icon::before {
+[modern=true]:root .tw-bs .add-item-dropdown__add-new-icon::before,
+[modern=true]:root .tw-bs .portfolio-list__add-new-icon::before {
background-color: var(--primary) !important;
border-color: var(--border-color) !important;
}
-[modern="true"]:root .tw-bs .item-view-container,
-[modern="true"]:root .tw-bs .item-form__title-bar,
-[modern="true"]:root .tw-bs .item-page {
+[modern=true]:root .tw-bs .item-view-container,
+[modern=true]:root .tw-bs .item-form__title-bar,
+[modern=true]:root .tw-bs .item-page {
background-color: var(--background-color) !important;
border-color: var(--border-color) !important;
outline-color: var(--border-color) !important;
}
-[modern="true"]:root .tw-bs .item-card__title-link {
+[modern=true]:root .tw-bs .item-card__title-link {
color: var(--link-color) !important;
}
@@ -2125,11 +2133,11 @@ variable-intellisense {
border-color: var(--contrast-border) !important;
}
-[modern="true"]:root .update-comments-pagenation {
+[modern=true]:root .update-comments-pagenation {
background-color: var(--accent);
}
-[modern="true"]:root .feed-comments-viewall-container {
+[modern=true]:root .feed-comments-viewall-container {
color: var(--link-color);
}
@@ -3007,9 +3015,9 @@ variable-intellisense {
}
-/* */
-/* Grades Page */
-/* */
+/* */
+/* Grade Setup Page */
+/* */
[modern=true]:root .scale-level-scale {
background-color: var(--highlight);
border: var(--modern-border);
@@ -3083,6 +3091,11 @@ variable-intellisense {
color: var(--text);
}
+[modern=true]:root .empty {
+ color: var(--muted-text);
+}
+
+
/* */
/* MEMBERS PAGE */
/* */
@@ -3149,3 +3162,78 @@ variable-intellisense {
color: var(--text) !important;
}
+
+
+
+/* */
+/* Gradebook Page */
+/* */
+[modern=true]:root .s-js-grid-loading-cover {
+ background-color: var(--primary);
+}
+
+[modern=true]:root .grader-grid-table-header-wrapper .grader-grid-header-cell,
+[modern=true]:root .grader-grid-table-header-wrapper .grader-grid-header-cell.hidden-grade .gradebook__major-period-title,
+[modern=true]:root .grader-grid-table-header-wrapper .grader-grid-header-cell.showing-unpublished .gradebook__major-period-title {
+ background-color: var(--secondary);
+ color: var(--text);
+}
+
+[modern=true]:root .enhanced-gb-body .grid-table-col-header-static-content .select2-container:not(.select2-dropdown-open) .select2-choice > .select2-chosen,
+[modern=true]:root .enhanced-gb-body .s-js-grades-gradebook-options-bar .select2-container:not(.select2-dropdown-open) .select2-choice > .select2-chosen {
+ color: var(--text) !important;
+}
+
+[modern=true]:root .grader-grid--crosshair-line-column,
+[modern=true]:root .grader-grid--crosshair-line-row,
+[modern=true]:root .grader-grid--crosshair-center {
+ background-color: var(--hover-color) !important;
+}
+
+[modern=true]:root .gradebook__grade-custom-override + .grader-grid-col-header-gp,
+[modern=true]:root .gradebook__grade-custom-override + .grader-grid-col-header-overall {
+ background-color: var(--primary);
+}
+
+[modern=true]:root .grader-grid-cell:not(.gradebook__grade-custom-override) .grader-grid-cell-block:not(.updated) .grade-value,
+[modern=true]:root .grader-grid-cell:not(.gradebook__grade-custom-override) .grader-grid-cell-block:not(.updated) .s-js-grader-grid-cell-display,
+[modern=true]:root .grader-grid-table-header-wrapper .gradebook__major-grade-period-header .gradebook__subperiod-element-calculated,
+[modern=true]:root .grader-grid-table-header-wrapper .gradebook__major-grade-period-header .grading-period-override-column {
+ color: var(--text);
+}
+
+[modern=true]:root .gradebook__subperiod-element-calculated.has-override-column,
+[modern=true]:root .grading-period-override-column {
+ background-color: var(--accent);
+}
+
+[modern=true]:root .enhanced-gb-body .s-js-grades-gradebook-options-bar .select2-container.select2-dropdown-open.select2-container-active span {
+ color: var(--link-color);
+}
+
+[modern=true]:root .enhanced-gb-body .s-js-grades-gradebook-options-bar .select2-container.select2-dropdown-open.select2-container-active {
+ background-color: var(--primary);
+ border-radius: var(--border-radius);
+}
+
+[modern=true]:root #autocomplete.grading-scale-ac-popup ul li,
+[modern=true]:root .enhanced-gb-body #main-content-wrapper .action-links a,
+[modern=true]:root .enhanced-gb-body #main-content-wrapper .action-links button,
+[modern=true]:root .enhanced-gb-body .s-course-csm-toggler.select2-toggle.select2-drop .select2-result-label,
+[modern=true]:root .enhanced-gb-body .s-grades-grader-filters-dropdown.select2-toggle.select2-drop .select2-result-label {
+ background-color: var(--secondary);
+ color: var(--text);
+}
+
+[modern=true]:root #autocomplete.grading-scale-ac-popup ul li:hover,
+[modern=true]:root .enhanced-gb-body #main-content-wrapper .action-links a:hover,
+[modern=true]:root .enhanced-gb-body #main-content-wrapper .action-links button:hover,
+[modern=true]:root .enhanced-gb-body .s-course-csm-toggler.select2-toggle.select2-drop .select2-result-label:hover,
+[modern=true]:root .enhanced-gb-body .s-grades-grader-filters-dropdown.select2-toggle.select2-drop .select2-result-label:hover,
+[modern=true]:root #autocomplete.grading-scale-ac-popup ul li:focus,
+[modern=true]:root .enhanced-gb-body #main-content-wrapper .action-links a:focus,
+[modern=true]:root .enhanced-gb-body #main-content-wrapper .action-links button:focus,
+[modern=true]:root .enhanced-gb-body .s-course-csm-toggler.select2-toggle.select2-drop .select2-result-label:focus,
+[modern=true]:root .enhanced-gb-body .s-grades-grader-filters-dropdown.select2-toggle.select2-drop .select2-result-label:focus {
+ background-color: var(--hover-color);
+}
From e769dff39ee321f97890d0b9b0a56fb3d1cb8291 Mon Sep 17 00:00:00 2001
From: rhinolary <39052241+Roguim@users.noreply.github.com>
Date: Thu, 3 Nov 2022 22:56:10 +1100
Subject: [PATCH 14/24] Final touches on Teacher Modern Theme
Of course, there will be more work to do, but this is most of it done now.
---
css/modern/all.css | 26 +++++++++++++++++++++++++-
1 file changed, 25 insertions(+), 1 deletion(-)
diff --git a/css/modern/all.css b/css/modern/all.css
index cdfbd5a2..23250c0d 100644
--- a/css/modern/all.css
+++ b/css/modern/all.css
@@ -2909,6 +2909,27 @@ variable-intellisense {
background-color: var(--active);
}
+[modern="true"]:root .s-share-checkbox-form-wrapper .checkboxes-wrapper {
+ background-color: var(--primary);
+}
+
+[modern="true"]:root #attachment-selector #toggle-copy:hover {
+ background-color: var(--hover-color);
+}
+
+
+[modern="true"]:root .comments-list .comment {
+ background: var(--primary);
+ border: var(--modern-border);
+ border-color: var(--border-color);
+ color: var(--text);
+}
+
+[modern=true]:root .comment-date {
+ color: var(--muted-text);
+}
+
+
/* */
/* Course Materials Page */
/* */
@@ -2922,7 +2943,10 @@ variable-intellisense {
border: var(--modern-border);
}
-
+[modern="true"]:root div.grade-assignment-popup .description, [modern="true"]:root #sEditGradeTable tr th {
+ color: var(--text);
+ background-color: var(--primary);
+}
/* */
/* Badges & Attendance Pages */
From cbc4f145e0a4b4d4ca12a52f4e5992c2192fccbf Mon Sep 17 00:00:00 2001
From: rhinolary <39052241+Roguim@users.noreply.github.com>
Date: Thu, 3 Nov 2022 23:10:10 +1100
Subject: [PATCH 15/24] Oops forgot to modernize parent names
---
css/modern/all.css | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/css/modern/all.css b/css/modern/all.css
index 23250c0d..54537c33 100644
--- a/css/modern/all.css
+++ b/css/modern/all.css
@@ -3123,6 +3123,10 @@ variable-intellisense {
/* */
/* MEMBERS PAGE */
/* */
+[modern=true]:root .parent-names-list.description {
+ color: var(--muted-text);
+}
+
[modern=true]:root .s-enrollment-invite-form .metadata-wrapper,
[modern=true]:root #grading-group-create {
color: var(--text);
From 87a1809c4470f781cb70f5cbc33114d6498dd3d5 Mon Sep 17 00:00:00 2001
From: rhinolary <39052241+Roguim@users.noreply.github.com>
Date: Thu, 3 Nov 2022 23:13:01 +1100
Subject: [PATCH 16/24] Minor: Attendance Header needed Background
Not background color.
---
css/modern/all.css | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/css/modern/all.css b/css/modern/all.css
index 54537c33..06b20345 100644
--- a/css/modern/all.css
+++ b/css/modern/all.css
@@ -2968,7 +2968,7 @@ variable-intellisense {
[modern=true]:root th.badge-course-table-cell,
[modern=true]:root #s-badge-table-main .sticky-header th,
[modern=true]:root #s-attendance-edit-form thead th {
- background-color: var(--secondary);
+ background: var(--secondary);
}
[modern=true]:root th.badge-course-table-cell .action-links-unfold {
From c308c2ab17092a2d8ad53fee3e4f88142a99517f Mon Sep 17 00:00:00 2001
From: rhinolary <39052241+Roguim@users.noreply.github.com>
Date: Thu, 3 Nov 2022 23:31:54 +1100
Subject: [PATCH 17/24] Very minor fixes
Left/Right arrows were forgotten as far as colours go,
Fullscreen button on badges now shows
Rubric -- Forgot to change the text colour on the buttons and active background on the handle... Did you know that Schoology loves using !important?! I didn't!
---
css/modern/all.css | 21 +++++++++++++++++----
1 file changed, 17 insertions(+), 4 deletions(-)
diff --git a/css/modern/all.css b/css/modern/all.css
index 06b20345..b2fa27a8 100644
--- a/css/modern/all.css
+++ b/css/modern/all.css
@@ -2953,7 +2953,6 @@ variable-intellisense {
/* */
[modern=true]:root #badges-fullscreen-btn {
background-color: var(--primary);
- background-image: none;
border: var(--modern-border);
border-radius: var(--border-radius);
}
@@ -3027,7 +3026,12 @@ variable-intellisense {
[modern=true]:root a.prev:focus,
[modern=true]:root a.next:hover,
[modern=true]:root a.next:focus {
- background-color: var(--hover-color);
+ background: var(--hover-color);
+}
+
+[modern=true]:root a.prev,
+[modern=true]:root a.next {
+ background: var(--primary);
}
[modern=true]:root a.prev {
@@ -3074,7 +3078,7 @@ variable-intellisense {
[modern=true]:root #district-mastery-grading-rubric-edit-slider .ui-sortable-helper,
[modern=true]:root #grading-rubric-edit-slider .ui-sortable-helper td,
[modern=true]:root #district-mastery-grading-rubric-edit-slider .ui-sortable-helper td {
- background-color: var(--active);
+ background-color: var(--active) !important;
}
[modern=true]:root .rubric-editor-add-criteria,
@@ -3112,13 +3116,18 @@ variable-intellisense {
[modern=true]:root .alignment-form-container li .gray,
[modern=true]:root .alignment-form-container div .gray {
- color: var(--text);
+ color: var(--text) !important;
}
[modern=true]:root .empty {
color: var(--muted-text);
}
+[modern="true"]:root .add-criteria-text {
+ color: var(--text);
+}
+
+
/* */
/* MEMBERS PAGE */
@@ -3265,3 +3274,7 @@ variable-intellisense {
[modern=true]:root .enhanced-gb-body .s-grades-grader-filters-dropdown.select2-toggle.select2-drop .select2-result-label:focus {
background-color: var(--hover-color);
}
+
+[modern="true"]:root #grade-comment-field {
+ background-color: var(--primary);
+}
From 33dedb451acd36607e3917a2edc121fba2c9e353 Mon Sep 17 00:00:00 2001
From: rhinolary <39052241+Roguim@users.noreply.github.com>
Date: Mon, 14 Nov 2022 13:17:52 +1100
Subject: [PATCH 18/24] Made the header + footer links link colour.
---
css/modern/all.css | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/css/modern/all.css b/css/modern/all.css
index b2fa27a8..380e47ff 100644
--- a/css/modern/all.css
+++ b/css/modern/all.css
@@ -248,7 +248,7 @@ variable-intellisense {
[modern=true]:root footer li a,
[modern=true]:root header li a {
- color: var(--contrast-text) !important;
+ color: var(--link-color) !important;
}
[modern=true]:root .splus-modal-footer-text {
From 70d5eb41c95bd0e68f05b295e803fe757f7196c0 Mon Sep 17 00:00:00 2001
From: rhinolary <39052241+Roguim@users.noreply.github.com>
Date: Wed, 7 Dec 2022 15:44:28 +1100
Subject: [PATCH 19/24] Migrated my changes to scss
Find and replace is helpful :+1:
---
scss/modern/all.scss | 421 ++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 419 insertions(+), 2 deletions(-)
diff --git a/scss/modern/all.scss b/scss/modern/all.scss
index 52fa88b8..b1894dbd 100644
--- a/scss/modern/all.scss
+++ b/scss/modern/all.scss
@@ -72,6 +72,7 @@ variable-intellisense {
textarea,
select,
+ optgroup,
input[type=text] {
background-color: var(--input) !important;
color: var(--text) !important;
@@ -266,7 +267,7 @@ variable-intellisense {
footer li a,
header li a {
- color: var(--contrast-text) !important;
+ color: var(--link-color) !important;
}
.splus-modal-footer-text {
@@ -435,6 +436,7 @@ variable-intellisense {
tr.error {
background-color: var(--error) !important;
border-color: var(--error) !important;
+ color: var(--text);
}
// Courses and Groups Dropdown
@@ -911,6 +913,7 @@ variable-intellisense {
.userlist_input input[type=text] {
background-color: var(--input) !important;
border-radius: var(--border-radius) !important;
+ color: white;
}
#edge-filters-btn {
@@ -1860,6 +1863,14 @@ variable-intellisense {
.portfolio-view__add-new-bg {
border-bottom: var(--modern-border) !important;
}
+
+ .btn:hover {
+ background-color: var(--hover-color) !important;
+ }
+
+ .dropdown-menu {
+ background-color: var(--primary) !important;
+ }
}
.portfolio-route-content {
@@ -3111,4 +3122,410 @@ variable-intellisense {
.splus-button-tile.active {
background-color: var(--active) !important;
}
-}
\ No newline at end of file
+
+ /*****************/
+ /* Teacher Areas */
+ /* */
+ /* Test Setup */
+ .settings-label {
+ color: var(--text);
+ }
+
+ /* Buttons */
+ .s-grade-item-assignment-submission-app {
+ background-color: var(--primary);
+ color: var(--text);
+ }
+
+ /* Button Hover */
+ ._2mytC:hover a,
+ ._2mytC:focus a,
+ .Oq4U1:hover:not(:active),
+ .Oq4U1:focus,
+ .s-grade-item-assignment-submission-app:hover,
+ .s-grade-item-assignment-submission-app:focus,
+ span[role="button"]:hover,
+ span[role="button"]:focus,
+ #grading-rubric-edit-slider .large-submit-buttons button.btn.submit.ng-binding:hover,
+ #grading-rubric-edit-slider .large-submit-buttons button.btn.submit.ng-binding:focus,
+ .sort-handle:hover,
+ .sort-handle:focus {
+ background-color: var(--hover-color);
+ }
+
+ /* Active Buttons */
+ .Oq4U1:active {
+ background-color: var(--active);
+ }
+
+ .s-share-checkbox-form-wrapper .checkboxes-wrapper {
+ background-color: var(--primary);
+ }
+
+ #attachment-selector #toggle-copy:hover {
+ background-color: var(--hover-color);
+ }
+
+
+ .comments-list .comment {
+ background: var(--primary);
+ border: var(--modern-border);
+ border-color: var(--border-color);
+ color: var(--text);
+ }
+
+ .comment-date {
+ color: var(--muted-text);
+ }
+
+
+
+ /* */
+ /* Course Materials Page */
+ /* */
+ .unpublished,
+ #folder-contents-table .unpublished .folder-contents-cell {
+ background-color: var(--primary);
+ }
+
+ .masquerade-box {
+ background-color: var(--secondary);
+ border: var(--modern-border);
+ }
+
+ div.grade-assignment-popup .description, #sEditGradeTable tr th {
+ color: var(--text);
+ background-color: var(--primary);
+ }
+
+ /* */
+ /* Badges & Attendance Pages */
+ /* */
+ #badges-fullscreen-btn {
+ background-color: var(--primary);
+ border: var(--modern-border);
+ border-radius: var(--border-radius);
+ }
+
+ .even .badge-course-table-cell,
+ #s-attendance-edit-form tbody td,
+ #s-attendance-edit-form tbody td div,
+ #s-attendance-edit-form tbody th {
+ background-color: var(--primary);
+ }
+
+ th.badge-course-table-cell,
+ #s-badge-table-main .sticky-header th,
+ #s-attendance-edit-form thead th {
+ background: var(--secondary);
+ }
+
+ th.badge-course-table-cell .action-links-unfold {
+ background-color: var(--input) !important;
+ }
+
+ th.badge-course-table-cell .action-links-unfold span,
+ .date-chooser a.prev span,
+ .date-chooser a.next span {
+ filter: contrast(5%);
+ }
+
+ #s-attendance-taken-row .attendance-taken-label {
+ color: var(--text);
+ }
+
+ #s-attendance-taken-row.odd td,
+ #s-attendance-taken-row.even td {
+ background-color: var(--accent);
+ }
+
+ #s-attendance-edit-form tbody tr:hover th,
+ #s-attendance-edit-form #s-attendance-taken-row .attendance-taken-status:hover,
+ #s-attendance-edit-form #s-attendance-taken-row .attendance-taken-status:focus {
+ background-color: var(--hover-color);
+ }
+
+ #s-attendance-edit-form #s-attendance-taken-row .edited {
+ background-color: var(--highlight);
+ }
+
+ #attendance-comment-field {
+ background-color: var(--accent);
+ border: var(--modern-border);
+ }
+
+ .comment-status-label {
+ color: var(--text);
+ }
+
+ #s-attendance-edit-form #s-attendance-taken-row .attendance-taken-status--start {
+ background-color: var(--active);
+ border-color: var(--contrast-border);
+ }
+
+ .footer-buttons .date-chooser-calendar,
+ .header-buttons .date-chooser-calendar,
+ .footer-buttons .infotip,
+ .header-buttons .infotip {
+ background: var(--primary);
+ border: var(--modern-border);
+ border-radius: var(--border-radius);
+ }
+
+ a.prev:hover,
+ a.prev:focus,
+ a.next:hover,
+ a.next:focus {
+ background: var(--hover-color);
+ }
+
+ a.prev,
+ a.next {
+ background: var(--primary);
+ }
+
+ a.prev {
+ border-radius: var(--border-radius) 0 0 var(--border-radius);
+ }
+
+ a.next {
+ border-radius: 0 var(--border-radius) var(--border-radius) 0;
+ }
+
+
+ /* */
+ /* Grade Setup Page */
+ /* */
+ .scale-level-scale {
+ background-color: var(--highlight);
+ border: var(--modern-border);
+ }
+
+ #s-grading-category-add-form .form-item,
+ #s-grading-category-add-form fieldset {
+ background-color: var(--primary);
+ }
+
+ #grading-rubric-edit-slider .right-column {
+ border-color: var(--border-color);
+ }
+
+ #grading-rubric-edit-slider .large-submit-buttons {
+ background-color: var(--secondary);
+ border-color: var(--border-color);
+ }
+
+ #grading-rubric-edit-slider .large-submit-buttons button.btn.submit.ng-binding {
+ background-color: var(--primary);
+ box-shadow: 0px 2px 0px var(--highlight);
+ }
+
+ .sort-handle {
+ background-color: var(--accent);
+ }
+
+ #grading-rubric-edit-slider .ui-sortable-helper,
+ #district-mastery-grading-rubric-edit-slider .ui-sortable-helper,
+ #grading-rubric-edit-slider .ui-sortable-helper td,
+ #district-mastery-grading-rubric-edit-slider .ui-sortable-helper td {
+ background-color: var(--active) !important;
+ }
+
+ .rubric-editor-add-criteria,
+ .rubric-editor-add-objectives {
+ color: text;
+ }
+
+ #grading-rubric-edit-slider .large-submit-buttons .btn.cancel.ng-scope {
+ color: var(--muted-text);
+ }
+
+ #grading-rubric-edit-slider .large-submit-buttons .btn.cancel.ng-scope:hover,
+ #grading-rubric-edit-slider .large-submit-buttons .btn.cancel.ng-scope:focus {
+ color: var(--text);
+ }
+
+ .alignment-form-container .header {
+ background-color: var(--secondary);
+ }
+
+ .guid-item:active,
+ .alignment-form-container .header .search-tab.active,
+ .alignment-form-container li.active,
+ .alignment-form-container div.active {
+ background-color: var(--active);
+ }
+
+ .alignment-breadcrumbs .breadcrumb-item:first-child,
+ .alignment-breadcrumbs .breadcrumb-item,
+ .alignment-form-container li,
+ .selected-container .selected-item {
+ color: var(--link-color);
+ border-color: var(--contrast-border);
+ }
+
+ .alignment-form-container li .gray,
+ .alignment-form-container div .gray {
+ color: var(--text) !important;
+ }
+
+ .empty {
+ color: var(--muted-text);
+ }
+
+ .add-criteria-text {
+ color: var(--text);
+ }
+
+
+
+ /* */
+ /* MEMBERS PAGE */
+ /* */
+ .parent-names-list.description {
+ color: var(--muted-text);
+ }
+
+ .s-enrollment-invite-form .metadata-wrapper,
+ #grading-group-create {
+ color: var(--text);
+ }
+
+ .s-enrollment-invite-form .user-invite-wrapper {
+ background-color: var(--accent);
+ color: var(--text);
+ }
+
+ .s-enrollment-invite-form .user-name-wrapper,
+ .people-filters .selected-users,
+ .people-filters .show-all-users {
+ color: var(--link-color);
+ }
+
+ .people-filters .selected-users.active,
+ .people-filters .show-all-users.active {
+ color: var(--contrast-text);
+ background-color: var(--active);
+ }
+
+ .term-item-tag,
+ .locked-question .tag-item {
+ color: var(--text);
+ background-color: var(--secondary);
+ border-color: var(--border-color);
+ }
+
+ .link-btn {
+ background: var(--secondary);
+ color: var(--text);
+ border: var(--modern-border);
+ border-radius: var(--border-radius);
+ border-color: var(--border-color);
+ }
+
+ .s-enrollment-invite-form .s-enrollment-invite-list-wrapper,
+ .s-enrollment-invite-form #network-selected {
+ background-color: var(--primary);
+ border-color: var(--border-color);
+ }
+
+ .submit-btn {
+ background: var(--primary);
+ color: var(--contrast-text);
+ border-radius: var(--border-radius);
+ }
+
+ .cancel-btn {
+ background: var(--accent) !important;
+ color: var(--muted-text) !important;
+ border-radius: var(--border-radius);
+ }
+
+ .submit-btn:hover,
+ .submit-btn:focus,
+ .cancel-btn:hover,
+ .cancel-btn:focus {
+ background: var(--hover-color) !important;
+ color: var(--text) !important;
+ }
+
+
+
+
+ /* */
+ /* Gradebook Page */
+ /* */
+ .s-js-grid-loading-cover {
+ background-color: var(--primary);
+ }
+
+ .grader-grid-table-header-wrapper .grader-grid-header-cell,
+ .grader-grid-table-header-wrapper .grader-grid-header-cell.hidden-grade .gradebook__major-period-title,
+ .grader-grid-table-header-wrapper .grader-grid-header-cell.showing-unpublished .gradebook__major-period-title {
+ background-color: var(--secondary);
+ color: var(--text);
+ }
+
+ .enhanced-gb-body .grid-table-col-header-static-content .select2-container:not(.select2-dropdown-open) .select2-choice > .select2-chosen,
+ .enhanced-gb-body .s-js-grades-gradebook-options-bar .select2-container:not(.select2-dropdown-open) .select2-choice > .select2-chosen {
+ color: var(--text) !important;
+ }
+
+ .grader-grid--crosshair-line-column,
+ .grader-grid--crosshair-line-row,
+ .grader-grid--crosshair-center {
+ background-color: var(--hover-color) !important;
+ }
+
+ .gradebook__grade-custom-override + .grader-grid-col-header-gp,
+ .gradebook__grade-custom-override + .grader-grid-col-header-overall {
+ background-color: var(--primary);
+ }
+
+ .grader-grid-cell:not(.gradebook__grade-custom-override) .grader-grid-cell-block:not(.updated) .grade-value,
+ .grader-grid-cell:not(.gradebook__grade-custom-override) .grader-grid-cell-block:not(.updated) .s-js-grader-grid-cell-display,
+ .grader-grid-table-header-wrapper .gradebook__major-grade-period-header .gradebook__subperiod-element-calculated,
+ .grader-grid-table-header-wrapper .gradebook__major-grade-period-header .grading-period-override-column {
+ color: var(--text);
+ }
+
+ .gradebook__subperiod-element-calculated.has-override-column,
+ .grading-period-override-column {
+ background-color: var(--accent);
+ }
+
+ .enhanced-gb-body .s-js-grades-gradebook-options-bar .select2-container.select2-dropdown-open.select2-container-active span {
+ color: var(--link-color);
+ }
+
+ .enhanced-gb-body .s-js-grades-gradebook-options-bar .select2-container.select2-dropdown-open.select2-container-active {
+ background-color: var(--primary);
+ border-radius: var(--border-radius);
+ }
+
+ #autocomplete.grading-scale-ac-popup ul li,
+ .enhanced-gb-body #main-content-wrapper .action-links a,
+ .enhanced-gb-body #main-content-wrapper .action-links button,
+ .enhanced-gb-body .s-course-csm-toggler.select2-toggle.select2-drop .select2-result-label,
+ .enhanced-gb-body .s-grades-grader-filters-dropdown.select2-toggle.select2-drop .select2-result-label {
+ background-color: var(--secondary);
+ color: var(--text);
+ }
+
+ #autocomplete.grading-scale-ac-popup ul li:hover,
+ .enhanced-gb-body #main-content-wrapper .action-links a:hover,
+ .enhanced-gb-body #main-content-wrapper .action-links button:hover,
+ .enhanced-gb-body .s-course-csm-toggler.select2-toggle.select2-drop .select2-result-label:hover,
+ .enhanced-gb-body .s-grades-grader-filters-dropdown.select2-toggle.select2-drop .select2-result-label:hover,
+ #autocomplete.grading-scale-ac-popup ul li:focus,
+ .enhanced-gb-body #main-content-wrapper .action-links a:focus,
+ .enhanced-gb-body #main-content-wrapper .action-links button:focus,
+ .enhanced-gb-body .s-course-csm-toggler.select2-toggle.select2-drop .select2-result-label:focus,
+ .enhanced-gb-body .s-grades-grader-filters-dropdown.select2-toggle.select2-drop .select2-result-label:focus {
+ background-color: var(--hover-color);
+ }
+
+ #grade-comment-field {
+ background-color: var(--primary);
+ }
+}
From 296c37d8a53783fcf41917e675f02bad8c9c3506 Mon Sep 17 00:00:00 2001
From: rhinolary <39052241+Roguim@users.noreply.github.com>
Date: Thu, 8 Dec 2022 12:13:31 +1100
Subject: [PATCH 20/24] Fixed the changes from other commits that vanished
---
scss/modern/all.scss | 168 ++++++++++++++++++++++++++++++++++++-------
1 file changed, 142 insertions(+), 26 deletions(-)
diff --git a/scss/modern/all.scss b/scss/modern/all.scss
index b1894dbd..f4d0c7b3 100644
--- a/scss/modern/all.scss
+++ b/scss/modern/all.scss
@@ -229,6 +229,13 @@ variable-intellisense {
color: var(--text);
}
+ .drGks a {
+ &:hover,
+ &:focus {
+ background-color: var(--highlight);
+ }
+ }
+
.grade-data {
color: var(--grades) !important;
}
@@ -323,10 +330,10 @@ variable-intellisense {
}
.action-links-wrapper-expanded .action-links-unfold .action-links-unfold-text {
- background-color: var(--text) !important;
- color: var(--secondary) !important;
- filter: Invert(var(--theme-is-dark)) !important;
+ background-color: var(--secondary) !important;
+ color: var(--text) !important;
border-radius: var(--border-radius) !important;
+ background-blend-mode: screen;
}
.action-links-unfold {
@@ -824,6 +831,10 @@ variable-intellisense {
color: var(--text) !important;
}
+ .comment-body-wrapper {
+ color: var(--text) !important;
+ }
+
.s-polls-poll-option,
#edge-filters-menu {
background: none !important;
@@ -1414,6 +1425,10 @@ variable-intellisense {
background-color: var(--accent);
}
+ .tab-nav:hover {
+ background-color: var(--hover-color);
+ }
+
.tab-nav.active {
background-color: var(--input);
@@ -1422,6 +1437,43 @@ variable-intellisense {
}
}
+ #ui-datepicker-div {
+ background-color: var(--input) !important;
+ }
+
+ .ui-datepicker-days-cell a {
+ background-color: var(--primary) !important;
+ border-color: var(--border-color) !important;
+ }
+
+ .ui-datepicker-unselectable {
+ background-color: var(--accent) !important;
+ }
+
+ .ui-datepicker-days-cell.ui-datepicker-current-day a {
+ background-color: var(--active) !important;
+ }
+
+ .ui-datepicker-days-cell-over a {
+ background-color: var(--hover-color) !important;
+ }
+
+ .ui-datepicker-links {
+ > div {
+ > a {
+ background-color: var(--input);
+ background-blend-mode: screen;
+ border: var(--modern-border);
+ border-radius: var(--border-radius);
+ }
+ &:hover {
+ > a {
+ background-color: var(--hover-color);
+ }
+ }
+ }
+ }
+
// Course Page
.action-links,
@@ -1887,7 +1939,8 @@ variable-intellisense {
background: var(--accent) !important;
}
- .portfolio-card {
+ .portfolio-card,
+ .item-card {
background: var(--primary) !important;
}
@@ -1898,6 +1951,61 @@ variable-intellisense {
background: var(--primary) !important;
border-radius: var(--border-radius) !important;
}
+
+ .portfolio-card__item-count-num {
+ color: var(--contrast-text) !important;
+ }
+
+ .btn {
+ background-color: var(--primary) !important;
+ border: var(--modern-border) !important;
+ border-radius: var(--border-radius) !important;
+ color: var(--contrast-text) !important;
+
+ &:hover {
+ background-color: var(--hover-color) !important;
+ }
+ }
+
+ .dropdown-menu {
+ background-color: var(--primary) !important;
+ }
+
+ .item-form__title-inline .sgy-autosave-input .form-group:hover {
+ label,
+ label span {
+ color: var(--muted-text) !important;
+ }
+ }
+
+ .remaining-char-len {
+ color: var(--text) !important;
+ }
+
+ .add-item-dropdown__add-new-icon::before,
+ .portfolio-list__add-new-icon::before {
+ background-color: var(--primary) !important;
+ border-color: var(--border-color) !important;
+ }
+
+ .item-view-container,
+ .item-form__title-bar,
+ .item-page {
+ background-color: var(--background-color) !important;
+ border-color: var(--border-color) !important;
+ outline-color: var(--border-color) !important;
+ }
+
+ .item-card__title-link {
+ color: var(--link-color) !important;
+ }
+ }
+
+ .sgy-autosave-input.sgy-autosave-input--editing {
+ label span,
+ .form-group:hover label span {
+ color: var(--text) !important;
+ }
}
// School / Group Page
@@ -2236,6 +2344,14 @@ variable-intellisense {
border-color: var(--contrast-border) !important;
}
+ .update-comments-pagenation {
+ background-color: var(--accent);
+ }
+
+ .feed-comments-viewall-container {
+ color: var(--link-color);
+ }
+
.dropbox-viewer-item-wrapper {
background-color: var(--primary);
}
@@ -3123,21 +3239,21 @@ variable-intellisense {
background-color: var(--active) !important;
}
- /*****************/
- /* Teacher Areas */
- /* */
- /* Test Setup */
+ //
+ // Teacher Areas
+ //
+ // Test Setup
.settings-label {
color: var(--text);
}
- /* Buttons */
+ // Buttons
.s-grade-item-assignment-submission-app {
background-color: var(--primary);
color: var(--text);
}
- /* Button Hover */
+ // Button Hover
._2mytC:hover a,
._2mytC:focus a,
.Oq4U1:hover:not(:active),
@@ -3153,7 +3269,7 @@ variable-intellisense {
background-color: var(--hover-color);
}
- /* Active Buttons */
+ // Active Buttons
.Oq4U1:active {
background-color: var(--active);
}
@@ -3180,9 +3296,9 @@ variable-intellisense {
- /* */
- /* Course Materials Page */
- /* */
+ // //
+ // Course Materials Page //
+ // //
.unpublished,
#folder-contents-table .unpublished .folder-contents-cell {
background-color: var(--primary);
@@ -3198,9 +3314,9 @@ variable-intellisense {
background-color: var(--primary);
}
- /* */
- /* Badges & Attendance Pages */
- /* */
+ // //
+ // Badges & Attendance Pages //
+ // //
#badges-fullscreen-btn {
background-color: var(--primary);
border: var(--modern-border);
@@ -3293,9 +3409,9 @@ variable-intellisense {
}
- /* */
- /* Grade Setup Page */
- /* */
+ // //
+ // Grade Setup Page //
+ // //
.scale-level-scale {
background-color: var(--highlight);
border: var(--modern-border);
@@ -3379,9 +3495,9 @@ variable-intellisense {
- /* */
- /* MEMBERS PAGE */
- /* */
+ // //
+ // MEMBERS PAGE //
+ // //
.parent-names-list.description {
color: var(--muted-text);
}
@@ -3452,9 +3568,9 @@ variable-intellisense {
- /* */
- /* Gradebook Page */
- /* */
+ // //
+ // Gradebook Page //
+ // //
.s-js-grid-loading-cover {
background-color: var(--primary);
}
From c346a080a72a79a02f8e6d6d07f399b527870aa4 Mon Sep 17 00:00:00 2001
From: rhinolary <39052241+Roguim@users.noreply.github.com>
Date: Thu, 8 Dec 2022 12:13:59 +1100
Subject: [PATCH 21/24] Post SCSS Recompile
---
css/modern/all.css | 138 ++++++++++++++++++---------------------------
1 file changed, 56 insertions(+), 82 deletions(-)
diff --git a/css/modern/all.css b/css/modern/all.css
index 380e47ff..fb3032b8 100644
--- a/css/modern/all.css
+++ b/css/modern/all.css
@@ -79,27 +79,27 @@ variable-intellisense {
border-radius: var(--border-radius) !important;
}
-[modern=true][style-override=true]:root .s-edge-feed .edge-item *[style] {
+[modern=true]:root[style-override=true] .s-edge-feed .edge-item *[style] {
color: var(--text) !important;
background: none !important;
}
-[modern=true][style-override=true]:root .discussion-view .discussion-prompt *[style],
-[modern=true][style-override=true]:root .discussion-view .comment-body-wrapper *[style] {
+[modern=true]:root[style-override=true] .discussion-view .discussion-prompt *[style],
+[modern=true]:root[style-override=true] .discussion-view .comment-body-wrapper *[style] {
color: var(--text) !important;
background: none !important;
}
-[modern=true][style-override=true]:root #important-post-body *[style],
-[modern=true][style-override=true]:root #main-inner .info-container *[style],
-[modern=true][style-override=true]:root .standard-page .s-page-content-full *[style],
-[modern=true][style-override=true]:root .discussion-prompt *[style],
-[modern=true][style-override=true]:root .comment-comment .comment-body-wrapper *[style],
-[modern=true][style-override=true]:root .instructions-content *[style],
-[modern=true][style-override=true]:root .lrn_stimulus .lrn_stimulus_content *[style],
-[modern=true][style-override=true]:root .lrn-possible-answer *[style],
-[modern=true][style-override=true]:root .folder-description *[style],
-[modern=true][style-override=true]:root .item-info *[style] {
+[modern=true]:root[style-override=true] #important-post-body *[style],
+[modern=true]:root[style-override=true] #main-inner .info-container *[style],
+[modern=true]:root[style-override=true] .standard-page .s-page-content-full *[style],
+[modern=true]:root[style-override=true] .discussion-prompt *[style],
+[modern=true]:root[style-override=true] .comment-comment .comment-body-wrapper *[style],
+[modern=true]:root[style-override=true] .instructions-content *[style],
+[modern=true]:root[style-override=true] .lrn_stimulus .lrn_stimulus_content *[style],
+[modern=true]:root[style-override=true] .lrn-possible-answer *[style],
+[modern=true]:root[style-override=true] .folder-description *[style],
+[modern=true]:root[style-override=true] .item-info *[style] {
color: var(--text) !important;
background: none !important;
}
@@ -215,9 +215,7 @@ variable-intellisense {
color: var(--text);
}
-/* Hover over Links in Schoology's Native Notifications */
-[modern=true]:root .drGks a:hover,
-[modern=true]:root .drGks a:focus {
+[modern=true]:root .drGks a:hover, [modern=true]:root .drGks a:focus {
background-color: var(--highlight);
}
@@ -315,7 +313,7 @@ variable-intellisense {
border-radius: var(--border-radius) !important;
}
-[modern=true][dark=false]:root .action-links-wrapper-expanded .action-links-unfold .action-links-unfold-text {
+[modern=true]:root[dark=false] .action-links-wrapper-expanded .action-links-unfold .action-links-unfold-text {
background-color: var(--secondary) !important;
color: var(--text) !important;
}
@@ -325,8 +323,8 @@ variable-intellisense {
background-color: var(--muted-text) !important;
}
-[modern=true][dark=false]:root .action-links-wrapper-expanded .action-links-unfold .action-links-unfold-text:hover,
-[modern=true][dark=false]:root .action-links-unfold:hover {
+[modern=true]:root[dark=false] .action-links-wrapper-expanded .action-links-unfold .action-links-unfold-text:hover,
+[modern=true]:root[dark=false] .action-links-unfold:hover {
background-color: var(--muted-text) !important;
}
@@ -777,7 +775,7 @@ variable-intellisense {
}
[modern=true]:root .comment-body-wrapper {
- color: var(--text) !important;
+ color: var(--text) !important;
}
[modern=true]:root .s-polls-poll-option,
@@ -880,7 +878,7 @@ variable-intellisense {
background-image: url("/sites/all/themes/schoology_theme/images/btn-sprite.png?2f89e2e4127348b5") !important;
}
-[modern=true][dark=false]:root #edge-filters-btn {
+[modern=true]:root[dark=false] #edge-filters-btn {
background-color: var(--secondary) !important;
color: var(--text) !important;
filter: none !important;
@@ -1319,27 +1317,27 @@ variable-intellisense {
background-color: var(--accent);
}
-[modern=true]:root .tab-nav.active {
- background-color: var(--input);
-}
-
[modern=true]:root .tab-nav:hover {
background-color: var(--hover-color);
}
+[modern=true]:root .tab-nav.active {
+ background-color: var(--input);
+}
+
[modern=true]:root .tab-nav.active:hover {
background-color: var(--input);
}
-
+
[modern=true]:root #ui-datepicker-div {
background-color: var(--input) !important;
}
-
+
[modern=true]:root .ui-datepicker-days-cell a {
background-color: var(--primary) !important;
border-color: var(--border-color) !important;
}
-
+
[modern=true]:root .ui-datepicker-unselectable {
background-color: var(--accent) !important;
}
@@ -1347,18 +1345,18 @@ variable-intellisense {
[modern=true]:root .ui-datepicker-days-cell.ui-datepicker-current-day a {
background-color: var(--active) !important;
}
-
+
[modern=true]:root .ui-datepicker-days-cell-over a {
background-color: var(--hover-color) !important;
}
-
+
[modern=true]:root .ui-datepicker-links > div > a {
background-color: var(--input);
background-blend-mode: screen;
border: var(--modern-border);
border-radius: var(--border-radius);
}
-
+
[modern=true]:root .ui-datepicker-links > div:hover > a {
background-color: var(--hover-color);
}
@@ -1765,6 +1763,14 @@ variable-intellisense {
border-bottom: var(--modern-border) !important;
}
+[modern=true]:root .tw-bs .btn:hover {
+ background-color: var(--hover-color) !important;
+}
+
+[modern=true]:root .tw-bs .dropdown-menu {
+ background-color: var(--primary) !important;
+}
+
[modern=true]:root .portfolio-route-content {
border: var(--modern-border) !important;
border-radius: var(--border-radius) !important;
@@ -1814,11 +1820,6 @@ variable-intellisense {
color: var(--muted-text) !important;
}
-[modern=true]:root .sgy-autosave-input.sgy-autosave-input--editing label span,
-[modern=true]:root .sgy-autosave-input.sgy-autosave-input--editing .form-group:hover label span {
- color: var(--text) !important;
-}
-
[modern=true]:root .tw-bs .remaining-char-len {
color: var(--text) !important;
}
@@ -1841,7 +1842,10 @@ variable-intellisense {
color: var(--link-color) !important;
}
-
+[modern=true]:root .sgy-autosave-input.sgy-autosave-input--editing label span,
+[modern=true]:root .sgy-autosave-input.sgy-autosave-input--editing .form-group:hover label span {
+ color: var(--text) !important;
+}
[modern=true]:root #school-events {
padding: var(--padding) !important;
@@ -2136,11 +2140,11 @@ variable-intellisense {
[modern=true]:root .update-comments-pagenation {
background-color: var(--accent);
}
-
+
[modern=true]:root .feed-comments-viewall-container {
color: var(--link-color);
}
-
+
[modern=true]:root .dropbox-viewer-item-wrapper {
background-color: var(--primary);
}
@@ -2262,7 +2266,7 @@ variable-intellisense {
color: var(--text) !important;
}
-[modern=true][dark=true]:root #assessment-darktheme-warning-message[data-popup=true] {
+[modern=true]:root[dark=true] #assessment-darktheme-warning-message[data-popup=true] {
display: block !important;
text-align: center;
width: 50%;
@@ -2274,11 +2278,11 @@ variable-intellisense {
border-radius: var(--border-radius);
}
-[modern=true][dark=true]:root #assessment-darktheme-warning-message .click-to-hide {
+[modern=true]:root[dark=true] #assessment-darktheme-warning-message .click-to-hide {
padding-top: 10px !important;
}
-[modern=true][dark=true]:root #assessment-darktheme-warning-message .click-to-hide span {
+[modern=true]:root[dark=true] #assessment-darktheme-warning-message .click-to-hide span {
text-decoration: underline;
cursor: pointer;
}
@@ -2874,21 +2878,15 @@ variable-intellisense {
background-color: var(--active) !important;
}
-/*****************/
-/* Teacher Areas */
-/* */
-/* Test Setup */
[modern=true]:root .settings-label {
color: var(--text);
}
-/* Buttons */
[modern=true]:root .s-grade-item-assignment-submission-app {
background-color: var(--primary);
color: var(--text);
}
-/* Button Hover */
[modern=true]:root ._2mytC:hover a,
[modern=true]:root ._2mytC:focus a,
[modern=true]:root .Oq4U1:hover:not(:active),
@@ -2904,21 +2902,19 @@ variable-intellisense {
background-color: var(--hover-color);
}
-/* Active Buttons */
[modern=true]:root .Oq4U1:active {
background-color: var(--active);
}
-[modern="true"]:root .s-share-checkbox-form-wrapper .checkboxes-wrapper {
+[modern=true]:root .s-share-checkbox-form-wrapper .checkboxes-wrapper {
background-color: var(--primary);
}
-[modern="true"]:root #attachment-selector #toggle-copy:hover {
+[modern=true]:root #attachment-selector #toggle-copy:hover {
background-color: var(--hover-color);
}
-
-[modern="true"]:root .comments-list .comment {
+[modern=true]:root .comments-list .comment {
background: var(--primary);
border: var(--modern-border);
border-color: var(--border-color);
@@ -2929,28 +2925,21 @@ variable-intellisense {
color: var(--muted-text);
}
-
-/* */
-/* Course Materials Page */
-/* */
[modern=true]:root .unpublished,
[modern=true]:root #folder-contents-table .unpublished .folder-contents-cell {
background-color: var(--primary);
}
-[modern=true] .masquerade-box {
+[modern=true]:root .masquerade-box {
background-color: var(--secondary);
border: var(--modern-border);
}
-
-[modern="true"]:root div.grade-assignment-popup .description, [modern="true"]:root #sEditGradeTable tr th {
+
+[modern=true]:root div.grade-assignment-popup .description, [modern=true]:root #sEditGradeTable tr th {
color: var(--text);
background-color: var(--primary);
}
-/* */
-/* Badges & Attendance Pages */
-/* */
[modern=true]:root #badges-fullscreen-btn {
background-color: var(--primary);
border: var(--modern-border);
@@ -2960,7 +2949,7 @@ variable-intellisense {
[modern=true]:root .even .badge-course-table-cell,
[modern=true]:root #s-attendance-edit-form tbody td,
[modern=true]:root #s-attendance-edit-form tbody td div,
-[modern=true] #s-attendance-edit-form tbody th {
+[modern=true]:root #s-attendance-edit-form tbody th {
background-color: var(--primary);
}
@@ -3042,10 +3031,6 @@ variable-intellisense {
border-radius: 0 var(--border-radius) var(--border-radius) 0;
}
-
-/* */
-/* Grade Setup Page */
-/* */
[modern=true]:root .scale-level-scale {
background-color: var(--highlight);
border: var(--modern-border);
@@ -3100,7 +3085,7 @@ variable-intellisense {
}
[modern=true]:root .guid-item:active,
-[modern=true]:root .alignment-form-container .header .search-tab.active,
+[modern=true]:root .alignment-form-container .header .search-tab.active,
[modern=true]:root .alignment-form-container li.active,
[modern=true]:root .alignment-form-container div.active {
background-color: var(--active);
@@ -3123,15 +3108,10 @@ variable-intellisense {
color: var(--muted-text);
}
-[modern="true"]:root .add-criteria-text {
+[modern=true]:root .add-criteria-text {
color: var(--text);
}
-
-
-/* */
-/* MEMBERS PAGE */
-/* */
[modern=true]:root .parent-names-list.description {
color: var(--muted-text);
}
@@ -3199,12 +3179,6 @@ variable-intellisense {
color: var(--text) !important;
}
-
-
-
-/* */
-/* Gradebook Page */
-/* */
[modern=true]:root .s-js-grid-loading-cover {
background-color: var(--primary);
}
@@ -3275,6 +3249,6 @@ variable-intellisense {
background-color: var(--hover-color);
}
-[modern="true"]:root #grade-comment-field {
+[modern=true]:root #grade-comment-field {
background-color: var(--primary);
}
From 637c871aa435b2d639f81746d8b285ed7722a37b Mon Sep 17 00:00:00 2001
From: dsnsgithub <48170013+dsnsgithub@users.noreply.github.com>
Date: Wed, 7 Dec 2022 19:25:03 -0800
Subject: [PATCH 22/24] fix minimum grade calculation for blank/zero score
---
js/grades.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/js/grades.js b/js/grades.js
index cd395dc1..29a865e2 100644
--- a/js/grades.js
+++ b/js/grades.js
@@ -703,7 +703,7 @@ var fetchQueue = [];
if (colMatch) {
let scorePercent = Number.parseFloat(colMatch[1]);
- if (scorePercent && !Number.isNaN(scorePercent)) {
+ if ((scorePercent || scorePercent === 0) && !Number.isNaN(scorePercent)) {
total += (weightPercent.slice(1, -2) / 100) * scorePercent;
let weight = Number.parseFloat(weightPercent.slice(1, -2));
totalPercentWeight += weight;
From d4a1ad05a85cd972866abdde994553bc06603871 Mon Sep 17 00:00:00 2001
From: dsnsgithub <48170013+dsnsgithub@users.noreply.github.com>
Date: Wed, 7 Dec 2022 19:29:07 -0800
Subject: [PATCH 23/24] add rounding to final minimum grade calculation
---
js/grades.js | 17 +++++++----------
1 file changed, 7 insertions(+), 10 deletions(-)
diff --git a/js/grades.js b/js/grades.js
index 29a865e2..8eff4cbf 100644
--- a/js/grades.js
+++ b/js/grades.js
@@ -743,20 +743,17 @@ var fetchQueue = [];
deltaScore = -scoreVal;
}
- deltaScore = Math.round(deltaScore * 100) / 100;
+ // ?: Using Math.ceil ensures finalGrade >= desiredGrade when possible
+ deltaScore = Math.ceil(deltaScore * 100) / 100;
- if (deltaScore < -scoreVal) {
- // probably 1 under due to rounding
- deltaScore++;
- }
-
- // TODO refactor: we already have our DOM elements
+ const finalGrade = Math.round((scoreVal + deltaScore) * 100) / 100;
if (score) {
- score.title = scoreVal + deltaScore;
- score.textContent = scoreVal + deltaScore;
+ // TODO refactor: we already have our DOM elements
+ score.title = finalGrade;
+ score.textContent = finalGrade;
}
- prepareScoredAssignmentGrade(element.querySelector(".injected-assignment-percent"), scoreVal + deltaScore, maxVal);
+ prepareScoredAssignmentGrade(element.querySelector(".injected-assignment-percent"), finalGrade, maxVal);
recalculateCategoryScore(catRow, deltaScore, noGrade ? maxVal : 0);
recalculatePeriodScore(perRow, deltaScore, noGrade ? maxVal : 0);
};
From e783a536008a33ba7830f817c482e00c915679cb Mon Sep 17 00:00:00 2001
From: Aaron Opell AyFf
z3%vDrUS3{TZHAp5D<78~yVTtqcKuN8aFCgsjJm-5PJWrNOK$3{y6#o{#o_kbSmPLM
z3?yJKaB4i-RJU?fELeK?B|pSuMDO)`ZFA=m)AD@Rns2~0RyZZ0*!p?eN&6pmKYhmz
zg`iuP>9er4L^2EV)~>zawH75`&HjSKfbsz3JB9OO2QOEr)gN75zfhfZ1QV!~McsCD
zA+F20r#ZfV+>F?;dSrIHnKvo|1GcpeipP6bd&f4iLz-_
|57>}QjWAen&XkKxsnB0JyjXa(h4
z#ZGdf2E=EfHobvnzvO2(4b)wia<~K;%u@YFw@K^OijY}`K8!a|iVhH_TzuidpZ6t|
ze4O3{y}^@p&L?l91^vZG;}v7k%(4HuW5mTnJRzQ;yC8f%H53i$KL4KCzQ4BA+Ug2J
zW*R2U6Co5k+kfz@8>n_lw}~#7O4wUE9Y}Srj^}WWc6rY2hYEi*0*PVvnL0Iq_vzV5mDfXBph+pV;wsimBc&P(B$;r
za`0TRLogo
Schoology Logo
+ +
Key | Description |
`url` | A direct link to an image to be used as the logo. Should be **160x50** or smaller for best results. |
`preset` | One of the values described below that results in a preset image being used as the logo. |
Value | Preview |
---|---|
`"schoology_plus"` | ![Schoology Plus](https://imgur.com/znq2Mc1.png) |
`"schoology_logo"` | ![Schoology logo](https://i.imgur.com/y64kiCY.png) |
`"lausd_legacy"` | ![LAUSD legacy](https://imgur.com/Mm7FXhD.png) |
`"lausd_2019"` | ![LAUSD 2019](https://imgur.com/NOuGRyZ.png) |
`"default"` | Don't override the logo whatsoever |
Value | Preview |
---|---|
`"schoology_plus"` | ![Schoology Plus](https://imgur.com/znq2Mc1.png) |
`"schoology_logo"` | ![Schoology logo](https://i.imgur.com/y64kiCY.png) |
`"lausd_legacy"` | ![LAUSD legacy](https://imgur.com/Mm7FXhD.png) |
`"lausd_2019"` | ![LAUSD 2019](https://imgur.com/NOuGRyZ.png) |
`"lausd_2022"` | ![LAUSD 2022](https://i.imgur.com/QFbx7wL.png) |
`"default"` | Don't override the logo whatsoever |