Compare commits

...

4 Commits

Author SHA1 Message Date
passivestar
2ee944d8e7 Tree guide color fix 2024-10-24 05:43:38 +04:00
passivestar
57a0d73988 Draw relationship lines for selected tree items 2024-10-24 05:06:47 +04:00
passivestar
0afacb0f52 Slightly increase inspector section contrast 2024-10-24 04:40:31 +04:00
passivestar
b007c6e4d9 Add tree hover styles 2024-10-24 04:32:17 +04:00
2 changed files with 62 additions and 30 deletions

View File

@ -1,4 +1,4 @@
[gd_resource type="Theme" load_steps=67 format=3 uid="uid://bcibt73qths3v"]
[gd_resource type="Theme" load_steps=68 format=3 uid="uid://bcibt73qths3v"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_503jw"]
content_margin_left = 0.0
@ -242,7 +242,7 @@ anti_aliasing = false
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_cm6fs"]
content_margin_top = 4.0
content_margin_bottom = 4.0
bg_color = Color(1, 1, 1, 0.0392157)
bg_color = Color(1, 1, 1, 0.0588235)
border_color = Color(1, 1, 1, 0.709804)
corner_radius_top_left = 4
corner_radius_top_right = 4
@ -403,7 +403,13 @@ draw_center = false
border_color = Color(1, 1, 1, 0)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_32au3"]
bg_color = Color(1, 1, 1, 0.0392157)
bg_color = Color(1, 1, 1, 0.0980392)
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color(1, 1, 1, 0.156863)
border_blend = true
corner_radius_top_left = 4
corner_radius_top_right = 4
corner_radius_bottom_right = 4
@ -734,6 +740,19 @@ corner_radius_bottom_left = 8
corner_detail = 4
anti_aliasing = false
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_v3yhk"]
content_margin_left = 3.0
content_margin_top = 3.0
content_margin_right = 3.0
content_margin_bottom = 3.0
bg_color = Color(1, 1, 1, 0.0784314)
border_color = Color(0.145098, 0.145098, 0.145098, 1)
corner_radius_top_left = 4
corner_radius_top_right = 4
corner_radius_bottom_right = 4
corner_radius_bottom_left = 4
anti_aliasing = false
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_68sxm"]
content_margin_left = 3.0
content_margin_right = 3.0
@ -745,18 +764,12 @@ corner_radius_bottom_right = 4
corner_radius_bottom_left = 4
anti_aliasing = false
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_v3yhk"]
content_margin_left = 3.0
content_margin_top = 3.0
content_margin_right = 3.0
content_margin_bottom = 3.0
bg_color = Color(1, 1, 1, 0.0392157)
border_color = Color(0.145098, 0.145098, 0.145098, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_v1a6f"]
bg_color = Color(1, 1, 1, 0.0784314)
corner_radius_top_left = 4
corner_radius_top_right = 4
corner_radius_bottom_right = 4
corner_radius_bottom_left = 4
anti_aliasing = false
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_h3su5"]
content_margin_left = 6.0
@ -989,25 +1002,28 @@ TextEdit/styles/focus = SubResource("StyleBoxFlat_62kny")
TextEdit/styles/normal = SubResource("StyleBoxFlat_t7304")
TextEdit/styles/read_only = SubResource("StyleBoxFlat_6ucq2")
TooltipPanel/styles/panel = SubResource("StyleBoxFlat_qr21i")
Tree/colors/children_hl_line_color = Color(1, 1, 1, 0.0196078)
Tree/colors/drop_position_color = Color(1, 1, 1, 0.392157)
Tree/colors/font_color = Color(1, 1, 1, 0.627451)
Tree/colors/guide_color = Color(1, 1, 1, 0)
Tree/colors/parent_hl_line_color = Color(1, 1, 1, 0.0196078)
Tree/colors/parent_hl_line_color = Color(1, 1, 1, 0.0980392)
Tree/constants/children_hl_line_width = 0
Tree/constants/draw_guides = 0
Tree/constants/draw_relationship_lines = 0
Tree/constants/draw_relationship_lines = 1
Tree/constants/inner_item_margin_left = 1
Tree/constants/inner_item_margin_right = 1
Tree/constants/parent_hl_line_width = 0
Tree/constants/parent_hl_line_width = 1
Tree/constants/relationship_line_width = 0
Tree/constants/v_separation = 1
Tree/styles/button_hover = SubResource("StyleBoxFlat_v3yhk")
Tree/styles/button_pressed = SubResource("StyleBoxFlat_68sxm")
Tree/styles/cursor = SubResource("StyleBoxFlat_m3jjh")
Tree/styles/cursor_unfocused = SubResource("StyleBoxFlat_m3jjh")
Tree/styles/custom_button_hover = SubResource("StyleBoxFlat_v1a6f")
Tree/styles/custom_button_pressed = SubResource("StyleBoxFlat_68sxm")
Tree/styles/focus = SubResource("StyleBoxFlat_20eiv")
Tree/styles/hover = SubResource("StyleBoxFlat_v3yhk")
Tree/styles/hovered = SubResource("StyleBoxFlat_v1a6f")
Tree/styles/hovered_dimmed = SubResource("StyleBoxFlat_v3yhk")
Tree/styles/panel = SubResource("StyleBoxEmpty_8atl4")
Tree/styles/selected = SubResource("StyleBoxFlat_32au3")
Tree/styles/selected_focus = SubResource("StyleBoxFlat_32au3")

View File

@ -1,4 +1,4 @@
[gd_resource type="Theme" load_steps=67 format=3 uid="uid://bcibt73qths3v"]
[gd_resource type="Theme" load_steps=68 format=3 uid="uid://bcibt73qths3v"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_503jw"]
content_margin_left = 0.0
@ -242,7 +242,7 @@ anti_aliasing = false
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_cm6fs"]
content_margin_top = 8.0
content_margin_bottom = 8.0
bg_color = Color(1, 1, 1, 0.0392157)
bg_color = Color(1, 1, 1, 0.0588235)
border_color = Color(1, 1, 1, 0.709804)
corner_radius_top_left = 8
corner_radius_top_right = 8
@ -403,7 +403,13 @@ draw_center = false
border_color = Color(1, 1, 1, 0)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_32au3"]
bg_color = Color(1, 1, 1, 0.0392157)
bg_color = Color(1, 1, 1, 0.0980392)
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color(1, 1, 1, 0.156863)
border_blend = true
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
@ -734,6 +740,19 @@ corner_radius_bottom_left = 8
corner_detail = 4
anti_aliasing = false
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_v3yhk"]
content_margin_left = 6.0
content_margin_top = 6.0
content_margin_right = 6.0
content_margin_bottom = 6.0
bg_color = Color(1, 1, 1, 0.0784314)
border_color = Color(0.145098, 0.145098, 0.145098, 1)
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
anti_aliasing = false
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_68sxm"]
content_margin_left = 6.0
content_margin_right = 6.0
@ -745,18 +764,12 @@ corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
anti_aliasing = false
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_v3yhk"]
content_margin_left = 6.0
content_margin_top = 6.0
content_margin_right = 6.0
content_margin_bottom = 6.0
bg_color = Color(1, 1, 1, 0.0392157)
border_color = Color(0.145098, 0.145098, 0.145098, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_v1a6f"]
bg_color = Color(1, 1, 1, 0.0784314)
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
anti_aliasing = false
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_h3su5"]
content_margin_left = 12.0
@ -989,25 +1002,28 @@ TextEdit/styles/focus = SubResource("StyleBoxFlat_62kny")
TextEdit/styles/normal = SubResource("StyleBoxFlat_t7304")
TextEdit/styles/read_only = SubResource("StyleBoxFlat_6ucq2")
TooltipPanel/styles/panel = SubResource("StyleBoxFlat_qr21i")
Tree/colors/children_hl_line_color = Color(1, 1, 1, 0.0196078)
Tree/colors/drop_position_color = Color(1, 1, 1, 0.392157)
Tree/colors/font_color = Color(1, 1, 1, 0.627451)
Tree/colors/guide_color = Color(1, 1, 1, 0)
Tree/colors/parent_hl_line_color = Color(1, 1, 1, 0.0196078)
Tree/colors/parent_hl_line_color = Color(1, 1, 1, 0.0980392)
Tree/constants/children_hl_line_width = 0
Tree/constants/draw_guides = 0
Tree/constants/draw_relationship_lines = 0
Tree/constants/draw_relationship_lines = 1
Tree/constants/inner_item_margin_left = 2
Tree/constants/inner_item_margin_right = 2
Tree/constants/parent_hl_line_width = 0
Tree/constants/parent_hl_line_width = 2
Tree/constants/relationship_line_width = 0
Tree/constants/v_separation = 1
Tree/styles/button_hover = SubResource("StyleBoxFlat_v3yhk")
Tree/styles/button_pressed = SubResource("StyleBoxFlat_68sxm")
Tree/styles/cursor = SubResource("StyleBoxFlat_m3jjh")
Tree/styles/cursor_unfocused = SubResource("StyleBoxFlat_m3jjh")
Tree/styles/custom_button_hover = SubResource("StyleBoxFlat_v1a6f")
Tree/styles/custom_button_pressed = SubResource("StyleBoxFlat_68sxm")
Tree/styles/focus = SubResource("StyleBoxFlat_20eiv")
Tree/styles/hover = SubResource("StyleBoxFlat_v3yhk")
Tree/styles/hovered = SubResource("StyleBoxFlat_v1a6f")
Tree/styles/hovered_dimmed = SubResource("StyleBoxFlat_v3yhk")
Tree/styles/panel = SubResource("StyleBoxEmpty_8atl4")
Tree/styles/selected = SubResource("StyleBoxFlat_32au3")
Tree/styles/selected_focus = SubResource("StyleBoxFlat_32au3")