@formulaxjs/kity-runtime 0.1.0 → 0.2.0

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.
Files changed (39) hide show
  1. package/README.md +2 -2
  2. package/dist/index.cjs +68 -16
  3. package/dist/index.cjs.map +1 -1
  4. package/dist/index.global.js +13 -9
  5. package/dist/index.global.js.map +1 -1
  6. package/dist/index.js +48 -2
  7. package/dist/index.js.map +1 -1
  8. package/package.json +9 -5
  9. package/public/assets/images/scrollbar/custom/bar-bg.png +0 -0
  10. package/public/assets/images/scrollbar/custom/bar.png +0 -0
  11. package/public/assets/images/scrollbar/custom/bg.png +0 -0
  12. package/public/assets/images/scrollbar/custom/bottom.png +0 -0
  13. package/public/assets/images/scrollbar/custom/btn.png +0 -0
  14. package/public/assets/images/scrollbar/custom/down.png +0 -0
  15. package/public/assets/images/scrollbar/custom/top.png +0 -0
  16. package/public/assets/images/scrollbar/custom/up.png +0 -0
  17. package/public/assets/images/scrollbar/edit/bar-bg.png +0 -0
  18. package/public/assets/images/scrollbar/edit/bar-left.png +0 -0
  19. package/public/assets/images/scrollbar/edit/bar-right.png +0 -0
  20. package/public/assets/images/scrollbar/edit/thumb-bg.png +0 -0
  21. package/public/assets/images/scrollbar/edit/thumb-left.png +0 -0
  22. package/public/assets/images/scrollbar/edit/thumb-right.png +0 -0
  23. package/public/assets/images/toolbar/btn.png +0 -0
  24. package/public/assets/images/toolbar/other.png +0 -0
  25. package/public/assets/styles/base.css +47 -0
  26. package/public/assets/styles/editor.css +3 -0
  27. package/public/assets/styles/page.css +12 -0
  28. package/public/assets/styles/scrollbar.css +78 -0
  29. package/public/assets/styles/ui.css +593 -0
  30. package/public/assets/theme/default/fui.css +540 -0
  31. package/public/assets/theme/default/images/close.png +0 -0
  32. package/public/assets/theme/default/images/down.png +0 -0
  33. package/public/assets/theme/default/images/open.png +0 -0
  34. package/public/assets/theme/default/images/up.png +0 -0
  35. package/public/resource/KF_AMS_BB.woff +0 -0
  36. package/public/resource/KF_AMS_CAL.woff +0 -0
  37. package/public/resource/KF_AMS_FRAK.woff +0 -0
  38. package/public/resource/KF_AMS_MAIN.woff +0 -0
  39. package/public/resource/KF_AMS_ROMAN.woff +0 -0
