краска кнопок

This commit is contained in:
2025-02-06 19:34:48 +03:00
parent 529bc8a2d6
commit 7b23507d40
8 changed files with 70 additions and 57 deletions

View File

@@ -1,19 +1,17 @@
[gd_scene load_steps=2 format=3 uid="uid://ch14g46swx74h"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_2thpi"]
bg_color = Color(0.611765, 0.109804, 0.262745, 0.615686)
corner_radius_top_left = 2
bg_color = Color(0.455894, 0.0685824, 0.187642, 0.945098)
corner_radius_top_left = 5
corner_radius_top_right = 2
corner_radius_bottom_right = 2
corner_radius_bottom_left = 2
shadow_size = 2
shadow_offset = Vector2(2, 2)
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[node name="heder" type="Label"]
custom_minimum_size = Vector2(0, 30)
offset_right = 128.0
offset_bottom = 23.0
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_colors/font_color = Color(1, 1, 0.941176, 1)
theme_override_font_sizes/font_size = 15
theme_override_styles/normal = SubResource("StyleBoxFlat_2thpi")
horizontal_alignment = 1

View File

@@ -2,24 +2,35 @@
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_q1ixs"]
bg_color = Color(0, 0, 0, 0.490196)
border_width_bottom = 2
border_color = Color(0.223529, 0.168627, 0.223529, 1)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[node name="Label" type="LineEdit"]
offset_right = 70.75
offset_bottom = 32.0
focus_mode = 0
theme_override_colors/font_uneditable_color = Color(1, 1, 1, 1)
texture_filter = 2
texture_repeat = 2
clip_contents = true
layout_direction = 2
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -103.0
offset_right = 75.0
offset_bottom = 137.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_override_colors/font_uneditable_color = Color(1, 1, 0.941176, 1)
theme_override_font_sizes/font_size = 17
theme_override_styles/read_only = SubResource("StyleBoxFlat_q1ixs")
theme_override_styles/normal = SubResource("StyleBoxFlat_q1ixs")
alignment = 1
caret_blink = true
caret_blink_interval = 0.5
[node name="ColorRect" type="ColorRect" parent="."]
[node name="Color_Ems_g" type="ColorRect" parent="."]
layout_mode = 0
offset_right = 1933.0
offset_bottom = 1088.0

View File

@@ -6,12 +6,10 @@
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_q1ixs"]
bg_color = Color(0, 0, 0, 0.490196)
border_width_bottom = 2
border_color = Color(0.223529, 0.168627, 0.223529, 1)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[sub_resource type="SpriteFrames" id="SpriteFrames_a7q1i"]
animations = [{
@@ -34,18 +32,17 @@ animations = [{
}]
[node name="PanelContainer" type="PanelContainer"]
custom_minimum_size = Vector2(50, 35)
offset_left = -3.0
offset_right = 319.0
offset_bottom = 66.0
offset_right = 119.0
offset_bottom = 35.0
theme_override_styles/panel = SubResource("StyleBoxFlat_q1ixs")
metadata/_edit_lock_ = true
[node name="ColorRect" type="ColorRect" parent="."]
[node name="Color_ems_g" type="ColorRect" parent="."]
layout_mode = 2
color = Color(0, 0, 0, 0.195)
color = Color(1, 1, 1, 0)
[node name="SZI_x" type="AnimatedSprite2D" parent="."]
position = Vector2(40, 11)
position = Vector2(59, 18)
scale = Vector2(1.2, 1.2)
sprite_frames = SubResource("SpriteFrames_a7q1i")
metadata/_edit_lock_ = true

View File

@@ -3,6 +3,10 @@
[ext_resource type="Script" path="res://scripts/switch.gd" id="1_h0k6p"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_r5cym"]
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_b6sp7"]