From 0ae568f23cc2a266bdf80c88219d28cf6d48680a Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 17 Mar 2024 22:30:50 +0000 Subject: [PATCH] style: format code with prettier --- styles/formative/catppuccin.user.css | 74 +++++++++++++++++++--------- 1 file changed, 50 insertions(+), 24 deletions(-) diff --git a/styles/formative/catppuccin.user.css b/styles/formative/catppuccin.user.css index 61aacaa2..55c33fbf 100644 --- a/styles/formative/catppuccin.user.css +++ b/styles/formative/catppuccin.user.css @@ -208,7 +208,9 @@ .VerticalButton__StyledSpan-sc-1h2we7r-1 { color: @text; } - .TabsItem__TabDiv-sc-tj1og8-4:hover, .RespondusTroubleshootLink__TroubleshootingAnchor-sc-17na5u4-7, .Summary__RawButtonLink-sc-1ofq6fd-2 { + .TabsItem__TabDiv-sc-tj1og8-4:hover, + .RespondusTroubleshootLink__TroubleshootingAnchor-sc-17na5u4-7, + .Summary__RawButtonLink-sc-1ofq6fd-2 { color: @accent-color; } .FormativesShelf__StyledSecondaryHeader-sc-1pswvpk-3 { @@ -419,7 +421,8 @@ } .Modal__Content-sc-1uf7odj-1 { background: @base; - .modal-header, .modal-footer { + .modal-header, + .modal-footer { border-color: @overlay0; } .ModalHeader__Title-sc-1aoz840-1 { @@ -464,15 +467,21 @@ background: @surface1 !important; img { &[src*="flashcard-preview"] { - @escaped: escape(''); - content: url("data:image/svg+xml,@{escaped}") + @escaped: escape( + '' + ); + content: url("data:image/svg+xml,@{escaped}"); } &[src*="match-preview"] { - @escaped: escape(''); + @escaped: escape( + '' + ); content: url("data:image/svg+xml,@{escaped}"); } &[src*="quiz-preview"] { - @escaped: escape(''); + @escaped: escape( + '' + ); content: url("data:image/svg+xml,@{escaped}"); } } @@ -675,7 +684,8 @@ .ChoiceElementViewable__RootDiv-sc-viwu2x-0 { background: @surface0; border-color: @overlay0; - &:hover, &.highlight { + &:hover, + &.highlight { border-color: @accent-color; background: @surface1; } @@ -683,7 +693,8 @@ background: transparent; color: @text; } - .Button__StyledButton-sc-aum9f1-1, i { + .Button__StyledButton-sc-aum9f1-1, + i { background: transparent !important; } } @@ -800,11 +811,13 @@ .GraphViewableDetails__GraphAndControlsDiv-sc-13yx2r4-2 { .VerticalButton__StyledButton-sc-1h2we7r-2 { &:disabled { - i, span { + i, + span { color: @subtext0; } } - &:not(:disabled):hover, &:not(:disabled):focus-within { + &:not(:disabled):hover, + &:not(:disabled):focus-within { div { background: @surface0; } @@ -817,7 +830,8 @@ border-color: @overlay0; background: @surface0; svg { - line[stroke="rgb(4,28,68)"], marker[stroke="rgb(4,28,68)"] { + line[stroke="rgb(4,28,68)"], + marker[stroke="rgb(4,28,68)"] { fill: @subtext1; stroke: @subtext1; } @@ -958,7 +972,8 @@ .Summary__SummaryDiv-sc-1ofq6fd-0, .MatchingSessionSummary__CheckmarkContainerDiv-sc-d3unim-2 { svg { - path[fill="rgb(32,213,171)"], path[fill="rgb(33,214,170)"] { + path[fill="rgb(32,213,171)"], + path[fill="rgb(33,214,170)"] { fill: @green !important; } path[fill="rgb(255,138,51)"] { @@ -967,7 +982,8 @@ path[fill="rgb(255,222,51)"] { fill: @yellow !important; } - path[fill="rgb(255,76,77)"], path[fill="rgb(255,76,76)"] { + path[fill="rgb(255,76,77)"], + path[fill="rgb(255,76,76)"] { fill: @red !important; } path[fill="rgb(201,68,204)"] { @@ -976,11 +992,13 @@ path[fill="rgb(0,165,249)"] { fill: @blue !important; } - path[fill="rgb(255,255,255)"], path[fill="rgb(242,242,242)"] { + path[fill="rgb(255,255,255)"], + path[fill="rgb(242,242,242)"] { fill: @contrast-accent-color !important; } - path[stroke="rgb(32,213,171)"], path[stroke="rgb(33,214,170)"] { + path[stroke="rgb(32,213,171)"], + path[stroke="rgb(33,214,170)"] { stroke: @green !important; } path[stroke="rgb(255,138,51)"] { @@ -989,7 +1007,8 @@ path[stroke="rgb(255,222,51)"] { stroke: @yellow !important; } - path[stroke="rgb(255,76,77)"], path[stroke="rgb(255,76,76)"] { + path[stroke="rgb(255,76,77)"], + path[stroke="rgb(255,76,76)"] { stroke: @red !important; } path[stroke="rgb(201,68,204)"] { @@ -998,7 +1017,8 @@ path[stroke="rgb(0,165,249)"] { stroke: @blue !important; } - path[stroke="rgb(255,255,255)"], path[stroke="rgb(242,242,242)"] { + path[stroke="rgb(255,255,255)"], + path[stroke="rgb(242,242,242)"] { stroke: @contrast-accent-color !important; } } @@ -1275,20 +1295,24 @@ box-shadow: @overlay0 0 0 0 1px; } &.correct::before { - animation: 1.2s ease 0s 1 normal forwards running catppuccin-formative-practiceset-quiz-correct; + animation: 1.2s ease 0s 1 normal forwards running + catppuccin-formative-practiceset-quiz-correct; } &.incorrect::before { - animation: 1.2s ease 0s 1 normal forwards running catppuccin-formative-practiceset-quiz-incorrect; + animation: 1.2s ease 0s 1 normal forwards running + catppuccin-formative-practiceset-quiz-incorrect; } .AnswerChoiceCard__CorrectnessPill-sc-lns4c-2 { &.correct { background: @green; - i, span { + i, + span { color: @contrast-accent-color; } } background: @red; - i, span { + i, + span { color: @contrast-accent-color; } } @@ -1324,7 +1348,7 @@ .MatchingSessionSummary__SessionDiv-sc-d3unim-13 { border-color: @overlay0; &.highlight { - background: fade(@yellow, 25) + background: fade(@yellow, 25); } } } @@ -1333,7 +1357,8 @@ .Glow__FlashDiv-sc-1c8wp5s-1 { background: transparent; } - .ProgressBar__PointsContainerSpan-sc-ly2f4w-3 .Glow__RootDiv-sc-1c8wp5s-0 { + .ProgressBar__PointsContainerSpan-sc-ly2f4w-3 + .Glow__RootDiv-sc-1c8wp5s-0 { background: @surface0 !important; color: @text; } @@ -1366,7 +1391,8 @@ stroke: @contrast-accent-color; } &.visible { - animation: 0.5s ease 0s 1 normal none running catppuccin-formative-practiceset-quiz-streak; + animation: 0.5s ease 0s 1 normal none running + catppuccin-formative-practiceset-quiz-streak; } } .PracticeSession__AnswerButton-sc-1t2vn9a-3 {