@@ -0,0 +1,540 @@
1
+ /**
2
+ * All component style rules
3
+ **/
4
+ /**
5
+ * FUI common style definitions
6
+ */
7
+ /*------------ var*/
8
+ /*------------ mixin*/
9
+ .fui-widget {
10
+ -webkit-user-select: none;
11
+ -khtml-user-select: none;
12
+ -moz-user-select: none;
13
+ -ms-user-select: none;
14
+ user-select: none;
15
+ -webkit-user-drag: none;
16
+ color: #000000;
17
+ line-height: 1.5;
18
+ font-size: 12px;
19
+ font-family: "ff-tisa-web-pro-1", "ff-tisa-web-pro-2", "Lucida Grande", "Hiragino Sans GB", "Hiragino Sans GB W3", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
20
+ -webkit-font-smoothing: antialiased;
21
+ outline: none;
22
+ display: inline-block;
23
+ vertical-align: top;
24
+ position: relative;
25
+ top: 0;
26
+ left: 0;
27
+ }
28
+ .fui-widget.fui-selectable {
29
+ -webkit-user-select: text;
30
+ -khtml-user-select: text;
31
+ -moz-user-select: text;
32
+ -ms-user-select: text;
33
+ user-select: text;
34
+ -webkit-user-drag: text;
35
+ }
36
+ .fui-widget * {
37
+ -webkit-user-select: none;
38
+ -khtml-user-select: none;
39
+ -moz-user-select: none;
40
+ -ms-user-select: none;
41
+ user-select: none;
42
+ -webkit-user-drag: none;
43
+ }
44
+ .fui-widget.fui-disabled {
45
+ opacity: 0.3!important;
46
+ }
47
+ .fui-widget.fui-hide {
48
+ display: none!important;
49
+ }
50
+ .fui-widget.fui-mask-animate {
51
+ -webkit-transition: all 0.2s;
52
+ }
53
+ .fui-widget.fui-mask-hint {
54
+ -webkit-transform: perspective(600px) translateZ(30px);
55
+ }
56
+
57
+ /**
58
+ * Container common styles
59
+ **/
60
+ /**
61
+ * FUI common style definitions
62
+ */
63
+ /*------------ var*/
64
+ /*------------ mixin*/
65
+ .fui-container {
66
+ overflow: hidden;
67
+ position: relative;
68
+ top: 0;
69
+ left: 0;
70
+ }
71
+ .fui-container.fui-disabled {
72
+ opacity: 1!important;
73
+ }
74
+
75
+ /**
76
+ * FUI common style definitions
77
+ */
78
+ /*------------ var*/
79
+ /*------------ mixin*/
80
+ .fui-button-menu {
81
+ border: 1px solid white;
82
+ }
83
+ .fui-button-menu:HOVER {
84
+ border-color: #d5e1f2;
85
+ }
86
+ .fui-button-menu.fui-button-active {
87
+ border-color: #d5e1f2;
88
+ background: #d5e1f2;
89
+ }
90
+ .fui-button-menu.fui-button-active .fui-button {
91
+ background: #d5e1f2;
92
+ }
93
+ .fui-button-menu.fui-layout-top,
94
+ .fui-button-menu.fui-layout-bottom {
95
+ text-align: center;
96
+ }
97
+ .fui-button-menu.fui-layout-top .fui-open-btn,
98
+ .fui-button-menu.fui-layout-bottom .fui-open-btn {
99
+ display: block;
100
+ }
101
+
102
+ /**
103
+ * Common button
104
+ */
105
+ /**
106
+ * FUI common style definitions
107
+ */
108
+ /*------------ var*/
109
+ /*------------ mixin*/
110
+ .fui-button {
111
+ overflow: hidden;
112
+ cursor: default;
113
+ font-size: 0;
114
+ }
115
+ .fui-button ._layout .fui-label {
116
+ display: block;
117
+ }
118
+ .fui-button ._layout .fui-icon {
119
+ display: block;
120
+ }
121
+ .fui-button .fui-icon {
122
+ display: inline-block;
123
+ vertical-align: middle;
124
+ }
125
+ .fui-button .fui-label {
126
+ display: inline-block;
127
+ vertical-align: middle;
128
+ }
129
+ .fui-button.fui-button-layout-top .fui-label {
130
+ display: block;
131
+ }
132
+ .fui-button.fui-button-layout-top .fui-icon {
133
+ display: block;
134
+ }
135
+ .fui-button.fui-button-layout-bottom .fui-label {
136
+ display: block;
137
+ }
138
+ .fui-button.fui-button-layout-bottom .fui-icon {
139
+ display: block;
140
+ }
141
+ .fui-button:HOVER {
142
+ background-color: #d5e1f2 !important;
143
+ color: #000000 !important;
144
+ }
145
+ .fui-button:ACTIVE {
146
+ background-color: #87a9da !important;
147
+ color: #000000 !important;
148
+ }
149
+ .fui-button.fui-disabled:HOVER {
150
+ background-color: #ffffff !important;
151
+ color: #000000 !important;
152
+ }
153
+ .fui-button.fui-disabled:ACTIVE {
154
+ background-color: #ffffff !important;
155
+ color: #000000 !important;
156
+ }
157
+
158
+ /**
159
+ * FUI common style definitions
160
+ */
161
+ /*------------ var*/
162
+ /*------------ mixin*/
163
+ .fui-colorpicker {
164
+ background-color: #fff;
165
+ }
166
+ .fui-colorpicker-container {
167
+ border: 1px solid #d3d3d3;
168
+ }
169
+ .fui-colorpicker-container .fui-colorpicker-title {
170
+ background: #eee;
171
+ padding: 2px 4px;
172
+ }
173
+ .fui-colorpicker-container .fui-colorpicker-colors {
174
+ margin: 0;
175
+ padding: 0;
176
+ font-size: 0;
177
+ line-height: 0;
178
+ }
179
+ .fui-colorpicker-container .fui-colorpicker-colors-line0 {
180
+ margin-bottom: 3px;
181
+ }
182
+ .fui-colorpicker-container .fui-colorpicker-item {
183
+ display: inline-block;
184
+ margin: 0 2px;
185
+ width: 13px;
186
+ height: 13px;
187
+ border-style: solid;
188
+ border-width: 1px;
189
+ }
190
+ .fui-colorpicker-container .fui-colorpicker-commoncolor,
191
+ .fui-colorpicker-container .fui-colorpicker-standardcolor {
192
+ margin: 4px 3px;
193
+ white-space: nowrap;
194
+ }
195
+ .fui-colorpicker-container .fui-colorpicker-toolbar {
196
+ margin: 4px;
197
+ height: 27px;
198
+ }
199
+ .fui-colorpicker-container .fui-colorpicker-toolbar .fui-colorpicker-preview {
200
+ display: inline-block;
201
+ height: 25px;
202
+ line-height: 25px;
203
+ width: 120px;
204
+ border: 1px solid #d3d3d3;
205
+ }
206
+ .fui-colorpicker-container .fui-colorpicker-toolbar .fui-colorpicker-clear {
207
+ display: inline-block;
208
+ height: 25px;
209
+ line-height: 25px;
210
+ width: 60px;
211
+ border: 1px solid #d3d3d3;
212
+ font-size: 12px;
213
+ text-align: center;
214
+ position: absolute;
215
+ right: 5px;
216
+ cursor: pointer;
217
+ }
218
+
219
+ /**
220
+ * FUI common style definitions
221
+ */
222
+ /*------------ var*/
223
+ /*------------ mixin*/
224
+
225
+ /**
226
+ * Common button
227
+ */
228
+ /**
229
+ * FUI common style definitions
230
+ */
231
+ /*------------ var*/
232
+ /*------------ mixin*/
233
+ .fui-dialog {
234
+ position: fixed;
235
+ top: -1000000px;
236
+ left: -100000px;
237
+ border: 1px solid #B1B1B1;
238
+ background: #fff;
239
+ }
240
+ .fui-dialog .fui-panel-content {
241
+ width: auto!important;
242
+ height: auto!important;
243
+ padding: 2px;
244
+ }
245
+ .fui-dialog .fui-dialog-caption {
246
+ margin: 0;
247
+ padding: 5px;
248
+ font-size: 16px;
249
+ font-weight: normal;
250
+ line-height: 1;
251
+ display: inline-block;
252
+ }
253
+ .fui-dialog .fui-dialog-head .fui-close-button {
254
+ float: right;
255
+ }
256
+ .fui-dialog .fui-dialog-head .fui-close-button .fui-close-button-icon {
257
+ width: 16px;
258
+ height: 16px;
259
+ background: url("images/close.png") no-repeat 0 0;
260
+ }
261
+
262
+ /**
263
+ * FUI common style definitions
264
+ */
265
+ /*------------ var*/
266
+ /*------------ mixin*/
267
+ .fui-drop-panel {
268
+ border: 1px solid #d3d3d3;
269
+ overflow: hidden;
270
+ position: relative;
271
+ }
272
+ .fui-drop-panel .fui-drop-panel-content {
273
+ display: inline-block;
274
+ }
275
+ .fui-drop-panel .fui-drop-panel-placeholder {
276
+ display: none;
277
+ }
278
+ .fui-drop-panel .fui-drop-panel-button {
279
+ border-left: 1px solid #d3d3d3;
280
+ visibility: visible;
281
+ }
282
+ .fui-drop-panel .fui-drop-panel-button:HOVER {
283
+ border-color: #d5e1f2;
284
+ }
285
+ .fui-drop-panel .fui-drop-panel-button:ACTIVE {
286
+ border-color: #87a9da;
287
+ }
288
+ .fui-drop-panel:HOVER {
289
+ border-color: #d5e1f2;
290
+ }
291
+ .fui-drop-panel:HOVER .fui-drop-panel-button {
292
+ border-left-color: #d5e1f2;
293
+ }
294
+ .fui-drop-panel:ACTIVE {
295
+ border-color: #87a9da;
296
+ }
297
+ .fui-drop-panel:ACTIVE .fui-drop-panel-button {
298
+ border-left-color: #d5e1f2;
299
+ }
300
+ .fui-drop-panel.fui-drop-panel-open {
301
+ overflow: visible;
302
+ }
303
+ .fui-drop-panel.fui-drop-panel-open .fui-drop-panel-content {
304
+ border: 1px solid #d3d3d3;
305
+ position: absolute;
306
+ top: -1px;
307
+ left: -1px;
308
+ }
309
+ .fui-drop-panel.fui-drop-panel-open .fui-drop-panel-button {
310
+ visibility: hidden;
311
+ }
312
+ .fui-drop-panel.fui-drop-panel-open .fui-drop-panel-placeholder {
313
+ display: inline-block;
314
+ }
315
+ .fui-drop-panel-popup {
316
+ border: 1px solid #d3d3d3;
317
+ }
318
+ .fui-drop-panel-popup:HOVER {
319
+ border-color: #d5e1f2;
320
+ }
321
+ .fui-drop-panel-popup:HOVER .fui-drop-panel-button {
322
+ border-left-color: #d5e1f2;
323
+ }
324
+ .fui-drop-panel-popup:ACTIVE {
325
+ border-color: #87a9da;
326
+ }
327
+ .fui-drop-panel-popup:ACTIVE .fui-drop-panel-button {
328
+ border-left-color: #d5e1f2;
329
+ }
330
+
331
+ .fui-icon {
332
+ text-align: center;
333
+ font-size: 0;
334
+ }
335
+ .fui-icon img {
336
+ display: inline-block;
337
+ }
338
+
339
+ /**
340
+ * FUI common style definitions
341
+ */
342
+ /*------------ var*/
343
+ /*------------ mixin*/
344
+ .fui-input-button {
345
+ border: 1px solid #ababab;
346
+ }
347
+ .fui-input-button .fui-input {
348
+ vertical-align: middle;
349
+ border: none!important;
350
+ }
351
+ .fui-input-button .fui-button {
352
+ vertical-align: middle;
353
+ }
354
+ .fui-input-button:HOVER {
355
+ border-color: #87a9da;
356
+ }
357
+ .fui-input-button:ACTIVE {
358
+ border-color: #87a9da;
359
+ }
360
+
361
+ /**
362
+ * FUI common style definitions
363
+ */
364
+ /*------------ var*/
365
+ /*------------ mixin*/
366
+ .fui-input {
367
+ border: 1px solid #d3d3d3;
368
+ padding: 1px;
369
+ margin: 0;
370
+ }
371
+ .fui-input:HOVER,
372
+ .fui-input:FOCUS {
373
+ border-color: #4d90fe!important;
374
+ }
375
+
376
+ /**
377
+ * FUI common style definitions
378
+ */
379
+ /*------------ var*/
380
+ /*------------ mixin*/
381
+ .fui-item {
382
+ font-size: 0;
383
+ }
384
+ .fui-item .fui-icon {
385
+ vertical-align: middle;
386
+ }
387
+ .fui-item .fui-label {
388
+ vertical-align: middle;
389
+ }
390
+ .fui-item.fui-item-selected {
391
+ background: #87a9da;
392
+ }
393
+
394
+ /**
395
+ * FUI common style definitions
396
+ */
397
+ /*------------ var*/
398
+ /*------------ mixin*/
399
+ .fui-label-panel .fui-label-panel-label {
400
+ width: 100%;
401
+ color: #666;
402
+ }
403
+ .fui-label-panel.fui-no-position .fui-label-panel-label {
404
+ position: static!important;
405
+ }
406
+ .fui-label-panel.fui-layout-bottom .fui-label-panel-label {
407
+ position: absolute;
408
+ bottom: 0;
409
+ left: 0;
410
+ top: auto;
411
+ z-index: 2;
412
+ }
413
+
414
+ .fui-label {
415
+ cursor: default;
416
+ display: inline-block;
417
+ white-space: nowrap;
418
+ }
419
+
420
+ /**
421
+ * Common button
422
+ */
423
+ .fui-mask {
424
+ position: fixed;
425
+ z-index: 99998;
426
+ }
427
+
428
+ /**
429
+ * FUI common style definitions
430
+ */
431
+ /*------------ var*/
432
+ /*------------ mixin*/
433
+ .fui-menu {
434
+ background-color: #fff;
435
+ border: 1px solid #d3d3d3;
436
+ }
437
+ .fui-menu .fui-item {
438
+ padding: 2px 5px;
439
+ display: block!important;
440
+ }
441
+ .fui-menu .fui-item:HOVER {
442
+ background: #d5e1f2;
443
+ }
444
+
445
+ /**
446
+ * Common button
447
+ */
448
+ /**
449
+ * FUI common style definitions
450
+ */
451
+ /*------------ var*/
452
+ /*------------ mixin*/
453
+ .fui-panel {
454
+ display: inline-block;
455
+ vertical-align: top;
456
+ overflow-y: auto;
457
+ overflow-x: hidden;
458
+ }
459
+ .fui-panel .fui-panel-content {
460
+ position: relative;
461
+ top: 0;
462
+ left: 0;
463
+ }
464
+ .fui-panel .fui-panel-content {
465
+ width: 100%;
466
+ height: 100%;
467
+ }
468
+ .fui-panel.fui-container-column {
469
+ font-size: 0;
470
+ }
471
+ .fui-panel.fui-container-column .fui-column {
472
+ display: block;
473
+ }
474
+
475
+ /**
476
+ * Common button
477
+ */
478
+ .fui-ppanel::-webkit-scrollbar {
479
+ width: 15px;
480
+ }
481
+ .fui-ppanel::-webkit-scrollbar-button:start:decrement,
482
+ .fui-ppanel::-webkit-scrollbar-button:end:decrement,
483
+ .fui-ppanel::-webkit-scrollbar-button:start:increment,
484
+ .fui-ppanel::-webkit-scrollbar-button:end:increment,
485
+ .fui-ppanel::-webkit-scrollbar-thumb {
486
+ border: 1px solid #e7e7e7;
487
+ }
488
+ .fui-ppanel.fui-ppanel-position {
489
+ position: fixed;
490
+ z-index: 99999;
491
+ }
492
+
493
+ /**
494
+ * FUI common style definitions
495
+ */
496
+ /*------------ var*/
497
+ /*------------ mixin*/
498
+ .fui-separator {
499
+ background: #6d6d6d;
500
+ }
501
+
502
+ /**
503
+ * Spin-button
504
+ */
505
+ .fui-spin-button .fui-spin-up-btn .fui-icon,
506
+ .fui-spin-button .fui-spin-down-btn .fui-icon {
507
+ width: 16px;
508
+ height: 9px;
509
+ background: url("images/up.png") no-repeat 3px 1.5px;
510
+ }
511
+ .fui-spin-button .fui-spin-down-btn .fui-icon {
512
+ background-image: url("images/down.png");
513
+ }
514
+
515
+ /**
516
+ * Common button
517
+ */
518
+ /**
519
+ * FUI common style definitions
520
+ */
521
+ /*------------ var*/
522
+ /*------------ mixin*/
523
+ .fui-tabs .fui-selected {
524
+ background-color: #d5e1f2;
525
+ }
526
+
527
+ /**
528
+ * Toggleable Button
529
+ */
530
+ /**
531
+ * FUI common style definitions
532
+ */
533
+ /*------------ var*/
534
+ /*------------ mixin*/
535
+ .fui-toggle-button.fui-button-pressed {
536
+ background-color: #aec5e6;
537
+ }
538
+ .fui-toggle-button.fui-button-pressed.fui-disabled {
539
+ background-color: #aec5e6 !important;
540
+ }
Binary file
Binary file
Binary file
Binary file