diff --git a/assets/icons/check_circle.svg b/assets/icons/check_circle.svg
index 85ba2e1f37724edc819c58bbdf3009ca491f760d..b48fe346316e01bf1b1a2d79dfd06a1c58ec4b3a 100644
--- a/assets/icons/check_circle.svg
+++ b/assets/icons/check_circle.svg
@@ -1,4 +1,4 @@
diff --git a/assets/icons/error.svg b/assets/icons/error.svg
index 82b9401d08dc8d682fcbbfda15795f6ec3d3de2e..593629beee2510012638795583327b7877938ba9 100644
--- a/assets/icons/error.svg
+++ b/assets/icons/error.svg
@@ -1,4 +1,4 @@
diff --git a/assets/icons/warning.svg b/assets/icons/warning.svg
index 6b3d0fd41e979c0704a8f04502c16cfc58c9cb2f..e581def0d050727647ccaf06a53406b389d57e71 100644
--- a/assets/icons/warning.svg
+++ b/assets/icons/warning.svg
@@ -1,5 +1,6 @@
diff --git a/styles/src/style_tree/status_bar.ts b/styles/src/style_tree/status_bar.ts
index 3b5ebf2c88d9d67375e8c3214788544689c7b997..b279bbac14c402404c7752eec0edeacaa05ce158 100644
--- a/styles/src/style_tree/status_bar.ts
+++ b/styles/src/style_tree/status_bar.ts
@@ -75,34 +75,36 @@ export default function status_bar(): any {
icon_color_error: foreground(layer, "negative"),
container_ok: {
corner_radius: 6,
- padding: { top: 3, bottom: 3, left: 7, right: 7 },
- },
- container_warning: {
- ...diagnostic_status_container,
- background: background(layer, "warning"),
- border: border(layer, "warning"),
- },
- container_error: {
- ...diagnostic_status_container,
- background: background(layer, "negative"),
- border: border(layer, "negative"),
+ padding: { top: 2, bottom: 2, left: 6, right: 6 },
},
+ container_warning: diagnostic_status_container,
+ container_error: diagnostic_status_container
},
state: {
hovered: {
icon_color_ok: foreground(layer, "on"),
container_ok: {
- background: background(layer, "on", "hovered"),
+ background: background(layer, "hovered")
},
container_warning: {
- background: background(layer, "warning", "hovered"),
- border: border(layer, "warning", "hovered"),
+ background: background(layer, "hovered")
},
container_error: {
- background: background(layer, "negative", "hovered"),
- border: border(layer, "negative", "hovered"),
+ background: background(layer, "hovered")
},
},
+ clicked: {
+ icon_color_ok: foreground(layer, "on"),
+ container_ok: {
+ background: background(layer, "pressed")
+ },
+ container_warning: {
+ background: background(layer, "pressed")
+ },
+ container_error: {
+ background: background(layer, "pressed")
+ }
+ }
},
}),
panel_buttons: {