-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUI_rules.kv
116 lines (101 loc) · 2.87 KB
/
UI_rules.kv
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# UI_rules.kv file code here
<layout_colored@GridLayout>:
canvas.before:
Color:
rgba: 1, .5, 0, 1
Rectangle:
pos: self.pos
size: self.size
<round_label_with_border>
opacity : 1
canvas.before:
Color:
rgba: app.white_cream
RoundedRectangle:
pos: self.pos
size: self.width - 5, self.height - 5
radius: [(20, 20), (20, 20), (20, 20), (20, 20)]
<round_box_with_border@GridLayout>
opacity : 0.8
canvas.before:
Color:
rgba: 1, 1, 1, 1
Rectangle:
pos: self.pos
size: self.width, self.height
Color:
rgba: .3, .3, .3, 1
RoundedRectangle:
pos: self.pos
size: self.width + 5, self.height + 5
radius: [(20, 20), (20, 20), (20, 20), (20, 20)]
<mob_list@GridLayout>
opacity : 0.8
canvas.before:
Color:
rgba: app.wood
RoundedRectangle:
pos: self.pos
size: self.width, self.height
radius: [(10, 10), (10, 10), (10, 10), (10, 10)]
<player_turn@GridLayout>
opacity : 0.9
canvas.before:
Color:
rgba: 1, 1, 1, 1
RoundedRectangle:
pos: self.pos
size: self.width, self.height
radius: [(10, 10), (10, 10), (10, 10), (10, 10)]
<party_member_box@GridLayout>
opacity : 0.8
canvas.before:
Color:
rgba: 1, 1, 1, 1
RoundedRectangle:
pos: self.pos
size: self.width, self.height
radius: [(0, 0), (0, 0), (20, 20), (20, 20)]
<Action_menu@Accordion>
opacity : 0.8
canvas.before:
Color:
rgba: .3, .3, .3, 1
RoundedRectangle:
pos: self.pos
size: self.width, self.height
radius: [(10, 10), (10, 10), (10, 10), (10, 10)]
<List_charac_display@GridLayout>
opacity : 1
canvas.before:
Color:
rgba: 1, 1, 1, 1
RoundedRectangle:
pos: self.pos
size: self.width, self.height
radius: [(0, 0), (0, 0), (20, 20), (20, 20)]
<ability_list_layout>
canvas.before:
Color:
rgba: 0, 0, 0, 1
RoundedRectangle:
pos: self.pos
size: self.width + 3, self.height + 3
radius: [(20, 20), (20, 20), (20, 20), (20, 20)]
Color:
rgba: 1, 1, 1, 1
RoundedRectangle:
pos: self.pos
size: self.width, self.height
radius: [(20, 20), (20, 20), (20, 20), (20, 20)]
<game_start_menu>
canvas.before:
Color:
rgba: 1, 1, 1, 1
Rectangle:
pos: self.pos
size: self.width, self.height
Rectangle:
pos: self.pos
size: self.size
source: "images/ygdrahil_logo4.png"