Fix disabled buttons contrast

This commit is contained in:
passivestar 2024-06-09 21:07:33 +04:00
parent 6dc6ec62bf
commit 8cd8b5ed1e
2 changed files with 18 additions and 10 deletions

View File

@ -41,7 +41,7 @@ content_margin_left = 6.0
content_margin_top = 4.0
content_margin_right = 6.0
content_margin_bottom = 4.0
bg_color = Color(1, 1, 1, 0.0588235)
bg_color = Color(1, 1, 1, 0.0313726)
border_color = Color(1, 1, 1, 0.0784314)
corner_radius_top_left = 4
corner_radius_top_right = 4
@ -560,11 +560,12 @@ BottomPanelButton/styles/hover_pressed = SubResource("StyleBoxFlat_jduyo")
BottomPanelButton/styles/normal = SubResource("StyleBoxFlat_sxnkh")
BottomPanelButton/styles/pressed = SubResource("StyleBoxFlat_1pq5m")
Button/colors/font_color = Color(1, 1, 1, 0.705882)
Button/colors/font_disabled_color = Color(0.88, 0.88, 0.88, 0.156863)
Button/colors/font_disabled_color = Color(0.88, 0.88, 0.88, 0.313726)
Button/colors/font_focus_color = Color(0.95, 0.95, 0.95, 1)
Button/colors/font_hover_color = Color(0.95, 0.95, 0.95, 1)
Button/colors/font_hover_pressed_color = Color(1, 1, 1, 1)
Button/colors/font_pressed_color = Color(1, 1, 1, 1)
Button/colors/icon_disabled_color = Color(1, 1, 1, 0.313726)
Button/colors/icon_normal_color = Color(1, 1, 1, 0.705882)
Button/constants/outline_size = 0
Button/styles/disabled = SubResource("StyleBoxFlat_s11c6")
@ -596,12 +597,13 @@ EditorStyles/styles/LaunchPadMovieMode = SubResource("StyleBoxFlat_0ujr6")
EditorStyles/styles/LaunchPadNormal = SubResource("StyleBoxFlat_txmfc")
EditorStyles/styles/MovieWriterButtonPressed = SubResource("StyleBoxEmpty_7ss2t")
FlatButton/colors/font_color = Color(1, 1, 1, 0.501961)
FlatButton/colors/font_disabled_color = Color(0.88, 0.88, 0.88, 0.156863)
FlatButton/colors/font_disabled_color = Color(0.88, 0.88, 0.88, 0.313726)
FlatButton/colors/font_focus_color = Color(0.95, 0.95, 0.95, 1)
FlatButton/colors/font_hover_color = Color(0.95, 0.95, 0.95, 1)
FlatButton/colors/font_hover_pressed_color = Color(1, 1, 1, 1)
FlatButton/colors/font_pressed_color = Color(1, 1, 1, 1)
FlatButton/colors/icon_normal_color = Color(1, 1, 1, 0.705882)
FlatButton/colors/icon_disabled_color = Color(1, 1, 1, 0.313726)
FlatButton/styles/disabled = SubResource("StyleBoxEmpty_65mu5")
FlatButton/styles/disabled_mirrored = SubResource("StyleBoxEmpty_65mu5")
FlatButton/styles/hover = SubResource("StyleBoxFlat_jduyo")
@ -613,11 +615,12 @@ FlatButton/styles/normal_mirrored = SubResource("StyleBoxFlat_sxnkh")
FlatButton/styles/pressed = SubResource("StyleBoxFlat_1pq5m")
FlatButton/styles/pressed_mirrored = SubResource("StyleBoxFlat_1pq5m")
FlatMenuButton/colors/font_color = Color(1, 1, 1, 0.501961)
FlatMenuButton/colors/font_disabled_color = Color(0.88, 0.88, 0.88, 0.156863)
FlatMenuButton/colors/font_disabled_color = Color(0.88, 0.88, 0.88, 0.313726)
FlatMenuButton/colors/font_focus_color = Color(0.95, 0.95, 0.95, 1)
FlatMenuButton/colors/font_hover_color = Color(0.95, 0.95, 0.95, 1)
FlatMenuButton/colors/font_hover_pressed_color = Color(1, 1, 1, 1)
FlatMenuButton/colors/font_pressed_color = Color(1, 1, 1, 1)
FlatMenuButton/colors/icon_disabled_color = Color(1, 1, 1, 0.313726)
FlatMenuButton/colors/icon_normal_color = Color(1, 1, 1, 0.705882)
FlatMenuButton/styles/disabled = SubResource("StyleBoxEmpty_65mu5")
FlatMenuButton/styles/hover = SubResource("StyleBoxFlat_a4v87")
@ -662,11 +665,12 @@ MenuButton/styles/normal_mirrored = SubResource("StyleBoxFlat_l5ore")
MenuButton/styles/pressed = SubResource("StyleBoxFlat_l5ore")
MenuButton/styles/pressed_mirrored = SubResource("StyleBoxFlat_l5ore")
OptionButton/colors/font_color = Color(1, 1, 1, 0.501961)
OptionButton/colors/font_disabled_color = Color(0.875, 0.875, 0.875, 0.5)
OptionButton/colors/font_disabled_color = Color(0.88, 0.88, 0.88, 0.313726)
OptionButton/colors/font_focus_color = Color(0.95, 0.95, 0.95, 1)
OptionButton/colors/font_hover_color = Color(0.95, 0.95, 0.95, 1)
OptionButton/colors/font_hover_pressed_color = Color(1, 1, 1, 1)
OptionButton/colors/font_pressed_color = Color(1, 1, 1, 1)
OptionButton/colors/icon_disabled_color = Color(1, 1, 1, 0.313726)
OptionButton/colors/icon_normal_color = Color(1, 1, 1, 0.705882)
OptionButton/styles/disabled = SubResource("StyleBoxFlat_s11c6")
OptionButton/styles/disabled_mirrored = SubResource("StyleBoxFlat_s11c6")

