From 4076dbc2510c4420e36f59e36f90c1c1a3d91b19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lera=20Elvo=C3=A9?= Date: Mon, 18 Jul 2022 22:58:25 +0300 Subject: [PATCH] add more controls to theme --- ServerUI.tscn | 1 - theme/default_theme.theme | Bin 927 -> 1343 bytes .../ScrollBarGrabberHighlightStylebox.tres | 2 +- theme/textures/checkmark.svg | 118 ++++++++++++++++++ theme/textures/checkmark.svg.import | 35 ++++++ theme/textures/checkmark_disabled-checked.png | Bin 0 -> 714 bytes .../checkmark_disabled-checked.png.import | 35 ++++++ .../textures/checkmark_disabled-unchecked.png | Bin 0 -> 349 bytes .../checkmark_disabled-unchecked.png.import | 35 ++++++ theme/textures/checkmark_enabled-checked.png | Bin 0 -> 771 bytes .../checkmark_enabled-checked.png.import | 35 ++++++ .../textures/checkmark_enabled-unchecked.png | Bin 0 -> 357 bytes .../checkmark_enabled-unchecked.png.import | 35 ++++++ 13 files changed, 294 insertions(+), 2 deletions(-) create mode 100644 theme/textures/checkmark.svg create mode 100644 theme/textures/checkmark.svg.import create mode 100644 theme/textures/checkmark_disabled-checked.png create mode 100644 theme/textures/checkmark_disabled-checked.png.import create mode 100644 theme/textures/checkmark_disabled-unchecked.png create mode 100644 theme/textures/checkmark_disabled-unchecked.png.import create mode 100644 theme/textures/checkmark_enabled-checked.png create mode 100644 theme/textures/checkmark_enabled-checked.png.import create mode 100644 theme/textures/checkmark_enabled-unchecked.png create mode 100644 theme/textures/checkmark_enabled-unchecked.png.import diff --git a/ServerUI.tscn b/ServerUI.tscn index 6fc7864..4685cc1 100644 --- a/ServerUI.tscn +++ b/ServerUI.tscn @@ -244,7 +244,6 @@ access = 2 [node name="FileTreeContextMenu" type="PopupMenu" parent="."] unique_name_in_owner = true -visible = true margin_right = 95.0 margin_bottom = 56.0 rect_min_size = Vector2( 95, 56 ) diff --git a/theme/default_theme.theme b/theme/default_theme.theme index c330b864d11921a374b8cd6c9718ca9b54e38e73..4b9f7b6f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*16Ao3E=lfK*Wd;JiD_j`XYPMI`Dxe50MTj^i+IUzNha%dG^A|z3 zSPo)F!WKkrj2$bh2y4V&ok`MfAvolh4_(ixZA*x(IaY(Wt`qvE@rry+&SH9cRD) zD{tl(qI973ru_t%2WrY2^Rt{FbRs^$EVlu^Rayly=3Cp`NLFLgJr$H1qyMG<+G7w_ zP=)!;P|{(blK}=ZYdB|cjJWzUvWbb30nH$@^p|Fl$W=_uD{57^`bJO4;Q>-pLqk*> BtBn8v diff --git a/theme/styleboxes/scrollbar/ScrollBarGrabberHighlightStylebox.tres b/theme/styleboxes/scrollbar/ScrollBarGrabberHighlightStylebox.tres index 6488fd3..c0f9362 100644 --- a/theme/styleboxes/scrollbar/ScrollBarGrabberHighlightStylebox.tres +++ b/theme/styleboxes/scrollbar/ScrollBarGrabberHighlightStylebox.tres @@ -1,7 +1,7 @@ [gd_resource type="StyleBoxFlat" format=2] [resource] -bg_color = Color( 0.4002, 0.87, 0.46284, 1 ) +bg_color = Color( 0.615686, 0.921569, 0.658824, 1 ) corner_radius_top_left = 12 corner_radius_top_right = 12 corner_radius_bottom_right = 12 diff --git a/theme/textures/checkmark.svg b/theme/textures/checkmark.svg new file mode 100644 index 0000000..a621da4 --- /dev/null +++ b/theme/textures/checkmark.svg @@ -0,0 +1,118 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/theme/textures/checkmark.svg.import b/theme/textures/checkmark.svg.import new file mode 100644 index 0000000..f99f542 --- /dev/null +++ b/theme/textures/checkmark.svg.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/checkmark.svg-c593fbe7a89846c0bcb217f6ec227e9b.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://theme/textures/checkmark.svg" +dest_files=[ "res://.import/checkmark.svg-c593fbe7a89846c0bcb217f6ec227e9b.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/theme/textures/checkmark_disabled-checked.png b/theme/textures/checkmark_disabled-checked.png new file mode 100644 index 0000000000000000000000000000000000000000..867292ac0bd641aa7052ec23e5e2c10ff1328c24 GIT binary patch literal 714 zcmV;*0yX`KP)1ZoYvI3GK~p8T?9TL=Jb`3Em6twFaq+%Y zwtd71o!>p;FkVcMCQ5MK0fE&We=c~zFHou%Nk$2so7vePG)g5D#OzcRh@iWei|@Hs$pa znxq6*orU0Y2>{yHU6MGZv{s~0cBpP=JqdpGGBL|bpm9p@vxA6G->u=*T#_)Md)r$I zd?5iq@2*eOkFZ?}$awoU~~T> wDW~6oU1M7fV~b^MLyji`zKQaocx!+C3xm$>b|1S)F8}}l07*qoM6N<$f*A}tKL7v# literal 0 HcmV?d00001 diff --git a/theme/textures/checkmark_disabled-checked.png.import b/theme/textures/checkmark_disabled-checked.png.import new file mode 100644 index 0000000..1bc9380 --- /dev/null +++ b/theme/textures/checkmark_disabled-checked.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/checkmark_disabled-checked.png-5aba26a5162a237fec800f8930559eb4.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://theme/textures/checkmark_disabled-checked.png" +dest_files=[ "res://.import/checkmark_disabled-checked.png-5aba26a5162a237fec800f8930559eb4.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/theme/textures/checkmark_disabled-unchecked.png b/theme/textures/checkmark_disabled-unchecked.png new file mode 100644 index 0000000000000000000000000000000000000000..f951dfee9be28b522c7eb13c5b682d43e6d5105f GIT binary patch literal 349 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1|%Pp+x`GjoCO|{#Xx#42s8E^@#UE!p90NAjc*)uT(%S)`*?P%L2ttMWpkLf+p_O_mbEkH zlcjI?i984H4IW~z4wOw=d;0kfUiP1|4q3tpGwT-Fe-cl-Wperb>4qHE54-9Y|IGOO zg#Fa21@n9jA}lZ1l>SX9YIwF+wba(*IiF6_%*}t=B@-_4=Knh_A;FxSz|+&%$n`9pgI4;R7FYh=5A-#Ir>mdKI;Vst0P78wivR!s literal 0 HcmV?d00001 diff --git a/theme/textures/checkmark_disabled-unchecked.png.import b/theme/textures/checkmark_disabled-unchecked.png.import new file mode 100644 index 0000000..cf51103 --- /dev/null +++ b/theme/textures/checkmark_disabled-unchecked.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/checkmark_disabled-unchecked.png-8bfdd3103b550628b3014ec8cdc80614.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://theme/textures/checkmark_disabled-unchecked.png" +dest_files=[ "res://.import/checkmark_disabled-unchecked.png-8bfdd3103b550628b3014ec8cdc80614.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/theme/textures/checkmark_enabled-checked.png b/theme/textures/checkmark_enabled-checked.png new file mode 100644 index 0000000000000000000000000000000000000000..9671a71d70987f2a1b40f79b02664edd8d1be9c3 GIT binary patch literal 771 zcmV+e1N{7nP)q>*Kj(MvopJ3Ngk7P3IdpAZ{mF=8WWnB-4N$7GxOd&?y0-_o!|HK`~A-Mo+EvIeZ0N! zvtLyPK-U5u`62-sGot60pPD}+Yu@zst8xP%8@FhhPu;j+x(xt|>~mE)gTnW772?sH z>eEr!=(6B!CxV_az#98QbBmi!!CUG85I;+?KNN&@2Jkf1d`A{24Rq3dF~pPvfN4$7 z?zD909*ze=?7@|iBwXvCXYye0A3omsM z?k}_@?(`VKJq3uNd?lJSr|||NINd_$K_7RCGbfXe;+PMKbrA!V-h=F;> z{g&b#s~r5T9(LR^IZ|tyH=_nqcWY#yEFJ4z{4Gtoh7r1s2O#yQ(YU$IX8<&ViJ>Y0 z;V~caWX7iA4i9gcL-IPM`Y>rKJ}Uqqev%SDO>h?(in}`+)+B)NkPlXw7>r%AMx6{3igw z)cu&`eTLIhPc08cXwrW7ox2xhP`+FRh1zIJ{J6C({|*;O#FdtFxb`w*{A8K*bNeS3 zR{#_|7**uN%G2|2{Q^MN?zi#Xo;m;k002ovPDHLkV1mGW BUBUnW literal 0 HcmV?d00001 diff --git a/theme/textures/checkmark_enabled-checked.png.import b/theme/textures/checkmark_enabled-checked.png.import new file mode 100644 index 0000000..fc9776c --- /dev/null +++ b/theme/textures/checkmark_enabled-checked.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/checkmark_enabled-checked.png-625146d8028545daff92e68e0d2b234e.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://theme/textures/checkmark_enabled-checked.png" +dest_files=[ "res://.import/checkmark_enabled-checked.png-625146d8028545daff92e68e0d2b234e.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/theme/textures/checkmark_enabled-unchecked.png b/theme/textures/checkmark_enabled-unchecked.png new file mode 100644 index 0000000000000000000000000000000000000000..905671a3586a7ff67150f3cb3afa1c809c194c7f GIT binary patch literal 357 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1|%Pp+x`GjoCO|{#Xx#42s8E=bEo}W|t)+)~X} z7nfhN%=By4%>$QhR4dkxQ=XXE2gOQ`#VZ~3&r;0yof0a#<+4IJB zuUwtoi5p?wv)8RXvi0cx^-G