mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-25 23:17:34 -04:00
thinner icons, buttons cursor fix
This commit is contained in:
parent
0b61c43576
commit
02aa9514ab
23 changed files with 110 additions and 317 deletions
|
@ -1,21 +0,0 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://xagbhqfidf2"]
|
||||
|
||||
[ext_resource type="StyleBox" uid="uid://b4j4kd2p3aypx" path="res://assets/styles/button.stylebox" id="1_n17s0"]
|
||||
[ext_resource type="StyleBox" uid="uid://ck127amfs72dv" path="res://assets/styles/button_hover.stylebox" id="2_rltks"]
|
||||
[ext_resource type="Texture2D" uid="uid://bevejhgdw7mey" path="res://assets/new_textures/close.svg" id="2_yeqne"]
|
||||
|
||||
[node name="Button" type="Button"]
|
||||
texture_filter = 4
|
||||
custom_minimum_size = Vector2(26, 26)
|
||||
size_flags_vertical = 4
|
||||
theme_override_colors/icon_normal_color = Color(0.831373, 0.831373, 0.831373, 1)
|
||||
theme_override_colors/icon_disabled_color = Color(0.431373, 0.435294, 0.494118, 1)
|
||||
theme_override_styles/focus = ExtResource("1_n17s0")
|
||||
theme_override_styles/disabled = ExtResource("1_n17s0")
|
||||
theme_override_styles/hover = ExtResource("2_rltks")
|
||||
theme_override_styles/pressed = ExtResource("1_n17s0")
|
||||
theme_override_styles/normal = ExtResource("1_n17s0")
|
||||
icon = ExtResource("2_yeqne")
|
||||
expand_icon = true
|
||||
|
||||
[connection signal="button_up" from="." to="." method="release_focus"]
|
21
app/scenes/components/round_button.tscn
Normal file
21
app/scenes/components/round_button.tscn
Normal file
|
@ -0,0 +1,21 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://xagbhqfidf2"]
|
||||
|
||||
[ext_resource type="StyleBox" uid="uid://b4j4kd2p3aypx" path="res://assets/styles/button.stylebox" id="1_6dhuv"]
|
||||
[ext_resource type="StyleBox" uid="uid://ck127amfs72dv" path="res://assets/styles/button_hover.stylebox" id="2_3cilb"]
|
||||
[ext_resource type="Texture2D" uid="uid://bevejhgdw7mey" path="res://assets/new_textures/close.svg" id="3_t5vxw"]
|
||||
[ext_resource type="Script" path="res://scripts/ui/menu/round_button.gd" id="4_7t145"]
|
||||
|
||||
[node name="RoundButton" type="Button"]
|
||||
texture_filter = 4
|
||||
custom_minimum_size = Vector2(26, 26)
|
||||
size_flags_vertical = 4
|
||||
theme_override_colors/icon_normal_color = Color(0.831373, 0.831373, 0.831373, 1)
|
||||
theme_override_colors/icon_disabled_color = Color(0.431373, 0.435294, 0.494118, 1)
|
||||
theme_override_styles/focus = ExtResource("1_6dhuv")
|
||||
theme_override_styles/disabled = ExtResource("1_6dhuv")
|
||||
theme_override_styles/hover = ExtResource("2_3cilb")
|
||||
theme_override_styles/pressed = ExtResource("1_6dhuv")
|
||||
theme_override_styles/normal = ExtResource("1_6dhuv")
|
||||
icon = ExtResource("3_t5vxw")
|
||||
expand_icon = true
|
||||
script = ExtResource("4_7t145")
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://dkfy3rcfbxqc6"]
|
||||
[gd_scene load_steps=9 format=3 uid="uid://dkfy3rcfbxqc6"]
|
||||
|
||||
[ext_resource type="StyleBox" uid="uid://cf4jgdfsjmjxl" path="res://assets/styles/tab.stylebox" id="1_8hbf0"]
|
||||
[ext_resource type="Texture2D" uid="uid://bw1cffhlt112i" path="res://assets/new_textures/icon-round.svg" id="1_jc4ra"]
|
||||
|
@ -11,6 +11,10 @@ corner_radius_top_right = 10
|
|||
corner_radius_bottom_right = 10
|
||||
corner_radius_bottom_left = 10
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_lq3t8"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_hghgl"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_id0w2"]
|
||||
|
||||
[node name="Tab" type="Control"]
|
||||
|
@ -78,6 +82,9 @@ custom_minimum_size = Vector2(14, 14)
|
|||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
theme_override_colors/icon_normal_color = Color(0.831373, 0.831373, 0.831373, 1)
|
||||
theme_override_styles/focus = SubResource("StyleBoxEmpty_lq3t8")
|
||||
theme_override_styles/disabled = SubResource("StyleBoxEmpty_hghgl")
|
||||
theme_override_styles/normal = SubResource("StyleBoxEmpty_id0w2")
|
||||
disabled = true
|
||||
icon = ExtResource("2_y6odh")
|
||||
expand_icon = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue