kenryu 0.2.1__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.
@@ -0,0 +1,680 @@
1
+ /* this CSS contains only the basic CSS needed to run the app and use it */
2
+
3
+ .lgraphcanvas {
4
+ /*cursor: crosshair;*/
5
+ user-select: none;
6
+ -moz-user-select: none;
7
+ -webkit-user-select: none;
8
+ outline: none;
9
+ font-family: Tahoma, sans-serif;
10
+ }
11
+
12
+ .lgraphcanvas * {
13
+ box-sizing: border-box;
14
+ }
15
+
16
+ .litegraph.litecontextmenu {
17
+ font-family: Tahoma, sans-serif;
18
+ position: fixed;
19
+ top: 100px;
20
+ left: 100px;
21
+ min-width: 100px;
22
+ color: #aaf;
23
+ padding: 0;
24
+ box-shadow: 0 0 10px black !important;
25
+ background-color: #2e2e2e !important;
26
+ z-index: 10;
27
+ }
28
+
29
+ .litegraph.litecontextmenu.dark {
30
+ background-color: #000 !important;
31
+ }
32
+
33
+ .litegraph.litecontextmenu .litemenu-title img {
34
+ margin-top: 2px;
35
+ margin-left: 2px;
36
+ margin-right: 4px;
37
+ }
38
+
39
+ .litegraph.litecontextmenu .litemenu-entry {
40
+ margin: 2px;
41
+ padding: 2px;
42
+ }
43
+
44
+ .litegraph.litecontextmenu .litemenu-entry.submenu {
45
+ background-color: #2e2e2e !important;
46
+ }
47
+
48
+ .litegraph.litecontextmenu.dark .litemenu-entry.submenu {
49
+ background-color: #000 !important;
50
+ }
51
+
52
+ .litegraph .litemenubar ul {
53
+ font-family: Tahoma, sans-serif;
54
+ margin: 0;
55
+ padding: 0;
56
+ }
57
+
58
+ .litegraph .litemenubar li {
59
+ font-size: 14px;
60
+ color: #999;
61
+ display: inline-block;
62
+ min-width: 50px;
63
+ padding-left: 10px;
64
+ padding-right: 10px;
65
+ user-select: none;
66
+ -moz-user-select: none;
67
+ -webkit-user-select: none;
68
+ cursor: pointer;
69
+ }
70
+
71
+ .litegraph .litemenubar li:hover {
72
+ background-color: #777;
73
+ color: #eee;
74
+ }
75
+
76
+ .litegraph .litegraph .litemenubar-panel {
77
+ position: absolute;
78
+ top: 5px;
79
+ left: 5px;
80
+ min-width: 100px;
81
+ background-color: #444;
82
+ box-shadow: 0 0 3px black;
83
+ padding: 4px;
84
+ border-bottom: 2px solid #aaf;
85
+ z-index: 10;
86
+ }
87
+
88
+ .litegraph .litemenu-entry,
89
+ .litemenu-title {
90
+ font-size: 12px;
91
+ color: #aaa;
92
+ padding: 0 0 0 4px;
93
+ margin: 2px;
94
+ padding-left: 2px;
95
+ -moz-user-select: none;
96
+ -webkit-user-select: none;
97
+ user-select: none;
98
+ cursor: pointer;
99
+ }
100
+
101
+ .litegraph .litemenu-entry .icon {
102
+ display: inline-block;
103
+ width: 12px;
104
+ height: 12px;
105
+ margin: 2px;
106
+ vertical-align: top;
107
+ }
108
+
109
+ .litegraph .litemenu-entry.checked .icon {
110
+ background-color: #aaf;
111
+ }
112
+
113
+ .litegraph .litemenu-entry .more {
114
+ float: right;
115
+ padding-right: 5px;
116
+ }
117
+
118
+ .litegraph .litemenu-entry.disabled {
119
+ opacity: 0.5;
120
+ cursor: default;
121
+ }
122
+
123
+ .litegraph .litemenu-entry.separator {
124
+ display: block;
125
+ border-top: 1px solid #333;
126
+ border-bottom: 1px solid #666;
127
+ width: 100%;
128
+ height: 0px;
129
+ margin: 3px 0 2px 0;
130
+ background-color: transparent;
131
+ padding: 0 !important;
132
+ cursor: default !important;
133
+ }
134
+
135
+ .litegraph .litemenu-entry.has_submenu {
136
+ border-right: 2px solid cyan;
137
+ }
138
+
139
+ .litegraph .litemenu-title {
140
+ color: #dde;
141
+ background-color: #111;
142
+ margin: 0;
143
+ padding: 2px;
144
+ cursor: default;
145
+ }
146
+
147
+ .litegraph .litemenu-entry:hover:not(.disabled):not(.separator) {
148
+ background-color: #444 !important;
149
+ color: #eee;
150
+ transition: all 0.2s;
151
+ }
152
+
153
+ .litegraph .litemenu-entry .property_name {
154
+ display: inline-block;
155
+ text-align: left;
156
+ min-width: 80px;
157
+ min-height: 1.2em;
158
+ }
159
+
160
+ .litegraph .litemenu-entry .property_value {
161
+ display: inline-block;
162
+ background-color: rgba(0, 0, 0, 0.5);
163
+ text-align: right;
164
+ min-width: 80px;
165
+ min-height: 1.2em;
166
+ vertical-align: middle;
167
+ padding-right: 10px;
168
+ }
169
+
170
+ .litegraph.litesearchbox {
171
+ font-family: Tahoma, sans-serif;
172
+ position: absolute;
173
+ background-color: rgba(0, 0, 0, 0.5);
174
+ padding-top: 4px;
175
+ }
176
+
177
+ .litegraph.litesearchbox input,
178
+ .litegraph.litesearchbox select {
179
+ margin-top: 3px;
180
+ min-width: 60px;
181
+ min-height: 1.5em;
182
+ background-color: black;
183
+ border: 0;
184
+ color: white;
185
+ padding-left: 10px;
186
+ margin-right: 5px;
187
+ }
188
+
189
+ .litegraph.litesearchbox .name {
190
+ display: inline-block;
191
+ min-width: 60px;
192
+ min-height: 1.5em;
193
+ padding-left: 10px;
194
+ }
195
+
196
+ .litegraph.litesearchbox .helper {
197
+ overflow: auto;
198
+ max-height: 200px;
199
+ margin-top: 2px;
200
+ }
201
+
202
+ .litegraph.lite-search-item {
203
+ font-family: Tahoma, sans-serif;
204
+ background-color: rgba(0, 0, 0, 0.5);
205
+ color: white;
206
+ padding-top: 2px;
207
+ }
208
+
209
+ .litegraph.lite-search-item.not_in_filter{
210
+ /*background-color: rgba(50, 50, 50, 0.5);*/
211
+ /*color: #999;*/
212
+ color: #B99;
213
+ font-style: italic;
214
+ }
215
+
216
+ .litegraph.lite-search-item.generic_type{
217
+ /*background-color: rgba(50, 50, 50, 0.5);*/
218
+ /*color: #DD9;*/
219
+ color: #999;
220
+ font-style: italic;
221
+ }
222
+
223
+ .litegraph.lite-search-item:hover,
224
+ .litegraph.lite-search-item.selected {
225
+ cursor: pointer;
226
+ background-color: white;
227
+ color: black;
228
+ }
229
+
230
+ /* DIALOGs ******/
231
+
232
+ .litegraph .dialog {
233
+ position: absolute;
234
+ top: 50%;
235
+ left: 50%;
236
+ margin-top: -150px;
237
+ margin-left: -200px;
238
+
239
+ background-color: #2A2A2A;
240
+
241
+ min-width: 400px;
242
+ min-height: 200px;
243
+ box-shadow: 0 0 4px #111;
244
+ border-radius: 6px;
245
+ }
246
+
247
+ .litegraph .dialog.settings {
248
+ left: 10px;
249
+ top: 10px;
250
+ height: calc( 100% - 20px );
251
+ margin: auto;
252
+ max-width: 50%;
253
+ }
254
+
255
+ .litegraph .dialog.centered {
256
+ top: 50px;
257
+ left: 50%;
258
+ position: absolute;
259
+ transform: translateX(-50%);
260
+ min-width: 600px;
261
+ min-height: 300px;
262
+ height: calc( 100% - 100px );
263
+ margin: auto;
264
+ }
265
+
266
+ .litegraph .dialog .close {
267
+ float: right;
268
+ margin: 4px;
269
+ margin-right: 10px;
270
+ cursor: pointer;
271
+ font-size: 1.4em;
272
+ }
273
+
274
+ .litegraph .dialog .close:hover {
275
+ color: white;
276
+ }
277
+
278
+ .litegraph .dialog .dialog-header {
279
+ color: #AAA;
280
+ border-bottom: 1px solid #161616;
281
+ }
282
+
283
+ .litegraph .dialog .dialog-header { height: 40px; }
284
+ .litegraph .dialog .dialog-footer { height: 50px; padding: 10px; border-top: 1px solid #1a1a1a;}
285
+
286
+ .litegraph .dialog .dialog-header .dialog-title {
287
+ font: 20px "Arial";
288
+ margin: 4px;
289
+ padding: 4px 10px;
290
+ display: inline-block;
291
+ }
292
+
293
+ .litegraph .dialog .dialog-content, .litegraph .dialog .dialog-alt-content {
294
+ height: calc(100% - 90px);
295
+ width: 100%;
296
+ min-height: 100px;
297
+ display: inline-block;
298
+ color: #AAA;
299
+ /*background-color: black;*/
300
+ overflow: auto;
301
+ }
302
+
303
+ .litegraph .dialog .dialog-content h3 {
304
+ margin: 10px;
305
+ }
306
+
307
+ .litegraph .dialog .dialog-content .connections {
308
+ flex-direction: row;
309
+ }
310
+
311
+ .litegraph .dialog .dialog-content .connections .connections_side {
312
+ width: calc(50% - 5px);
313
+ min-height: 100px;
314
+ background-color: black;
315
+ display: flex;
316
+ }
317
+
318
+ .litegraph .dialog .node_type {
319
+ font-size: 1.2em;
320
+ display: block;
321
+ margin: 10px;
322
+ }
323
+
324
+ .litegraph .dialog .node_desc {
325
+ opacity: 0.5;
326
+ display: block;
327
+ margin: 10px;
328
+ }
329
+
330
+ .litegraph .dialog .separator {
331
+ display: block;
332
+ width: calc( 100% - 4px );
333
+ height: 1px;
334
+ border-top: 1px solid #000;
335
+ border-bottom: 1px solid #333;
336
+ margin: 10px 2px;
337
+ padding: 0;
338
+ }
339
+
340
+ .litegraph .dialog .property {
341
+ margin-bottom: 2px;
342
+ padding: 4px;
343
+ }
344
+
345
+ .litegraph .dialog .property:hover {
346
+ background: #545454;
347
+ }
348
+
349
+ .litegraph .dialog .property_name {
350
+ color: #737373;
351
+ display: inline-block;
352
+ text-align: left;
353
+ vertical-align: top;
354
+ width: 160px;
355
+ padding-left: 4px;
356
+ overflow: hidden;
357
+ margin-right: 6px;
358
+ }
359
+
360
+ .litegraph .dialog .property:hover .property_name {
361
+ color: white;
362
+ }
363
+
364
+ .litegraph .dialog .property_value {
365
+ display: inline-block;
366
+ text-align: right;
367
+ color: #AAA;
368
+ background-color: #1A1A1A;
369
+ /*width: calc( 100% - 122px );*/
370
+ max-width: calc( 100% - 162px );
371
+ min-width: 200px;
372
+ max-height: 300px;
373
+ min-height: 20px;
374
+ padding: 4px;
375
+ padding-right: 12px;
376
+ overflow: hidden;
377
+ cursor: pointer;
378
+ border-radius: 3px;
379
+ }
380
+
381
+ .litegraph .dialog .property_value:hover {
382
+ color: white;
383
+ }
384
+
385
+ .litegraph .dialog .property.boolean .property_value {
386
+ padding-right: 30px;
387
+ color: #A88;
388
+ /*width: auto;
389
+ float: right;*/
390
+ }
391
+
392
+ .litegraph .dialog .property.boolean.bool-on .property_name{
393
+ color: #8A8;
394
+ }
395
+ .litegraph .dialog .property.boolean.bool-on .property_value{
396
+ color: #8A8;
397
+ }
398
+
399
+ .litegraph .dialog .btn {
400
+ border: 0;
401
+ border-radius: 4px;
402
+ padding: 4px 20px;
403
+ margin-left: 0px;
404
+ background-color: #060606;
405
+ color: #8e8e8e;
406
+ }
407
+
408
+ .litegraph .dialog .btn:hover {
409
+ background-color: #111;
410
+ color: #FFF;
411
+ }
412
+
413
+ .litegraph .dialog .btn.delete:hover {
414
+ background-color: #F33;
415
+ color: black;
416
+ }
417
+
418
+ .litegraph .subgraph_property {
419
+ padding: 4px;
420
+ }
421
+
422
+ .litegraph .subgraph_property:hover {
423
+ background-color: #333;
424
+ }
425
+
426
+ .litegraph .subgraph_property.extra {
427
+ margin-top: 8px;
428
+ }
429
+
430
+ .litegraph .subgraph_property span.name {
431
+ font-size: 1.3em;
432
+ padding-left: 4px;
433
+ }
434
+
435
+ .litegraph .subgraph_property span.type {
436
+ opacity: 0.5;
437
+ margin-right: 20px;
438
+ padding-left: 4px;
439
+ }
440
+
441
+ .litegraph .subgraph_property span.label {
442
+ display: inline-block;
443
+ width: 60px;
444
+ padding: 0px 10px;
445
+ }
446
+
447
+ .litegraph .subgraph_property input {
448
+ width: 140px;
449
+ color: #999;
450
+ background-color: #1A1A1A;
451
+ border-radius: 4px;
452
+ border: 0;
453
+ margin-right: 10px;
454
+ padding: 4px;
455
+ padding-left: 10px;
456
+ }
457
+
458
+ .litegraph .subgraph_property button {
459
+ background-color: #1c1c1c;
460
+ color: #aaa;
461
+ border: 0;
462
+ border-radius: 2px;
463
+ padding: 4px 10px;
464
+ cursor: pointer;
465
+ }
466
+
467
+ .litegraph .subgraph_property.extra {
468
+ color: #ccc;
469
+ }
470
+
471
+ .litegraph .subgraph_property.extra input {
472
+ background-color: #111;
473
+ }
474
+
475
+ .litegraph .bullet_icon {
476
+ margin-left: 10px;
477
+ border-radius: 10px;
478
+ width: 12px;
479
+ height: 12px;
480
+ background-color: #666;
481
+ display: inline-block;
482
+ margin-top: 2px;
483
+ margin-right: 4px;
484
+ transition: background-color 0.1s ease 0s;
485
+ -moz-transition: background-color 0.1s ease 0s;
486
+ }
487
+
488
+ .litegraph .bullet_icon:hover {
489
+ background-color: #698;
490
+ cursor: pointer;
491
+ }
492
+
493
+ /* OLD */
494
+
495
+ .graphcontextmenu {
496
+ padding: 4px;
497
+ min-width: 100px;
498
+ }
499
+
500
+ .graphcontextmenu-title {
501
+ color: #dde;
502
+ background-color: #222;
503
+ margin: 0;
504
+ padding: 2px;
505
+ cursor: default;
506
+ }
507
+
508
+ .graphmenu-entry {
509
+ box-sizing: border-box;
510
+ margin: 2px;
511
+ padding-left: 20px;
512
+ user-select: none;
513
+ -moz-user-select: none;
514
+ -webkit-user-select: none;
515
+ transition: all linear 0.3s;
516
+ }
517
+
518
+ .graphmenu-entry.event,
519
+ .litemenu-entry.event {
520
+ border-left: 8px solid orange;
521
+ padding-left: 12px;
522
+ }
523
+
524
+ .graphmenu-entry.disabled {
525
+ opacity: 0.3;
526
+ }
527
+
528
+ .graphmenu-entry.submenu {
529
+ border-right: 2px solid #eee;
530
+ }
531
+
532
+ .graphmenu-entry:hover {
533
+ background-color: #555;
534
+ }
535
+
536
+ .graphmenu-entry.separator {
537
+ background-color: #111;
538
+ border-bottom: 1px solid #666;
539
+ height: 1px;
540
+ width: calc(100% - 20px);
541
+ -moz-width: calc(100% - 20px);
542
+ -webkit-width: calc(100% - 20px);
543
+ }
544
+
545
+ .graphmenu-entry .property_name {
546
+ display: inline-block;
547
+ text-align: left;
548
+ min-width: 80px;
549
+ min-height: 1.2em;
550
+ }
551
+
552
+ .graphmenu-entry .property_value,
553
+ .litemenu-entry .property_value {
554
+ display: inline-block;
555
+ background-color: rgba(0, 0, 0, 0.5);
556
+ text-align: right;
557
+ min-width: 80px;
558
+ min-height: 1.2em;
559
+ vertical-align: middle;
560
+ padding-right: 10px;
561
+ }
562
+
563
+ .graphdialog {
564
+ position: absolute;
565
+ top: 10px;
566
+ left: 10px;
567
+ min-height: 2em;
568
+ background-color: #333;
569
+ font-size: 1.2em;
570
+ box-shadow: 0 0 10px black !important;
571
+ z-index: 10;
572
+ }
573
+
574
+ .graphdialog.rounded {
575
+ border-radius: 12px;
576
+ padding-right: 2px;
577
+ }
578
+
579
+ .graphdialog .name {
580
+ display: inline-block;
581
+ min-width: 60px;
582
+ min-height: 1.5em;
583
+ padding-left: 10px;
584
+ }
585
+
586
+ .graphdialog input,
587
+ .graphdialog textarea,
588
+ .graphdialog select {
589
+ margin: 3px;
590
+ min-width: 60px;
591
+ min-height: 1.5em;
592
+ background-color: black;
593
+ border: 0;
594
+ color: white;
595
+ padding-left: 10px;
596
+ outline: none;
597
+ }
598
+
599
+ .graphdialog textarea {
600
+ min-height: 150px;
601
+ }
602
+
603
+ .graphdialog button {
604
+ margin-top: 3px;
605
+ vertical-align: top;
606
+ background-color: #999;
607
+ border: 0;
608
+ }
609
+
610
+ .graphdialog button.rounded,
611
+ .graphdialog input.rounded {
612
+ border-radius: 0 12px 12px 0;
613
+ }
614
+
615
+ .graphdialog .helper {
616
+ overflow: auto;
617
+ max-height: 200px;
618
+ }
619
+
620
+ .graphdialog .help-item {
621
+ padding-left: 10px;
622
+ }
623
+
624
+ .graphdialog .help-item:hover,
625
+ .graphdialog .help-item.selected {
626
+ cursor: pointer;
627
+ background-color: white;
628
+ color: black;
629
+ }
630
+
631
+ .litegraph .dialog {
632
+ min-height: 0;
633
+ }
634
+ .litegraph .dialog .dialog-content {
635
+ display: block;
636
+ }
637
+ .litegraph .dialog .dialog-content .subgraph_property {
638
+ padding: 5px;
639
+ }
640
+ .litegraph .dialog .dialog-footer {
641
+ margin: 0;
642
+ }
643
+ .litegraph .dialog .dialog-footer .subgraph_property {
644
+ margin-top: 0;
645
+ display: flex;
646
+ align-items: center;
647
+ padding: 5px;
648
+ }
649
+ .litegraph .dialog .dialog-footer .subgraph_property .name {
650
+ flex: 1;
651
+ }
652
+ .litegraph .graphdialog {
653
+ display: flex;
654
+ align-items: center;
655
+ border-radius: 20px;
656
+ padding: 4px 10px;
657
+ position: fixed;
658
+ }
659
+ .litegraph .graphdialog .name {
660
+ padding: 0;
661
+ min-height: 0;
662
+ font-size: 16px;
663
+ vertical-align: middle;
664
+ }
665
+ .litegraph .graphdialog .value {
666
+ font-size: 16px;
667
+ min-height: 0;
668
+ margin: 0 10px;
669
+ padding: 2px 5px;
670
+ }
671
+ .litegraph .graphdialog input[type="checkbox"] {
672
+ width: 16px;
673
+ height: 16px;
674
+ }
675
+ .litegraph .graphdialog button {
676
+ padding: 4px 18px;
677
+ border-radius: 20px;
678
+ cursor: pointer;
679
+ }
680
+