242 lines
8.7 KiB
Plaintext
242 lines
8.7 KiB
Plaintext
[gd_scene load_steps=10 format=3 uid="uid://pon554b5gdnu"]
|
|
|
|
[ext_resource type="Theme" uid="uid://bviqieumdiccr" path="res://assets/themes/main_theme.tres" id="1_8wugm"]
|
|
[ext_resource type="Script" uid="uid://260dpbodarqy" path="res://scenes/auth/login.gd" id="1_lg6fp"]
|
|
[ext_resource type="Texture2D" uid="uid://cja8kui47qb3d" path="res://assets/ui/main_menu.png" id="3_c4dse"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_card"]
|
|
bg_color = Color(0, 0, 0, 0.9882353)
|
|
border_width_left = 2
|
|
border_width_top = 2
|
|
border_width_right = 2
|
|
border_width_bottom = 2
|
|
border_color = Color(0.247059, 0.247059, 0.278431, 1)
|
|
corner_radius_top_left = 8
|
|
corner_radius_top_right = 8
|
|
corner_radius_bottom_right = 8
|
|
corner_radius_bottom_left = 8
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_input_normal"]
|
|
content_margin_left = 12.0
|
|
content_margin_top = 8.0
|
|
content_margin_right = 12.0
|
|
content_margin_bottom = 8.0
|
|
bg_color = Color(0.0862745, 0.129412, 0.243137, 1)
|
|
border_width_left = 2
|
|
border_width_top = 2
|
|
border_width_right = 2
|
|
border_width_bottom = 2
|
|
border_color = Color(0.247059, 0.247059, 0.278431, 1)
|
|
corner_radius_top_left = 4
|
|
corner_radius_top_right = 4
|
|
corner_radius_bottom_right = 4
|
|
corner_radius_bottom_left = 4
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_input_focus"]
|
|
content_margin_left = 12.0
|
|
content_margin_top = 8.0
|
|
content_margin_right = 12.0
|
|
content_margin_bottom = 8.0
|
|
bg_color = Color(0.0862745, 0.129412, 0.243137, 1)
|
|
border_width_left = 2
|
|
border_width_top = 2
|
|
border_width_right = 2
|
|
border_width_bottom = 2
|
|
border_color = Color(0.831373, 0.686275, 0.215686, 1)
|
|
corner_radius_top_left = 4
|
|
corner_radius_top_right = 4
|
|
corner_radius_bottom_right = 4
|
|
corner_radius_bottom_left = 4
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_button_normal"]
|
|
content_margin_left = 16.0
|
|
content_margin_top = 8.0
|
|
content_margin_right = 16.0
|
|
content_margin_bottom = 8.0
|
|
bg_color = Color(0.831373, 0.686275, 0.215686, 1)
|
|
border_width_left = 2
|
|
border_width_top = 2
|
|
border_width_right = 2
|
|
border_width_bottom = 2
|
|
border_color = Color(0.721569, 0.576471, 0.0392157, 1)
|
|
corner_radius_top_left = 4
|
|
corner_radius_top_right = 4
|
|
corner_radius_bottom_right = 4
|
|
corner_radius_bottom_left = 4
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_button_pressed"]
|
|
content_margin_left = 16.0
|
|
content_margin_top = 8.0
|
|
content_margin_right = 16.0
|
|
content_margin_bottom = 8.0
|
|
bg_color = Color(0.721569, 0.576471, 0.0392157, 1)
|
|
border_width_left = 2
|
|
border_width_top = 2
|
|
border_width_right = 2
|
|
border_width_bottom = 2
|
|
border_color = Color(0.721569, 0.576471, 0.0392157, 1)
|
|
corner_radius_top_left = 4
|
|
corner_radius_top_right = 4
|
|
corner_radius_bottom_right = 4
|
|
corner_radius_bottom_left = 4
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_button_hover"]
|
|
content_margin_left = 16.0
|
|
content_margin_top = 8.0
|
|
content_margin_right = 16.0
|
|
content_margin_bottom = 8.0
|
|
bg_color = Color(0.956863, 0.815686, 0.247059, 1)
|
|
border_width_left = 2
|
|
border_width_top = 2
|
|
border_width_right = 2
|
|
border_width_bottom = 2
|
|
border_color = Color(0.721569, 0.576471, 0.0392157, 1)
|
|
corner_radius_top_left = 4
|
|
corner_radius_top_right = 4
|
|
corner_radius_bottom_right = 4
|
|
corner_radius_bottom_left = 4
|
|
|
|
[node name="Login" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme = ExtResource("1_8wugm")
|
|
script = ExtResource("1_lg6fp")
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
texture = ExtResource("3_c4dse")
|
|
expand_mode = 2
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme = ExtResource("1_8wugm")
|
|
|
|
[node name="LoginCard" type="PanelContainer" parent="CenterContainer"]
|
|
custom_minimum_size = Vector2(400, 0)
|
|
layout_mode = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_card")
|
|
|
|
[node name="MainContainer" type="MarginContainer" parent="CenterContainer/LoginCard"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 32
|
|
theme_override_constants/margin_top = 32
|
|
theme_override_constants/margin_right = 32
|
|
theme_override_constants/margin_bottom = 32
|
|
|
|
[node name="ContentVBox" type="VBoxContainer" parent="CenterContainer/LoginCard/MainContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 16
|
|
|
|
[node name="TitleLabel" type="Label" parent="CenterContainer/LoginCard/MainContainer/ContentVBox"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.831373, 0.686275, 0.215686, 1)
|
|
theme_override_font_sizes/font_size = 24
|
|
text = "Welcome Back"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="Spacer1" type="Control" parent="CenterContainer/LoginCard/MainContainer/ContentVBox"]
|
|
custom_minimum_size = Vector2(0, 20)
|
|
layout_mode = 2
|
|
|
|
[node name="EmailLabel" type="Label" parent="CenterContainer/LoginCard/MainContainer/ContentVBox"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.894118, 0.894118, 0.905882, 1)
|
|
text = "Email"
|
|
|
|
[node name="EmailInput" type="LineEdit" parent="CenterContainer/LoginCard/MainContainer/ContentVBox"]
|
|
custom_minimum_size = Vector2(0, 40)
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.894118, 0.894118, 0.905882, 1)
|
|
theme_override_colors/font_placeholder_color = Color(0.631373, 0.631373, 0.666667, 1)
|
|
theme_override_colors/caret_color = Color(0.831373, 0.686275, 0.215686, 1)
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_input_normal")
|
|
theme_override_styles/focus = SubResource("StyleBoxFlat_input_focus")
|
|
placeholder_text = "Enter your email"
|
|
|
|
[node name="Spacer2" type="Control" parent="CenterContainer/LoginCard/MainContainer/ContentVBox"]
|
|
custom_minimum_size = Vector2(0, 12)
|
|
layout_mode = 2
|
|
|
|
[node name="PasswordLabel" type="Label" parent="CenterContainer/LoginCard/MainContainer/ContentVBox"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.894118, 0.894118, 0.905882, 1)
|
|
text = "Password"
|
|
|
|
[node name="PasswordInput" type="LineEdit" parent="CenterContainer/LoginCard/MainContainer/ContentVBox"]
|
|
custom_minimum_size = Vector2(0, 40)
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.894118, 0.894118, 0.905882, 1)
|
|
theme_override_colors/font_placeholder_color = Color(0.631373, 0.631373, 0.666667, 1)
|
|
theme_override_colors/caret_color = Color(0.831373, 0.686275, 0.215686, 1)
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_input_normal")
|
|
theme_override_styles/focus = SubResource("StyleBoxFlat_input_focus")
|
|
placeholder_text = "Enter your password"
|
|
secret = true
|
|
|
|
[node name="Spacer3" type="Control" parent="CenterContainer/LoginCard/MainContainer/ContentVBox"]
|
|
custom_minimum_size = Vector2(0, 12)
|
|
layout_mode = 2
|
|
|
|
[node name="RememberCheckBox" type="CheckBox" parent="CenterContainer/LoginCard/MainContainer/ContentVBox"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.894118, 0.894118, 0.905882, 1)
|
|
text = "Remember me"
|
|
|
|
[node name="Spacer4" type="Control" parent="CenterContainer/LoginCard/MainContainer/ContentVBox"]
|
|
custom_minimum_size = Vector2(0, 20)
|
|
layout_mode = 2
|
|
|
|
[node name="ErrorLabel" type="Label" parent="CenterContainer/LoginCard/MainContainer/ContentVBox"]
|
|
visible = false
|
|
custom_minimum_size = Vector2(300, 0)
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.937255, 0.266667, 0.266667, 1)
|
|
horizontal_alignment = 1
|
|
autowrap_mode = 3
|
|
|
|
[node name="LoginButton" type="Button" parent="CenterContainer/LoginCard/MainContainer/ContentVBox"]
|
|
custom_minimum_size = Vector2(0, 44)
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.101961, 0.101961, 0.180392, 1)
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_button_normal")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
|
text = "LOGIN"
|
|
|
|
[node name="Spacer5" type="Control" parent="CenterContainer/LoginCard/MainContainer/ContentVBox"]
|
|
custom_minimum_size = Vector2(0, 24)
|
|
layout_mode = 2
|
|
|
|
[node name="BottomLinksVBox" type="VBoxContainer" parent="CenterContainer/LoginCard/MainContainer/ContentVBox"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 8
|
|
alignment = 1
|
|
|
|
[node name="RegisterLink" type="Button" parent="CenterContainer/LoginCard/MainContainer/ContentVBox/BottomLinksVBox"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.631373, 0.631373, 0.666667, 1)
|
|
theme_override_colors/font_hover_color = Color(0.831373, 0.686275, 0.215686, 1)
|
|
text = "Don't have an account? Register"
|
|
flat = true
|
|
|
|
[node name="ForgotPasswordLink" type="Button" parent="CenterContainer/LoginCard/MainContainer/ContentVBox/BottomLinksVBox"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.631373, 0.631373, 0.666667, 1)
|
|
theme_override_colors/font_hover_color = Color(0.831373, 0.686275, 0.215686, 1)
|
|
text = "Forgot password?"
|
|
flat = true
|