[gd_scene load_steps=12 format=2]

[ext_resource path="res://assets/icons/slime.png" type="Texture" id=1]
[ext_resource path="res://scenes/custom_nodes/comments/comment/comment.gd" type="Script" id=2]
[ext_resource path="res://scenes/custom_nodes/comments/comment/thread_line.gd" type="Script" id=3]
[ext_resource path="res://scenes/custom_nodes/fixed_rich_text_label/fixed_rich_text_label.gd" type="Script" id=4]
[ext_resource path="res://scenes/custom_nodes/button_container/button_container.gd" type="Script" id=5]
[ext_resource path="res://assets/icons/flame.png" type="Texture" id=6]
[ext_resource path="res://scenes/custom_nodes/channel_card/channel_card.tscn" type="PackedScene" id=7]
[ext_resource path="res://scenes/custom_nodes/button_container/button_container.tscn" type="PackedScene" id=8]

[sub_resource type="StyleBoxFlat" id=1]
content_margin_left = 5.0
content_margin_right = 5.0
content_margin_top = 5.0
content_margin_bottom = 5.0
bg_color = Color( 0.235294, 0.235294, 0.27451, 1 )
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5

[sub_resource type="StyleBoxFlat" id=2]
content_margin_left = 2.0
content_margin_right = 2.0
content_margin_top = 2.0
content_margin_bottom = 2.0
bg_color = Color( 0.996078, 0.678431, 0.0705882, 0.196078 )
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5

[sub_resource type="StyleBoxFlat" id=3]
content_margin_left = 2.0
content_margin_right = 2.0
content_margin_top = 2.0
content_margin_bottom = 2.0
bg_color = Color( 0.156863, 1, 0.00784314, 0.156863 )
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5

[node name="Comment" type="HBoxContainer"]
anchor_right = 1.0
margin_bottom = 199.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/separation = 10
script = ExtResource( 2 )

[node name="VBoxContainer2" type="VBoxContainer" parent="."]
margin_right = 1024.0
margin_bottom = 199.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/separation = 10

