Put top menu & ruler styles inside the themes

Instead of using stylebox files.
This commit is contained in:
OverloadedOrama 2020-08-14 00:22:49 +03:00
parent fe2ed42819
commit 79bd015c19
17 changed files with 1453 additions and 1472 deletions

View file

@ -1,4 +1,4 @@
[gd_resource type="Theme" load_steps=40 format=2]
[gd_resource type="Theme" load_steps=42 format=2]
[ext_resource path="res://assets/themes/light/icons/hsplit.png" type="Texture" id=1]
[ext_resource path="res://assets/themes/light/icons/grabber.png" type="Texture" id=2]
@ -7,6 +7,9 @@
[ext_resource path="res://assets/fonts/Roboto-Regular.tres" type="DynamicFont" id=5]
[ext_resource path="res://assets/themes/light/icons/spinbox.png" type="Texture" id=6]
[sub_resource type="StyleBoxFlat" id=35]
bg_color = Color( 0.509804, 0.509804, 0.509804, 1 )
[sub_resource type="StyleBoxFlat" id=1]
content_margin_left = 5.0
content_margin_right = 5.0
@ -212,6 +215,9 @@ corner_radius_top_right = 4
corner_radius_bottom_right = 4
corner_radius_bottom_left = 4
[sub_resource type="StyleBoxFlat" id=34]
bg_color = Color( 0.776471, 0.776471, 0.776471, 1 )
[sub_resource type="StyleBoxFlat" id=22]
bg_color = Color( 0.772549, 0.772549, 0.772549, 1 )
@ -325,6 +331,7 @@ Button/colors/font_color_hover = Color( 0, 0, 0, 1 )
Button/colors/font_color_pressed = Color( 0, 0, 0, 1 )
Button/constants/hseparation = 2
Button/fonts/font = null
Button/styles/Ruler = SubResource( 35 )
Button/styles/disabled = SubResource( 1 )
Button/styles/focus = null
Button/styles/hover = SubResource( 2 )
@ -462,6 +469,7 @@ OptionButton/styles/focus = null
OptionButton/styles/hover = null
OptionButton/styles/normal = null
OptionButton/styles/pressed = null
Panel/styles/TopMenu = SubResource( 34 )
Panel/styles/panel = SubResource( 22 )
Panel/styles/panelf = null
Panel/styles/panelnc = null