supervisor-simulator/scenes/ui-elements/task_info_item.tscn
2025-12-11 23:46:09 +08:00

128 lines
4.0 KiB
Plaintext

[gd_scene load_steps=9 format=3 uid="uid://be878nlt2ev0j"]
[ext_resource type="Script" uid="uid://c0il3my2egqm8" path="res://scenes/ui-elements/TaskInfoItem.cs" id="1_8s2w1"]
[ext_resource type="Texture2D" uid="uid://cefbdtvinowsp" path="res://res_src/message_file-0.png" id="1_w5erq"]
[ext_resource type="FontFile" uid="uid://c7ahefyipl24t" path="res://resources/Font/AlibabaPuHuiTi-3-65-Medium.ttf" id="2_8s2w1"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_7cj6f"]
content_margin_left = 5.0
content_margin_right = 8.0
bg_color = Color(0.93333334, 0.93333334, 0.93333334, 1)
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color(0, 0, 0, 1)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
shadow_size = 2
shadow_offset = Vector2(1, 1)
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_aaq5d"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_w5erq"]
content_margin_left = 1.0
content_margin_top = 1.0
content_margin_right = 1.0
content_margin_bottom = 1.0
bg_color = Color(0.16470589, 0.23137255, 0.3019608, 1)
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color(0, 0, 0, 1)
corner_radius_top_left = 2
corner_radius_top_right = 2
corner_radius_bottom_right = 2
corner_radius_bottom_left = 2
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_8s2w1"]
bg_color = Color(0.8039216, 0.827451, 0.8392157, 1)
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color(0.8, 0.8, 0.8, 0)
corner_radius_top_left = 2
corner_radius_top_right = 2
corner_radius_bottom_right = 2
corner_radius_bottom_left = 2
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_h34y6"]
content_margin_left = 5.0
content_margin_top = 5.0
content_margin_right = 5.0
content_margin_bottom = 5.0
bg_color = Color(0.6, 0.6, 0.6, 0)
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color(0, 0, 0, 1)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[node name="TaskInfoItem" type="PanelContainer"]
custom_minimum_size = Vector2(320, 50)
offset_right = 307.0
offset_bottom = 50.0
size_flags_horizontal = 0
theme_override_styles/panel = SubResource("StyleBoxFlat_7cj6f")
script = ExtResource("1_8s2w1")
[node name="H1" type="HBoxContainer" parent="."]
layout_mode = 2
[node name="TextureRect" type="TextureRect" parent="H1"]
layout_mode = 2
texture = ExtResource("1_w5erq")
stretch_mode = 3
[node name="Panel2" type="Panel" parent="H1"]
custom_minimum_size = Vector2(5, 0)
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxEmpty_aaq5d")
[node name="V1" type="VBoxContainer" parent="H1"]
layout_mode = 2
alignment = 1
[node name="H2" type="HBoxContainer" parent="H1/V1"]
layout_mode = 2
[node name="Label" type="Label" parent="H1/V1/H2"]
layout_mode = 2
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_fonts/font = ExtResource("2_8s2w1")
theme_override_font_sizes/font_size = 14
text = "A 类期刊 - 001 (50%)"
[node name="ProgressBar" type="ProgressBar" parent="H1/V1"]
custom_minimum_size = Vector2(200, 12)
layout_mode = 2
theme_override_styles/background = SubResource("StyleBoxFlat_w5erq")
theme_override_styles/fill = SubResource("StyleBoxFlat_8s2w1")
value = 50.0
show_percentage = false
[node name="Panel" type="Panel" parent="H1"]
custom_minimum_size = Vector2(10, 0)
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/panel = SubResource("StyleBoxEmpty_aaq5d")
[node name="CC" type="CenterContainer" parent="H1"]
layout_mode = 2
[node name="Button" type="Button" parent="H1/CC"]
layout_mode = 2
theme_override_colors/font_color = Color(0.06666667, 0.06666667, 0.06666667, 1)
theme_override_fonts/font = ExtResource("2_8s2w1")
theme_override_font_sizes/font_size = 16
theme_override_styles/normal = SubResource("StyleBoxFlat_h34y6")
text = "详情"