Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Restyle toolbar

dominik-zeglen1fd69d68300d
diff --git a/saleor/static/dashboard-next/components/RichTextEditor/RichTextEditor.tsx b/saleor/static/dashboard-next/components/RichTextEditor/RichTextEditor.tsx
index a0b8e919a8..c294822878 100644
--- a/saleor/static/dashboard-next/components/RichTextEditor/RichTextEditor.tsx
+++ b/saleor/static/dashboard-next/components/RichTextEditor/RichTextEditor.tsx
@@ -83,13 +83,27 @@ const styles = (theme: Theme) =>
"&Button": {
"&--active": {
"&:hover": {
- background: fade(theme.palette.secondary.main, 0.4)
+ background: theme.palette.secondary.main
},
-
- background: fade(theme.palette.secondary.main, 0.3)
+ "&:not(:hover)": {
+ borderRightColor: theme.palette.secondary.main
+ },
+ background: theme.palette.secondary.main
+ },
+ "&:focus": {
+ "&:active": {
+ "&:after": {
+ background: fade(theme.palette.secondary.main, 0.3),
+ borderRadius: "100%",
+ content: "''",
+ display: "block",
+ height: "100%",
+ width: "100%"
+ }
+ }
},
"&:hover": {
- background: fade(theme.palette.secondary.main, 0.1)
+ background: fade(theme.palette.secondary.main, 0.3)
},
alignItems: "center",
background: "none",