From c48a25f810436abf149225020279220dac3b78ec Mon Sep 17 00:00:00 2001 From: dam Date: Tue, 5 Apr 2022 06:18:39 +0000 Subject: Improved is_urgency button layout and visual. Changed font size. --- themes/dark.tres | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) (limited to 'themes/dark.tres') diff --git a/themes/dark.tres b/themes/dark.tres index 717b9c2..b556b88 100644 --- a/themes/dark.tres +++ b/themes/dark.tres @@ -1,28 +1,33 @@ -[gd_resource type="Theme" load_steps=9 format=2] +[gd_resource type="Theme" load_steps=10 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] -[sub_resource type="StyleBoxFlat" id=2] -bg_color = Color( 0.11, 0.11, 0.11, 1 ) +[sub_resource type="StyleBoxEmpty" id=10] +content_margin_left = 10.0 +content_margin_right = 10.0 + +[sub_resource type="StyleBoxFlat" id=11] +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 -[sub_resource type="StyleBoxFlat" id=8] -bg_color = Color( 0.109804, 0.109804, 0.109804, 1 ) -border_width_left = 3 -border_width_top = 3 -border_width_right = 3 -border_width_bottom = 3 -border_color = Color( 0.223529, 0.352941, 0.501961, 1 ) +[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 [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 @@ -34,8 +39,6 @@ corner_radius_bottom_left = 8 [sub_resource type="StyleBoxFlat" id=9] content_margin_left = 10.0 content_margin_right = 10.0 -content_margin_top = 5.0 -content_margin_bottom = 5.0 bg_color = Color( 0, 0, 0, 0 ) draw_center = false border_width_bottom = 3 @@ -44,8 +47,6 @@ border_color = Color( 0.223529, 0.352941, 0.501961, 1 ) [sub_resource type="StyleBoxFlat" id=7] content_margin_left = 10.0 content_margin_right = 10.0 -content_margin_top = 5.0 -content_margin_bottom = 5.0 bg_color = Color( 0, 0, 0, 0 ) draw_center = false border_width_bottom = 3 @@ -53,9 +54,9 @@ border_color = Color( 0.33, 0.33, 0.33, 1 ) [resource] default_font = ExtResource( 1 ) -Button/styles/disabled = null -Button/styles/focus = SubResource( 2 ) -Button/styles/hover = SubResource( 8 ) +Button/styles/disabled = SubResource( 10 ) +Button/styles/focus = SubResource( 10 ) +Button/styles/hover = SubResource( 11 ) Button/styles/normal = SubResource( 2 ) Button/styles/pressed = SubResource( 4 ) ItemList/fonts/font = ExtResource( 2 ) @@ -63,3 +64,4 @@ ItemList/styles/bg = SubResource( 5 ) LineEdit/styles/focus = SubResource( 9 ) LineEdit/styles/normal = SubResource( 7 ) LineEdit/styles/read_only = null +VBoxContainer/constants/separation = 10 -- cgit v1.2.3