Skip to content

Commit

Permalink
toolbar sweep
Browse files Browse the repository at this point in the history
  • Loading branch information
nikk15 committed Jul 18, 2023
1 parent 4abb59a commit dc9c3da
Showing 1 changed file with 23 additions and 24 deletions.
47 changes: 23 additions & 24 deletions src/react-components/input/ToolbarButton.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '../styles/theme';
@use "../styles/theme";

:local(.toolbar-button) {
border: none;
Expand Down Expand Up @@ -43,11 +43,11 @@
svg {
color: theme.$toolbar-icon-color;

*[stroke=\#000] {
*[stroke="\#000"] {
transition: stroke 0.1s ease-in-out;
}

*[fill=\#000] {
*[fill="\#000"] {
transition: fill 0.1s ease-in-out;
}
}
Expand All @@ -58,10 +58,11 @@
height: 96px;
}

:local(.basic), :local(.transparent) {
:local(.basic),
:local(.transparent) {
:local(.icon-container) {
border-color: theme.$toolbar-basic-border-color;
background-color: theme.$transparent;;
background-color: theme.$basic-color;
svg {
color: theme.$toolbar-basic-icon-color;
}
Expand Down Expand Up @@ -113,7 +114,7 @@
background-color: theme.$toolbar-basic-color-hover;
}
}

&:active {
:local(.icon-container) {
background-color: theme.$toolbar-basic-color-pressed;
Expand Down Expand Up @@ -186,7 +187,7 @@
}
}
}

&:active {
:local(.icon-container) {
border-color: theme.$primary-color-pressed;
Expand All @@ -199,7 +200,6 @@
}
}


:local(.accept) {
:local(.icon-container) {
background-color: theme.$accept-color;
Expand All @@ -211,7 +211,7 @@
color: theme.$disabled-icon-color;
}
}
}
}

&:hover :local(.icon-container) {
background-color: theme.$accept-color-hover;
Expand Down Expand Up @@ -251,7 +251,7 @@
}
}
}

&:active {
:local(.icon-container) {
border-color: theme.$accept-color-pressed;
Expand All @@ -274,7 +274,7 @@
color: theme.$disabled-icon-color;
}
}
}
}

&:hover :local(.icon-container) {
background-color: theme.$cancel-color-hover;
Expand Down Expand Up @@ -314,7 +314,7 @@
}
}
}

&:active {
:local(.icon-container) {
border-color: theme.$cancel-color-pressed;
Expand All @@ -338,7 +338,7 @@
color: theme.$disabled-icon-color;
}
}
}
}

&:hover :local(.icon-container) {
background-color: theme.$accent1-color-hover;
Expand Down Expand Up @@ -383,7 +383,7 @@
}
}
}

&:active {
:local(.icon-container) {
border-color: theme.$accent1-color-pressed;
Expand All @@ -407,7 +407,7 @@
color: theme.$disabled-icon-color;
}
}
}
}

&:hover :local(.icon-container) {
background-color: theme.$accent2-color-hover;
Expand Down Expand Up @@ -447,7 +447,7 @@
}
}
}

&:active {
:local(.icon-container) {
border-color: theme.$accent2-color-pressed;
Expand All @@ -471,7 +471,7 @@
color: theme.$disabled-icon-color;
}
}
}
}

&:hover :local(.icon-container) {
background-color: theme.$accent3-color-hover;
Expand Down Expand Up @@ -511,7 +511,7 @@
}
}
}

&:active {
:local(.icon-container) {
border-color: theme.$accent3-color-pressed;
Expand Down Expand Up @@ -575,7 +575,7 @@
}
}
}

&:active {
:local(.icon-container) {
border-color: theme.$accent4-color-pressed;
Expand All @@ -599,7 +599,7 @@
color: theme.$disabled-icon-color;
}
}
}
}

&:hover :local(.icon-container) {
background-color: theme.$accent5-color-hover;
Expand Down Expand Up @@ -627,7 +627,7 @@
}

label {
color: theme.$toolbar-label-accent5;
color: theme.$toolbar-label-accent5;
}

&:hover {
Expand All @@ -639,7 +639,7 @@
}
}
}

&:active {
:local(.icon-container) {
border-color: theme.$accent5-color-pressed;
Expand Down Expand Up @@ -667,7 +667,6 @@
background-color: theme.$status-disabled-color;
}


:local(.status-unread) {
background-color: theme.$status-unread-color;
}
Expand All @@ -682,7 +681,7 @@
border-radius: 0px;
border-top-left-radius: 9999px;
border-bottom-left-radius: 9999px;
}
}
}

:local(.middle) {
Expand Down

0 comments on commit dc9c3da

Please sign in to comment.