Skip to content

Commit

Permalink
style: improve fx toggle size and colors
Browse files Browse the repository at this point in the history
Closes #249
  • Loading branch information
Niklas Kiefer authored and fake-join[bot] committed Jun 14, 2023
1 parent a46f3ee commit 5c8e92a
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions assets/properties-panel.css
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,13 @@
--dropdown-item-hover-background-color: var(--color-grey-225-10-95);
--dropdown-separator-background-color: var(--color-grey-225-10-75);

--feel-background-color: var(--color-grey-225-10-95);
--feel-background-color: transparent;
--feel-active-color: var(--color-blue-205-100-45);
--feel-inactive-color: var(--color-grey-225-10-35);
--feel-hover-background-color: var(--color-grey-225-10-90);
--feel-active-background-color: var(--color-grey-225-10-95);
--feel-hover-color: var(--color-grey-225-10-15);
--feel-hover-background-color: var(--color-grey-225-10-97);
--feel-active-background-color: transparent;
--feel-required-color: var(--color-grey-225-10-55);

--feel-indicator-background-color: var(--color-grey-225-10-90);

Expand Down Expand Up @@ -990,7 +992,7 @@ textarea.bio-properties-panel-input {

.bio-properties-panel-feel-icon {
display: inline-flex;
height: 22px;
height: 18px;
width: 22px;
vertical-align: text-bottom;
padding: 0;
Expand All @@ -1005,7 +1007,6 @@ textarea.bio-properties-panel-input {

.bio-properties-panel-feel-icon.optional {
cursor: pointer;

background: var(--feel-background-color);
}

Expand All @@ -1017,6 +1018,10 @@ textarea.bio-properties-panel-input {
background: var(--feel-hover-background-color);
}

.bio-properties-panel-feel-icon:hover svg * {
fill: var(--feel-hover-color);
}

.bio-properties-panel-feel-icon.active {
background: var(--feel-active-background-color);
}
Expand All @@ -1034,7 +1039,7 @@ textarea.bio-properties-panel-input {
}

.bio-properties-panel-feel-icon.required.active svg * {
fill: var(--feel-inactive-color);
fill: var(--feel-required-color);
}

.bio-properties-panel-feel-editor-container {
Expand Down

0 comments on commit 5c8e92a

Please sign in to comment.