mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-13 19:04:54 +01:00
Terminal style without standard focus
This commit is contained in:
parent
b84bb48004
commit
d5ac67c4cc
2 changed files with 18 additions and 16 deletions
10
styles/terminal_input.tres
Normal file
10
styles/terminal_input.tres
Normal file
|
@ -0,0 +1,10 @@
|
|||
[gd_resource type="StyleBoxFlat" format=2]
|
||||
|
||||
[resource]
|
||||
content_margin_left = 10.0
|
||||
content_margin_right = 10.0
|
||||
content_margin_top = 10.0
|
||||
content_margin_bottom = 5.0
|
||||
bg_color = Color( 0, 0, 0, 1 )
|
||||
border_width_top = 2
|
||||
border_color = Color( 0.498039, 0.498039, 0.498039, 1 )
|
|
@ -2,6 +2,10 @@
|
|||
|
||||
[ext_resource path="res://fonts/default.tres" type="DynamicFont" id=1]
|
||||
[ext_resource path="res://terminal.gd" type="Script" id=2]
|
||||
[ext_resource path="res://styles/terminal_input.tres" type="StyleBox" id=3]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=2]
|
||||
bg_color = Color( 0, 0, 0, 1 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=1]
|
||||
content_margin_left = 10.0
|
||||
|
@ -10,20 +14,6 @@ content_margin_top = 10.0
|
|||
content_margin_bottom = 10.0
|
||||
bg_color = Color( 0, 0, 0, 1 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=2]
|
||||
content_margin_left = 10.0
|
||||
content_margin_right = 10.0
|
||||
content_margin_top = 10.0
|
||||
content_margin_bottom = 5.0
|
||||
bg_color = Color( 0.0862745, 0.0862745, 0.0862745, 1 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=3]
|
||||
content_margin_left = 10.0
|
||||
content_margin_right = 10.0
|
||||
content_margin_top = 10.0
|
||||
content_margin_bottom = 5.0
|
||||
bg_color = Color( 0, 0, 0, 1 )
|
||||
|
||||
[node name="Terminal" type="Container"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
@ -45,6 +35,7 @@ margin_right = 1920.0
|
|||
margin_bottom = 1039.0
|
||||
focus_mode = 2
|
||||
size_flags_vertical = 3
|
||||
custom_styles/focus = SubResource( 2 )
|
||||
custom_styles/normal = SubResource( 1 )
|
||||
custom_fonts/normal_font = ExtResource( 1 )
|
||||
custom_colors/selection_color = Color( 0.14902, 0.368627, 0.168627, 0.690196 )
|
||||
|
@ -60,8 +51,9 @@ margin_bottom = 1080.0
|
|||
margin_right = 1874.0
|
||||
margin_bottom = 41.0
|
||||
size_flags_horizontal = 3
|
||||
custom_styles/read_only = SubResource( 2 )
|
||||
custom_styles/normal = SubResource( 3 )
|
||||
custom_styles/read_only = ExtResource( 3 )
|
||||
custom_styles/focus = ExtResource( 3 )
|
||||
custom_styles/normal = ExtResource( 3 )
|
||||
custom_fonts/font = ExtResource( 1 )
|
||||
caret_blink = true
|
||||
__meta__ = {
|
||||
|
|
Loading…
Reference in a new issue