refactor(tree-wide): misc improvements (#1547)

This commit is contained in:
uncenter authored and GitHub committed 2024-12-31 17:52:08 -05:00
1 parent 3e6ecfbf86
commit 6121f23d7c
126 files changed
+8047 -8021

No files matched your search

+140 -142
View File
@@ -16,52 +16,50 @@
==/UserStyle== */
@-moz-document domain("app.formative.com"), domain("goformative.com") {
@media (prefers-color-scheme: light) {
:root {
#catppuccin(@lightFlavor, @accentColor);
:root {
@media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor);
}
}
@media (prefers-color-scheme: dark) {
:root {
#catppuccin(@darkFlavor, @accentColor);
@media (prefers-color-scheme: dark) {
#catppuccin(@darkFlavor);
}
}
#catppuccin(@lookup, @accent) {
@rosewater: @catppuccin[@@lookup][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo];
@pink: @catppuccin[@@lookup][@pink];
@mauve: @catppuccin[@@lookup][@mauve];
@red: @catppuccin[@@lookup][@red];
@maroon: @catppuccin[@@lookup][@maroon];
@peach: @catppuccin[@@lookup][@peach];
@yellow: @catppuccin[@@lookup][@yellow];
@green: @catppuccin[@@lookup][@green];
@teal: @catppuccin[@@lookup][@teal];
@sky: @catppuccin[@@lookup][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire];
@blue: @catppuccin[@@lookup][@blue];
@lavender: @catppuccin[@@lookup][@lavender];
@text: @catppuccin[@@lookup][@text];
@subtext1: @catppuccin[@@lookup][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2];
@surface1: @catppuccin[@@lookup][@surface1];
@surface0: @catppuccin[@@lookup][@surface0];
@base: @catppuccin[@@lookup][@base];
@mantle: @catppuccin[@@lookup][@mantle];
@crust: @catppuccin[@@lookup][@crust];
@accent-color: @catppuccin[@@lookup][@@accent];
#catppuccin(@flavor) {
@rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@flavor][@crust];
@accent: @catppuccin[@@flavor][@@accentColor];
@contrast-accent-color: if(@lookup = latte, @text, @base);
@contrast: if(@flavor = latte, @text, @base);
color-scheme: if(@lookup = latte, light, dark);
color-scheme: if(@flavor = latte, light, dark);
::selection {
background-color: fade(@accent-color, 30%);
background-color: fade(@accent, 30%);
}
input,
@@ -114,21 +112,21 @@
background: @surface0;
.SideTabItem__RootButton-sc-vtkzgr-0 {
&.selected {
background: fade(@accent-color, 50%);
background: fade(@accent, 50%);
&::after {
background: @accent-color;
background: @accent;
}
}
&:hover {
.avatar {
box-shadow: @accent-color 0 0 0 1px;
box-shadow: @accent 0 0 0 1px;
}
}
&:not(.selected):hover {
.side-tab-item-label-div,
.material-icons-outlined,
.svg-icons svg {
color: @accent-color;
color: @accent;
}
}
}
@@ -139,8 +137,8 @@
}
}
.notifications-count {
background: @accent-color;
color: @contrast-accent-color;
background: @accent;
color: @contrast;
}
.NotificationCenterAlert__TriggerDiv-sc-165xmi4-0 {
background-color: @surface0;
@@ -149,7 +147,7 @@
}
}
.avatar:hover {
box-shadow: @accent-color 0 0 0 1px;
box-shadow: @accent 0 0 0 1px;
}
.MainAppHeader__RootDiv-sc-1gw0bt9-0 {
background-color: @surface0;
@@ -162,10 +160,10 @@
color: @text;
}
.TabsItem__RootDiv-sc-tj1og8-0:hover > a {
color: @accent-color;
color: @accent;
}
.TabsItem__SelectedLineDiv-sc-tj1og8-1 {
background: @accent-color !important;
background: @accent !important;
}
.TabsItem__TabLink-sc-tj1og8-3:focus-visible {
background: transparent !important;
@@ -242,13 +240,13 @@
.TabsItem__TabDiv-sc-tj1og8-4:hover,
.RespondusTroubleshootLink__TroubleshootingAnchor-sc-17na5u4-7,
.Summary__RawButtonLink-sc-1ofq6fd-2 {
color: @accent-color;
color: @accent;
}
.FormativesShelf__StyledSecondaryHeader-sc-1pswvpk-4 {
border-color: @overlay0;
}
.TabsItem__SelectedLineDiv-sc-tj1og8-1 {
background: @accent-color !important;
background: @accent !important;
}
.Pill__RootDiv-sc-4b6mpn-0,
.ItemInfoPill-sc-ecx83e-0,
@@ -275,8 +273,8 @@
background: @surface0;
border-color: @overlay0;
&.selected {
border-color: @accent-color;
outline-color: @accent-color;
border-color: @accent;
outline-color: @accent;
}
.material-icons-outlined {
color: @text;
@@ -284,14 +282,14 @@
&:hover {
.FormativeCard__TitleOverflowEllipsis-sc-tkxjaz-7,
.SectionCard__SectionTitleOverflowEllipsis-sc-ir1v2v-4 {
color: @accent-color;
color: @accent;
}
}
}
.ClassAvatar__RootDiv-sc-i7tto7-0,
.avatar > div {
background: @accent-color;
color: @contrast-accent-color;
background: @accent;
color: @contrast;
}
.ReactSelect__control {
background: @surface0;
@@ -305,7 +303,7 @@
color: @text;
}
&:focus-within {
border-color: @accent-color !important;
border-color: @accent !important;
}
}
.react-select-icon {
@@ -316,14 +314,14 @@
color: @text;
.SearchBarOption__RootLink-sc-191bb28-1:hover
.SearchBarOption__TitleOverflowEllipsis-sc-191bb28-0 {
color: @accent-color;
color: @accent;
}
.ReactSelect__option--is-focused {
background: @overlay0;
}
.ReactSelect__option--is-selected {
background: @accent-color;
color: @contrast-accent-color;
background: @accent;
color: @contrast;
}
.ReactSelect__menu-notice {
color: @subtext0;
@@ -340,19 +338,19 @@
background: @surface0 !important;
&,
.material-icons-outlined {
color: @accent-color !important;
color: @accent !important;
border-color: @overlay0;
}
&:hover,
&:enabled:focus {
background: @surface1;
border-color: @accent-color;
border-color: @accent;
}
}
.Switch__RootButton-sc-1ss5zxi-0 {
background: @surface0;
&[aria-checked="true"] {
background: @accent-color;
background: @accent;
}
.Switch__BallDiv-sc-1ss5zxi-1 {
background: @overlay0;
@@ -411,7 +409,7 @@
}
.DropdownList__TriggerButton-sc-1hvvmg1-0,
.EmptyExplainer__StyledMaterialIcon-sc-1ixiesy-4 {
color: @accent-color;
color: @accent;
}
.ProfileAccountInfo__DashedGroup-sc-1nbrrm9-2 {
@@ -423,10 +421,10 @@
&:focus,
&.selected {
.BadgeCard__BadgeLabelDiv-sc-13976oo-8 {
color: @accent-color;
color: @accent;
}
.Card__RootDiv-sc-4gt2nj-0 {
border-color: @accent-color;
border-color: @accent;
}
}
.BadgeCard__ProgressPercentSpan-sc-13976oo-7 {
@@ -465,13 +463,13 @@
.ProgressBar__ProgressDiv-sc-4qm1te-0 {
background: @overlay0;
.ProgressBar__ProgressBarDiv-sc-4qm1te-2 {
background: @accent-color;
background: @accent;
}
}
.notification {
&.notification-success {
background: @green !important;
color: @contrast-accent-color !important;
color: @contrast !important;
}
}
.Tooltip__Content-sc-1k6bq57-0 {
@@ -502,7 +500,7 @@
background: @surface0;
&:enabled:hover {
background: @surface1 !important;
border-color: @accent-color;
border-color: @accent;
}
}
.CopyablePracticeSetInfo__LinkText-sc-14zdsnw-3,
@@ -514,7 +512,7 @@
outline-color: @text !important;
}
&[style*="outline: rgb(13, 100, 242)"] {
outline-color: @accent-color !important;
outline-color: @accent !important;
}
}
}
@@ -539,7 +537,7 @@
color: @overlay2 !important;
}
&:focus {
border-color: @accent-color;
border-color: @accent;
}
}
&.CookiePolicyModal__AccordionDiv-sc-dpnzx7-0
@@ -554,14 +552,14 @@
color: @text;
}
.CookiePolicyModal__BlueAlertText-sc-dpnzx7-5 {
color: @accent-color;
color: @accent;
}
}
}
.ModalBody-sc-1lg094f-0:has(.Submit__ContentTitleH3-sc-1vceatk-1)
svg
path {
fill: @accent-color;
fill: @accent;
}
.ModalTitle {
background: @base;
@@ -577,7 +575,7 @@
}
&[src*="match-preview"] {
@svg: escape(
'<svg width="191" height="146" viewBox="0 0 191 146" fill="none" xmlns="http://www.w3.org/2000/svg"><g filter="url(#a)"><rect x="12" y="8" width="47" height="34" rx="4" fill="@{accent-color}"/></g><g filter="url(#b)"><rect x="12" y="52" width="47" height="34" rx="4" fill="@{surface2}"/></g><g filter="url(#c)"><rect x="12" y="96" width="47" height="34" rx="4" fill="@{surface2}"/></g><g filter="url(#d)"><rect x="72" y="8" width="47" height="34" rx="4" fill="@{surface2}"/></g><g filter="url(#e)"><rect x="72" y="52" width="47" height="34" rx="4" fill="@{surface2}"/></g><g filter="url(#f)"><rect x="72" y="96" width="47" height="34" rx="4" fill="@{surface2}"/></g><g filter="url(#g)"><rect x="132" y="8" width="47" height="34" rx="4" fill="@{surface2}"/></g><g filter="url(#h)"><rect x="132" y="52" width="47" height="34" rx="4" fill="@{accent-color}"/></g><g filter="url(#i)"><rect x="132" y="96" width="47" height="34" rx="4" fill="@{surface2}"/></g><defs><filter id="a" x="0" y="0" width="71" height="58" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="4"/><feGaussianBlur stdDeviation="6"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2281_1053"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2281_1053" result="shape"/></filter><filter id="b" x="0" y="44" width="71" height="58" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="4"/><feGaussianBlur stdDeviation="6"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2281_1053"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2281_1053" result="shape"/></filter><filter id="c" x="0" y="88" width="71" height="58" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="4"/><feGaussianBlur stdDeviation="6"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2281_1053"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2281_1053" result="shape"/></filter><filter id="d" x="60" y="0" width="71" height="58" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="4"/><feGaussianBlur stdDeviation="6"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2281_1053"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2281_1053" result="shape"/></filter><filter id="e" x="60" y="44" width="71" height="58" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="4"/><feGaussianBlur stdDeviation="6"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2281_1053"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2281_1053" result="shape"/></filter><filter id="f" x="60" y="88" width="71" height="58" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="4"/><feGaussianBlur stdDeviation="6"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2281_1053"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2281_1053" result="shape"/></filter><filter id="g" x="120" y="0" width="71" height="58" filterUnits="userSpaceOnUse" colorLine truncated
'<svg width="191" height="146" viewBox="0 0 191 146" fill="none" xmlns="http://www.w3.org/2000/svg"><g filter="url(#a)"><rect x="12" y="8" width="47" height="34" rx="4" fill="@{accent}"/></g><g filter="url(#b)"><rect x="12" y="52" width="47" height="34" rx="4" fill="@{surface2}"/></g><g filter="url(#c)"><rect x="12" y="96" width="47" height="34" rx="4" fill="@{surface2}"/></g><g filter="url(#d)"><rect x="72" y="8" width="47" height="34" rx="4" fill="@{surface2}"/></g><g filter="url(#e)"><rect x="72" y="52" width="47" height="34" rx="4" fill="@{surface2}"/></g><g filter="url(#f)"><rect x="72" y="96" width="47" height="34" rx="4" fill="@{surface2}"/></g><g filter="url(#g)"><rect x="132" y="8" width="47" height="34" rx="4" fill="@{surface2}"/></g><g filter="url(#h)"><rect x="132" y="52" width="47" height="34" rx="4" fill="@{accent}"/></g><g filter="url(#i)"><rect x="132" y="96" width="47" height="34" rx="4" fill="@{surface2}"/></g><defs><filter id="a" x="0" y="0" width="71" height="58" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="4"/><feGaussianBlur stdDeviation="6"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2281_1053"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2281_1053" result="shape"/></filter><filter id="b" x="0" y="44" width="71" height="58" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="4"/><feGaussianBlur stdDeviation="6"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2281_1053"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2281_1053" result="shape"/></filter><filter id="c" x="0" y="88" width="71" height="58" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="4"/><feGaussianBlur stdDeviation="6"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2281_1053"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2281_1053" result="shape"/></filter><filter id="d" x="60" y="0" width="71" height="58" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="4"/><feGaussianBlur stdDeviation="6"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2281_1053"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2281_1053" result="shape"/></filter><filter id="e" x="60" y="44" width="71" height="58" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="4"/><feGaussianBlur stdDeviation="6"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2281_1053"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2281_1053" result="shape"/></filter><filter id="f" x="60" y="88" width="71" height="58" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="4"/><feGaussianBlur stdDeviation="6"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2281_1053"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2281_1053" result="shape"/></filter><filter id="g" x="120" y="0" width="71" height="58" filterUnits="userSpaceOnUse" color-interpolatiLine truncated
);
content: url("data:image/svg+xml,@{svg}");
}
@@ -611,7 +609,7 @@
.material-icons-outlined {
color: @text;
&:hover {
color: @accent-color;
color: @accent;
}
}
}
@@ -652,7 +650,7 @@
background: @mantle;
border-color: @overlay0;
.selectedSection {
border-color: @accent-color;
border-color: @accent;
}
.formative-nav-item {
&,
@@ -660,13 +658,13 @@
color: @text;
}
.FormativeStudentNavItem__StyledMessageIcon-sc-i1u5ts-4 {
color: @accent-color;
color: @accent;
}
&:hover,
&:focus {
background: @surface1;
color: @accent-color;
border-color: @accent-color;
color: @accent;
border-color: @accent;
}
.fxpwVv {
background-color: @green;
@@ -693,21 +691,21 @@
.checkbox-root {
button {
background: @surface0;
border-color: @accent-color !important;
border-color: @accent !important;
box-shadow: none !important;
}
&.checked button {
background: @accent-color !important;
background: @accent !important;
}
.Checkbox__RadioCircleDiv-sc-1oy0ey9-3 {
background: @contrast-accent-color !important;
background: @contrast !important;
}
.Checkbox__IndicatorIcon-sc-1oy0ey9-5 {
color: @contrast-accent-color;
color: @contrast;
}
}
.FormativeUnavailableMessage__InnerDiv-sc-14kxg7t-1 {
border-color: @accent-color;
border-color: @accent;
background-color: @surface0;
}
.FormativeItemViewable__RootDiv-sc-m0kwch-0,
@@ -733,7 +731,7 @@
&[style*="rgb(32, 213, 171)"] {
background-color: @green !important;
.material-icons-outlined {
color: @contrast-accent-color !important;
color: @contrast !important;
}
}
&[style*="rgb(255, 222, 51)"] {
@@ -745,14 +743,14 @@
&[style*="rgb(255, 76, 77)"] {
background-color: @red !important;
.material-icons-outlined {
color: @contrast-accent-color !important;
color: @contrast !important;
}
}
border-color: @overlay2 !important;
}
.BlankOutput__FillableEntity-sc-15mzaww-3,
.BlankOutput__FillableNumericDiv-sc-15mzaww-2 {
outline-color: @accent-color;
outline-color: @accent;
color: @text;
background: @surface0;
.KatexOutput__RootDiv-sc-gu2jna-0 {
@@ -774,14 +772,14 @@
}
.TargetElementViewable__BoxDiv-sc-1cp2mml-1 {
background: @surface0;
border-color: @accent-color;
border-color: @accent;
.TargetChoiceViewable__ContentDiv-sc-6nylj9-1 {
background: @surface1;
border-color: @overlay0;
}
.TargetElementViewable__AddSelectedChoiceButton-sc-1cp2mml-6 i {
background: @accent-color;
color: @contrast-accent-color;
background: @accent;
color: @contrast;
}
}
.MatchingTable__Table-sc-1rhxmvo-1 {
@@ -791,7 +789,7 @@
border-color: @overlay0;
}
tr.isOver {
outline-color: @accent-color;
outline-color: @accent;
}
}
.ChoiceElementViewable__RootDiv-sc-viwu2x-0 {
@@ -799,7 +797,7 @@
border-color: @overlay0;
&:hover,
&.highlight {
border-color: @accent-color;
border-color: @accent;
background: @surface1;
}
.ChoiceElementViewable__LabelRichText-sc-viwu2x-4 {
@@ -834,7 +832,7 @@
}
.InlineChoiceOutput__InlineChoiceOutputDiv-sc-1694w84-2 {
background: @surface0;
border-color: @accent-color;
border-color: @accent;
}
.DrawingCardButton__RootButton-sc-u2qprg-1 {
border-color: @overlay0;
@@ -853,12 +851,12 @@
.DrawingCardButton__IncompleteIndicatorDiv-sc-u2qprg-4 {
background: @yellow;
svg path {
fill: @contrast-accent-color;
fill: @contrast;
}
}
&:hover .DrawingCardButton__ShowYourWorkPseudoButtonDiv-sc-u2qprg-0 {
background: @surface2;
border-color: @accent-color;
border-color: @accent;
}
}
.DragAndDropImageDropLocation__DropLocationContainerDiv-sc-oq3fcx-1 {
@@ -892,7 +890,7 @@
background: @surface2 !important;
}
}
border-color: @accent-color !important;
border-color: @accent !important;
background: @surface0;
.dropzone-number {
background: @surface1;
@@ -912,7 +910,7 @@
}
.DragAndDropDropzoneOutput__RootDiv-sc-1is7exh-0 {
background: @surface0;
border-color: @accent-color;
border-color: @accent;
&.hasAnswer {
border-color: @overlay0;
}
@@ -922,7 +920,7 @@
background: @green;
}
.material-icons-outlined {
color: @contrast-accent-color;
color: @contrast;
}
}
.ShortAnswerViewableDetails__InputAutosizeTextarea-sc-1ugk4gk-0 {
@@ -947,7 +945,7 @@
background: @surface0;
}
span {
color: @accent-color;
color: @accent;
}
}
}
@@ -993,7 +991,7 @@
color: @text;
}
.Thumb__RootSpan-sc-yv6w5k-0 {
background: @accent-color;
background: @accent;
z-index: 2;
}
.Segment__SegmentSpan-sc-r0cy9o-0 {
@@ -1022,14 +1020,14 @@
&,
.svg-icons,
.material-icons-outlined {
color: @accent-color;
color: @accent;
}
}
.selected {
&::after {
background: @accent-color;
background: @accent;
}
color: @accent-color;
color: @accent;
}
}
.DrawingSidebar__ExpandedAnswerDiv-sc-1hvcy70-0 {
@@ -1050,21 +1048,21 @@
}
.MathLiveInput__RootDiv-sc-tki2b-0 {
.keyboard-button-wrapper .svg-icons svg path {
fill: @accent-color !important;
fill: @accent !important;
}
color: @text;
border-color: @overlay0;
background: @surface0;
&:focus-within,
&:hover {
border-color: @accent-color;
border-color: @accent;
}
&.invalid {
color: @red;
}
math-field {
--caret-color: @accent-color;
--selection-background-color: fade(@accent-color, 50%);
--caret-color: @accent;
--selection-background-color: fade(@accent, 50%);
--selection-color: @text;
--correct-color: @text;
--incorrect-color: @red;
@@ -1073,7 +1071,7 @@
}
.ML__keyboard--plate {
--keyboard-text: @text;
--keyboard-text-active: @accent-color;
--keyboard-text-active: @accent;
--keyboard-background: @surface0;
--keycap-background: @surface1;
--keycap-background-active: @surface2;
@@ -1081,7 +1079,7 @@
--keycap-background-border-bottom: @overlay0;
--keycap-text: @text;
--keycap-secondary-text: @subtext0;
--keycap-text-active: @accent-color;
--keycap-text-active: @accent;
--keycap-modifier-background: @surface2;
--keycap-modifier-background-active: @overlay0;
--keycap-modifier-border: @overlay1;
@@ -1140,7 +1138,7 @@
}
path[fill="rgb(255,255,255)"],
path[fill="rgb(242,242,242)"] {
fill: @contrast-accent-color !important;
fill: @contrast !important;
}
path[stroke="rgb(32,213,171)"],
@@ -1165,7 +1163,7 @@
}
path[stroke="rgb(255,255,255)"],
path[stroke="rgb(242,242,242)"] {
stroke: @contrast-accent-color !important;
stroke: @contrast !important;
}
}
}
@@ -1189,25 +1187,25 @@
color: @text;
}
.NewselaServiceLoginButton__ActionDiv-sc-mk13mj-2 {
color: @accent-color;
color: @accent;
}
}
}
.JoinQuickCode__StyledLink-sc-1uhfett-2,
.CallToActionLink__StyledLink-sc-yuiy65-0,
.Login__ForgotLink-sc-5w2jun-1 {
color: @accent-color;
color: @accent;
}
.react-code-input {
input {
background: @surface1;
border-color: @overlay0;
&:focus-within {
border-color: @accent-color;
border-color: @accent;
}
}
&:not(:focus-within).empty [data-id="0"] {
border-color: @accent-color;
border-color: @accent;
}
}
.JoinQuickCode__StyledPrimaryButton-sc-1uhfett-5 {
@@ -1231,7 +1229,7 @@
}
&,
.material-icons-outlined {
color: @contrast-accent-color;
color: @contrast;
}
}
.FloatingToolButton__FloatingButton-sc-1gy4xsl-0 {
@@ -1243,7 +1241,7 @@
background: @overlay1;
}
.material-icons-outlined {
color: @accent-color;
color: @accent;
}
}
.PracticeSet__StyledHeader-sc-1wup6tb-6 {
@@ -1259,7 +1257,7 @@
.HeaderBackLink__TertiaryButtonLink-sc-1vx1tro-0,
.Button__StyledButton-sc-aum9f1-1 {
background: @surface1 !important;
color: @accent-color !important;
color: @accent !important;
&:not([disabled]):hover {
background: @surface2;
}
@@ -1299,7 +1297,7 @@
color: @text;
&:hover {
background: @surface2;
color: @accent-color;
color: @accent;
}
}
}
@@ -1316,9 +1314,9 @@
}
.FileUploadButton__DropZoneDiv-sc-88u8tg-2 {
background: @surface0;
border-color: @accent-color;
border-color: @accent;
.material-icons-outlined {
color: @accent-color;
color: @accent;
}
}
.DividerWord__LineDiv-sc-59xl7-1 {
@@ -1382,9 +1380,9 @@
background: @overlay0;
}
&.active {
color: @accent-color;
color: @accent;
svg {
fill: @accent-color;
fill: @accent;
}
}
svg {
@@ -1402,7 +1400,7 @@
}
.CookiePolicyBanner__ContainerDiv-sc-1p3fxjn-1 {
background: @surface0;
border-color: @accent-color;
border-color: @accent;
.Button__StyledButton-sc-aum9f1-1 {
background: @surface1;
&:hover {
@@ -1425,7 +1423,7 @@
.HeaderBackLink__TertiaryButtonLink-sc-1vx1tro-0,
.Button__StyledButton-sc-aum9f1-1 {
background: @surface1;
color: @accent-color;
color: @accent;
&:hover {
background: @surface2;
}
@@ -1437,11 +1435,11 @@
}
&[aria-checked="true"],
&[aria-checked="true"] div {
outline-color: @accent-color !important;
outline-color: @accent !important;
}
}
.TitleCard__StartButton-sc-xz0ejb-1 {
background: @accent-color;
background: @accent;
color: @base;
}
.QuizSession__BodyDiv-sc-4aco0-0 {
@@ -1465,13 +1463,13 @@
background: @green;
i,
span {
color: @contrast-accent-color;
color: @contrast;
}
}
background: @red;
i,
span {
color: @contrast-accent-color;
color: @contrast;
}
}
.AnswerChoiceCard__CorrectnessOverlay-sc-lns4c-3 {
@@ -1479,7 +1477,7 @@
background: @green;
}
i {
color: @contrast-accent-color !important;
color: @contrast !important;
}
background: @red;
}
@@ -1489,8 +1487,8 @@
.MatchingSessionSummary__CheckmarkOverlayDiv-sc-d3unim-1 {
background: @base;
.Glow__RootDiv-sc-1c8wp5s-0 {
background: @accent-color !important;
color: @contrast-accent-color;
background: @accent !important;
color: @contrast;
}
.MatchingSessionSummary__SessionDiv-sc-d3unim-13 {
border-color: @overlay0;
@@ -1517,7 +1515,7 @@
background: @surface0;
border-color: @overlay0;
.Glow__RootDiv-sc-1c8wp5s-0 {
background: @accent-color !important;
background: @accent !important;
}
}
}
@@ -1533,13 +1531,13 @@
.StreakProgressBar__Progress-sc-1b8tyg3-2 {
background: @surface0;
.StreakProgressBar__ProgressBarDiv-sc-1b8tyg3-3 {
background: @accent-color;
background: @accent;
}
}
.StreakProgressBar__StyledSvgIcon-sc-1b8tyg3-4 {
svg path {
fill: @yellow;
stroke: @contrast-accent-color;
stroke: @contrast;
}
&.visible {
animation: 0.5s ease 0s 1 normal none running
@@ -1547,7 +1545,7 @@
}
}
.PracticeSession__AnswerButton-sc-1t2vn9a-3 {
color: @contrast-accent-color;
color: @contrast;
&.red {
background: @red;
}
@@ -1559,7 +1557,7 @@
.PillToggleGroup__Item-sc-12fkyq8-1 {
&[aria-checked="true"] {
background: @surface0;
color: @accent-color;
color: @accent;
}
&:hover {
background: @surface0;
@@ -1597,15 +1595,15 @@
}
@keyframes catppuccin-formative-practiceset-quiz-streak {
0% {
filter: drop-shadow(fade(@yellow, 80) 0 0 0);
filter: drop-shadow(fade(@yellow, 80%) 0 0 0);
transform: scale(0.8);
}
50% {
filter: drop-shadow(fade(@yellow, 80) 0 0 12px);
filter: drop-shadow(fade(@yellow, 80%) 0 0 12px);
transform: scale(1.3);
}
100% {
filter: drop-shadow(fade(@yellow, 80) 0 0 0);
filter: drop-shadow(fade(@yellow, 80%) 0 0 0);
transform: scale(1);
}
}
@@ -1615,15 +1613,15 @@
background: @surface1;
&:hover {
background: @surface2;
box-shadow: @accent-color 0 0 0 1px;
box-shadow: @accent 0 0 0 1px;
.label {
color: @accent-color;
color: @accent;
}
}
.ShelfTile__IconDiv-sc-1oc4c00-1 {
background: @accent-color !important;
background: @accent !important;
i {
color: @contrast-accent-color;
color: @contrast;
}
}
}