feat(canvas-lms): bettercanvas elements (#1743)

This commit is contained in:
pynappo authored and GitHub committed 2025-05-12 13:55:56 -07:00
1 parent 65370777a3
commit c1bc37b21c
1 file changed
+79 -2
+79 -2
View File
@@ -81,6 +81,7 @@
--ic-brand-primary-darkened-10: darken(@accent, 3%);
--ic-brand-font-color-dark: @text;
--ic-brand-font-color-dark-lightened-15: @subtext1;
--ic-brand-font-color-dark-lightened-28: @subtext0;
--ic-brand-font-color-dark-lightened-30: @subtext0;
--ic-link-color: @blue;
--ic-link-color-darkened-10: fade(@blue, 90%);
@@ -2311,9 +2312,7 @@
}
}
/*************** */
/* CREATOR SIDE */
/*************** */
/* not prioritized in this userstyle */
/* DASHBOARD */
@@ -2457,6 +2456,84 @@
.page-action-list a {
border-bottom-color: @surface1;
}
/* EXTENSIONS */
/* ksucpea/bettercanvas */
.bettercanvas-card-grade,
.bettercanvas-assignment-container:hover {
background: @surface1;
}
.bettercanvas-gpa {
background-color: @surface0;
box-shadow: 0 1px 5px @surface1 !important;
}
.bettercanvas-custom-btn,
.bettercanvas-course-percent,
.bettercanvas-course-credit {
background-color: @surface1;
border-color: @surface2;
}
.bettercanvas-dashboard-notes {
border-color: @surface1;
}
.bettercanvas-todosidebar button {
color: @text;
}
.bettercanvas-todo-container,
.bettercanvas-todo-container:hover,
.bettercanvas-todo-item,
.bettercanvas-todo-item:hover {
color: @subtext0;
}
.bettercanvas-hover-preview {
background: @surface1;
color: @text;
}
.bettercanvas-hover-preview::after {
background: linear-gradient(0deg, @surface1 50%, transparent);
}
.bettercanvas-gpa-card {
background-color: @surface0;
}
.bettercanvas-gpa-edit-btn {
background: @surface1;
border-color: @surface2;
color: @text;
}
.bettercanvas-due-soon {
background: @red;
color: @mantle;
}
.bettercanvas-assignment-overdue {
background: @red !important;
color: @mantle !important;
}
.bettercanvas-todo-label {
background: var(--ic-link-color);
color: @mantle;
}
.bettercanvas-todo-actions {
background: @surface1;
color: @text;
border-color: @surface2;
}
.bettercanvas-todo-action:hover {
background: @surface2;
}
.bettercanvas-todo-svg {
fill: @text !important;
}
.bettercanvas-reminder-wrapper {
background: @surface1 !important;
}
.bettercanvas-reminder-title,
.bettercanvas-reminder-due {
color: @text !important;
}
.bettercanvas-reminder-hide {
color: @text !important;
background: @surface2 !important;
}
}
}