aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.tscn36
-rw-r--r--themes/dark.tres34
2 files changed, 30 insertions, 40 deletions
diff --git a/main.tscn b/main.tscn
index 6f08eef..f7a0d0a 100644
--- a/main.tscn
+++ b/main.tscn
@@ -1,4 +1,4 @@
-[gd_scene load_steps=16 format=2]
+[gd_scene load_steps=15 format=2]
[ext_resource path="res://main.gd" type="Script" id=1]
[ext_resource path="res://date_picker/date_picker.tscn" type="PackedScene" id=2]
@@ -15,20 +15,6 @@
[ext_resource path="res://dialog/dialog.gd" type="Script" id=14]
[ext_resource path="res://file_picker.gd" type="Script" id=15]
-[sub_resource type="StyleBoxFlat" id=1]
-content_margin_left = 15.0
-content_margin_right = 15.0
-content_margin_top = 15.0
-content_margin_bottom = 15.0
-bg_color = Color( 0, 0, 0, 0.75 )
-border_color = Color( 1, 1, 1, 1 )
-corner_radius_top_left = 50
-corner_radius_top_right = 50
-corner_radius_bottom_right = 50
-corner_radius_bottom_left = 50
-expand_margin_left = 7.0
-expand_margin_right = 7.0
-
[node name="main" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
@@ -45,7 +31,6 @@ margin_top = 32.0
margin_right = -32.0
grow_horizontal = 0
custom_fonts/font = ExtResource( 6 )
-custom_styles/normal = SubResource( 1 )
text = ""
flat = false
script = ExtResource( 4 )
@@ -61,11 +46,10 @@ grow_horizontal = 0
grow_vertical = 0
[node name="delete" type="Button" parent="database/actions"]
-margin_right = 73.0
-margin_bottom = 86.0
+margin_right = 63.0
+margin_bottom = 56.0
focus_mode = 0
custom_fonts/font = ExtResource( 6 )
-custom_styles/normal = SubResource( 1 )
shortcut_in_tooltip = false
enabled_focus_mode = 0
text = ""
@@ -74,12 +58,11 @@ __meta__ = {
}
[node name="edit" type="Button" parent="database/actions"]
-margin_top = 96.0
-margin_right = 73.0
-margin_bottom = 182.0
+margin_top = 66.0
+margin_right = 63.0
+margin_bottom = 122.0
focus_mode = 0
custom_fonts/font = ExtResource( 6 )
-custom_styles/normal = SubResource( 1 )
shortcut_in_tooltip = false
enabled_focus_mode = 0
text = ""
@@ -88,12 +71,11 @@ __meta__ = {
}
[node name="add" type="Button" parent="database/actions"]
-margin_top = 192.0
-margin_right = 73.0
-margin_bottom = 278.0
+margin_top = 132.0
+margin_right = 63.0
+margin_bottom = 188.0
focus_mode = 0
custom_fonts/font = ExtResource( 6 )
-custom_styles/normal = SubResource( 1 )
shortcut_in_tooltip = false
enabled_focus_mode = 0
text = ""
diff --git a/themes/dark.tres b/themes/dark.tres
index 19d1da2..e50b548 100644
--- a/themes/dark.tres
+++ b/themes/dark.tres
@@ -1,4 +1,4 @@
-[gd_resource type="Theme" load_steps=10 format=2]
+[gd_resource type="Theme" load_steps=11 format=2]
[ext_resource path="res://fonts/font_regular.tres" type="DynamicFont" id=1]
[ext_resource path="res://fonts/font_mono_regular.tres" type="DynamicFont" id=2]
@@ -11,28 +11,28 @@ content_margin_right = 10.0
content_margin_left = 10.0
content_margin_right = 10.0
bg_color = Color( 0.22, 0.35, 0.5, 0.5 )
-corner_radius_top_left = 8
-corner_radius_top_right = 8
-corner_radius_bottom_right = 8
-corner_radius_bottom_left = 8
+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=2]
content_margin_left = 10.0
content_margin_right = 10.0
bg_color = Color( 0.11, 0.11, 0.11, 1 )
-corner_radius_top_left = 8
-corner_radius_top_right = 8
-corner_radius_bottom_right = 8
-corner_radius_bottom_left = 8
+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=4]
content_margin_left = 10.0
content_margin_right = 10.0
bg_color = Color( 0.223529, 0.352941, 0.501961, 1 )
-corner_radius_top_left = 8
-corner_radius_top_right = 8
-corner_radius_bottom_right = 8
-corner_radius_bottom_left = 8
+corner_radius_top_left = 15
+corner_radius_top_right = 15
+corner_radius_bottom_right = 15
+corner_radius_bottom_left = 15
[sub_resource type="StyleBoxEmpty" id=5]
@@ -52,6 +52,13 @@ draw_center = false
border_width_bottom = 2
border_color = Color( 0.329412, 0.329412, 0.329412, 1 )
+[sub_resource type="StyleBoxFlat" id=12]
+bg_color = Color( 0.22, 0.22, 0.22, 1 )
+corner_radius_top_left = 15
+corner_radius_top_right = 15
+corner_radius_bottom_right = 15
+corner_radius_bottom_left = 15
+
[resource]
default_font = ExtResource( 1 )
Button/styles/disabled = SubResource( 10 )
@@ -64,4 +71,5 @@ ItemList/styles/bg = SubResource( 5 )
LineEdit/styles/focus = SubResource( 9 )
LineEdit/styles/normal = SubResource( 7 )
LineEdit/styles/read_only = null
+Panel/styles/panel = SubResource( 12 )
VBoxContainer/constants/separation = 10