262 lines
9.1 KiB
Plaintext
262 lines
9.1 KiB
Plaintext
[gd_scene load_steps=27 format=3 uid="uid://bytm7bt2s4ak8"]
|
|
|
|
[ext_resource type="Script" uid="uid://bg5iqnwic1rio" path="res://Scripts/main.gd" id="1_8q3xr"]
|
|
[ext_resource type="Texture2D" uid="uid://df1m4j7uxi63v" path="res://Assets/Icons/chevron-down.svg" id="2_6bp64"]
|
|
[ext_resource type="Script" uid="uid://cy0c74thgjwok" path="res://Scripts/TabContainer.gd" id="2_hptm8"]
|
|
[ext_resource type="Texture2D" uid="uid://bf0vx7qwo28k6" path="res://Assets/Icons/search.svg" id="3_8gbba"]
|
|
[ext_resource type="Texture2D" uid="uid://bp42ccs2nmbmw" path="res://Assets/Icons/arrow-left.svg" id="3_21xkr"]
|
|
[ext_resource type="Texture2D" uid="uid://dyyylow47qd0k" path="res://Assets/Icons/arrow-right.svg" id="4_6bp64"]
|
|
[ext_resource type="PackedScene" uid="uid://sqhcxhcre081" path="res://Scenes/Tab.tscn" id="4_344ge"]
|
|
[ext_resource type="Texture2D" uid="uid://cu4hjoba6etf" path="res://Assets/Icons/rotate-cw.svg" id="5_344ge"]
|
|
[ext_resource type="Texture2D" uid="uid://cehbtwq6gq0cn" path="res://Assets/Icons/plus.svg" id="5_ynf5e"]
|
|
[ext_resource type="Script" uid="uid://bgqglerkcylxx" path="res://addons/SmoothScroll/SmoothScrollContainer.gd" id="10_d1ilt"]
|
|
[ext_resource type="Script" uid="uid://b7h0k2h2qwlqv" path="res://addons/SmoothScroll/scroll_damper/expo_scroll_damper.gd" id="11_6iyac"]
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_344ge"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_hptm8"]
|
|
content_margin_left = 8.0
|
|
content_margin_right = 8.0
|
|
bg_color = Color(0, 0, 0, 1)
|
|
corner_radius_top_left = 15
|
|
corner_radius_top_right = 15
|
|
corner_radius_bottom_right = 15
|
|
corner_radius_bottom_left = 15
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_6bp64"]
|
|
bg_color = Color(0.109804, 0.109804, 0.109804, 1)
|
|
draw_center = false
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ynf5e"]
|
|
content_margin_left = 8.0
|
|
content_margin_right = 8.0
|
|
bg_color = Color(0, 0, 0, 1)
|
|
corner_radius_top_left = 50
|
|
corner_radius_top_right = 50
|
|
corner_radius_bottom_right = 50
|
|
corner_radius_bottom_left = 50
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_d1ilt"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_fdnlq"]
|
|
bg_color = Color(0.168627, 0.168627, 0.168627, 1)
|
|
corner_radius_top_left = 50
|
|
corner_radius_top_right = 50
|
|
corner_radius_bottom_right = 50
|
|
corner_radius_bottom_left = 50
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_d1ilt"]
|
|
bg_color = Color(0.6, 0.6, 0.6, 0)
|
|
draw_center = false
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_8gbba"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_8gbba"]
|
|
bg_color = Color(0.168627, 0.168627, 0.168627, 1)
|
|
corner_radius_top_left = 15
|
|
corner_radius_top_right = 15
|
|
corner_radius_bottom_right = 15
|
|
corner_radius_bottom_left = 15
|
|
expand_margin_left = 40.0
|
|
|
|
[sub_resource type="Theme" id="Theme_jjvhh"]
|
|
LineEdit/styles/focus = SubResource("StyleBoxEmpty_8gbba")
|
|
LineEdit/styles/normal = SubResource("StyleBoxFlat_8gbba")
|
|
|
|
[sub_resource type="Resource" id="Resource_fdnlq"]
|
|
script = ExtResource("11_6iyac")
|
|
friction = 4.0
|
|
minimum_velocity = 0.4
|
|
rebound_strength = 7.0
|
|
|
|
[sub_resource type="Resource" id="Resource_jkdf5"]
|
|
script = ExtResource("11_6iyac")
|
|
friction = 4.0
|
|
minimum_velocity = 0.4
|
|
rebound_strength = 7.0
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_white"]
|
|
bg_color = Color(1, 1, 1, 1)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_6iyac"]
|
|
bg_color = Color(0.105882, 0.105882, 0.105882, 1)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_21xkr"]
|
|
bg_color = Color(0.168627, 0.168627, 0.168627, 1)
|
|
|
|
[node name="Main" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_8q3xr")
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="Spacer" type="Control" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="TabContainer" type="HFlowContainer" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
script = ExtResource("2_hptm8")
|
|
|
|
[node name="Spacer" type="Control" parent="VBoxContainer/TabContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Popup" type="Button" parent="VBoxContainer/TabContainer"]
|
|
custom_minimum_size = Vector2(50, 0)
|
|
layout_mode = 2
|
|
theme_override_styles/focus = SubResource("StyleBoxEmpty_344ge")
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_hptm8")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_6bp64")
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_6bp64")
|
|
icon = ExtResource("2_6bp64")
|
|
icon_alignment = 1
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/TabContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Tab1" parent="VBoxContainer/TabContainer/HBoxContainer" instance=ExtResource("4_344ge")]
|
|
layout_mode = 2
|
|
|
|
[node name="NewTabButton" type="Button" parent="VBoxContainer/TabContainer"]
|
|
custom_minimum_size = Vector2(50, 0)
|
|
layout_mode = 2
|
|
theme_override_styles/focus = SubResource("StyleBoxEmpty_344ge")
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_ynf5e")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_6bp64")
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_6bp64")
|
|
icon = ExtResource("5_ynf5e")
|
|
icon_alignment = 1
|
|
|
|
[node name="Spacer2" type="Control" parent="VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 5)
|
|
layout_mode = 2
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 45)
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 12
|
|
|
|
[node name="Spacer" type="Control" parent="VBoxContainer/HBoxContainer"]
|
|
custom_minimum_size = Vector2(5, 0)
|
|
layout_mode = 2
|
|
|
|
[node name="BackButton" type="Button" parent="VBoxContainer/HBoxContainer"]
|
|
custom_minimum_size = Vector2(45, 0)
|
|
layout_mode = 2
|
|
theme_override_styles/focus = SubResource("StyleBoxEmpty_d1ilt")
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_fdnlq")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_d1ilt")
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_d1ilt")
|
|
icon = ExtResource("3_21xkr")
|
|
icon_alignment = 1
|
|
|
|
[node name="ForwardButton" type="Button" parent="VBoxContainer/HBoxContainer"]
|
|
custom_minimum_size = Vector2(45, 0)
|
|
layout_mode = 2
|
|
theme_override_styles/focus = SubResource("StyleBoxEmpty_d1ilt")
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_fdnlq")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_d1ilt")
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_d1ilt")
|
|
icon = ExtResource("4_6bp64")
|
|
icon_alignment = 1
|
|
|
|
[node name="RefreshButton" type="Button" parent="VBoxContainer/HBoxContainer"]
|
|
custom_minimum_size = Vector2(45, 0)
|
|
layout_mode = 2
|
|
theme_override_styles/focus = SubResource("StyleBoxEmpty_d1ilt")
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_fdnlq")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_d1ilt")
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_d1ilt")
|
|
icon = ExtResource("5_344ge")
|
|
icon_alignment = 1
|
|
|
|
[node name="Control" type="Control" parent="VBoxContainer/HBoxContainer"]
|
|
custom_minimum_size = Vector2(32, 0)
|
|
layout_mode = 2
|
|
|
|
[node name="LineEdit" type="LineEdit" parent="VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme = SubResource("Theme_jjvhh")
|
|
placeholder_text = "Search or enter web address"
|
|
caret_blink = true
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="VBoxContainer/HBoxContainer/LineEdit"]
|
|
layout_mode = 2
|
|
offset_left = -32.0
|
|
offset_right = -2.0
|
|
offset_bottom = 53.0
|
|
scale = Vector2(0.85, 0.85)
|
|
texture = ExtResource("3_8gbba")
|
|
stretch_mode = 5
|
|
|
|
[node name="Spacer3" type="Control" parent="VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 5)
|
|
layout_mode = 2
|
|
|
|
[node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
script = ExtResource("10_d1ilt")
|
|
wheel_scroll_damper = SubResource("Resource_fdnlq")
|
|
dragging_scroll_damper = SubResource("Resource_jkdf5")
|
|
drag_with_mouse = false
|
|
allow_overdragging = false
|
|
metadata/_custom_type_script = "uid://bgqglerkcylxx"
|
|
|
|
[node name="WebsiteContainer" type="VBoxContainer" parent="VBoxContainer/ScrollContainer"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(200, 200)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_constants/separation = 22
|
|
|
|
[node name="WebsiteBackground" type="Panel" parent="."]
|
|
unique_name_in_owner = true
|
|
z_index = -1
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_top = 125.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_white")
|
|
|
|
[node name="Panel" type="Panel" parent="."]
|
|
z_index = -5
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_top = 58.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_6iyac")
|
|
|
|
[node name="Panel2" type="Panel" parent="."]
|
|
z_index = -6
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_21xkr")
|
|
|
|
[connection signal="pressed" from="VBoxContainer/TabContainer/NewTabButton" to="VBoxContainer/TabContainer" method="_on_new_tab_button_pressed"]
|