From 6117646158aa1e49ea2d73a11e3042298213f197 Mon Sep 17 00:00:00 2001 From: passivestar <60579014+passivestar@users.noreply.github.com> Date: Thu, 5 Dec 2024 05:13:30 +0400 Subject: [PATCH] Add missing hover-pressed states to some buttons --- minimal_theme.tres | 22 +++++++++++++++++----- minimal_theme_high_ppi.tres | 22 +++++++++++++++++----- 2 files changed, 34 insertions(+), 10 deletions(-) diff --git a/minimal_theme.tres b/minimal_theme.tres index 1a54183..7a21d79 100644 --- a/minimal_theme.tres +++ b/minimal_theme.tres @@ -1,4 +1,4 @@ -[gd_resource type="Theme" load_steps=64 format=3 uid="uid://bcibt73qths3v"] +[gd_resource type="Theme" load_steps=65 format=3 uid="uid://bcibt73qths3v"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_503jw"] content_margin_left = 0.0 @@ -99,6 +99,18 @@ corner_radius_top_right = 4 corner_radius_bottom_right = 4 corner_radius_bottom_left = 4 +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_8mch4"] +content_margin_left = 5.0 +content_margin_top = 4.0 +content_margin_right = 5.0 +content_margin_bottom = 4.0 +bg_color = Color(1, 1, 1, 0.156863) +border_color = Color(0.0980394, 0.107843, 0.112745, 1) +corner_radius_top_left = 4 +corner_radius_top_right = 4 +corner_radius_bottom_right = 4 +corner_radius_bottom_left = 5 + [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_sxnkh"] content_margin_left = 5.0 content_margin_top = 4.0 @@ -775,7 +787,7 @@ AnimationTrackEditGroup/colors/v_line_color = Color(1, 1, 1, 0) AnimationTrackEditGroup/constants/h_separation = 5 AnimationTrackEditGroup/styles/header = SubResource("StyleBoxFlat_h2xx7") BottomPanelButton/styles/hover = SubResource("StyleBoxFlat_jduyo") -BottomPanelButton/styles/hover_pressed = SubResource("StyleBoxFlat_jduyo") +BottomPanelButton/styles/hover_pressed = SubResource("StyleBoxFlat_8mch4") BottomPanelButton/styles/normal = SubResource("StyleBoxFlat_sxnkh") BottomPanelButton/styles/pressed = SubResource("StyleBoxFlat_1pq5m") Button/colors/font_color = Color(1, 1, 1, 0.666667) @@ -911,13 +923,13 @@ LineEdit/styles/focus = SubResource("StyleBoxFlat_cfx35") LineEdit/styles/normal = SubResource("StyleBoxFlat_0nfa3") LineEdit/styles/read_only = SubResource("StyleBoxFlat_fdq0g") MainMenuBar/styles/hover = SubResource("StyleBoxFlat_jduyo") -MainMenuBar/styles/hover_pressed = SubResource("StyleBoxFlat_jduyo") +MainMenuBar/styles/hover_pressed = SubResource("StyleBoxFlat_8mch4") MainMenuBar/styles/normal = SubResource("StyleBoxFlat_sxnkh") MainMenuBar/styles/pressed = SubResource("StyleBoxFlat_fkpl4") MainScreenButton/styles/hover = SubResource("StyleBoxFlat_jduyo") MainScreenButton/styles/hover_mirrored = SubResource("StyleBoxFlat_jduyo") -MainScreenButton/styles/hover_pressed = SubResource("StyleBoxFlat_jduyo") -MainScreenButton/styles/hover_pressed_mirrored = SubResource("StyleBoxFlat_jduyo") +MainScreenButton/styles/hover_pressed = SubResource("StyleBoxFlat_8mch4") +MainScreenButton/styles/hover_pressed_mirrored = SubResource("StyleBoxFlat_8mch4") MainScreenButton/styles/normal = SubResource("StyleBoxFlat_sxnkh") MainScreenButton/styles/normal_mirrored = SubResource("StyleBoxFlat_sxnkh") MainScreenButton/styles/pressed = SubResource("StyleBoxFlat_sxnkh") diff --git a/minimal_theme_high_ppi.tres b/minimal_theme_high_ppi.tres index 9c8555a..d416b71 100644 --- a/minimal_theme_high_ppi.tres +++ b/minimal_theme_high_ppi.tres @@ -1,4 +1,4 @@ -[gd_resource type="Theme" load_steps=64 format=3 uid="uid://bcibt73qths3v"] +[gd_resource type="Theme" load_steps=65 format=3 uid="uid://bcibt73qths3v"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_503jw"] content_margin_left = 0.0 @@ -99,6 +99,18 @@ corner_radius_top_right = 8 corner_radius_bottom_right = 8 corner_radius_bottom_left = 8 +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_8mch4"] +content_margin_left = 10.0 +content_margin_top = 8.0 +content_margin_right = 10.0 +content_margin_bottom = 8.0 +bg_color = Color(1, 1, 1, 0.156863) +border_color = Color(0.0980394, 0.107843, 0.112745, 1) +corner_radius_top_left = 8 +corner_radius_top_right = 8 +corner_radius_bottom_right = 8 +corner_radius_bottom_left = 8 + [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_sxnkh"] content_margin_left = 10.0 content_margin_top = 8.0 @@ -775,7 +787,7 @@ AnimationTrackEditGroup/colors/v_line_color = Color(1, 1, 1, 0) AnimationTrackEditGroup/constants/h_separation = 9 AnimationTrackEditGroup/styles/header = SubResource("StyleBoxFlat_h2xx7") BottomPanelButton/styles/hover = SubResource("StyleBoxFlat_jduyo") -BottomPanelButton/styles/hover_pressed = SubResource("StyleBoxFlat_jduyo") +BottomPanelButton/styles/hover_pressed = SubResource("StyleBoxFlat_8mch4") BottomPanelButton/styles/normal = SubResource("StyleBoxFlat_sxnkh") BottomPanelButton/styles/pressed = SubResource("StyleBoxFlat_1pq5m") Button/colors/font_color = Color(1, 1, 1, 0.666667) @@ -911,13 +923,13 @@ LineEdit/styles/focus = SubResource("StyleBoxFlat_cfx35") LineEdit/styles/normal = SubResource("StyleBoxFlat_0nfa3") LineEdit/styles/read_only = SubResource("StyleBoxFlat_fdq0g") MainMenuBar/styles/hover = SubResource("StyleBoxFlat_jduyo") -MainMenuBar/styles/hover_pressed = SubResource("StyleBoxFlat_jduyo") +MainMenuBar/styles/hover_pressed = SubResource("StyleBoxFlat_8mch4") MainMenuBar/styles/normal = SubResource("StyleBoxFlat_sxnkh") MainMenuBar/styles/pressed = SubResource("StyleBoxFlat_fkpl4") MainScreenButton/styles/hover = SubResource("StyleBoxFlat_jduyo") MainScreenButton/styles/hover_mirrored = SubResource("StyleBoxFlat_jduyo") -MainScreenButton/styles/hover_pressed = SubResource("StyleBoxFlat_jduyo") -MainScreenButton/styles/hover_pressed_mirrored = SubResource("StyleBoxFlat_jduyo") +MainScreenButton/styles/hover_pressed = SubResource("StyleBoxFlat_8mch4") +MainScreenButton/styles/hover_pressed_mirrored = SubResource("StyleBoxFlat_8mch4") MainScreenButton/styles/normal = SubResource("StyleBoxFlat_sxnkh") MainScreenButton/styles/normal_mirrored = SubResource("StyleBoxFlat_sxnkh") MainScreenButton/styles/pressed = SubResource("StyleBoxFlat_sxnkh")