aengus 0.2.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
aengus/__init__.py ADDED
File without changes
aengus/aengus.tcss ADDED
@@ -0,0 +1,262 @@
1
+ /* ---------------- VARIABLES ---------------- */
2
+
3
+ $main_color: #2ec4b6;
4
+ $accent_color: #e9cb25;
5
+ $background_color: #00101d;
6
+ $dim_color: #555555;
7
+
8
+ $standard_border: round $main_color;
9
+
10
+ /* ---------------- SCREEN ---------------- */
11
+
12
+ Screen {
13
+ layout: vertical;
14
+ }
15
+
16
+ /* ---------------- HEADER ---------------- */
17
+
18
+ #header-bar {
19
+ height: 3;
20
+ width: 100%;
21
+ border: $standard_border;
22
+ padding: 0 1;
23
+ background: $background_color;
24
+ }
25
+
26
+ #header-wordcount {
27
+ width: 1fr;
28
+ text-align: left;
29
+ }
30
+
31
+ #header-center {
32
+ width: 2fr;
33
+ text-align: center;
34
+ color: $accent_color;
35
+ }
36
+
37
+ #header-timer {
38
+ width: 1fr;
39
+ text-align: right;
40
+ }
41
+
42
+ /* ---------------- RIGHT SIDEBAR ---------------- */
43
+
44
+ #swatch {
45
+ width: 15%;
46
+ height: 100%;
47
+ border: $standard_border;
48
+ background: $background_color;
49
+ }
50
+
51
+ #swatch Button {
52
+ border: solid $main_color;
53
+ width: 100%;
54
+ text-align: center;
55
+ background: $background_color;
56
+ }
57
+
58
+ #swatch Button:hover {
59
+ border: dashed $accent_color;
60
+ }
61
+
62
+ /* ---------------- EDITOR PANES ---------------- */
63
+
64
+ #main-area {
65
+ height: 1fr;
66
+ layout: horizontal;
67
+ background: $background_color;
68
+ }
69
+
70
+ .editor-pane-main {
71
+ width: 55%;
72
+ layers: base overlay;
73
+ background: $background_color;
74
+ }
75
+
76
+ .editor-pane-secondary {
77
+ width: 30%;
78
+ layers: base overlay;
79
+ background: $background_color;
80
+ }
81
+
82
+ AengusEditor {
83
+ width: 100%;
84
+ height: 100%;
85
+ padding: 0 2;
86
+ border: $standard_border;
87
+ background: $background_color;
88
+ scrollbar-color: $main_color;
89
+ scrollbar-background: $background_color;
90
+ scrollbar-size-horizontal: 0;
91
+ }
92
+
93
+ AengusEditor.active-editor {
94
+ border: round $accent_color;
95
+ }
96
+
97
+ .welcome-screen {
98
+ border: $standard_border;
99
+ layer: overlay;
100
+ width: 100%;
101
+ height: 100%;
102
+ align: center middle;
103
+ content-align: center middle;
104
+ }
105
+
106
+ .active-pane .welcome-screen {
107
+ border: round $accent_color;
108
+ }
109
+
110
+ /* ---------------- FOOTER ---------------- */
111
+
112
+ #footer {
113
+ height: 3;
114
+ color: $text;
115
+ width: 100%;
116
+ border: $standard_border;
117
+ padding: 0 1;
118
+ background: $background_color;
119
+ }
120
+
121
+ /* ---------------- FILE PICKER ---------------- */
122
+
123
+ FilePicker {
124
+ layer: overlay;
125
+ dock: top;
126
+ width: 45%;
127
+ height: auto;
128
+ max-height: 20;
129
+ background: $background_color;
130
+ border: double $accent_color;
131
+ padding: 0 1;
132
+ margin: 3 0;
133
+ display: none;
134
+ offset: 27% 0;
135
+ }
136
+
137
+ FilePicker.visible {
138
+ display: block;
139
+ }
140
+
141
+ FilePicker Input {
142
+ width: 100%;
143
+ margin-bottom: 1;
144
+ border: double $accent_color;
145
+ background: $background_color;
146
+ }
147
+
148
+ FilePicker ListView {
149
+ width: 100%;
150
+ height: auto;
151
+ max-height: 15;
152
+ border: none;
153
+ background: $background_color;
154
+ }
155
+
156
+ FilePicker ListView > ListItem {
157
+ padding: 0 1;
158
+ }
159
+
160
+ FilePicker ListView > ListItem.folder-header {
161
+ color: $accent_color;
162
+ }
163
+
164
+ FilePicker ListView > ListItem.folder-header:hover {
165
+ background: $background_color;
166
+ }
167
+
168
+ FilePicker #no-results {
169
+ color: $text-muted;
170
+ padding: 0 1;
171
+ display: none;
172
+ }
173
+
174
+ FilePicker #no-results.visible {
175
+ display: block;
176
+ }
177
+
178
+ /* ---------------- CONFIRM DELETE SCREEN ---------------- */
179
+
180
+ ConfirmDeleteScreen {
181
+ align: center middle;
182
+ }
183
+
184
+ #confirm-dialog {
185
+ width: 50;
186
+ height: auto;
187
+ padding: 1 2;
188
+ background: $background_color;
189
+ border: double $accent_color;
190
+ }
191
+
192
+ #confirm-dialog Label {
193
+ width: 100%;
194
+ text-align: center;
195
+ margin-bottom: 1;
196
+ }
197
+
198
+ #confirm-dialog .dialog-buttons {
199
+ width: 100%;
200
+ align: center middle;
201
+ height: auto;
202
+ }
203
+
204
+ #confirm-dialog Button {
205
+ margin: 0 1;
206
+ min-width: 12;
207
+ border: solid $main_color;
208
+ background: $background_color;
209
+ }
210
+
211
+ #confirm-dialog Button:hover {
212
+ border: dashed $accent_color;
213
+ }
214
+
215
+ /* ---------------- STATISTICS ---------------- */
216
+
217
+ Statistics {
218
+ width: 1fr;
219
+ height: 1fr;
220
+ background: $background_color;
221
+ scrollbar-color: $main_color;
222
+ scrollbar-background: $background_color;
223
+ scrollbar-size-horizontal: 0;
224
+ padding: 0;
225
+ }
226
+
227
+ #kpi-row {
228
+ width: 1fr;
229
+ grid-size: 8;
230
+ height: auto;
231
+ }
232
+
233
+ .kpi-card {
234
+ width: 1fr;
235
+ height: 4;
236
+ border: $standard_border;
237
+ background: $background_color;
238
+ margin: 0 1;
239
+ text-align: center;
240
+ }
241
+
242
+ #heat-container {
243
+ width: 1fr;
244
+ height: auto;
245
+ align: center middle;
246
+ }
247
+
248
+ #bars-container {
249
+ width: 1fr;
250
+ height: auto;
251
+ align: center middle;
252
+ }
253
+
254
+ .stats-plot {
255
+ width: 100%;
256
+ height: auto;
257
+ border: $standard_border;
258
+ background: $background_color;
259
+ padding: 0;
260
+ margin: 0;
261
+ content-align: center middle;
262
+ }