Skip to content

Commit

Permalink
chore: style panel cleaner (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFlurry committed Jul 27, 2024
1 parent 4e6dd67 commit b2e44be
Show file tree
Hide file tree
Showing 40 changed files with 1,745 additions and 1,347 deletions.
3 changes: 1 addition & 2 deletions examples/lobbies_servers/project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,14 @@ config/icon="res://icon.svg"
[autoload]

Backend="*res://addons/backend/backend.gd"
Rivet="*res://addons/rivet/rivet_global.gd"

[dotnet]

project/assembly_name="Lobbies (Servers)"

[editor_plugins]

enabled=PackedStringArray("res://addons/explore-editor-theme/plugin.cfg", "res://addons/rivet/plugin.cfg")
enabled=PackedStringArray("res://addons/explore-editor-theme/plugin.cfg")

[rendering]

Expand Down
1 change: 1 addition & 0 deletions godot/addons/rivet/images/font_awesome/book.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions godot/addons/rivet/images/font_awesome/book.svg.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://bt6drfu7s6mqv"
path="res://.godot/imported/book.svg-7d6ed817d0164733ea062edc53b74934.ctex"
metadata={
"has_editor_variant": true,
"vram_texture": false
}

[deps]

source_file="res://addons/rivet/images/font_awesome/book.svg"
dest_files=["res://.godot/imported/book.svg-7d6ed817d0164733ea062edc53b74934.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
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=1.0
editor/scale_with_editor_scale=true
editor/convert_colors_with_editor_theme=false
1 change: 1 addition & 0 deletions godot/addons/rivet/images/font_awesome/browser.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions godot/addons/rivet/images/font_awesome/browser.svg.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://dg3w11q62005w"
path="res://.godot/imported/browser.svg-8de0d47be6aaf2ba9c6789f160934705.ctex"
metadata={
"has_editor_variant": true,
"vram_texture": false
}

[deps]

source_file="res://addons/rivet/images/font_awesome/browser.svg"
dest_files=["res://.godot/imported/browser.svg-8de0d47be6aaf2ba9c6789f160934705.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
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=1.0
editor/scale_with_editor_scale=true
editor/convert_colors_with_editor_theme=false
1 change: 1 addition & 0 deletions godot/addons/rivet/images/font_awesome/bug.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions godot/addons/rivet/images/font_awesome/bug.svg.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://cqxfe7vdxxopy"
path="res://.godot/imported/bug.svg-7c242a9ab85456ccc8121577df15f111.ctex"
metadata={
"has_editor_variant": true,
"vram_texture": false
}

[deps]

source_file="res://addons/rivet/images/font_awesome/bug.svg"
dest_files=["res://.godot/imported/bug.svg-7c242a9ab85456ccc8121577df15f111.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
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=1.0
editor/scale_with_editor_scale=true
editor/convert_colors_with_editor_theme=false
1 change: 1 addition & 0 deletions godot/addons/rivet/images/font_awesome/discord.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions godot/addons/rivet/images/font_awesome/discord.svg.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://diwwt3x2s8rf0"
path="res://.godot/imported/discord.svg-4e1ccc1d48aacd83182d191e6e621d99.ctex"
metadata={
"has_editor_variant": true,
"vram_texture": false
}

[deps]

source_file="res://addons/rivet/images/font_awesome/discord.svg"
dest_files=["res://.godot/imported/discord.svg-4e1ccc1d48aacd83182d191e6e621d99.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
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=1.0
editor/scale_with_editor_scale=true
editor/convert_colors_with_editor_theme=false
1 change: 1 addition & 0 deletions godot/addons/rivet/images/font_awesome/github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions godot/addons/rivet/images/font_awesome/github.svg.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://cepgu0kb1n3vj"
path="res://.godot/imported/github.svg-adf7f2989a220a20fa939aad15355ccd.ctex"
metadata={
"has_editor_variant": true,
"vram_texture": false
}

[deps]

source_file="res://addons/rivet/images/font_awesome/github.svg"
dest_files=["res://.godot/imported/github.svg-adf7f2989a220a20fa939aad15355ccd.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
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=1.0
editor/scale_with_editor_scale=true
editor/convert_colors_with_editor_theme=false
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions godot/addons/rivet/images/font_awesome/right-to-bracket.svg.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://dg4dqkyupiknx"
path="res://.godot/imported/right-to-bracket.svg-d498df29e0ca6661e15427a59dcedfb8.ctex"
metadata={
"has_editor_variant": true,
"vram_texture": false
}

[deps]

source_file="res://addons/rivet/images/font_awesome/right-to-bracket.svg"
dest_files=["res://.godot/imported/right-to-bracket.svg-d498df29e0ca6661e15427a59dcedfb8.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
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=1.0
editor/scale_with_editor_scale=true
editor/convert_colors_with_editor_theme=false
2 changes: 0 additions & 2 deletions godot/addons/rivet/rivet.gd
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@ func _exit_tree():
remove_control_from_bottom_panel(_backend_panel)
_backend_panel.free()

global.plugin_nodes = []

func _on_add_autoload(name: String, path: String):
add_autoload_singleton(name, path)

Expand Down
15 changes: 15 additions & 0 deletions godot/addons/rivet/theme/button_copied/disabled.tres
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[gd_resource type="StyleBoxFlat" format=3 uid="uid://bjlccrqn4s457"]

[resource]
content_margin_left = 12.0
content_margin_top = 10.0
content_margin_right = 12.0
content_margin_bottom = 10.0
bg_color = Color(0.189, 0.216, 0.261, 1)
border_color = Color(0.147, 0.168, 0.203, 1)
corner_radius_top_left = 6
corner_radius_top_right = 6
corner_radius_bottom_right = 6
corner_radius_bottom_left = 6
corner_detail = 5
anti_aliasing = false
20 changes: 20 additions & 0 deletions godot/addons/rivet/theme/button_copied/focus.tres
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[gd_resource type="StyleBoxFlat" format=3 uid="uid://xqv7u4cohji5"]

[resource]
content_margin_left = 12.0
content_margin_top = 10.0
content_margin_right = 12.0
content_margin_bottom = 10.0
bg_color = Color(0.147, 0.168, 0.203, 1)
draw_center = false
border_width_left = 4
border_width_top = 4
border_width_right = 4
border_width_bottom = 4
border_color = Color(0.44, 0.73, 0.98, 1)
corner_radius_top_left = 6
corner_radius_top_right = 6
corner_radius_bottom_right = 6
corner_radius_bottom_left = 6
corner_detail = 5
anti_aliasing = false
15 changes: 15 additions & 0 deletions godot/addons/rivet/theme/button_copied/hover.tres
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[gd_resource type="StyleBoxFlat" format=3 uid="uid://c7pfwyey5qs83"]

[resource]
content_margin_left = 12.0
content_margin_top = 10.0
content_margin_right = 12.0
content_margin_bottom = 10.0
bg_color = Color(1, 1, 1, 0.11)
border_color = Color(1, 1, 1, 0.05)
corner_radius_top_left = 6
corner_radius_top_right = 6
corner_radius_bottom_right = 6
corner_radius_bottom_left = 6
corner_detail = 5
anti_aliasing = false
15 changes: 15 additions & 0 deletions godot/addons/rivet/theme/button_copied/normal.tres
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[gd_resource type="StyleBoxFlat" format=3 uid="uid://bi8qk44ab6r1i"]

[resource]
content_margin_left = 12.0
content_margin_top = 10.0
content_margin_right = 12.0
content_margin_bottom = 10.0
bg_color = Color(0.147, 0.168, 0.203, 1)
border_color = Color(0.1155, 0.132, 0.1595, 1)
corner_radius_top_left = 6
corner_radius_top_right = 6
corner_radius_bottom_right = 6
corner_radius_bottom_left = 6
corner_detail = 5
anti_aliasing = false
15 changes: 15 additions & 0 deletions godot/addons/rivet/theme/button_copied/pressed.tres
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[gd_resource type="StyleBoxFlat" format=3 uid="uid://c38wxs5glxb73"]

[resource]
content_margin_left = 12.0
content_margin_top = 10.0
content_margin_right = 12.0
content_margin_bottom = 10.0
bg_color = Color(0.128625, 0.147, 0.177625, 1)
border_color = Color(0.1155, 0.132, 0.1595, 1)
corner_radius_top_left = 6
corner_radius_top_right = 6
corner_radius_bottom_right = 6
corner_radius_bottom_left = 6
corner_detail = 5
anti_aliasing = false
15 changes: 15 additions & 0 deletions godot/addons/rivet/theme/inspector_button/disabled.tres
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[gd_resource type="StyleBoxFlat" format=3 uid="uid://bt6ts60u2gdre"]

[resource]
content_margin_left = 12.0
content_margin_top = 10.0
content_margin_right = 12.0
content_margin_bottom = 10.0
bg_color = Color(0.189, 0.216, 0.261, 1)
border_color = Color(0.147, 0.168, 0.203, 1)
corner_radius_top_left = 6
corner_radius_top_right = 6
corner_radius_bottom_right = 6
corner_radius_bottom_left = 6
corner_detail = 5
anti_aliasing = false
15 changes: 15 additions & 0 deletions godot/addons/rivet/theme/inspector_button/hover.tres
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[gd_resource type="StyleBoxFlat" format=3 uid="uid://dyqxlgqdmd4i"]

[resource]
content_margin_left = 12.0
content_margin_top = 10.0
content_margin_right = 12.0
content_margin_bottom = 10.0
bg_color = Color(1, 1, 1, 0.11)
border_color = Color(1, 1, 1, 0.05)
corner_radius_top_left = 6
corner_radius_top_right = 6
corner_radius_bottom_right = 6
corner_radius_bottom_left = 6
corner_detail = 5
anti_aliasing = false
Loading

0 comments on commit b2e44be

Please sign in to comment.