fix(formative): broken elements, spinner (#788)

This commit is contained in:
Toshit authored and GitHub committed 2024-04-09 08:18:18 -07:00
1 parent 988b64f716
commit 1e99e1a23f
1 file changed
+55 -5
+55 -5
View File
@@ -2,7 +2,7 @@
@name Formative Catppuccin
@namespace github.com/catppuccin/userstyles/styles/formative
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/formative
@version 0.2.1
@version 0.2.2
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/formative/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aformative
@description Soothing pastel theme for Formative
@@ -69,6 +69,11 @@
&::placeholder {
color: @subtext0 !important;
}
border-color: @overlay0;
color: @text;
}
.input {
border-color: @overlay0;
}
.MainAppSideMenu__LogoLink-sc-11gwnv8-2,
@@ -222,7 +227,9 @@
.LaunchRespondusBrowser__DetailsParagraph-sc-1ymzzc2-4,
.PracticeSession__PopoverContentDiv-sc-1t2vn9a-4,
.ExpandableAccordionHeader__HeaderRow-sc-cu02pz-1,
.VerticalButton__StyledSpan-sc-1h2we7r-1 {
.VerticalButton__StyledSpan-sc-1h2we7r-1,
.ShelfTile__LabelDiv-sc-1oc4c00-3,
.PracticeSet__AddItemCardContents-sc-1wup6tb-10 {
color: @text;
}
.TabsItem__TabDiv-sc-tj1og8-4:hover,
@@ -382,6 +389,9 @@
.Popover__PopoverArrow-sc-1x169li-3 {
fill: @surface2;
}
.StrokePicker__InnerDiv-sc-8widgm-4 {
background: @surface2;
}
}
.DropdownList__TriggerButton-sc-1hvvmg1-0,
.EmptyExplainer__StyledMaterialIcon-sc-1ixiesy-4 {
@@ -476,6 +486,9 @@
color: @subtext0;
}
}
.PracticeItemImport__StyledTextarea-sc-4fopem-2 {
background: @surface0;
}
}
.ModalTitle {
background: @base;
@@ -659,11 +672,16 @@
}
border-color: @overlay2 !important;
}
.BlankOutput__FillableEntity-sc-15mzaww-2,
.BlankOutput__FillableNumericDiv-sc-15mzaww-1 {
.BlankOutput__FillableEntity-sc-15mzaww-3,
.BlankOutput__FillableNumericDiv-sc-15mzaww-2 {
outline-color: @accent-color;
color: @text;
background: @surface0;
.KatexOutput__RootDiv-sc-gu2jna-0 {
[style*="color: rgb(204, 0, 0)"] {
color: @red !important;
}
}
}
.match-table-grid-container table {
th,
@@ -724,6 +742,12 @@
background: transparent;
}
}
.ChoiceOptionViewable__RightSideDiv-sc-a2vwy6-2 {
border-color: @overlay0;
.ChoiceOptionViewable__StrickenOverlayDiv-sc-a2vwy6-7 {
background-image: repeating-linear-gradient(315deg, transparent, transparent 16px, @text 16px, @text 18px);
}
}
.InlineChoiceOutput__InlineChoiceOutputDiv-sc-1694w84-2 {
background: @surface0;
border-color: @accent-color;
@@ -1088,7 +1112,7 @@
border-color: @overlay0;
}
.ModalBody__RootDiv-sc-1lg094f-0:has(
.SubmitModal__ContentTitleH3-sc-7oq9dj-1
.Submit__ContentTitleH3-sc-1vceatk-1
)
svg
path {
@@ -1120,6 +1144,9 @@
border-color: @overlay0;
input.ReactiveTextInput__StyledInput-sc-g83bxq-2 {
color: @text !important;
&::placeholder, &:focus::placeholder {
color: @subtext0 !important;
}
}
.HeaderBackLink__TertiaryButtonLink-sc-1vx1tro-0,
.Button__StyledButton-sc-aum9f1-1 {
@@ -1450,6 +1477,29 @@
transform: scale(1);
}
}
.Shelf__RootDiv-sc-5aism7-0 {
background: @surface0;
.ShelfTile__RootButton-sc-1oc4c00-0 {
background: @surface1;
&:hover {
background: @surface2;
box-shadow: @accent-color 0 0 0 1px;
.label {
color: @accent-color;
}
}
.ShelfTile__IconDiv-sc-1oc4c00-1 {
background: @accent-color !important;
i {
color: @contrast-accent-color;
}
}
}
}
img.spinner {
@svg: escape('<svg width="140" height="140" version="1.1" viewBox="0 0 1400 1400" xmlns="http://www.w3.org/2000/svg"><path d="M1035 1226c-13-13-27-40-31-60-6-35-3-40 60-106 116-120 162-254 145-423-9-93-55-201-114-266l-37-41h44c60 0 83-24 79-86-3-55 3-53 64 26 97 126 148 276 148 430 0 155-52 305-148 430-91 118-158 148-210 96" fill="@{yellow}"/><path d="M1105 362c-11-2-41-24-68-49-102-95-263-143-409-123-87 12-198 62-257 115l-41 37v-40c0-61-26-86-85-83-56 3-54-3 25-64 72-55 182-108 270-131 85-22 235-22 320 0 124 32 298 132 345 199s-19 159-100 139" fill="@{green}"/><path d="M612 1389c-158-21-341-117-431-226-56-68-31-143 53-159 35-6 40-3 106 60 121 118 272 168 433 146 76-11 178-53 236-97l34-26-6 23c-8 30 15 85 41 99 12 6 35 11 53 11h32l-47 36c-134 102-337 156-504 133" fill="@{red}"/><path d="M142 1113c-45-59-98-173-118-253-22-85-22-235 0-320 32-124 132-298 199-345 46-32 110-14 132 39 19 45 10 73-42 129-95 102-143 264-123 410 11 76 53 178 97 236l26 34-23-6c-26-7-83 14-96 34-5 8-11 30-14 50l-5 36z" fill="@{blue}"/></svg>');
content: url("data:image/svg+xml,@{svg}");
}
}
}