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