fix(canvas-lms): support bettercampus over bettercanvas (#2200)

This commit is contained in:
pynappo authored and GitHub committed 2026-04-09 11:09:33 -07:00
1 parent 0b737e0124
commit 048dcfdc45
1 file changed
+21 -76
+21 -76
View File
@@ -2415,81 +2415,26 @@
}
/* 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;
}
/* BetterCampus */
--bcsidebar-selection: @accent;
--bcbackground-0-ungradient: @base;
--bcbackground-0: @base;
--bcbackground-1-ungradient: @surface0;
--bcbackground-1: @surface0;
--bcbackground-2-ungradient: @surface1;
--bcbackground-2: @surface1;
--bcborders-ungradient: @surface0;
--bcborders: @surface0;
--bclinks-ungradient: @blue;
--bclinks: @blue;
--bctext-0-ungradient: @text;
--bctext-0: @text;
--bctext-1-ungradient: @subtext0;
--bctext-1: @subtext0;
--bctext-2-ungradient: @subtext1;
--bctext-2: @subtext1;
--bccards-ungradient: @surface0;
--bccards: @surface0;
--bcshadow: 0 0 10px 0 transparent;
}
}