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 */ /* EXTENSIONS */
/* ksucpea/bettercanvas */ /* BetterCampus */
.bettercanvas-card-grade, --bcsidebar-selection: @accent;
.bettercanvas-assignment-container:hover { --bcbackground-0-ungradient: @base;
background: @surface1; --bcbackground-0: @base;
} --bcbackground-1-ungradient: @surface0;
.bettercanvas-gpa { --bcbackground-1: @surface0;
background-color: @surface0; --bcbackground-2-ungradient: @surface1;
box-shadow: 0 1px 5px @surface1 !important; --bcbackground-2: @surface1;
} --bcborders-ungradient: @surface0;
.bettercanvas-custom-btn, --bcborders: @surface0;
.bettercanvas-course-percent, --bclinks-ungradient: @blue;
.bettercanvas-course-credit { --bclinks: @blue;
background-color: @surface1; --bctext-0-ungradient: @text;
border-color: @surface2; --bctext-0: @text;
} --bctext-1-ungradient: @subtext0;
.bettercanvas-dashboard-notes { --bctext-1: @subtext0;
border-color: @surface1; --bctext-2-ungradient: @subtext1;
} --bctext-2: @subtext1;
.bettercanvas-todosidebar button { --bccards-ungradient: @surface0;
color: @text; --bccards: @surface0;
} --bcshadow: 0 0 10px 0 transparent;
.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;
}
} }
} }