gridjs-spreadsheet 25.1.2 → 25.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.
@@ -1,1953 +0,0 @@
1
- body {
2
- margin: 0;
3
- }
4
- .x-spreadsheet {
5
- font-size: 13px;
6
- line-height: normal;
7
- user-select: none;
8
- -moz-user-select: none;
9
- font-family: 'Lato', 'Source Sans Pro', Roboto, Helvetica, Arial, sans-serif;
10
- box-sizing: content-box;
11
- background: #fff;
12
- -webkit-font-smoothing: antialiased;
13
- }
14
- .x-spreadsheet textarea {
15
- font: 400 13px Arial, 'Lato', 'Source Sans Pro', Roboto, Helvetica, sans-serif;
16
- }
17
- .x-spreadsheet-sheet {
18
- position: relative;
19
- overflow: hidden;
20
- }
21
- .x-spreadsheet-table {
22
- vertical-align: bottom;
23
- }
24
- .x-spreadsheet-tooltip {
25
- font-family: inherit;
26
- position: absolute;
27
- padding: 5px 10px;
28
- color: #fff;
29
- border-radius: 1px;
30
- background: #000000;
31
- font-size: 12px;
32
- z-index: 201;
33
- }
34
- .x-spreadsheet-tooltip:before {
35
- pointer-events: none;
36
- position: absolute;
37
- left: calc(50% - 4px);
38
- top: -4px;
39
- content: "";
40
- width: 8px;
41
- height: 8px;
42
- background: inherit;
43
- -webkit-transform: rotate(45deg);
44
- transform: rotate(45deg);
45
- z-index: 1;
46
- box-shadow: 1px 1px 3px -1px rgba(0, 0, 0, 0.3);
47
- }
48
- .x-spreadsheet-comment-tip {
49
- font-family: inherit;
50
- position: absolute;
51
- padding: 5px 10px;
52
- color: #fff;
53
- border-radius: 1px;
54
- background: #ffffe1;
55
- font-size: 12px;
56
- z-index: 201;
57
- }
58
- .x-spreadsheet-comment-tip:before {
59
- pointer-events: none;
60
- position: absolute;
61
- left: -4px;
62
- top: calc(50% - 4px);
63
- content: "";
64
- width: 8px;
65
- height: 8px;
66
- background: inherit;
67
- -webkit-transform: rotate(45deg);
68
- transform: rotate(45deg);
69
- z-index: 1;
70
- box-shadow: 1px 1px 3px -1px rgba(255, 255, 0, 0.3);
71
- }
72
- .x-spreadsheet-html-tip {
73
- position: absolute;
74
- z-index: 997;
75
- }
76
- .x-spreadsheet-formula-explain {
77
- font-family: inherit;
78
- position: absolute;
79
- padding: 5px 10px;
80
- color: #fff;
81
- border-radius: 1px;
82
- background: #FFF8DC;
83
- opacity: 0.7;
84
- font-size: 12px;
85
- z-index: 201;
86
- max-width: 300px;
87
- }
88
- .x-spreadsheet-formula-explain:before {
89
- pointer-events: none;
90
- position: absolute;
91
- left: -4px;
92
- top: calc(50% - 4px);
93
- content: "";
94
- width: 8px;
95
- height: 8px;
96
- background: inherit;
97
- -webkit-transform: rotate(45deg);
98
- transform: rotate(45deg);
99
- z-index: 1;
100
- box-shadow: 1px 1px 3px -1px rgba(255, 255, 0, 0.3);
101
- }
102
- .x-spreadsheet-color-palette {
103
- padding: 5px;
104
- }
105
- .x-spreadsheet-color-palette table {
106
- margin: 0;
107
- padding: 0;
108
- border-collapse: separate;
109
- border-spacing: 2px;
110
- background: #fff;
111
- }
112
- .x-spreadsheet-color-palette table td {
113
- margin: 0;
114
- cursor: pointer;
115
- border: 1px solid transparent;
116
- }
117
- .x-spreadsheet-color-palette table td:hover {
118
- border-color: #ddd;
119
- }
120
- .x-spreadsheet-color-palette table td .x-spreadsheet-color-palette-cell {
121
- width: 16px;
122
- height: 16px;
123
- }
124
- .x-spreadsheet-banner {
125
- display: flex;
126
- width: 100%;
127
- background: #f5f6f7;
128
- }
129
- .x-spreadsheet-banner-info {
130
- display: flex;
131
- height: 80px;
132
- text-align: left;
133
- width: 90%;
134
- flex-direction: column;
135
- }
136
- .x-spreadsheet-banner-info-s {
137
- display: flex;
138
- height: 40px;
139
- text-align: left;
140
- width: 90%;
141
- flex-direction: column;
142
- }
143
- .x-spreadsheet-banner-icon {
144
- width: 60px;
145
- height: 60px;
146
- margin: 10px;
147
- background-repeat: no-repeat;
148
- background-image: url(555f60323063f2b68b6eac7ce9c45b19.svg);
149
- }
150
- .x-spreadsheet-banner-icon-s {
151
- width: 30px;
152
- height: 30px;
153
- margin: 5px;
154
- background-repeat: no-repeat;
155
- background-image: url(555f60323063f2b68b6eac7ce9c45b19.svg);
156
- }
157
- .x-spreadsheet-banner-filename {
158
- width: max-content;
159
- max-width: 90%;
160
- height: 40px;
161
- padding: 0 5px;
162
- font-size: xx-large;
163
- display: flex;
164
- flex-direction: row;
165
- align-items: center;
166
- justify-content: flex-start;
167
- }
168
- .x-spreadsheet-banner-filename-name {
169
- white-space: nowrap;
170
- overflow-x: scroll;
171
- display: flex;
172
- align-items: center;
173
- }
174
- .x-spreadsheet-banner-filename-name::-webkit-scrollbar {
175
- display: none;
176
- }
177
- .x-spreadsheet-border-palette {
178
- padding: 6px;
179
- }
180
- .x-spreadsheet-border-palette table {
181
- margin: 0;
182
- padding: 0;
183
- border-collapse: separate;
184
- border-spacing: 0;
185
- background: #fff;
186
- table-layout: fixed;
187
- }
188
- .x-spreadsheet-border-palette table td {
189
- margin: 0;
190
- }
191
- .x-spreadsheet-border-palette .x-spreadsheet-border-palette-left {
192
- border-right: 1px solid #eee;
193
- padding-right: 6px;
194
- }
195
- .x-spreadsheet-border-palette .x-spreadsheet-border-palette-left .x-spreadsheet-border-palette-cell {
196
- width: 30px;
197
- height: 30px;
198
- cursor: pointer;
199
- text-align: center;
200
- }
201
- .x-spreadsheet-border-palette .x-spreadsheet-border-palette-left .x-spreadsheet-border-palette-cell .x-spreadsheet-icon-img {
202
- opacity: 0.8;
203
- }
204
- .x-spreadsheet-border-palette .x-spreadsheet-border-palette-left .x-spreadsheet-border-palette-cell:hover {
205
- background-color: #eee;
206
- }
207
- .x-spreadsheet-border-palette .x-spreadsheet-border-palette-right {
208
- padding-left: 6px;
209
- }
210
- .x-spreadsheet-border-palette .x-spreadsheet-border-palette-right .x-spreadsheet-toolbar-btn {
211
- margin-top: 0;
212
- margin-bottom: 3px;
213
- }
214
- .x-spreadsheet-border-palette .x-spreadsheet-border-palette-right .x-spreadsheet-line-type {
215
- position: relative;
216
- left: 0;
217
- top: -3px;
218
- }
219
- .x-spreadsheet-dropdown {
220
- position: relative;
221
- }
222
- .x-spreadsheet-dropdown .x-spreadsheet-dropdown-content {
223
- position: absolute;
224
- z-index: 200;
225
- background: white;
226
- border: 1px solid #ccc;
227
- border-radius: 2px;
228
- box-shadow: 1px 2px 5px 2px rgba(51, 51, 51, 0.15);
229
- max-height: 600px;
230
- font-size: medium;
231
- font-weight: 500;
232
- overflow-y: auto;
233
- }
234
- .x-spreadsheet-dropdown.bottom-left .x-spreadsheet-dropdown-content {
235
- top: calc(100% + 5px);
236
- left: 0;
237
- overflow-y: visible;
238
- }
239
- .x-spreadsheet-dropdown.bottom-left .x-spreadsheet-menubar-dropdown-content {
240
- top: -5px;
241
- left: calc(100% + 15px);
242
- }
243
- .x-spreadsheet-dropdown.bottom-right .x-spreadsheet-dropdown-content {
244
- top: calc(100% + 5px);
245
- right: 0;
246
- left: auto;
247
- }
248
- .x-spreadsheet-dropdown.bottom-right .x-spreadsheet-menubar-dropdown-content {
249
- top: -5px;
250
- right: calc(100% + 15px);
251
- left: auto;
252
- }
253
- .x-spreadsheet-dropdown.bottom-center .x-spreadsheet-dropdown-content {
254
- top: calc(100% + 5px);
255
- right: calc(-75% + 5px);
256
- left: auto;
257
- }
258
- .x-spreadsheet-dropdown.bottom-center .x-spreadsheet-menubar-dropdown-content {
259
- top: calc(100% + 5px);
260
- right: calc(-75% + 5px);
261
- left: auto;
262
- }
263
- .x-spreadsheet-dropdown.top-left .x-spreadsheet-dropdown-content {
264
- bottom: calc(100% + 5px);
265
- left: 0;
266
- }
267
- .x-spreadsheet-dropdown.top-left .x-spreadsheet-menubar-dropdown-content {
268
- top: -5px;
269
- left: calc(100% + 15px);
270
- }
271
- .x-spreadsheet-dropdown.top-right .x-spreadsheet-dropdown-content {
272
- bottom: calc(100% + 5px);
273
- right: 0;
274
- }
275
- .x-spreadsheet-dropdown.top-right .x-spreadsheet-menubar-dropdown-content {
276
- top: -5px;
277
- left: calc(100% + 15px);
278
- }
279
- .x-spreadsheet-dropdown .x-spreadsheet-dropdown-title {
280
- padding: 0 5px;
281
- display: inline-block;
282
- }
283
- .x-spreadsheet-dropdown .x-spreadsheet-dropdown-header .x-spreadsheet-icon.arrow-left {
284
- margin-left: 4px;
285
- }
286
- .x-spreadsheet-dropdown .x-spreadsheet-dropdown-header .x-spreadsheet-icon.arrow-right {
287
- width: 10px;
288
- margin-right: 4px;
289
- }
290
- .x-spreadsheet-dropdown .x-spreadsheet-dropdown-header .x-spreadsheet-icon.arrow-right .arrow-down {
291
- left: -130px;
292
- }
293
- .x-spreadsheet-autofill-option-group {
294
- background-color: white;
295
- position: absolute;
296
- flex-direction: column;
297
- display: flex;
298
- width: max-content;
299
- left: 0;
300
- top: 25px;
301
- border: 1px solid #ccc;
302
- box-shadow: 4px 3px 2px 0 rgba(0, 0, 0, 0.1);
303
- z-index: 999;
304
- }
305
- .x-spreadsheet-autofill-option-radio {
306
- display: flex;
307
- align-items: baseline;
308
- padding: 5px;
309
- }
310
- .x-spreadsheet-autofill-option-radio:hover {
311
- background-color: #f5f6f7;
312
- }
313
- .x-spreadsheet-autofill-option {
314
- width: 30px;
315
- height: 23px;
316
- position: absolute;
317
- z-index: 999;
318
- background-color: white;
319
- display: flex;
320
- align-items: center;
321
- justify-content: space-between;
322
- padding: 1px;
323
- border: 1px solid #ccc;
324
- }
325
- .x-spreadsheet-chart-button-group {
326
- position: absolute;
327
- display: flex;
328
- flex-direction: column;
329
- gap: 5px;
330
- z-index: 1000;
331
- }
332
- .x-spreadsheet-chart-button {
333
- width: 100%;
334
- display: flex;
335
- justify-content: center;
336
- padding-left: 1px;
337
- padding-right: 1px;
338
- background-color: white;
339
- border: 1px solid #bbb;
340
- }
341
- .x-spreadsheet-chart-color-row {
342
- display: flex;
343
- justify-content: center;
344
- gap: 2px;
345
- padding: 2px;
346
- }
347
- .x-spreadsheet-chart-color-row:hover {
348
- background-color: #f5f6f7;
349
- box-shadow: 0 0 0 1px #bbb;
350
- }
351
- .x-spreadsheet-chart-button-detail {
352
- width: 180px;
353
- background-color: white;
354
- border: 1px solid #ccc;
355
- position: absolute;
356
- z-index: 1001;
357
- padding: 5px;
358
- }
359
- /* resizer **/
360
- .x-spreadsheet-resizer {
361
- position: absolute;
362
- z-index: 11;
363
- }
364
- .x-spreadsheet-resizer .x-spreadsheet-resizer-hover {
365
- background-color: rgba(75, 137, 255, 0.25);
366
- }
367
- .x-spreadsheet-resizer .x-spreadsheet-resizer-line {
368
- position: absolute;
369
- }
370
- .x-spreadsheet-resizer.horizontal {
371
- cursor: row-resize;
372
- }
373
- .x-spreadsheet-resizer.horizontal .x-spreadsheet-resizer-line {
374
- border-bottom: 2px dashed #4b89ff;
375
- left: 0;
376
- bottom: 0;
377
- }
378
- .x-spreadsheet-resizer.vertical {
379
- cursor: col-resize;
380
- }
381
- .x-spreadsheet-resizer.vertical .x-spreadsheet-resizer-line {
382
- border-right: 2px dashed #4b89ff;
383
- top: 0;
384
- right: 0;
385
- }
386
- /* scrollbar */
387
- .x-spreadsheet-scrollbar {
388
- position: absolute;
389
- bottom: 0;
390
- right: 0;
391
- background-color: #f4f5f8;
392
- opacity: 0.9;
393
- z-index: 12;
394
- }
395
- .x-spreadsheet-scrollbar.horizontal {
396
- right: 15px;
397
- overflow-x: scroll;
398
- overflow-y: hidden;
399
- }
400
- .x-spreadsheet-scrollbar.horizontal > div {
401
- height: 1px;
402
- background: #ddd;
403
- }
404
- .x-spreadsheet-scrollbar.vertical {
405
- bottom: 15px;
406
- overflow-x: hidden;
407
- overflow-y: scroll;
408
- }
409
- .x-spreadsheet-scrollbar.vertical > div {
410
- width: 1px;
411
- background: #ddd;
412
- }
413
- /* @{css-prefix}-overlayer */
414
- .x-spreadsheet-overlayer {
415
- position: absolute;
416
- left: 0;
417
- top: 0;
418
- z-index: 10;
419
- }
420
- .x-spreadsheet-overlayer .x-spreadsheet-overlayer-content {
421
- position: absolute;
422
- overflow: hidden;
423
- pointer-events: none;
424
- width: 100%;
425
- height: 100%;
426
- }
427
- .x-spreadsheet-editor,
428
- .x-spreadsheet-selector {
429
- box-sizing: content-box;
430
- position: absolute;
431
- overflow: hidden;
432
- pointer-events: none;
433
- top: 0;
434
- left: 0;
435
- width: 100%;
436
- height: 100%;
437
- }
438
- /* @{css-prefix}-selector */
439
- .x-spreadsheet-selector .hide-input {
440
- position: absolute;
441
- z-index: 0;
442
- }
443
- .x-spreadsheet-selector .hide-input input {
444
- padding: 0;
445
- width: 0;
446
- border: none !important;
447
- }
448
- .x-spreadsheet-selector .x-spreadsheet-selector-area {
449
- position: absolute;
450
- border: 2px solid #4b89ff;
451
- background: rgba(75, 137, 255, 0.1);
452
- z-index: 5;
453
- box-sizing: content-box;
454
- -webkit-box-sizing: content-box;
455
- -moz-box-sizing: content-box;
456
- }
457
- .x-spreadsheet-selector .x-spreadsheet-selector-area.dashed {
458
- border: 2px dashed #4b89ff;
459
- }
460
- .x-spreadsheet-selector .x-spreadsheet-selector-validation-input-message {
461
- position: relative;
462
- z-index: 100;
463
- background: #f5f6f7;
464
- border: 2px solid #e0e2e4;
465
- border-radius: 5px;
466
- padding: 5px;
467
- font-size: 12px;
468
- color: #333;
469
- box-shadow: 1px 2px 5px 2px rgba(51, 51, 51, 0.15);
470
- }
471
- .x-spreadsheet-selector .x-spreadsheet-selector-clipboard,
472
- .x-spreadsheet-selector .x-spreadsheet-selector-autofill,
473
- .x-spreadsheet-selector .x-spreadsheet-selector-fixed-cell {
474
- position: absolute;
475
- background: transparent;
476
- z-index: 100;
477
- }
478
- .x-spreadsheet-selector .x-spreadsheet-selector-clipboard {
479
- border: 2px dashed #4b89ff;
480
- }
481
- .x-spreadsheet-selector .x-spreadsheet-selector-fixed-cell {
482
- border: 2px solid #4b89ff;
483
- }
484
- .x-spreadsheet-selector .x-spreadsheet-selector-autofill {
485
- border: 1px dashed rgba(0, 0, 0, 0.45);
486
- }
487
- .x-spreadsheet-selector .x-spreadsheet-selector-corner {
488
- pointer-events: auto;
489
- position: absolute;
490
- cursor: crosshair;
491
- font-size: 0;
492
- height: 9px;
493
- width: 9px;
494
- right: -5px;
495
- bottom: -5px;
496
- border: 2px solid #ffffff;
497
- background: #4b89ff;
498
- }
499
- .x-spreadsheet-editor {
500
- z-index: 20;
501
- }
502
- .x-spreadsheet-editor .x-spreadsheet-editor-area {
503
- position: absolute;
504
- text-align: left;
505
- z-index: 100;
506
- pointer-events: auto;
507
- }
508
- .x-spreadsheet-editor .x-spreadsheet-editor-area textarea {
509
- box-sizing: content-box;
510
- border: none;
511
- padding: 0 3px;
512
- outline: none;
513
- resize: none;
514
- text-align: start;
515
- overflow-y: hidden;
516
- font: 400 13px Arial, 'Lato', 'Source Sans Pro', Roboto, Helvetica, sans-serif;
517
- color: inherit;
518
- white-space: normal;
519
- word-wrap: break-word;
520
- line-height: 22px;
521
- margin: 0;
522
- }
523
- .x-spreadsheet-editor .x-spreadsheet-editor-area .htmlline {
524
- outline: 1px solid #f3e0e0c9;
525
- background: white;
526
- margin: 2px;
527
- }
528
- .x-spreadsheet-editor .x-spreadsheet-editor-area .textline {
529
- overflow: hidden;
530
- visibility: hidden;
531
- position: fixed;
532
- top: 0;
533
- left: 0;
534
- }
535
- .x-spreadsheet-item {
536
- user-select: none;
537
- background: 0;
538
- border: 1px solid transparent;
539
- outline: none;
540
- height: 26px;
541
- color: rgba(0, 0, 0, 0.9);
542
- line-height: 26px;
543
- list-style: none;
544
- padding: 2px 10px;
545
- cursor: default;
546
- text-align: left;
547
- overflow: hidden;
548
- }
549
- .x-spreadsheet-item.disabled {
550
- pointer-events: none;
551
- opacity: 0.5;
552
- }
553
- .x-spreadsheet-item:hover,
554
- .x-spreadsheet-item.active {
555
- background: rgba(224, 215, 215, 0.9);
556
- }
557
- .x-spreadsheet-item.divider {
558
- height: 0;
559
- padding: 0;
560
- margin: 5px 0;
561
- border: none;
562
- border-bottom: 1px solid rgba(0, 0, 0, 0.1);
563
- }
564
- .x-spreadsheet-item .label {
565
- float: right;
566
- opacity: 0.65;
567
- font-size: 1em;
568
- }
569
- .x-spreadsheet-item .labelcnt {
570
- float: right;
571
- color: green;
572
- font-size: 1em;
573
- }
574
- .x-spreadsheet-item.state,
575
- .x-spreadsheet-header.state {
576
- padding-left: 35px !important;
577
- position: relative;
578
- }
579
- .x-spreadsheet-item.state:before,
580
- .x-spreadsheet-header.state:before {
581
- content: '';
582
- position: absolute;
583
- width: 10px;
584
- height: 10px;
585
- left: 12px;
586
- top: calc(50% - 5px);
587
- background: rgba(0, 0, 0, 0.08);
588
- border-radius: 2px;
589
- }
590
- .x-spreadsheet-item.state.checked:before,
591
- .x-spreadsheet-header.state.checked:before {
592
- background: #4b89ff;
593
- }
594
- .x-spreadsheet-checkbox {
595
- position: relative;
596
- display: inline-block;
597
- backface-visibility: hidden;
598
- outline: 0;
599
- vertical-align: baseline;
600
- font-style: normal;
601
- font-size: 1rem;
602
- line-height: 1em;
603
- }
604
- .x-spreadsheet-checkbox > input {
605
- position: absolute;
606
- top: 0;
607
- left: 0;
608
- opacity: 0 !important;
609
- outline: 0;
610
- z-index: -1;
611
- }
612
- .x-spreadsheet-suggest,
613
- .x-spreadsheet-contextmenu,
614
- .x-spreadsheet-sort-filter {
615
- position: absolute;
616
- box-shadow: 1px 2px 5px 2px rgba(51, 51, 51, 0.15);
617
- background: #fff;
618
- z-index: 100;
619
- width: 260px;
620
- pointer-events: auto;
621
- overflow: auto;
622
- }
623
- .x-spreadsheet-suggest {
624
- width: 200px;
625
- }
626
- .x-spreadsheet-filter {
627
- border: 1px solid #e9e9e9;
628
- font-size: 12px;
629
- margin: 10px;
630
- }
631
- .x-spreadsheet-filter .x-spreadsheet-header {
632
- padding: 0.5em 0.75em;
633
- background: #f8f8f9;
634
- border-bottom: 1px solid #e9e9e9;
635
- border-left: 1px solid transparent;
636
- }
637
- .x-spreadsheet-filter .x-spreadsheet-body {
638
- height: 200px;
639
- overflow-y: auto;
640
- }
641
- .x-spreadsheet-filter .x-spreadsheet-body .x-spreadsheet-item {
642
- height: 20px;
643
- line-height: 20px;
644
- }
645
- .x-spreadsheet-sort-filter .x-spreadsheet-buttons {
646
- margin: 10px;
647
- }
648
- .x-spreadsheet-toolbar,
649
- .x-spreadsheet-bottombar {
650
- height: 40px;
651
- padding: 0 30px;
652
- text-align: left;
653
- background: #f5f6f7;
654
- display: flex;
655
- }
656
- .x-spreadsheet-bottombar {
657
- position: relative;
658
- border-top: 1px solid #e0e2e4;
659
- }
660
- .x-spreadsheet-bottombar .x-spreadsheet-menu > li {
661
- line-height: 40px;
662
- height: 40px;
663
- padding-top: 0;
664
- padding-bottom: 0;
665
- vertical-align: middle;
666
- border-right: 1px solid #e8eaed;
667
- }
668
- .x-spreadsheet-menu {
669
- list-style: none;
670
- margin: 0;
671
- padding: 0;
672
- user-select: none;
673
- }
674
- .x-spreadsheet-menu > li {
675
- float: left;
676
- line-height: 1.25em;
677
- padding: 0.785em 1em;
678
- margin: 0;
679
- vertical-align: middle;
680
- text-align: left;
681
- color: #80868b;
682
- white-space: nowrap;
683
- cursor: pointer;
684
- transition: all 0.3s;
685
- font-weight: bold;
686
- }
687
- .x-spreadsheet-menu > li.active {
688
- background-color: #fff;
689
- color: #3c763d !important;
690
- }
691
- .x-spreadsheet-menu > li .x-spreadsheet-icon {
692
- margin: 0 6px;
693
- }
694
- .x-spreadsheet-menu > li .x-spreadsheet-icon .x-spreadsheet-icon-img:hover {
695
- opacity: 0.85;
696
- }
697
- .x-spreadsheet-menu > li .x-spreadsheet-dropdown {
698
- display: inline-block;
699
- }
700
- .x-spreadsheet-toolbar.x-spreadsheet-menubar {
701
- padding: 0;
702
- justify-content: flex-start;
703
- }
704
- .x-spreadsheet-toolbar.x-spreadsheet-menubar .x-spreadsheet-menubar-btn::after {
705
- content: "";
706
- position: absolute;
707
- top: 50%;
708
- right: 5px;
709
- /* 适当调整右侧间距 */
710
- transform: translateY(-50%);
711
- width: 0;
712
- height: 0;
713
- border-top: 5px solid transparent;
714
- border-bottom: 5px solid transparent;
715
- border-left: 5px solid black;
716
- }
717
- .x-spreadsheet-toolbar.x-spreadsheet-menubar .x-spreadsheet-menubar-btn,
718
- .x-spreadsheet-toolbar.x-spreadsheet-menubar .x-spreadsheet-item {
719
- line-height: 25px;
720
- height: unset;
721
- padding: 2px 10px;
722
- position: relative;
723
- }
724
- .x-spreadsheet-toolbar.x-spreadsheet-menubar .x-spreadsheet-menubar-btn .x-spreadsheet-menu-icon-text,
725
- .x-spreadsheet-toolbar.x-spreadsheet-menubar .x-spreadsheet-item .x-spreadsheet-menu-icon-text {
726
- align-items: center;
727
- gap: 5px;
728
- padding-right: 20px;
729
- }
730
- .x-spreadsheet-toolbar.x-spreadsheet-menubar .x-spreadsheet-menubar-btn .x-spreadsheet-menu-icon-text .x-spreadsheet-icon,
731
- .x-spreadsheet-toolbar.x-spreadsheet-menubar .x-spreadsheet-item .x-spreadsheet-menu-icon-text .x-spreadsheet-icon {
732
- transform: scale(1.2);
733
- }
734
- .x-spreadsheet-toolbar.x-spreadsheet-menubar .x-spreadsheet-divider {
735
- width: 90%;
736
- height: 1px;
737
- margin: 2px auto;
738
- background: #e0e2e4;
739
- }
740
- .x-spreadsheet-toolbar {
741
- border-bottom: 1px solid #e0e2e4;
742
- justify-content: space-between;
743
- }
744
- .x-spreadsheet-toolbar .x-spreadsheet-toolbar-btns {
745
- display: inline-flex;
746
- }
747
- .x-spreadsheet-toolbar .x-spreadsheet-toolbar-more {
748
- padding: 0 6px 6px;
749
- text-align: left;
750
- }
751
- .x-spreadsheet-toolbar .x-spreadsheet-toolbar-more .x-spreadsheet-toolbar-divider {
752
- margin-top: 0;
753
- }
754
- .x-spreadsheet-toolbar .x-spreadsheet-toolbar-btn {
755
- flex: 0 0 auto;
756
- display: inline-block;
757
- border: 1px solid transparent;
758
- height: 26px;
759
- line-height: 26px;
760
- min-width: 26px;
761
- margin: 6px 1px 0;
762
- padding: 0;
763
- text-align: center;
764
- border-radius: 2px;
765
- }
766
- .x-spreadsheet-toolbar .x-spreadsheet-toolbar-btn.disabled {
767
- pointer-events: none;
768
- opacity: 0.5;
769
- }
770
- .x-spreadsheet-toolbar .x-spreadsheet-toolbar-btn:hover,
771
- .x-spreadsheet-toolbar .x-spreadsheet-toolbar-btn.active {
772
- background: rgba(0, 0, 0, 0.08);
773
- }
774
- .x-spreadsheet-toolbar .x-spreadsheet-menubar-btn {
775
- flex: 0 0 auto;
776
- border: 1px solid transparent;
777
- height: 26px;
778
- line-height: 26px;
779
- list-style: none;
780
- padding: 2px 10px;
781
- cursor: default;
782
- min-width: 26px;
783
- margin: 6px 1px 0;
784
- text-align: left;
785
- border-radius: 2px;
786
- }
787
- .x-spreadsheet-toolbar .x-spreadsheet-menubar-btn.disabled {
788
- pointer-events: none;
789
- opacity: 0.5;
790
- }
791
- .x-spreadsheet-toolbar .x-spreadsheet-menubar-btn:hover,
792
- .x-spreadsheet-toolbar .x-spreadsheet-menubar-btn.active {
793
- background: rgba(0, 0, 0, 0.08);
794
- }
795
- .x-spreadsheet-toolbar-divider {
796
- display: inline-block;
797
- border-right: 1px solid #e0e2e4;
798
- width: 0;
799
- vertical-align: middle;
800
- height: 18px;
801
- margin: 12px 3px 0;
802
- }
803
- .x-spreadsheet-print {
804
- position: absolute;
805
- left: 0;
806
- top: 0;
807
- z-index: 100;
808
- width: 100%;
809
- height: 100%;
810
- display: flex;
811
- flex-direction: column;
812
- }
813
- .x-spreadsheet-print-bar {
814
- background: #424242;
815
- height: 60px;
816
- line-height: 60px;
817
- padding: 0 30px;
818
- }
819
- .x-spreadsheet-print-bar .-title {
820
- color: #fff;
821
- font-weight: bold;
822
- font-size: 1.2em;
823
- float: left;
824
- }
825
- .x-spreadsheet-print-bar .-right {
826
- float: right;
827
- margin-top: 12px;
828
- }
829
- .x-spreadsheet-print-content {
830
- display: flex;
831
- flex: auto;
832
- flex-direction: row;
833
- background: #d0d0d0;
834
- height: calc(100% - 60px);
835
- }
836
- .x-spreadsheet-print-content .-sider {
837
- flex: 0 0 300px;
838
- width: 300px;
839
- border-left: 2px solid #ccc;
840
- background: #fff;
841
- }
842
- .x-spreadsheet-print-content .-content {
843
- flex: auto;
844
- overflow-x: auto;
845
- overflow-y: scroll;
846
- height: 100%;
847
- }
848
- .x-spreadsheet-canvas-card-wraper {
849
- margin: 40px 20px;
850
- }
851
- .x-spreadsheet-canvas-card {
852
- background: #fff;
853
- margin: auto;
854
- page-break-before: auto;
855
- page-break-after: always;
856
- box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 3px rgba(0, 0, 0, 0.12), 0 4px 5px 0 rgba(0, 0, 0, 0.2);
857
- }
858
- .x-spreadsheet-calendar {
859
- color: rgba(0, 0, 0, 0.65);
860
- background: #ffffff;
861
- user-select: none;
862
- }
863
- .x-spreadsheet-calendar .calendar-header {
864
- font-weight: 700;
865
- line-height: 30px;
866
- text-align: center;
867
- width: 100%;
868
- float: left;
869
- background: #f9fafb;
870
- }
871
- .x-spreadsheet-calendar .calendar-header .calendar-header-left {
872
- padding-left: 5px;
873
- float: left;
874
- }
875
- .x-spreadsheet-calendar .calendar-header .calendar-header-right {
876
- float: right;
877
- }
878
- .x-spreadsheet-calendar .calendar-header .calendar-header-right a {
879
- padding: 3px 0;
880
- margin-right: 2px;
881
- border-radius: 2px;
882
- }
883
- .x-spreadsheet-calendar .calendar-header .calendar-header-right a:hover {
884
- background: rgba(0, 0, 0, 0.08);
885
- }
886
- .x-spreadsheet-calendar .calendar-body {
887
- border-collapse: collapse;
888
- border-spacing: 0;
889
- }
890
- .x-spreadsheet-calendar .calendar-body th,
891
- .x-spreadsheet-calendar .calendar-body td {
892
- width: 14.28571429%;
893
- min-width: 32px;
894
- text-align: center;
895
- font-weight: 700;
896
- line-height: 30px;
897
- padding: 0;
898
- }
899
- .x-spreadsheet-calendar .calendar-body td > .cell:hover {
900
- background: #ecf6fd;
901
- }
902
- .x-spreadsheet-calendar .calendar-body td > .cell.active,
903
- .x-spreadsheet-calendar .calendar-body td > .cell.active:hover {
904
- background: #ecf6fd;
905
- color: #2185D0;
906
- }
907
- .x-spreadsheet-calendar .calendar-body td > .cell.disabled {
908
- pointer-events: none;
909
- opacity: 0.5;
910
- }
911
- .x-spreadsheet-datepicker {
912
- box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
913
- position: absolute;
914
- left: 0;
915
- top: calc(100% + 5px);
916
- z-index: 10;
917
- width: auto;
918
- }
919
- .x-spreadsheet-timepicker {
920
- position: absolute;
921
- z-index: 1000;
922
- background-color: #fff;
923
- border: 1px solid #ccc;
924
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
925
- border-radius: 4px;
926
- display: none;
927
- }
928
- .x-spreadsheet-timepicker select {
929
- padding: 5px 10px;
930
- border: 1px solid #ddd;
931
- background-color: #f8f8f8;
932
- cursor: pointer;
933
- }
934
- .x-spreadsheet-timepicker-hours,
935
- .x-spreadsheet-timepicker-minutes,
936
- .x-spreadsheet-timepicker-seconds {
937
- display: inline-block;
938
- }
939
- .x-spreadsheet-timepicker select:focus {
940
- border-color: #105efb;
941
- outline: none;
942
- }
943
- .x-spreadsheet-timepicker select:hover {
944
- background-color: #e1e1e1;
945
- }
946
- .x-spreadsheet-buttons {
947
- display: flex;
948
- justify-content: flex-end;
949
- }
950
- .x-spreadsheet-buttons .x-spreadsheet-button {
951
- margin-left: 8px;
952
- }
953
- .x-spreadsheet-button {
954
- display: inline-block;
955
- border-radius: 3px;
956
- line-height: 1em;
957
- min-height: 1em;
958
- white-space: nowrap;
959
- text-align: center;
960
- cursor: pointer;
961
- font-size: 1em;
962
- font-weight: 700;
963
- padding: 0.75em 1em;
964
- color: rgba(0, 0, 0, 0.6);
965
- background: #E0E1E2;
966
- text-decoration: none;
967
- font-family: "Lato", "proxima-nova", "Helvetica Neue", Arial, sans-serif;
968
- outline: none;
969
- vertical-align: baseline;
970
- zoom: 1;
971
- user-select: none;
972
- transition: all 0.1s linear;
973
- }
974
- .x-spreadsheet-button.active,
975
- .x-spreadsheet-button:hover {
976
- background-color: #C0C1C2;
977
- color: rgba(0, 0, 0, 0.8);
978
- }
979
- .x-spreadsheet-button.primary {
980
- color: #fff;
981
- background-color: #2185D0;
982
- }
983
- .x-spreadsheet-button.primary:hover,
984
- .x-spreadsheet-button.primary.active {
985
- color: #fff;
986
- background-color: #1678c2;
987
- }
988
- .x-spreadsheet-button.formbt {
989
- display: flex;
990
- align-items: center;
991
- margin-bottom: 10px;
992
- margin-left: 5px;
993
- background-color: #d9dc22;
994
- font-size: 8px;
995
- }
996
- .x-spreadsheet-button.primary.disabled {
997
- background-color: #b0b8c1;
998
- color: rgb(240 229 229);
999
- pointer-events: none;
1000
- cursor: not-allowed;
1001
- }
1002
- .x-spreadsheet-modal-component-input-btn {
1003
- border: 1px solid #0078d4;
1004
- color: #0078d4;
1005
- background: white;
1006
- border-radius: 0 5px 5px 0;
1007
- }
1008
- .x-spreadsheet-gkeyinput {
1009
- width: 0px;
1010
- height: 0px;
1011
- font-size: 1px;
1012
- height: 1px;
1013
- overflow: hidden;
1014
- position: absolute;
1015
- top: -200px;
1016
- }
1017
- .x-spreadsheet-form-input {
1018
- font-size: 1em;
1019
- position: relative;
1020
- font-weight: 400;
1021
- display: inline-flex;
1022
- color: rgba(0, 0, 0, 0.87);
1023
- }
1024
- .x-spreadsheet-form-input input {
1025
- z-index: 1;
1026
- margin: 0;
1027
- max-width: 100%;
1028
- flex: 1 0 auto;
1029
- outline: 0;
1030
- -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
1031
- text-align: left;
1032
- line-height: 30px;
1033
- height: 30px;
1034
- padding: 0 8px;
1035
- background: #fff;
1036
- border: 1px solid #e9e9e9;
1037
- border-radius: 3px;
1038
- transition: box-shadow 0.1s ease, border-color 0.1s ease;
1039
- box-shadow: inset 0 1px 2px hsla(0, 0%, 4%, 0.06);
1040
- }
1041
- .x-spreadsheet-form-input input:focus {
1042
- border-color: #4b89ff;
1043
- box-shadow: inset 0 1px 2px rgba(75, 137, 255, 0.2);
1044
- }
1045
- .x-spreadsheet-form-checkbox {
1046
- margin-left: 5px;
1047
- cursor: pointer;
1048
- }
1049
- .x-spreadsheet-form-select {
1050
- position: relative;
1051
- display: inline-block;
1052
- background: #fff;
1053
- border: 1px solid #e9e9e9;
1054
- border-radius: 2px;
1055
- cursor: pointer;
1056
- color: rgba(0, 0, 0, 0.87);
1057
- user-select: none;
1058
- box-shadow: inset 0 1px 2px hsla(0, 0%, 4%, 0.06);
1059
- }
1060
- .x-spreadsheet-form-select .input-text {
1061
- text-overflow: ellipsis;
1062
- white-space: nowrap;
1063
- min-width: 60px;
1064
- width: auto;
1065
- height: 30px;
1066
- line-height: 30px;
1067
- padding: 0 8px;
1068
- }
1069
- .x-spreadsheet-form-fields {
1070
- display: flex;
1071
- flex-direction: row;
1072
- flex-wrap: wrap;
1073
- }
1074
- .x-spreadsheet-form-fields .x-spreadsheet-form-field {
1075
- flex: 0 1 auto;
1076
- }
1077
- .x-spreadsheet-form-fields .x-spreadsheet-form-field .label {
1078
- display: inline-block;
1079
- margin: 0 10px 0 0;
1080
- color: rgba(0, 0, 0, 0.87);
1081
- }
1082
- .x-spreadsheet-form-field {
1083
- display: block;
1084
- vertical-align: middle;
1085
- margin-left: 10px;
1086
- margin-bottom: 10px;
1087
- }
1088
- .x-spreadsheet-form-field:first-child {
1089
- margin-left: 0;
1090
- }
1091
- .x-spreadsheet-form-field.error .x-spreadsheet-form-select,
1092
- .x-spreadsheet-form-field.error input {
1093
- border-color: #f04134;
1094
- }
1095
- .x-spreadsheet-form-field .tip {
1096
- color: #f04134;
1097
- font-size: 0.9em;
1098
- }
1099
- .x-spreadsheet-dimmer {
1100
- display: none;
1101
- position: absolute;
1102
- top: 0 !important;
1103
- left: 0 !important;
1104
- width: 100%;
1105
- height: 100%;
1106
- text-align: center;
1107
- vertical-align: middle;
1108
- background-color: rgba(0, 0, 0, 0.6);
1109
- opacity: 0;
1110
- -webkit-animation-fill-mode: both;
1111
- animation-fill-mode: both;
1112
- -webkit-animation-duration: 0.5s;
1113
- animation-duration: 0.5s;
1114
- transition: background-color 0.5s linear;
1115
- user-select: none;
1116
- z-index: 1000;
1117
- }
1118
- .x-spreadsheet-dimmer.active {
1119
- display: block;
1120
- opacity: 1;
1121
- }
1122
- form fieldset {
1123
- border: none;
1124
- }
1125
- form fieldset label {
1126
- display: block;
1127
- margin-bottom: 0.5em;
1128
- font-size: 1em;
1129
- color: #666;
1130
- }
1131
- form fieldset select {
1132
- font-size: 1.1em;
1133
- width: 100%;
1134
- background-color: #fff;
1135
- border: none;
1136
- border-bottom: 2px solid #ddd;
1137
- padding: 0.5em 0.85em;
1138
- border-radius: 2px;
1139
- }
1140
- .x-spreadsheet-modal,
1141
- .x-spreadsheet-toast {
1142
- font-size: 13px;
1143
- position: fixed;
1144
- z-index: 1001;
1145
- text-align: left;
1146
- line-height: 1.25em;
1147
- min-width: 360px;
1148
- color: rgba(0, 0, 0, 0.87);
1149
- font-family: 'Lato', 'Source Sans Pro', Roboto, Helvetica, Arial, sans-serif;
1150
- border-radius: 4px;
1151
- border: 1px solid rgba(0, 0, 0, 0.1);
1152
- background-color: #fff;
1153
- background-clip: padding-box;
1154
- box-shadow: rgba(0, 0, 0, 0.2) 0 2px 8px;
1155
- }
1156
- .x-spreadsheet-toast {
1157
- background-color: rgba(255, 255, 255, 0.85);
1158
- }
1159
- .x-spreadsheet-modal-header,
1160
- .x-spreadsheet-toast-header {
1161
- font-weight: 600;
1162
- background-clip: padding-box;
1163
- background-color: rgba(255, 255, 255, 0.85);
1164
- border-bottom: 1px solid rgba(0, 0, 0, 0.05);
1165
- border-radius: 4px 4px 0 0;
1166
- }
1167
- .x-spreadsheet-modal-header .x-spreadsheet-icon,
1168
- .x-spreadsheet-toast-header .x-spreadsheet-icon {
1169
- position: absolute;
1170
- right: 0.8em;
1171
- top: 0.65em;
1172
- border-radius: 18px;
1173
- }
1174
- .x-spreadsheet-modal-header .x-spreadsheet-icon:hover,
1175
- .x-spreadsheet-toast-header .x-spreadsheet-icon:hover {
1176
- opacity: 1;
1177
- background: rgba(0, 0, 0, 0.08);
1178
- }
1179
- .x-spreadsheet-toast-header {
1180
- color: #F2711C;
1181
- }
1182
- .x-spreadsheet-modal-header {
1183
- border-bottom: 1px solid #e0e2e4;
1184
- background: rgba(0, 0, 0, 0.08);
1185
- font-size: 1.0785em;
1186
- }
1187
- .x-spreadsheet-modal-header,
1188
- .x-spreadsheet-modal-content,
1189
- .x-spreadsheet-toast-header,
1190
- .x-spreadsheet-toast-content {
1191
- padding: 0.75em 1em;
1192
- }
1193
- @media screen and (min-width: 320px) and (max-width: 480px) {
1194
- html,
1195
- body {
1196
- overscroll-behavior-y: contain;
1197
- }
1198
- .x-spreadsheet-contextmenu {
1199
- width: 70px !important;
1200
- }
1201
- .x-spreadsheet-selector-corner-shape {
1202
- position: absolute;
1203
- right: 0;
1204
- left: 0;
1205
- bottom: 0;
1206
- top: 0;
1207
- margin: auto;
1208
- height: 10px;
1209
- width: 10px;
1210
- border-radius: 50%;
1211
- background: #4b89ff;
1212
- }
1213
- .x-spreadsheet-selector-corner {
1214
- right: -26px !important;
1215
- bottom: -26px !important;
1216
- height: 50px !important;
1217
- width: 50px !important;
1218
- background: unset !important;
1219
- border: unset !important;
1220
- }
1221
- .x-spreadsheet-selector-corner-tl {
1222
- left: -26px;
1223
- top: -26px;
1224
- pointer-events: auto;
1225
- position: absolute;
1226
- cursor: crosshair;
1227
- font-size: 0;
1228
- height: 50px;
1229
- width: 50px;
1230
- border: unset;
1231
- background: unset;
1232
- }
1233
- .x-spreadsheet-toolbar {
1234
- height: 40px;
1235
- padding: 0 12px;
1236
- text-align: left;
1237
- background: #f5f6f7;
1238
- display: flex;
1239
- justify-content: space-between;
1240
- }
1241
- .x-spreadsheet-toolbar,
1242
- .x-spreadsheet-bottombar {
1243
- padding: 0 ;
1244
- }
1245
- .x-spreadsheet {
1246
- height: 100%;
1247
- width: 100%;
1248
- display: flex;
1249
- flex-direction: column;
1250
- }
1251
- .x-spreadsheet-bottombar {
1252
- position: fixed;
1253
- width: 100%;
1254
- bottom: 0;
1255
- z-index: 99999;
1256
- }
1257
- .x-spreadsheet-bottombar .x-spreadsheet-menu {
1258
- display: flex;
1259
- }
1260
- .x-spreadsheet-form-checkbox {
1261
- margin-left: -25px;
1262
- cursor: pointer;
1263
- }
1264
- }
1265
- .x-spreadsheet-icon {
1266
- width: 18px;
1267
- height: 18px;
1268
- margin: 1px 1px 2px 1px;
1269
- text-align: center;
1270
- vertical-align: middle;
1271
- user-select: none;
1272
- overflow: hidden;
1273
- position: relative;
1274
- display: inline-block;
1275
- }
1276
- .x-spreadsheet-icon .x-spreadsheet-icon-img {
1277
- background-image: url(a3b683289420fd8ec937908397907279.svg);
1278
- position: absolute;
1279
- width: 262px;
1280
- height: 444px;
1281
- opacity: 0.86;
1282
- }
1283
- .x-spreadsheet-icon .x-spreadsheet-icon-img.undo {
1284
- left: 0;
1285
- top: 0;
1286
- }
1287
- .x-spreadsheet-icon .x-spreadsheet-icon-img.redo {
1288
- left: -18px;
1289
- top: 0;
1290
- }
1291
- .x-spreadsheet-icon .x-spreadsheet-icon-img.print {
1292
- left: -36px;
1293
- top: 0;
1294
- }
1295
- .x-spreadsheet-icon .x-spreadsheet-icon-img.paintformat {
1296
- left: -54px;
1297
- top: 0;
1298
- }
1299
- .x-spreadsheet-icon .x-spreadsheet-icon-img.clearformat {
1300
- left: -72px;
1301
- top: 0;
1302
- }
1303
- .x-spreadsheet-icon .x-spreadsheet-icon-img.font-bold {
1304
- left: -90px;
1305
- top: 0;
1306
- }
1307
- .x-spreadsheet-icon .x-spreadsheet-icon-img.font-italic {
1308
- left: -108px;
1309
- top: 0;
1310
- }
1311
- .x-spreadsheet-icon .x-spreadsheet-icon-img.underline {
1312
- left: -126px;
1313
- top: 0;
1314
- }
1315
- .x-spreadsheet-icon .x-spreadsheet-icon-img.strike {
1316
- left: -144px;
1317
- top: 0;
1318
- }
1319
- .x-spreadsheet-icon .x-spreadsheet-icon-img.color {
1320
- left: -162px;
1321
- top: 0;
1322
- }
1323
- .x-spreadsheet-icon .x-spreadsheet-icon-img.bgcolor {
1324
- left: -180px;
1325
- top: 0;
1326
- }
1327
- .x-spreadsheet-icon .x-spreadsheet-icon-img.merge {
1328
- left: -198px;
1329
- top: 0;
1330
- }
1331
- .x-spreadsheet-icon .x-spreadsheet-icon-img.align-left {
1332
- left: -216px;
1333
- top: 0;
1334
- }
1335
- .x-spreadsheet-icon .x-spreadsheet-icon-img.align-center {
1336
- left: -234px;
1337
- top: 0;
1338
- }
1339
- .x-spreadsheet-icon .x-spreadsheet-icon-img.align-right {
1340
- left: 0;
1341
- top: -18px;
1342
- }
1343
- .x-spreadsheet-icon .x-spreadsheet-icon-img.align-top {
1344
- left: -18px;
1345
- top: -18px;
1346
- }
1347
- .x-spreadsheet-icon .x-spreadsheet-icon-img.align-middle {
1348
- left: -36px;
1349
- top: -18px;
1350
- }
1351
- .x-spreadsheet-icon .x-spreadsheet-icon-img.align-bottom {
1352
- left: -54px;
1353
- top: -18px;
1354
- }
1355
- .x-spreadsheet-icon .x-spreadsheet-icon-img.textwrap {
1356
- left: -72px;
1357
- top: -18px;
1358
- }
1359
- .x-spreadsheet-icon .x-spreadsheet-icon-img.syntaxstatus {
1360
- left: -18px;
1361
- top: -108px;
1362
- }
1363
- .x-spreadsheet-icon .x-spreadsheet-icon-img.showformulas {
1364
- left: -36px;
1365
- top: -108px;
1366
- }
1367
- .x-spreadsheet-icon .x-spreadsheet-icon-img.autofilter {
1368
- left: -90px;
1369
- top: -18px;
1370
- }
1371
- .x-spreadsheet-icon .x-spreadsheet-icon-img.formula {
1372
- left: -108px;
1373
- top: -18px;
1374
- }
1375
- .x-spreadsheet-icon .x-spreadsheet-icon-img.arrow-down {
1376
- left: -126px;
1377
- top: -18px;
1378
- }
1379
- .x-spreadsheet-icon .x-spreadsheet-icon-img.arrow-right {
1380
- left: -144px;
1381
- top: -18px;
1382
- }
1383
- .x-spreadsheet-icon .x-spreadsheet-icon-img.link {
1384
- left: -162px;
1385
- top: -18px;
1386
- }
1387
- .x-spreadsheet-icon .x-spreadsheet-icon-img.chart {
1388
- left: -180px;
1389
- top: -18px;
1390
- }
1391
- .x-spreadsheet-icon .x-spreadsheet-icon-img.freeze {
1392
- left: -198px;
1393
- top: -18px;
1394
- }
1395
- .x-spreadsheet-icon .x-spreadsheet-icon-img.ellipsis {
1396
- left: -216px;
1397
- top: -18px;
1398
- }
1399
- .x-spreadsheet-icon .x-spreadsheet-icon-img.add {
1400
- left: -234px;
1401
- top: -18px;
1402
- }
1403
- .x-spreadsheet-icon .x-spreadsheet-icon-img.border-all {
1404
- left: 0;
1405
- top: -36px;
1406
- }
1407
- .x-spreadsheet-icon .x-spreadsheet-icon-img.border-inside {
1408
- left: -18px;
1409
- top: -36px;
1410
- }
1411
- .x-spreadsheet-icon .x-spreadsheet-icon-img.border-horizontal {
1412
- left: -36px;
1413
- top: -36px;
1414
- }
1415
- .x-spreadsheet-icon .x-spreadsheet-icon-img.border-vertical {
1416
- left: -54px;
1417
- top: -36px;
1418
- }
1419
- .x-spreadsheet-icon .x-spreadsheet-icon-img.border-outside {
1420
- left: -72px;
1421
- top: -36px;
1422
- }
1423
- .x-spreadsheet-icon .x-spreadsheet-icon-img.border-left {
1424
- left: -90px;
1425
- top: -36px;
1426
- }
1427
- .x-spreadsheet-icon .x-spreadsheet-icon-img.border-top {
1428
- left: -108px;
1429
- top: -36px;
1430
- }
1431
- .x-spreadsheet-icon .x-spreadsheet-icon-img.border-right {
1432
- left: -126px;
1433
- top: -36px;
1434
- }
1435
- .x-spreadsheet-icon .x-spreadsheet-icon-img.border-bottom {
1436
- left: -144px;
1437
- top: -36px;
1438
- }
1439
- .x-spreadsheet-icon .x-spreadsheet-icon-img.border-none {
1440
- left: -162px;
1441
- top: -36px;
1442
- }
1443
- .x-spreadsheet-icon .x-spreadsheet-icon-img.line-color {
1444
- left: -180px;
1445
- top: -36px;
1446
- }
1447
- .x-spreadsheet-icon .x-spreadsheet-icon-img.line-type {
1448
- left: -198px;
1449
- top: -36px;
1450
- }
1451
- .x-spreadsheet-icon .x-spreadsheet-icon-img.close {
1452
- left: -234px;
1453
- top: -36px;
1454
- }
1455
- .x-spreadsheet-icon .x-spreadsheet-icon-img.chevron-down {
1456
- left: 0;
1457
- top: -54px;
1458
- }
1459
- .x-spreadsheet-icon .x-spreadsheet-icon-img.menu-display-show {
1460
- left: 0;
1461
- top: -54px;
1462
- }
1463
- .x-spreadsheet-icon .x-spreadsheet-icon-img.chevron-up {
1464
- left: -18px;
1465
- top: -54px;
1466
- }
1467
- .x-spreadsheet-icon .x-spreadsheet-icon-img.menu-display-hide {
1468
- left: -18px;
1469
- top: -54px;
1470
- }
1471
- .x-spreadsheet-icon .x-spreadsheet-icon-img.chevron-left {
1472
- left: -36px;
1473
- top: -54px;
1474
- }
1475
- .x-spreadsheet-icon .x-spreadsheet-icon-img.chevron-right {
1476
- left: -54px;
1477
- top: -54px;
1478
- }
1479
- .x-spreadsheet-icon .x-spreadsheet-icon-img.sort {
1480
- left: -126px;
1481
- top: -54px;
1482
- }
1483
- .x-spreadsheet-icon .x-spreadsheet-icon-img.pagination {
1484
- left: -108px;
1485
- top: -54px;
1486
- }
1487
- .x-spreadsheet-icon .x-spreadsheet-icon-img.insertSheet {
1488
- left: -108px;
1489
- top: -54px;
1490
- }
1491
- .x-spreadsheet-icon .x-spreadsheet-icon-img.search {
1492
- left: -144px;
1493
- top: -54px;
1494
- }
1495
- .x-spreadsheet-icon .x-spreadsheet-icon-img.commentEdit {
1496
- left: -162px;
1497
- top: -54px;
1498
- }
1499
- .x-spreadsheet-icon .x-spreadsheet-icon-img.commentRemove {
1500
- left: -180px;
1501
- top: -54px;
1502
- }
1503
- .x-spreadsheet-icon .x-spreadsheet-icon-img.commentPrevious {
1504
- left: -198px;
1505
- top: -54px;
1506
- }
1507
- .x-spreadsheet-icon .x-spreadsheet-icon-img.commentNext {
1508
- left: -216px;
1509
- top: -54px;
1510
- }
1511
- .x-spreadsheet-icon .x-spreadsheet-icon-img.insert-image {
1512
- left: 0px;
1513
- top: -72px;
1514
- }
1515
- .x-spreadsheet-icon .x-spreadsheet-icon-img.insert-image-local {
1516
- left: -18px;
1517
- top: -72px;
1518
- }
1519
- .x-spreadsheet-icon .x-spreadsheet-icon-img.insert-image-url {
1520
- left: -36px;
1521
- top: -72px;
1522
- }
1523
- .x-spreadsheet-icon .x-spreadsheet-icon-img.download {
1524
- left: -54px;
1525
- top: -72px;
1526
- }
1527
- .x-spreadsheet-icon .x-spreadsheet-icon-img.insertComment {
1528
- left: -72px;
1529
- top: -72px;
1530
- }
1531
- .x-spreadsheet-icon .x-spreadsheet-icon-img.insertColumn {
1532
- left: -90px;
1533
- top: -72px;
1534
- }
1535
- .x-spreadsheet-icon .x-spreadsheet-icon-img.insertRow {
1536
- left: -108px;
1537
- top: -72px;
1538
- }
1539
- .x-spreadsheet-icon .x-spreadsheet-icon-img.savetocloud {
1540
- left: -144px;
1541
- top: -72px;
1542
- }
1543
- .x-spreadsheet-icon .x-spreadsheet-icon-img.insertTextBox {
1544
- left: -198px;
1545
- top: -72px;
1546
- }
1547
- .x-spreadsheet-icon .x-spreadsheet-icon-img.insertSpinButton {
1548
- left: -162px;
1549
- top: -72px;
1550
- }
1551
- .x-spreadsheet-icon .x-spreadsheet-icon-img.insertScrollBar {
1552
- left: -180px;
1553
- top: -72px;
1554
- }
1555
- .x-spreadsheet-icon .x-spreadsheet-icon-img.insertRadioButton {
1556
- left: -216px;
1557
- top: -72px;
1558
- }
1559
- .x-spreadsheet-icon .x-spreadsheet-icon-img.insertComboBox {
1560
- left: -234px;
1561
- top: -72px;
1562
- }
1563
- .x-spreadsheet-icon .x-spreadsheet-icon-img.insertLabel {
1564
- left: 0px;
1565
- top: -90px;
1566
- }
1567
- .x-spreadsheet-icon .x-spreadsheet-icon-img.insertCheckBox {
1568
- left: -18px;
1569
- top: -90px;
1570
- }
1571
- .x-spreadsheet-icon .x-spreadsheet-icon-img.insert-shape {
1572
- left: -36px;
1573
- top: -90px;
1574
- }
1575
- .x-spreadsheet-icon .x-spreadsheet-icon-img.text-rotate-rotate-text-up {
1576
- left: -108px;
1577
- top: -90px;
1578
- }
1579
- .x-spreadsheet-icon .x-spreadsheet-icon-img.text-rotate-rotate-text-down {
1580
- left: -126px;
1581
- top: -90px;
1582
- }
1583
- .x-spreadsheet-icon .x-spreadsheet-icon-img.text-rotate-vertical-text {
1584
- left: -90px;
1585
- top: -90px;
1586
- }
1587
- .x-spreadsheet-icon .x-spreadsheet-icon-img.text-rotate-angle-counterclockwise {
1588
- left: -54px;
1589
- top: -90px;
1590
- }
1591
- .x-spreadsheet-icon .x-spreadsheet-icon-img.text-rotate-angle-clockwise {
1592
- left: -72px;
1593
- top: -90px;
1594
- }
1595
- .x-spreadsheet-icon .x-spreadsheet-icon-img.text-rotate-other-angle {
1596
- left: -144px;
1597
- top: -90px;
1598
- }
1599
- .x-spreadsheet-icon .x-spreadsheet-icon-img.email {
1600
- left: -162px;
1601
- top: -90px;
1602
- }
1603
- .x-spreadsheet-icon .x-spreadsheet-icon-img.number {
1604
- left: -180px;
1605
- top: -90px;
1606
- }
1607
- .x-spreadsheet-icon .x-spreadsheet-icon-img.font-name {
1608
- left: -198px;
1609
- top: -90px;
1610
- }
1611
- .x-spreadsheet-icon .x-spreadsheet-icon-img.font-size {
1612
- left: -216px;
1613
- top: -90px;
1614
- }
1615
- .x-spreadsheet-icon .x-spreadsheet-icon-img.data-validation {
1616
- left: -234px;
1617
- top: -90px;
1618
- }
1619
- .x-spreadsheet-icon .x-spreadsheet-icon-img.openFile {
1620
- left: 0px;
1621
- top: -108px;
1622
- }
1623
- .x-spreadsheet-formula-bar {
1624
- height: 25px;
1625
- line-height: 25px;
1626
- font-size: 12px;
1627
- background: #f5f6f7;
1628
- border-bottom: 1px solid #e0e2e4;
1629
- resize: vertical;
1630
- overflow: hidden;
1631
- }
1632
- .x-spreadsheet-modal-component-input-div {
1633
- display: flex;
1634
- flex-direction: column;
1635
- width: 100%;
1636
- }
1637
- .x-spreadsheet-modal-component-input-div label {
1638
- margin-bottom: 5px;
1639
- }
1640
- .x-spreadsheet-modal-component-input-div input {
1641
- width: 100%;
1642
- padding: 8px;
1643
- border: 1px solid #ccc;
1644
- border-radius: 5px 0 0 5px;
1645
- }
1646
- .x-spreadsheet-modal-component-input-div input[type="date"],
1647
- .x-spreadsheet-modal-component-input-div input[type="time"] {
1648
- padding: 0;
1649
- }
1650
- .x-spreadsheet-modal-component-mask {
1651
- position: fixed;
1652
- top: 0;
1653
- left: 0;
1654
- width: 100%;
1655
- height: 100%;
1656
- background: rgba(0, 0, 0, 0.5);
1657
- z-index: 999;
1658
- }
1659
- .x-spreadsheet-modal-component {
1660
- position: fixed;
1661
- top: 50%;
1662
- left: 50%;
1663
- transform: translate(-50%, -50%);
1664
- background: #fff;
1665
- border-radius: 5px;
1666
- box-shadow: 4px 4px 10px 0 rgba(0, 0, 0, 0.5);
1667
- z-index: 1000;
1668
- display: flex;
1669
- flex-direction: column;
1670
- width: 50%;
1671
- height: 50%;
1672
- overflow: hidden;
1673
- }
1674
- @media screen and (max-width: 480px) {
1675
- .x-spreadsheet-modal-component {
1676
- width: 90% !important;
1677
- height: 70%;
1678
- }
1679
- }
1680
- .x-spreadsheet-modal-component:focus {
1681
- outline: none;
1682
- }
1683
- .x-spreadsheet-modal-component-content {
1684
- padding: 10px;
1685
- flex-grow: 1;
1686
- background: #f5f5f5;
1687
- overflow-y: auto;
1688
- }
1689
- .x-spreadsheet-modal-component-header {
1690
- padding: 10px 20px;
1691
- background: #f5f5f5;
1692
- border-bottom: 1px solid #ddd;
1693
- display: flex;
1694
- justify-content: space-between;
1695
- font-weight: bold;
1696
- font-size: 18px;
1697
- }
1698
- .x-spreadsheet-modal-component-footer {
1699
- padding: 5px 10px;
1700
- background: #f5f5f5;
1701
- border-top: 1px solid #ddd;
1702
- text-align: right;
1703
- }
1704
- .x-spreadsheet-modal-component-footer button {
1705
- line-height: 1.5rem;
1706
- padding: 5px 10px;
1707
- font-size: 16px;
1708
- border: 1px solid #ccc;
1709
- border-radius: 4px;
1710
- background-color: #ffffff;
1711
- cursor: pointer;
1712
- outline: none;
1713
- transition: background-color 0.3s, border-color 0.3s;
1714
- margin: 5px;
1715
- }
1716
- .x-spreadsheet-modal-component-footer button {
1717
- border-color: #0078d4;
1718
- /* Blue border */
1719
- color: #0078d4;
1720
- }
1721
- .x-spreadsheet-modal-component-footer button:hover {
1722
- background-color: #e6f7ff;
1723
- /* Light blue background on hover */
1724
- }
1725
- .x-spreadsheet-modal-component-footer button:focus {
1726
- box-shadow: 0 0 0 2px rgba(0, 120, 212, 0.5);
1727
- /* Focus outline */
1728
- }
1729
- .x-spreadsheet-modal-component-footer button.cancel {
1730
- border-color: #ccc;
1731
- color: #333;
1732
- }
1733
- .x-spreadsheet-modal-component-footer button.cancel:hover {
1734
- background-color: #f0f0f0;
1735
- }
1736
- .x-spreadsheet-modal-component-footer button.cancel:focus {
1737
- box-shadow: 0 0 0 2px rgba(204, 204, 204, 0.5);
1738
- }
1739
- .x-spreadsheet-modal-component-section-container {
1740
- height: 100%;
1741
- }
1742
- .x-spreadsheet-modal-component-section-title {
1743
- display: flex;
1744
- align-items: center;
1745
- margin-bottom: 10px;
1746
- color: gray;
1747
- }
1748
- .x-spreadsheet-modal-component-section-title span {
1749
- flex-shrink: 0;
1750
- }
1751
- .x-spreadsheet-modal-component-section-line {
1752
- flex-grow: 1;
1753
- height: 1px;
1754
- background: lightgray;
1755
- margin-left: 2px;
1756
- }
1757
- .modal-animate {
1758
- transition: top 0.5s ease, height 0.5s ease;
1759
- }
1760
- .x-spreadsheet-modal-component-section-content {
1761
- padding: 0 5px;
1762
- border-radius: 4px;
1763
- height: max-content;
1764
- }
1765
- /* Outer wrapper for the modal component tabs */
1766
- .x-spreadsheet-modal-component-tabs {
1767
- display: flex;
1768
- flex-direction: column;
1769
- width: 100%;
1770
- height: 100%;
1771
- }
1772
- .x-spreadsheet-modal-component-label {
1773
- font-size: 16px;
1774
- }
1775
- .x-spreadsheet-modal-component-checkbox {
1776
- display: flex;
1777
- align-items: baseline;
1778
- margin-bottom: 15px;
1779
- }
1780
- .x-spreadsheet-modal-component-checkbox label {
1781
- margin-left: 5px;
1782
- }
1783
- .x-spreadsheet-modal-component-dropdown {
1784
- display: flex;
1785
- flex-direction: column;
1786
- }
1787
- .x-spreadsheet-modal-component-dropdown select {
1788
- height: 35px;
1789
- border: 1px solid #ccc;
1790
- border-radius: 5px;
1791
- }
1792
- .x-spreadsheet-modal-component-textarea {
1793
- display: flex;
1794
- flex-direction: column;
1795
- }
1796
- .x-spreadsheet-modal-component-textarea textarea {
1797
- resize: none;
1798
- width: 100%;
1799
- padding: 8px;
1800
- border: 1px solid #ccc;
1801
- border-radius: 5px;
1802
- height: 100px;
1803
- }
1804
- /* Header row containing the tab buttons */
1805
- .x-spreadsheet-modal-component-tab-headers {
1806
- display: flex;
1807
- border-bottom: 1px solid #ccc;
1808
- }
1809
- /* Individual tab buttons */
1810
- .x-spreadsheet-modal-component-tab-button {
1811
- padding: 0 15px;
1812
- cursor: pointer;
1813
- background-color: #f0f0f0;
1814
- border: none;
1815
- outline: none;
1816
- transition: background-color 0.3s;
1817
- font-size: 16px;
1818
- }
1819
- input[type=number]::-webkit-inner-spin-button,
1820
- input[type=number]::-webkit-outer-spin-button {
1821
- opacity: 1;
1822
- }
1823
- /* Tab button when active */
1824
- .x-spreadsheet-modal-component-tab-button.active {
1825
- background-color: #ffffff;
1826
- border-bottom: 2px solid #0078d4;
1827
- /* Blue line to indicate active tab */
1828
- font-weight: bold;
1829
- }
1830
- /* Content area for the tabs */
1831
- .x-spreadsheet-modal-component-tab-content {
1832
- padding: 20px;
1833
- background-color: #ffffff;
1834
- border: 1px solid #ccc;
1835
- border-top: none;
1836
- flex: 1;
1837
- }
1838
- .x-spreadsheet-bar-label {
1839
- flex: 0 0 auto;
1840
- display: inline-block;
1841
- width: 60px;
1842
- height: 100%;
1843
- box-sizing: border-box;
1844
- border-right: 1px solid #e0e2e4;
1845
- text-align: center;
1846
- line-height: inherit;
1847
- background-color: #fff;
1848
- color: #777;
1849
- -webkit-touch-callout: none;
1850
- -webkit-user-select: none;
1851
- -moz-user-select: none;
1852
- -ms-user-select: none;
1853
- user-select: none;
1854
- overflow: hidden;
1855
- white-space: nowrap;
1856
- text-overflow: ellipsis;
1857
- padding: 0 4px;
1858
- position: relative;
1859
- float: left;
1860
- }
1861
- .x-spreadsheet-formula-input {
1862
- flex: auto;
1863
- padding: 4px 8px;
1864
- line-height: 17px;
1865
- font-size: 12px;
1866
- overflow-y: auto;
1867
- background: #fff;
1868
- border: none;
1869
- outline: none;
1870
- height: 100%;
1871
- }
1872
- [contenteditable=true]:empty:before {
1873
- content: attr(placeholder);
1874
- position: initial;
1875
- color: darkgray;
1876
- }
1877
- dialog {
1878
- left: 190px;
1879
- width: 300px;
1880
- border: 1px solid darkgray;
1881
- border-radius: 4px;
1882
- padding: 0;
1883
- margin: 0;
1884
- background-color: #f9f9f9;
1885
- }
1886
- dialog p {
1887
- margin: 0 0 0 5px;
1888
- }
1889
- #textRotateDegreeContainer {
1890
- display: flex;
1891
- align-items: center;
1892
- flex-direction: column;
1893
- min-width: unset;
1894
- }
1895
- #textRotateDegreeBoxContainer {
1896
- display: flex;
1897
- height: 200px;
1898
- align-items: stretch;
1899
- }
1900
- #textRotateDegreeBox {
1901
- width: 150px;
1902
- height: 200px;
1903
- border: 1px solid #000;
1904
- position: relative;
1905
- user-select: none;
1906
- }
1907
- #textRotateDegreeBox::before {
1908
- content: '';
1909
- position: absolute;
1910
- width: 100px;
1911
- /* 伪元素的宽度等于div的宽度 */
1912
- height: 197px;
1913
- /* 高度是宽度的一半,形成半圆 */
1914
- border-top-right-radius: 200px;
1915
- /* 右上半圆的半径 */
1916
- border-bottom-right-radius: 200px;
1917
- /* 右下半圆的半径 */
1918
- border-top: 2px dashed black;
1919
- /* 上边框是点线 */
1920
- border-right: 2px dashed black;
1921
- /* 右边框是点线 */
1922
- border-bottom: 2px dashed black;
1923
- /* 右边框是点线 */
1924
- }
1925
- #textRotateDegreePointer {
1926
- width: 100%;
1927
- position: absolute;
1928
- top: 50%;
1929
- left: 5%;
1930
- transform-origin: 0 0;
1931
- display: flex;
1932
- }
1933
- #textRotateDegreeLine {
1934
- width: 35%;
1935
- height: 2px;
1936
- background-color: #000;
1937
- }
1938
- #textRotateDegreeText {
1939
- transform-origin: 0 0;
1940
- transform: translateX(-50%) translateY(-50%);
1941
- margin-left: 5%;
1942
- }
1943
- #textRotateDegreeResetButton {
1944
- margin-right: 20px;
1945
- width: 2.5rem;
1946
- word-break: break-all;
1947
- font-size: 1.5rem;
1948
- }
1949
- #textRotateDegreeInput {
1950
- margin-top: 10px;
1951
- width: 60px;
1952
- }
1953
-