[gd_scene load_steps=8 format=2]

[ext_resource path="res://scenes/custom_nodes/dynamic_grid_container/dynamic_grid_container.tscn" type="PackedScene" id=1]
[ext_resource path="res://icon.png" type="Texture" id=2]
[ext_resource path="res://scenes/custom_nodes/channel_window/channel_window.gd" type="Script" id=3]
[ext_resource path="res://scenes/custom_nodes/button_container/button_container.tscn" type="PackedScene" id=4]
[ext_resource path="res://scenes/custom_nodes/fixed_scroll_container/fixed_scroll_container.gd" type="Script" id=5]
[ext_resource path="res://scenes/custom_nodes/channel_card/channel_card.tscn" type="PackedScene" id=6]

[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 )
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="ChannelWindow" type="MarginContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
size_flags_horizontal = 3
size_flags_vertical = 3
script = ExtResource( 3 )

[node name="ScrollContainer" type="ScrollContainer" parent="."]
margin_right = 1024.0
margin_bottom = 600.0
size_flags_horizontal = 3
size_flags_vertical = 3
scroll_horizontal_enabled = false
script = ExtResource( 5 )

[node name="MarginContainer" type="MarginContainer" parent="ScrollContainer"]
margin_right = 1024.0
margin_bottom = 600.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/margin_right = 3

[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer/MarginContainer"]
margin_right = 1021.0
margin_bottom = 600.0
size_flags_horizontal = 3
size_flags_vertical = 3

[node name="Banner" type="TextureRect" parent="ScrollContainer/MarginContainer/VBoxContainer"]
margin_right = 1021.0
size_flags_horizontal = 3
size_flags_vertical = 0
size_flags_stretch_ratio = 0.2
texture = ExtResource( 2 )
expand = true
stretch_mode = 5

[node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer/MarginContainer/VBoxContainer"]
margin_top = 4.0
margin_right = 1021.0
margin_bottom = 68.0

[node name="ChannelCard" parent="ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer" instance=ExtResource( 6 )]
margin_right = 964.0

[node name="FollowButton" type="Button" parent="ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer"]
margin_left = 968.0
margin_top = 22.0
margin_right = 1021.0
margin_bottom = 42.0
size_flags_vertical = 4
toggle_mode = true
text = "Follow"

[node name="DescriptionButton" parent="ScrollContainer/MarginContainer/VBoxContainer" instance=ExtResource( 4 )]
margin_top = 72.0
margin_right = 119.0
margin_bottom = 96.0
size_flags_horizontal = 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="Label" type="Label" parent="ScrollContainer/MarginContainer/VBoxContainer/DescriptionButton"]
margin_left = 5.0
margin_top = 5.0
margin_right = 114.0
margin_bottom = 19.0
text = "Show description"

[node name="Description" type="RichTextLabel" parent="ScrollContainer/MarginContainer/VBoxContainer"]
visible = false
margin_top = 96.0
margin_right = 1024.0
margin_bottom = 111.0
text = "Description"
fit_content_height = true
scroll_active = false

[node name="Media" parent="ScrollContainer/MarginContainer/VBoxContainer" instance=ExtResource( 1 )]
margin_top = 100.0
margin_right = 1021.0
size_flags_horizontal = 1
