From 8c14e38be7e905d25ed465348761b107171960bd Mon Sep 17 00:00:00 2001 From: Jabray5 Date: Tue, 9 Nov 2021 10:13:56 -0800 Subject: [PATCH 1/3] added support and styles for University of York Canvas --- plugin/css/styles.css | 6 +++--- plugin/manifest.json | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/plugin/css/styles.css b/plugin/css/styles.css index 410a6de..155ab06 100644 --- a/plugin/css/styles.css +++ b/plugin/css/styles.css @@ -6,8 +6,8 @@ --ic-brand-Login-body-bgd-color: #282828; --ic-brand-Login-body-bgd-shadow-color: #282828; --ic-brand-global-nav-menu-item__text-color: #C7CDD1; - --ic-brand-global-nav-menu-item__text-color--active: #fff; - --ic-brand-global-nav-ic-icon-svg-fill--active: #fff; + --ic-brand-global-nav-menu-item__text-color--active: #282828; + --ic-brand-global-nav-ic-icon-svg-fill--active: #282828; --ic-brand-font-color-dark-lightened-15: #C7CDD1; --eHiXd-linkColor: #fff; } @@ -52,7 +52,7 @@ a { .status-description, .title, .locked_title, .points_possible_display, .ig-details__item -, .name, h2, .comment, td, .score_value, .ic-Login__actions, .ic-Label{ +, .name, h2, .comment, td, .score_value, .ic-Login__actions, .ic-Label, .enRcg_bGBk{ color: #C7CDD1 !important; } diff --git a/plugin/manifest.json b/plugin/manifest.json index 9223550..c72ac13 100644 --- a/plugin/manifest.json +++ b/plugin/manifest.json @@ -132,7 +132,8 @@ "https://canvas.santarosa.edu/*", "https://bcportalguard.butte.edu/*", "https://*.canvas.vu.nl/*", - "https://*.canvas.login.vu.nl/*" + "https://*.canvas.login.vu.nl/*", + "https://onlinestudy.york.ac.uk/*" ], "css":[ "css/styles.css" From 6ab0e27ac3f566a25424787db3826ab3808bde47 Mon Sep 17 00:00:00 2001 From: Jabray5 Date: Tue, 9 Nov 2021 10:19:18 -0800 Subject: [PATCH 2/3] minor style fixes --- plugin/css/styles.css | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/css/styles.css b/plugin/css/styles.css index 155ab06..4eb0d5d 100644 --- a/plugin/css/styles.css +++ b/plugin/css/styles.css @@ -25,6 +25,7 @@ span[role=dialog], span[role=dialog] > div, .agenda-wrapper, .agenda-day, .agend body, .header-bar, .ui-tabs-anchor, .quiz-submission, .ig-header, .accessible-toggler, .ic-Input { background: #1f1f1f !important; color: #C7CDD1 !important; + text-shadow: none; } .module-sequence-footer-content, .ic-app-crumbs, #breadcrumbs, .course-list-unpublished-course-row { From fa50da0540291c410f7e8d4c2871236557deec72 Mon Sep 17 00:00:00 2001 From: Jabray5 Date: Tue, 9 Nov 2021 11:55:48 -0800 Subject: [PATCH 3/3] styling for div elements in lesson content --- plugin/css/styles.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugin/css/styles.css b/plugin/css/styles.css index 4eb0d5d..b66a673 100644 --- a/plugin/css/styles.css +++ b/plugin/css/styles.css @@ -51,7 +51,6 @@ a { text-decoration: none !important; } - .status-description, .title, .locked_title, .points_possible_display, .ig-details__item , .name, h2, .comment, td, .score_value, .ic-Login__actions, .ic-Label, .enRcg_bGBk{ color: #C7CDD1 !important; @@ -172,3 +171,7 @@ a { .message-list .date, .ToDoSidebarItem__Info > ul > li { color: #7b7b7b !important; } + +.user_content div { + background: #1f1f1f !important; +} \ No newline at end of file