From 919e7b26cc5b32bdc23b9cb79c7300a4ff772aa2 Mon Sep 17 00:00:00 2001 From: tpart Date: Thu, 15 Aug 2024 21:57:17 +0200 Subject: Fix: Enable bot button style incorrect; Move theme styles to files --- client/menu/theme/style/focus_style.tres | 17 +++++++++++++++++ client/menu/theme/style/hover_style.tres | 12 ++++++++++++ client/menu/theme/style/normal_style.tres | 12 ++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 client/menu/theme/style/focus_style.tres create mode 100644 client/menu/theme/style/hover_style.tres create mode 100644 client/menu/theme/style/normal_style.tres (limited to 'client/menu/theme/style') diff --git a/client/menu/theme/style/focus_style.tres b/client/menu/theme/style/focus_style.tres new file mode 100644 index 00000000..a01843fe --- /dev/null +++ b/client/menu/theme/style/focus_style.tres @@ -0,0 +1,17 @@ +[gd_resource type="StyleBoxFlat" format=3 uid="uid://b86kbd3pfkd5w"] + +[resource] +content_margin_left = 10.0 +content_margin_top = 10.0 +content_margin_right = 10.0 +content_margin_bottom = 10.0 +bg_color = Color(1, 1, 1, 0.0627451) +border_width_left = 2 +border_width_top = 2 +border_width_right = 2 +border_width_bottom = 2 +border_color = Color(0.818673, 0.926505, 1, 1) +corner_radius_top_left = 5 +corner_radius_top_right = 5 +corner_radius_bottom_right = 5 +corner_radius_bottom_left = 5 diff --git a/client/menu/theme/style/hover_style.tres b/client/menu/theme/style/hover_style.tres new file mode 100644 index 00000000..963ee2ca --- /dev/null +++ b/client/menu/theme/style/hover_style.tres @@ -0,0 +1,12 @@ +[gd_resource type="StyleBoxFlat" format=3 uid="uid://dua4jqje3704w"] + +[resource] +content_margin_left = 10.0 +content_margin_top = 10.0 +content_margin_right = 10.0 +content_margin_bottom = 10.0 +bg_color = Color(1, 1, 1, 0.266667) +corner_radius_top_left = 5 +corner_radius_top_right = 5 +corner_radius_bottom_right = 5 +corner_radius_bottom_left = 5 diff --git a/client/menu/theme/style/normal_style.tres b/client/menu/theme/style/normal_style.tres new file mode 100644 index 00000000..96aecc8e --- /dev/null +++ b/client/menu/theme/style/normal_style.tres @@ -0,0 +1,12 @@ +[gd_resource type="StyleBoxFlat" format=3 uid="uid://pi5uhe0lrgka"] + +[resource] +content_margin_left = 10.0 +content_margin_top = 10.0 +content_margin_right = 10.0 +content_margin_bottom = 10.0 +bg_color = Color(1, 1, 1, 0.0352941) +corner_radius_top_left = 5 +corner_radius_top_right = 5 +corner_radius_bottom_right = 5 +corner_radius_bottom_left = 5 -- cgit v1.2.3-70-g09d2