style: format code with prettier

This commit is contained in:
github-actions committed 2024-02-20 13:33:53 +00:00
1 parent a02aa0353a
commit e20e08dd15
1 file changed
+86 -37
+86 -37
View File
@@ -78,7 +78,9 @@
} }
background: @base; background: @base;
body {color: @text;} body {
color: @text;
}
.loading-spinner-loading-box { .loading-spinner-loading-box {
background: @base; background: @base;
@@ -93,14 +95,16 @@
} }
} }
.SideTabItem__RootButton-sc-vtkzgr-0:not(.selected):hover { .SideTabItem__RootButton-sc-vtkzgr-0:not(.selected):hover {
.side-tab-item-label-div, .material-icons-outlined { .side-tab-item-label-div,
.material-icons-outlined {
color: @accent-color; color: @accent-color;
} }
.avatar { .avatar {
box-shadow: @accent-color 0 0 0 1px; box-shadow: @accent-color 0 0 0 1px;
} }
} }
.side-tab-item-label-div, .material-icons-outlined { .side-tab-item-label-div,
.material-icons-outlined {
color: @text; color: @text;
} }
} }
@@ -214,10 +218,13 @@
&.IconWarningButton__RootButton-sc-1b683n6-0:hover { &.IconWarningButton__RootButton-sc-1b683n6-0:hover {
border-color: @red; border-color: @red;
} }
&>svg[width="16"] { & > svg[width="16"] {
path { stroke: @red; } path {
stroke: @red;
}
} }
&, .material-icons-outlined { &,
.material-icons-outlined {
color: @text !important; color: @text !important;
} }
background: @surface2 !important; background: @surface2 !important;
@@ -226,7 +233,8 @@
.Card__RootDiv-sc-4gt2nj-0 { .Card__RootDiv-sc-4gt2nj-0 {
background: @surface0; background: @surface0;
border-color: @overlay0; border-color: @overlay0;
.FormativeCardAttributesRow__AttributeDiv-sc-tx9rpw-1 .material-icons-outlined { .FormativeCardAttributesRow__AttributeDiv-sc-tx9rpw-1
.material-icons-outlined {
color: @text; color: @text;
} }
&:hover { &:hover {
@@ -235,7 +243,6 @@
color: @accent-color; color: @accent-color;
} }
} }
} }
.ClassAvatar__RootDiv-sc-1ihhtbf-0, .ClassAvatar__RootDiv-sc-1ihhtbf-0,
.avatar > div { .avatar > div {
@@ -263,7 +270,8 @@
.ReactSelect__menu { .ReactSelect__menu {
background: @surface2 !important; background: @surface2 !important;
color: @text; color: @text;
.SearchBarOption__RootLink-sc-191bb28-1:hover .SearchBarOption__TitleOverflowEllipsis-sc-191bb28-0 { .SearchBarOption__RootLink-sc-191bb28-1:hover
.SearchBarOption__TitleOverflowEllipsis-sc-191bb28-0 {
color: @accent-color; color: @accent-color;
} }
.ReactSelect__option--is-focused { .ReactSelect__option--is-focused {
@@ -286,11 +294,13 @@
.IconButton__RootButton-sc-ebvofk-0, .IconButton__RootButton-sc-ebvofk-0,
.SectionDetail__BackLink-sc-1aifgaj-4 { .SectionDetail__BackLink-sc-1aifgaj-4 {
background: @surface0; background: @surface0;
&, .material-icons-outlined { &,
.material-icons-outlined {
color: @accent-color !important; color: @accent-color !important;
border-color: @overlay0; border-color: @overlay0;
} }
&:hover, &:enabled:focus { &:hover,
&:enabled:focus {
background: @surface1; background: @surface1;
border-color: @accent-color; border-color: @accent-color;
} }
@@ -325,7 +335,9 @@
.DropdownRow__RowButton-sc-1bu6csb-0 { .DropdownRow__RowButton-sc-1bu6csb-0 {
background: @surface2; background: @surface2;
border-color: @overlay2; border-color: @overlay2;
&, .dropdown-list-icon, .material-icons-outlined { &,
.dropdown-list-icon,
.material-icons-outlined {
color: @text !important; color: @text !important;
svg path { svg path {
fill: @text !important; fill: @text !important;
@@ -351,7 +363,8 @@
} }
.BadgeCard__RootButton-sc-13976oo-0 { .BadgeCard__RootButton-sc-13976oo-0 {
&:hover, &.selected { &:hover,
&.selected {
.BadgeCard__BadgeLabelDiv-sc-13976oo-8 { .BadgeCard__BadgeLabelDiv-sc-13976oo-8 {
color: @accent-color; color: @accent-color;
} }
@@ -360,7 +373,7 @@
} }
} }
.BadgeCard__ProgressPercentSpan-sc-13976oo-7 { .BadgeCard__ProgressPercentSpan-sc-13976oo-7 {
color: @text color: @text;
} }
} }
.BadgeSidebar__RootDiv-sc-oi03p1-0 { .BadgeSidebar__RootDiv-sc-oi03p1-0 {
@@ -397,7 +410,9 @@
.ModalBody__RootDiv-sc-1lg094f-0 > * { .ModalBody__RootDiv-sc-1lg094f-0 > * {
color: @text !important; color: @text !important;
&.ErrorExplainer__BodyDiv-sc-7nq4if-0 { &.ErrorExplainer__BodyDiv-sc-7nq4if-0 {
.material-icons-outlined {color: @red;} .material-icons-outlined {
color: @red;
}
.ErrorExplainer__TechnicalDetailsHeading-sc-7nq4if-3, .ErrorExplainer__TechnicalDetailsHeading-sc-7nq4if-3,
.ErrorExplainer__ErrorIdParagraph-sc-7nq4if-4 { .ErrorExplainer__ErrorIdParagraph-sc-7nq4if-4 {
color: @subtext0; color: @subtext0;
@@ -438,7 +453,8 @@
path:nth-child(1) { path:nth-child(1) {
fill: @overlay0 !important; fill: @overlay0 !important;
} }
path:nth-child(2), path:nth-child(3) { path:nth-child(2),
path:nth-child(3) {
fill: @text !important; fill: @text !important;
} }
} }
@@ -450,7 +466,8 @@
.FormativeStudentHeader__UpperDiv-sc-yw00ql-11 { .FormativeStudentHeader__UpperDiv-sc-yw00ql-11 {
background: @crust !important; background: @crust !important;
color: @text; color: @text;
&, .FormativeStudentHeader__InfoItem-sc-yw00ql-7 { &,
.FormativeStudentHeader__InfoItem-sc-yw00ql-7 {
border-color: @overlay0; border-color: @overlay0;
} }
} }
@@ -472,18 +489,22 @@
} }
.FormativeProgressBarStyles__NavItemGroupDiv-sc-1rm72lt-2 { .FormativeProgressBarStyles__NavItemGroupDiv-sc-1rm72lt-2 {
border-color: @overlay0; border-color: @overlay0;
&:hover, &:focus-within { &:hover,
&:focus-within {
background: @surface0; background: @surface0;
.formative-nav-item, .formative-nav-item-icon { .formative-nav-item,
.formative-nav-item-icon {
color: @accent-color; color: @accent-color;
} }
} }
} }
.formative-nav-item { .formative-nav-item {
&, .formative-nav-item-icon { &,
.formative-nav-item-icon {
color: @text; color: @text;
} }
&:hover, &:focus { &:hover,
&:focus {
background: @surface1; background: @surface1;
color: @accent-color; color: @accent-color;
border-color: @accent-color; border-color: @accent-color;
@@ -504,7 +525,9 @@
background-color: @peach; background-color: @peach;
} }
svg { svg {
path { stroke: @red; } path {
stroke: @red;
}
} }
} }
} }
@@ -562,7 +585,9 @@
background: @surface0; background: @surface0;
} }
.match-table-grid-container table { .match-table-grid-container table {
th, tr, td { th,
tr,
td {
background: @surface0 !important; background: @surface0 !important;
border-color: @overlay0; border-color: @overlay0;
.checkbox-root button { .checkbox-root button {
@@ -579,7 +604,9 @@
} }
} }
.MatchingTable__Table-sc-1rhxmvo-1 { .MatchingTable__Table-sc-1rhxmvo-1 {
&, td, tr { &,
td,
tr {
border-color: @overlay0; border-color: @overlay0;
} }
tr.isOver { tr.isOver {
@@ -649,7 +676,8 @@
background: @surface0; background: @surface0;
} }
.dropzone { .dropzone {
&:hover, &.selected { &:hover,
&.selected {
background: @surface1; background: @surface1;
.dropzone-number { .dropzone-number {
background: @surface2 !important; background: @surface2 !important;
@@ -740,7 +768,8 @@
color: @text; color: @text;
border-color: @overlay0; border-color: @overlay0;
background: @surface0; background: @surface0;
&:focus-within, &:hover { &:focus-within,
&:hover {
border-color: @accent-color; border-color: @accent-color;
} }
&.invalid { &.invalid {
@@ -844,7 +873,7 @@
} }
} }
&:not(:focus-within).empty [data-id="0"] { &:not(:focus-within).empty [data-id="0"] {
border-color: @accent-color border-color: @accent-color;
} }
} }
.JoinQuickCode__StyledPrimaryButton-sc-1uhfett-5 { .JoinQuickCode__StyledPrimaryButton-sc-1uhfett-5 {
@@ -857,20 +886,28 @@
.FormativeStudentFooter__BottomDiv-sc-6tj89c-3 { .FormativeStudentFooter__BottomDiv-sc-6tj89c-3 {
border-color: @overlay0; border-color: @overlay0;
} }
.ModalBody__RootDiv-sc-1lg094f-0:has(.SubmitModal__ContentTitleH3-sc-7oq9dj-1) svg path { .ModalBody__RootDiv-sc-1lg094f-0:has(
.SubmitModal__ContentTitleH3-sc-7oq9dj-1
)
svg
path {
fill: @accent-color; fill: @accent-color;
} }
.StudentFormativeStatus__RootDiv-sc-y86tx8-1 { .StudentFormativeStatus__RootDiv-sc-y86tx8-1 {
&.bQdPlK { &.bQdPlK {
background: @green; background: @green;
} }
&, .material-icons-outlined { &,
.material-icons-outlined {
color: @contrast-accent-color; color: @contrast-accent-color;
} }
} }
.FloatingToolButton__FloatingButton-sc-1gy4xsl-0 { .FloatingToolButton__FloatingButton-sc-1gy4xsl-0 {
background: @overlay0; background: @overlay0;
&:hover, &:enabled:hover, &:focus, &:enabled:focus { &:hover,
&:enabled:hover,
&:focus,
&:enabled:focus {
background: @overlay1; background: @overlay1;
} }
.material-icons-outlined { .material-icons-outlined {
@@ -963,11 +1000,21 @@
.FeedbackMessagesList__MessagesListDiv-sc-9o5dsw-0 { .FeedbackMessagesList__MessagesListDiv-sc-9o5dsw-0 {
background: @surface1; background: @surface1;
.FeedbackMessagesList__EmptyDiv-sc-9o5dsw-1 svg { .FeedbackMessagesList__EmptyDiv-sc-9o5dsw-1 svg {
path:nth-child(1) { fill: @yellow; } path:nth-child(1) {
path:nth-child(2) { fill: @green; } fill: @yellow;
path:nth-child(3) { fill: @mauve; } }
path:nth-child(4) { stroke: @peach; } path:nth-child(2) {
path:nth-child(5) { stroke: @peach; } fill: @green;
}
path:nth-child(3) {
fill: @mauve;
}
path:nth-child(4) {
stroke: @peach;
}
path:nth-child(5) {
stroke: @peach;
}
} }
} }
.FeedbackMessage__FeedbackBoxDiv-sc-q3ku9d-2 { .FeedbackMessage__FeedbackBoxDiv-sc-q3ku9d-2 {
@@ -988,10 +1035,12 @@
.Toolbar__RootDiv-sc-1e3lohg-0 { .Toolbar__RootDiv-sc-1e3lohg-0 {
border-color: @overlay0; border-color: @overlay0;
box-shadow: @overlay0 0 1px 3px 0; box-shadow: @overlay0 0 1px 3px 0;
&::before, &::after { &::before,
&::after {
border-color: @surface2 transparent transparent; border-color: @surface2 transparent transparent;
} }
&, .buttonWrapper button { &,
.buttonWrapper button {
background: @surface2; background: @surface2;
} }
.buttonWrapper button { .buttonWrapper button {