[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer2"]
margin_right = 1024.0
margin_bottom = 74.0
custom_constants/separation = 10

[node name="ChannelButton" parent="VBoxContainer2/HBoxContainer" instance=ExtResource( 8 )]
margin_right = 105.0
margin_bottom = 74.0
custom_styles/panel = SubResource( 1 )
color_normal = Color( 0.235294, 0.235294, 0.27451, 1 )
color_hovered = Color( 0.313726, 0.313726, 0.352941, 1 )
color_pressed = Color( 0.196078, 0.196078, 0.235294, 1 )

[node name="ChannelCard" parent="VBoxContainer2/HBoxContainer/ChannelButton" instance=ExtResource( 7 )]
margin_left = 5.0
margin_top = 5.0
margin_right = 100.0
margin_bottom = 69.0
size_flags_horizontal = 1

[node name="VBoxContainer" parent="VBoxContainer2/HBoxContainer/ChannelButton/ChannelCard" index="1"]
margin_right = 95.0

[node name="ChannelTitle" parent="VBoxContainer2/HBoxContainer/ChannelButton/ChannelCard/VBoxContainer" index="0"]
margin_right = 27.0
clip_text = false

[node name="ChannelName" parent="VBoxContainer2/HBoxContainer/ChannelButton/ChannelCard/VBoxContainer" index="1"]
margin_right = 27.0
clip_text = false

[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer2/HBoxContainer"]
margin_left = 115.0
margin_right = 145.0
margin_bottom = 74.0
custom_constants/margin_top = 4

[node name="Timestamp" type="RichTextLabel" parent="VBoxContainer2/HBoxContainer/MarginContainer"]
margin_top = 31.0
margin_right = 30.0
margin_bottom = 46.0
rect_min_size = Vector2( 30, 0 )
focus_mode = 2
size_flags_vertical = 4
text = "Date"
fit_content_height = true
scroll_active = false
selection_enabled = true
script = ExtResource( 4 )
fit_content_size = true

[node name="Comment" type="RichTextLabel" parent="VBoxContainer2"]
margin_top = 84.0
margin_right = 1024.0
margin_bottom = 99.0
focus_mode = 2
text = "Comment"
fit_content_height = true
selection_enabled = true

[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer2"]
margin_top = 109.0
margin_right = 1024.0
margin_bottom = 142.0

[node name="ReplyButton" type="Button" parent="VBoxContainer2/HBoxContainer2"]
visible = false
margin_right = 47.0
margin_bottom = 74.0
text = "Reply"

[node name="LikeButton" type="PanelContainer" parent="VBoxContainer2/HBoxContainer2"]
modulate = Color( 0.588235, 0.588235, 0.588235, 1 )
margin_right = 38.0
margin_bottom = 33.0
custom_styles/panel = SubResource( 2 )
script = ExtResource( 5 )
color_normal = Color( 0.996078, 0.678431, 0.0705882, 0.196078 )
color_hovered = Color( 0.901961, 0.466667, 0.0431373, 1 )
color_pressed = Color( 0.611765, 0.231373, 0, 1 )
modulation_disabled = Color( 0.588235, 0.588235, 0.588235, 1 )
disabled = true

[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer2/HBoxContainer2/LikeButton"]
margin_left = 2.0
margin_top = 2.0
margin_right = 36.0
margin_bottom = 31.0

[node name="LikeButtonLabel" type="Label" parent="VBoxContainer2/HBoxContainer2/LikeButton/HBoxContainer"]
margin_top = 7.0
margin_right = 8.0
margin_bottom = 21.0
text = "0"

[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer2/HBoxContainer2/LikeButton/HBoxContainer"]
margin_left = 12.0
margin_right = 34.0
margin_bottom = 29.0
custom_constants/margin_right = 2
custom_constants/margin_top = 2
custom_constants/margin_left = 2
custom_constants/margin_bottom = 2

[node name="LikeButtonIcon" type="TextureRect" parent="VBoxContainer2/HBoxContainer2/LikeButton/HBoxContainer/MarginContainer"]
margin_left = 2.0
margin_top = 2.0
margin_right = 20.0
margin_bottom = 27.0
size_flags_horizontal = 4
size_flags_vertical = 4
texture = ExtResource( 6 )
stretch_mode = 4

[node name="DislikeButton" type="PanelContainer" parent="VBoxContainer2/HBoxContainer2"]
modulate = Color( 0.588235, 0.588235, 0.588235, 1 )
margin_left = 42.0
margin_right = 79.0
margin_bottom = 33.0
custom_styles/panel = SubResource( 3 )
script = ExtResource( 5 )
color_normal = Color( 0.156863, 1, 0.00784314, 0.156863 )
color_hovered = Color( 0, 0.635294, 0.160784, 1 )
color_pressed = Color( 0, 0.309804, 0.0196078, 1 )
modulation_disabled = Color( 0.588235, 0.588235, 0.588235, 1 )
disabled = true

[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer2/HBoxContainer2/DislikeButton"]
margin_left = 2.0
margin_top = 2.0
margin_right = 35.0
margin_bottom = 31.0

[node name="DislikeButtonLabel" type="Label" parent="VBoxContainer2/HBoxContainer2/DislikeButton/HBoxContainer"]
margin_top = 7.0
margin_right = 8.0
margin_bottom = 21.0
text = "0"

[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer2/HBoxContainer2/DislikeButton/HBoxContainer"]
margin_left = 12.0
margin_right = 33.0
margin_bottom = 29.0
custom_constants/margin_right = 2
custom_constants/margin_top = 2
custom_constants/margin_left = 2
custom_constants/margin_bottom = 2

[node name="DislikeButtonIcon" type="TextureRect" parent="VBoxContainer2/HBoxContainer2/DislikeButton/HBoxContainer/MarginContainer"]
margin_left = 2.0
margin_top = 2.0
margin_right = 19.0
margin_bottom = 27.0
size_flags_horizontal = 4
size_flags_vertical = 4
texture = ExtResource( 1 )

[node name="ShowRepliesButton" type="Button" parent="VBoxContainer2"]
visible = false
margin_top = 153.0
margin_right = 93.0
margin_bottom = 173.0
size_flags_horizontal = 0
toggle_mode = true
text = "Show replies"

[node name="RepliesContainer" type="HBoxContainer" parent="VBoxContainer2"]
visible = false
margin_top = 153.0
margin_right = 1024.0
margin_bottom = 173.0
size_flags_horizontal = 3

[node name="ThreadLine" type="Button" parent="VBoxContainer2/RepliesContainer"]
margin_right = 50.0
margin_bottom = 20.0
rect_min_size = Vector2( 50, 0 )
focus_mode = 0
size_flags_vertical = 3
flat = true
script = ExtResource( 3 )
color_hovered = Color( 0.227451, 0.443137, 0.741176, 1 )
color_pressed = Color( 0.12549, 0.254902, 0.647059, 1 )

[node name="RepliesMarginContainer" type="MarginContainer" parent="VBoxContainer2/RepliesContainer"]
margin_left = 54.0
margin_right = 1024.0
margin_bottom = 10.0
size_flags_horizontal = 3
size_flags_vertical = 0
custom_constants/margin_top = 10

[node name="Replies" type="VBoxContainer" parent="VBoxContainer2/RepliesContainer/RepliesMarginContainer"]
margin_top = 10.0
margin_right = 970.0
margin_bottom = 10.0
custom_constants/separation = 20

[node name="ShowMoreRepliesButton" type="Button" parent="VBoxContainer2"]
visible = false
margin_top = 163.0
margin_right = 128.0
margin_bottom = 183.0
size_flags_horizontal = 0
text = "Load more replies"

[editable path="VBoxContainer2/HBoxContainer/ChannelButton/ChannelCard"]