View File

@ -41,7 +41,7 @@ content_margin_left = 12.0
content_margin_top = 8.0
content_margin_right = 12.0
content_margin_bottom = 8.0
bg_color = Color(1, 1, 1, 0.0588235)
bg_color = Color(1, 1, 1, 0.0313726)
border_color = Color(1, 1, 1, 0.0784314)
corner_radius_top_left = 8
corner_radius_top_right = 8
@ -560,11 +560,12 @@ BottomPanelButton/styles/hover_pressed = SubResource("StyleBoxFlat_jduyo")
BottomPanelButton/styles/normal = SubResource("StyleBoxFlat_sxnkh")
BottomPanelButton/styles/pressed = SubResource("StyleBoxFlat_1pq5m")
Button/colors/font_color = Color(1, 1, 1, 0.705882)
Button/colors/font_disabled_color = Color(0.88, 0.88, 0.88, 0.156863)
Button/colors/font_disabled_color = Color(0.88, 0.88, 0.88, 0.313726)
Button/colors/font_focus_color = Color(0.95, 0.95, 0.95, 1)
Button/colors/font_hover_color = Color(0.95, 0.95, 0.95, 1)
Button/colors/font_hover_pressed_color = Color(1, 1, 1, 1)
Button/colors/font_pressed_color = Color(1, 1, 1, 1)
Button/colors/icon_disabled_color = Color(1, 1, 1, 0.313726)
Button/colors/icon_normal_color = Color(1, 1, 1, 0.705882)
Button/constants/outline_size = 0
Button/styles/disabled = SubResource("StyleBoxFlat_s11c6")
@ -596,12 +597,13 @@ EditorStyles/styles/LaunchPadMovieMode = SubResource("StyleBoxFlat_0ujr6")
EditorStyles/styles/LaunchPadNormal = SubResource("StyleBoxFlat_txmfc")
EditorStyles/styles/MovieWriterButtonPressed = SubResource("StyleBoxEmpty_7ss2t")
FlatButton/colors/font_color = Color(1, 1, 1, 0.501961)
FlatButton/colors/font_disabled_color = Color(0.88, 0.88, 0.88, 0.156863)
FlatButton/colors/font_disabled_color = Color(0.88, 0.88, 0.88, 0.313726)
FlatButton/colors/font_focus_color = Color(0.95, 0.95, 0.95, 1)
FlatButton/colors/font_hover_color = Color(0.95, 0.95, 0.95, 1)
FlatButton/colors/font_hover_pressed_color = Color(1, 1, 1, 1)
FlatButton/colors/font_pressed_color = Color(1, 1, 1, 1)
FlatButton/colors/icon_normal_color = Color(1, 1, 1, 0.705882)
FlatButton/colors/icon_disabled_color = Color(1, 1, 1, 0.313726)
FlatButton/styles/disabled = SubResource("StyleBoxEmpty_65mu5")
FlatButton/styles/disabled_mirrored = SubResource("StyleBoxEmpty_65mu5")
FlatButton/styles/hover = SubResource("StyleBoxFlat_jduyo")
@ -613,11 +615,12 @@ FlatButton/styles/normal_mirrored = SubResource("StyleBoxFlat_sxnkh")
FlatButton/styles/pressed = SubResource("StyleBoxFlat_1pq5m")
FlatButton/styles/pressed_mirrored = SubResource("StyleBoxFlat_1pq5m")
FlatMenuButton/colors/font_color = Color(1, 1, 1, 0.501961)
FlatMenuButton/colors/font_disabled_color = Color(0.88, 0.88, 0.88, 0.156863)
FlatMenuButton/colors/font_disabled_color = Color(0.88, 0.88, 0.88, 0.313726)
FlatMenuButton/colors/font_focus_color = Color(0.95, 0.95, 0.95, 1)
FlatMenuButton/colors/font_hover_color = Color(0.95, 0.95, 0.95, 1)
FlatMenuButton/colors/font_hover_pressed_color = Color(1, 1, 1, 1)
FlatMenuButton/colors/font_pressed_color = Color(1, 1, 1, 1)
FlatMenuButton/colors/icon_disabled_color = Color(1, 1, 1, 0.313726)
FlatMenuButton/colors/icon_normal_color = Color(1, 1, 1, 0.705882)
FlatMenuButton/styles/disabled = SubResource("StyleBoxEmpty_65mu5")
FlatMenuButton/styles/hover = SubResource("StyleBoxFlat_a4v87")
@ -662,11 +665,12 @@ MenuButton/styles/normal_mirrored = SubResource("StyleBoxFlat_l5ore")
MenuButton/styles/pressed = SubResource("StyleBoxFlat_l5ore")
MenuButton/styles/pressed_mirrored = SubResource("StyleBoxFlat_l5ore")
OptionButton/colors/font_color = Color(1, 1, 1, 0.501961)
OptionButton/colors/font_disabled_color = Color(0.875, 0.875, 0.875, 0.5)
OptionButton/colors/font_disabled_color = Color(0.88, 0.88, 0.88, 0.313726)
OptionButton/colors/font_focus_color = Color(0.95, 0.95, 0.95, 1)
OptionButton/colors/font_hover_color = Color(0.95, 0.95, 0.95, 1)
OptionButton/colors/font_hover_pressed_color = Color(1, 1, 1, 1)
OptionButton/colors/font_pressed_color = Color(1, 1, 1, 1)
OptionButton/colors/icon_disabled_color = Color(1, 1, 1, 0.313726)
OptionButton/colors/icon_normal_color = Color(1, 1, 1, 0.705882)
OptionButton/styles/disabled = SubResource("StyleBoxFlat_s11c6")
OptionButton/styles/disabled_mirrored = SubResource("StyleBoxFlat_s11c6")