[gd_scene load_steps=11 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/media_window/media_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/channel_card/channel_card.tscn" type="PackedScene" id=5]
[ext_resource path="res://scenes/custom_nodes/media_list_item/media_list_item.tscn" type="PackedScene" id=6]
[ext_resource path="res://scenes/custom_nodes/button_container/button_container.gd" type="Script" id=7]

[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.27451, 0.27451, 0.313726, 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 = 10.0
content_margin_right = 10.0
content_margin_top = 10.0
content_margin_bottom = 10.0
bg_color = Color( 0.235294, 0.235294, 0.27451, 1 )
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
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

[sub_resource type="StyleBoxFlat" id=3]
content_margin_left = 10.0
content_margin_right = 10.0
content_margin_top = 10.0
content_margin_bottom = 10.0
bg_color = Color( 0.235294, 0.235294, 0.27451, 1 )
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
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="MediaWindow" type="VSplitContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = 1.0
margin_bottom = 1.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/autohide = 0
script = ExtResource( 3 )
MediaListItem_scene = ExtResource( 6 )

[node name="HBoxContainer" type="HBoxContainer" parent="."]
margin_right = 1024.0
margin_bottom = 294.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/separation = 20

[node name="SuggestionsScrollContainer" type="ScrollContainer" parent="HBoxContainer"]
margin_right = 286.0
margin_bottom = 294.0
size_flags_horizontal = 3
size_flags_vertical = 3
scroll_horizontal_enabled = false

[node name="Suggestions" parent="HBoxContainer/SuggestionsScrollContainer" instance=ExtResource( 1 )]
margin_right = 286.0
margin_bottom = 294.0
size_flags_stretch_ratio = 1.5

[node name="MainMarginContainer" type="MarginContainer" parent="HBoxContainer"]
margin_left = 306.0
margin_right = 1024.0
margin_bottom = 294.0
size_flags_horizontal = 3
size_flags_vertical = 3
size_flags_stretch_ratio = 2.5

[node name="MainScrollContainer" type="ScrollContainer" parent="HBoxContainer/MainMarginContainer"]
margin_right = 718.0
margin_bottom = 294.0
size_flags_horizontal = 3
size_flags_vertical = 3
scroll_horizontal_enabled = false

[node name="MarginContainer" type="MarginContainer" parent="HBoxContainer/MainMarginContainer/MainScrollContainer"]
margin_right = 718.0
margin_bottom = 294.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/margin_right = 3

[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer"]
margin_right = 715.0
margin_bottom = 294.0
size_flags_horizontal = 3
size_flags_stretch_ratio = 4.0
custom_constants/separation = 20

[node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer"]
margin_right = 715.0
margin_bottom = 144.0
rect_min_size = Vector2( 0, 100 )
size_flags_vertical = 3
size_flags_stretch_ratio = 0.4
custom_constants/separation = 20

[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer"]
margin_right = 397.0
margin_bottom = 144.0
size_flags_horizontal = 7
size_flags_vertical = 4
size_flags_stretch_ratio = 2.0
custom_constants/separation = 20

[node name="Title" type="RichTextLabel" parent="HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer"]
margin_right = 397.0
margin_bottom = 15.0
rect_min_size = Vector2( 0, 14 )
focus_mode = 2
bbcode_enabled = true
bbcode_text = "[center]Title[/center]"
text = "Title"
fit_content_height = true
scroll_active = false
selection_enabled = true

[node name="ChannelButton" parent="HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer" instance=ExtResource( 4 )]
margin_top = 35.0
margin_right = 397.0
margin_bottom = 109.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="HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer/ChannelButton" instance=ExtResource( 5 )]
margin_left = 5.0
margin_top = 5.0
margin_right = 392.0
margin_bottom = 69.0

[node name="VBoxContainer" parent="HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer/ChannelButton/ChannelCard" index="1"]
margin_right = 387.0

[node name="ChannelTitle" parent="HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer/ChannelButton/ChannelCard/VBoxContainer" index="0"]
margin_right = 319.0

[node name="ChannelName" parent="HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer/ChannelButton/ChannelCard/VBoxContainer" index="1"]
margin_right = 319.0

[node name="Information" type="RichTextLabel" parent="HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer"]
margin_top = 129.0
margin_right = 397.0
margin_bottom = 144.0
focus_mode = 2
fit_content_height = true
scroll_active = false
selection_enabled = true

[node name="VBoxContainer2" type="VBoxContainer" parent="HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer"]
margin_left = 417.0
margin_right = 715.0
margin_bottom = 144.0
size_flags_horizontal = 3
size_flags_vertical = 3
size_flags_stretch_ratio = 1.5

[node name="MediaThumbnailButton" parent="HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer2" instance=ExtResource( 4 )]
margin_right = 298.0
margin_bottom = 106.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_styles/panel = SubResource( 2 )
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="MediaThumbnail" type="TextureRect" parent="HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer2/MediaThumbnailButton"]
margin_left = 10.0
margin_top = 10.0
margin_right = 288.0
margin_bottom = 96.0
size_flags_horizontal = 3
size_flags_vertical = 3
texture = ExtResource( 2 )
expand = true
stretch_mode = 6

[node name="MediaDownloadButton" type="PanelContainer" parent="HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer2"]
margin_top = 110.0
margin_right = 298.0
margin_bottom = 144.0
custom_styles/panel = SubResource( 3 )
script = ExtResource( 7 )
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="HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer2/MediaDownloadButton"]
margin_left = 10.0
margin_top = 10.0
margin_right = 288.0
margin_bottom = 24.0
text = "Download"
align = 1

[node name="Description" type="RichTextLabel" parent="HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer"]
margin_top = 164.0
margin_right = 715.0
margin_bottom = 294.0
focus_mode = 2
size_flags_vertical = 3
text = "Description"
fit_content_height = true
selection_enabled = true

[node name="CommentsMarginContainer" type="MarginContainer" parent="."]
margin_top = 306.0
margin_right = 1024.0
margin_bottom = 600.0
size_flags_horizontal = 3
size_flags_vertical = 3

[node name="CommentsScrollContainer" type="ScrollContainer" parent="CommentsMarginContainer"]
margin_right = 1024.0
margin_bottom = 294.0
size_flags_vertical = 3
scroll_horizontal_enabled = false

[editable path="HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer/ChannelButton/ChannelCard"]
