mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-22 23:17:26 -04:00
hide disabled buttons, ui fixes, flag icon
This commit is contained in:
parent
510ed97e85
commit
cdacbb2fc6
6 changed files with 165 additions and 1 deletions
70
app/assets/textures/flag.svg
Normal file
70
app/assets/textures/flag.svg
Normal file
|
@ -0,0 +1,70 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 64 64"
|
||||
sodipodi:docname="flag.svg"
|
||||
inkscape:export-filename="flag.svg"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96"
|
||||
inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#505050"
|
||||
inkscape:zoom="11.681993"
|
||||
inkscape:cx="28.890618"
|
||||
inkscape:cy="30.003441"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1011"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg1" />
|
||||
<defs
|
||||
id="defs1" />
|
||||
<g
|
||||
id="g1"
|
||||
transform="matrix(0.73506444,0,0,0.66151321,-11.590077,-1.3199069)"
|
||||
style="stroke-width:1.43406">
|
||||
<path
|
||||
style="display:none;fill:none;stroke:#ffffff;stroke-width:8.60445;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 68.765026,86.803101 92,92 87.363893,67.677255"
|
||||
id="path3" />
|
||||
<path
|
||||
style="display:none;fill:none;stroke:#ffffff;stroke-width:8.60437;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
|
||||
id="path4"
|
||||
transform="matrix(0.49999583,0.86602781,-0.866023,0.50000417,0,0)"
|
||||
d="M 109.55318,-16.180385 A 44.009815,44.009941 0 0 1 70.932468,26.11372 44.009815,44.009941 0 0 1 23.221626,-5.5725856 44.009815,44.009941 0 0 1 47.225416,-57.574261 44.009815,44.009941 0 0 1 102.29018,-41.819439" />
|
||||
<path
|
||||
style="display:inline;fill:none;stroke:#ffffff;stroke-width:8.60445;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
|
||||
d="M 37.102554,88.092165 V 18.13478"
|
||||
id="path6"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="fill:none;stroke:#ffffff;stroke-width:8.60447;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
|
||||
d="m 37.241775,17.936725 c 19.136273,-15.737799 38.87281,3.262791 53.271558,-0.898718 v 37.79524 C 77.958496,69.316588 64.123312,42.179311 37.52666,62.140218"
|
||||
id="path5"
|
||||
sodipodi:nodetypes="cccc" />
|
||||
<ellipse
|
||||
style="display:none;fill:#ffffff;fill-opacity:1;stroke-width:4.30216;stroke-dasharray:none"
|
||||
id="path1"
|
||||
ry="8.7075014"
|
||||
rx="8.7944298"
|
||||
cy="88.602745"
|
||||
cx="48.011761" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.9 KiB |
39
app/assets/textures/flag.svg.import
Normal file
39
app/assets/textures/flag.svg.import
Normal file
|
@ -0,0 +1,39 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://casdqby073onf"
|
||||
path.s3tc="res://.godot/imported/flag.svg-03474bc81b8cfd6a5a0482509e90869d.s3tc.ctex"
|
||||
path.etc2="res://.godot/imported/flag.svg-03474bc81b8cfd6a5a0482509e90869d.etc2.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/textures/flag.svg"
|
||||
dest_files=["res://.godot/imported/flag.svg-03474bc81b8cfd6a5a0482509e90869d.s3tc.ctex", "res://.godot/imported/flag.svg-03474bc81b8cfd6a5a0482509e90869d.etc2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
svg/scale=2.0
|
||||
editor/scale_with_editor_scale=false
|
||||
editor/convert_colors_with_editor_theme=false
|
|
@ -173,6 +173,7 @@ offset_right = -4.0
|
|||
offset_bottom = 19.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 2
|
||||
focus_mode = 0
|
||||
mouse_default_cursor_shape = 2
|
||||
theme_override_colors/font_hover_color = Color(0.831373, 0.831373, 0.831373, 1)
|
||||
theme_override_colors/font_pressed_color = Color(0.831373, 0.831373, 0.831373, 1)
|
||||
|
|
|
@ -91,6 +91,7 @@ text = "New Tab"
|
|||
label_settings = ExtResource("2_gll4d")
|
||||
|
||||
[node name="Button" type="Button" parent="MarginContainer/HBoxContainer"]
|
||||
visible = false
|
||||
custom_minimum_size = Vector2(14, 14)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=23 format=3 uid="uid://5btb7nvgmfhl"]
|
||||
[gd_scene load_steps=28 format=3 uid="uid://5btb7nvgmfhl"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/ui/menu/menu_navigation.gd" id="1_7anvm"]
|
||||
[ext_resource type="Script" path="res://scripts/ui/menu/menu.gd" id="1_o6vga"]
|
||||
|
@ -17,6 +17,8 @@
|
|||
[ext_resource type="Texture2D" uid="uid://dapysvexbecnd" path="res://assets/textures/reload.svg" id="13_hwfo2"]
|
||||
[ext_resource type="Texture2D" uid="uid://yn1l3ybpr7qv" path="res://assets/textures/menu.svg" id="13_ncruo"]
|
||||
[ext_resource type="Texture2D" uid="uid://mgtj316adcja" path="res://assets/textures/home.svg" id="14_gbcfo"]
|
||||
[ext_resource type="Texture2D" uid="uid://casdqby073onf" path="res://assets/textures/flag.svg" id="17_b36tf"]
|
||||
[ext_resource type="Script" path="res://scripts/ui/menu/help_button.gd" id="19_h4fgg"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_pveoh"]
|
||||
bg_color = Color(0.0980392, 0.101961, 0.133333, 1)
|
||||
|
@ -34,6 +36,45 @@ color = Color(0.12549, 0.133333, 0.172549, 1)
|
|||
grow_begin = 0.0
|
||||
grow_end = 0.0
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_am55m"]
|
||||
content_margin_left = 6.0
|
||||
content_margin_top = 6.0
|
||||
content_margin_right = 6.0
|
||||
content_margin_bottom = 6.0
|
||||
bg_color = Color(0.423529, 0.235294, 0.933333, 1)
|
||||
corner_radius_top_left = 13
|
||||
corner_radius_top_right = 13
|
||||
corner_radius_bottom_right = 13
|
||||
corner_radius_bottom_left = 13
|
||||
shadow_color = Color(0.0862745, 0.0901961, 0.117647, 0.784314)
|
||||
shadow_size = 4
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_e0ud7"]
|
||||
content_margin_left = 6.0
|
||||
content_margin_top = 6.0
|
||||
content_margin_right = 6.0
|
||||
content_margin_bottom = 6.0
|
||||
bg_color = Color(0.32549, 0.14902, 0.8, 1)
|
||||
corner_radius_top_left = 13
|
||||
corner_radius_top_right = 13
|
||||
corner_radius_bottom_right = 13
|
||||
corner_radius_bottom_left = 13
|
||||
shadow_color = Color(0.0862745, 0.0901961, 0.117647, 0.784314)
|
||||
shadow_size = 4
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ogb6s"]
|
||||
content_margin_left = 6.0
|
||||
content_margin_top = 6.0
|
||||
content_margin_right = 6.0
|
||||
content_margin_bottom = 6.0
|
||||
bg_color = Color(0.32549, 0.14902, 0.8, 1)
|
||||
corner_radius_top_left = 13
|
||||
corner_radius_top_right = 13
|
||||
corner_radius_bottom_right = 13
|
||||
corner_radius_bottom_left = 13
|
||||
shadow_color = Color(0.0862745, 0.0901961, 0.117647, 0.784314)
|
||||
shadow_size = 4
|
||||
|
||||
[node name="Menu" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
|
@ -89,6 +130,7 @@ theme_override_constants/separation = 7
|
|||
layout_mode = 2
|
||||
|
||||
[node name="Button" type="Button" parent="VBoxContainer/Top/VBoxContainer/Tabs/HBoxContainer"]
|
||||
visible = false
|
||||
custom_minimum_size = Vector2(14, 14)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
|
@ -189,7 +231,17 @@ layout_mode = 2
|
|||
theme_override_constants/separation = 2
|
||||
alignment = 2
|
||||
|
||||
[node name="Help" parent="VBoxContainer/Top/VBoxContainer/Navigation/MenuNavigation/HBoxContainer2" instance=ExtResource("6_gxcmo")]
|
||||
layout_mode = 2
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_am55m")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_e0ud7")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_ogb6s")
|
||||
icon = ExtResource("17_b36tf")
|
||||
script = ExtResource("19_h4fgg")
|
||||
url = "https://forms.gle/1NmJeCQnQh7Yc1KP8"
|
||||
|
||||
[node name="Options" parent="VBoxContainer/Top/VBoxContainer/Navigation/MenuNavigation/HBoxContainer2" instance=ExtResource("6_gxcmo")]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
disabled = true
|
||||
icon = ExtResource("13_ncruo")
|
||||
|
|
|
@ -228,6 +228,7 @@ layout_mode = 2
|
|||
size_flags_vertical = 3
|
||||
|
||||
[node name="Help" parent="." instance=ExtResource("7_bbq84")]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 3
|
||||
anchor_left = 1.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue