@himail/xlsx 2.0.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.
@@ -0,0 +1,838 @@
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-color-palette {
49
+ padding: 5px;
50
+ }
51
+ .x-spreadsheet-color-palette table {
52
+ margin: 0;
53
+ padding: 0;
54
+ border-collapse: separate;
55
+ border-spacing: 2;
56
+ background: #fff;
57
+ }
58
+ .x-spreadsheet-color-palette table td {
59
+ margin: 0;
60
+ cursor: pointer;
61
+ border: 1px solid transparent;
62
+ }
63
+ .x-spreadsheet-color-palette table td:hover {
64
+ border-color: #ddd;
65
+ }
66
+ .x-spreadsheet-color-palette table td .x-spreadsheet-color-palette-cell {
67
+ width: 16px;
68
+ height: 16px;
69
+ }
70
+ .x-spreadsheet-border-palette {
71
+ padding: 6px;
72
+ }
73
+ .x-spreadsheet-border-palette table {
74
+ margin: 0;
75
+ padding: 0;
76
+ border-collapse: separate;
77
+ border-spacing: 0;
78
+ background: #fff;
79
+ table-layout: fixed;
80
+ }
81
+ .x-spreadsheet-border-palette table td {
82
+ margin: 0;
83
+ }
84
+ .x-spreadsheet-border-palette .x-spreadsheet-border-palette-left {
85
+ border-right: 1px solid #eee;
86
+ padding-right: 6px;
87
+ }
88
+ .x-spreadsheet-border-palette .x-spreadsheet-border-palette-left .x-spreadsheet-border-palette-cell {
89
+ width: 30px;
90
+ height: 30px;
91
+ cursor: pointer;
92
+ text-align: center;
93
+ }
94
+ .x-spreadsheet-border-palette .x-spreadsheet-border-palette-left .x-spreadsheet-border-palette-cell:hover {
95
+ background-color: #eee;
96
+ }
97
+ .x-spreadsheet-border-palette .x-spreadsheet-border-palette-right {
98
+ padding-left: 6px;
99
+ }
100
+ .x-spreadsheet-border-palette .x-spreadsheet-border-palette-right .x-spreadsheet-line-type {
101
+ position: relative;
102
+ left: 0;
103
+ top: -3px;
104
+ }
105
+ .x-spreadsheet-dropdown {
106
+ position: relative;
107
+ }
108
+ .x-spreadsheet-dropdown .x-spreadsheet-dropdown-content {
109
+ position: absolute;
110
+ z-index: 200;
111
+ background: #fff;
112
+ box-shadow: 1px 2px 5px 2px rgba(51, 51, 51, 0.15);
113
+ }
114
+ .x-spreadsheet-dropdown.bottom-left .x-spreadsheet-dropdown-content {
115
+ top: calc(100% + 5px);
116
+ left: 0;
117
+ }
118
+ .x-spreadsheet-dropdown.bottom-right .x-spreadsheet-dropdown-content {
119
+ top: calc(100% + 5px);
120
+ right: 0;
121
+ }
122
+ .x-spreadsheet-dropdown.top-left .x-spreadsheet-dropdown-content {
123
+ bottom: calc(100% + 5px);
124
+ left: 0;
125
+ }
126
+ .x-spreadsheet-dropdown.top-right .x-spreadsheet-dropdown-content {
127
+ bottom: calc(100% + 5px);
128
+ right: 0;
129
+ }
130
+ .x-spreadsheet-dropdown .x-spreadsheet-dropdown-title {
131
+ padding: 0 5px;
132
+ display: inline-block;
133
+ }
134
+ /* resizer **/
135
+ .x-spreadsheet-resizer {
136
+ position: absolute;
137
+ z-index: 11;
138
+ }
139
+
140
+ .x-spreadsheet-resizer .x-spreadsheet-resizer-hover {
141
+ background-color: rgba(33, 115, 70, 0.25);
142
+ transition: background-color 0.2s ease;
143
+ }
144
+
145
+ .x-spreadsheet-resizer .x-spreadsheet-resizer-line {
146
+ position: absolute;
147
+ }
148
+
149
+ .x-spreadsheet-resizer.horizontal {
150
+ cursor: row-resize;
151
+ }
152
+
153
+ .x-spreadsheet-resizer.horizontal .x-spreadsheet-resizer-line {
154
+ border-bottom: 2px dashed #217346;
155
+ left: 0;
156
+ bottom: 0;
157
+ }
158
+
159
+ .x-spreadsheet-resizer.vertical {
160
+ cursor: col-resize;
161
+ }
162
+
163
+ .x-spreadsheet-resizer.vertical .x-spreadsheet-resizer-line {
164
+ border-right: 2px dashed #217346;
165
+ top: 0;
166
+ right: 0;
167
+ }
168
+ /* scrollbar */
169
+ .x-spreadsheet-scrollbar {
170
+ position: absolute;
171
+ bottom: 0;
172
+ right: 0;
173
+ background-color: #f4f5f8;
174
+ opacity: 0.9;
175
+ z-index: 12;
176
+ }
177
+
178
+ .x-spreadsheet-scrollbar::-webkit-scrollbar {
179
+ width: 8px;
180
+ height: 8px;
181
+ }
182
+
183
+ .x-spreadsheet-scrollbar::-webkit-scrollbar-track {
184
+ background: #f4f5f8;
185
+ border-radius: 4px;
186
+ }
187
+
188
+ .x-spreadsheet-scrollbar::-webkit-scrollbar-thumb {
189
+ background: #c1c1c1;
190
+ border-radius: 4px;
191
+ transition: background 0.2s ease;
192
+ }
193
+
194
+ .x-spreadsheet-scrollbar::-webkit-scrollbar-thumb:hover {
195
+ background: #a1a1a1;
196
+ }
197
+
198
+ .x-spreadsheet-scrollbar::-webkit-scrollbar-thumb:active {
199
+ background: #808080;
200
+ }
201
+
202
+ .x-spreadsheet-scrollbar.horizontal {
203
+ right: 15px;
204
+ overflow-x: scroll;
205
+ overflow-y: hidden;
206
+ }
207
+
208
+ .x-spreadsheet-scrollbar.horizontal > div {
209
+ height: 1px;
210
+ background: #ddd;
211
+ }
212
+
213
+ .x-spreadsheet-scrollbar.vertical {
214
+ bottom: 15px;
215
+ overflow-x: hidden;
216
+ overflow-y: scroll;
217
+ }
218
+
219
+ .x-spreadsheet-scrollbar.vertical > div {
220
+ width: 1px;
221
+ background: #ddd;
222
+ }
223
+ /* @{css-prefix}-overlayer */
224
+ .x-spreadsheet-overlayer {
225
+ position: absolute;
226
+ left: 0;
227
+ top: 0;
228
+ z-index: 10;
229
+ }
230
+ .x-spreadsheet-overlayer .x-spreadsheet-overlayer-content {
231
+ position: absolute;
232
+ overflow: hidden;
233
+ pointer-events: none;
234
+ width: 100%;
235
+ height: 100%;
236
+ }
237
+ .x-spreadsheet-editor,
238
+ .x-spreadsheet-selector {
239
+ box-sizing: content-box;
240
+ position: absolute;
241
+ overflow: hidden;
242
+ pointer-events: none;
243
+ top: 0;
244
+ left: 0;
245
+ width: 100%;
246
+ height: 100%;
247
+ }
248
+ /* @{css-prefix}-selector */
249
+ .x-spreadsheet-selector .hide-input {
250
+ position: absolute;
251
+ z-index: 0;
252
+ }
253
+
254
+ .x-spreadsheet-selector .hide-input input {
255
+ padding: 0;
256
+ width: 0;
257
+ border: none !important;
258
+ }
259
+
260
+ .x-spreadsheet-selector .x-spreadsheet-selector-area {
261
+ position: absolute;
262
+ border: 1px solid #217346;
263
+ background: rgba(33, 115, 70, 0.15);
264
+ z-index: 5;
265
+ box-shadow: 0 0 0 1px rgba(33, 115, 70, 0.3);
266
+ transition: all 0.15s ease;
267
+ }
268
+
269
+ .x-spreadsheet-selector .x-spreadsheet-selector-clipboard,
270
+ .x-spreadsheet-selector .x-spreadsheet-selector-autofill {
271
+ position: absolute;
272
+ background: transparent;
273
+ z-index: 100;
274
+ }
275
+
276
+ .x-spreadsheet-selector .x-spreadsheet-selector-clipboard {
277
+ border: 2px dashed #217346;
278
+ background: rgba(33, 115, 70, 0.1);
279
+ }
280
+
281
+ .x-spreadsheet-selector .x-spreadsheet-selector-autofill {
282
+ border: 1px dashed rgba(33, 115, 70, 0.5);
283
+ background: rgba(33, 115, 70, 0.05);
284
+ }
285
+
286
+ .x-spreadsheet-selector .x-spreadsheet-selector-corner {
287
+ pointer-events: auto;
288
+ position: absolute;
289
+ cursor: crosshair;
290
+ font-size: 0;
291
+ height: 5px;
292
+ width: 5px;
293
+ right: -5px;
294
+ bottom: -5px;
295
+ border: 2px solid #ffffff;
296
+ background: #217346;
297
+ box-shadow: 0 0 0 1px rgba(33, 115, 70, 0.5);
298
+ transition: transform 0.15s ease;
299
+ }
300
+
301
+ .x-spreadsheet-selector .x-spreadsheet-selector-corner:hover {
302
+ transform: scale(1.2);
303
+ }
304
+ .x-spreadsheet-editor {
305
+ z-index: 20;
306
+ }
307
+ .x-spreadsheet-editor .x-spreadsheet-editor-area {
308
+ position: absolute;
309
+ text-align: left;
310
+ border: 2px solid #007a5a;
311
+ line-height: 0;
312
+ z-index: 100;
313
+ pointer-events: auto;
314
+ }
315
+ .x-spreadsheet-editor .x-spreadsheet-editor-area textarea {
316
+ box-sizing: content-box;
317
+ border: none;
318
+ padding: 0 3px;
319
+ outline: none;
320
+ resize: none;
321
+ text-align: start;
322
+ overflow-y: hidden;
323
+ font: 400 13px Arial, 'Lato', 'Source Sans Pro', Roboto, Helvetica, sans-serif;
324
+ color: inherit;
325
+ white-space: normal;
326
+ word-wrap: break-word;
327
+ line-height: 22px;
328
+ margin: 0;
329
+ }
330
+ .x-spreadsheet-editor .x-spreadsheet-editor-area .textline {
331
+ overflow: hidden;
332
+ visibility: hidden;
333
+ position: fixed;
334
+ top: 0;
335
+ left: 0;
336
+ }
337
+ .x-spreadsheet-item {
338
+ user-select: none;
339
+ background: 0;
340
+ border: 1px solid transparent;
341
+ outline: none;
342
+ height: 26px;
343
+ color: rgba(0, 0, 0, 0.9);
344
+ line-height: 26px;
345
+ list-style: none;
346
+ padding: 2px 10px;
347
+ cursor: default;
348
+ text-align: left;
349
+ overflow: hidden;
350
+ }
351
+ .x-spreadsheet-item.disabled {
352
+ pointer-events: none;
353
+ opacity: 0.5;
354
+ }
355
+ .x-spreadsheet-item:hover,
356
+ .x-spreadsheet-item.active {
357
+ background: rgba(0, 0, 0, 0.05);
358
+ }
359
+ .x-spreadsheet-item.divider {
360
+ height: 0;
361
+ padding: 0;
362
+ margin: 5px 0;
363
+ border: none;
364
+ border-bottom: 1px solid rgba(0, 0, 0, 0.1);
365
+ }
366
+ .x-spreadsheet-item .label {
367
+ float: right;
368
+ opacity: 0.65;
369
+ font-size: 1em;
370
+ }
371
+ .x-spreadsheet-item.state,
372
+ .x-spreadsheet-header.state {
373
+ padding-left: 35px!important;
374
+ position: relative;
375
+ }
376
+ .x-spreadsheet-item.state:before,
377
+ .x-spreadsheet-header.state:before {
378
+ content: '';
379
+ position: absolute;
380
+ width: 10px;
381
+ height: 10px;
382
+ left: 12px;
383
+ top: calc(50% - 5px);
384
+ background: rgba(0, 0, 0, 0.08);
385
+ border-radius: 2px;
386
+ }
387
+ .x-spreadsheet-item.state.checked:before,
388
+ .x-spreadsheet-header.state.checked:before {
389
+ background: #4b89ff;
390
+ }
391
+ .x-spreadsheet-checkbox {
392
+ position: relative;
393
+ display: inline-block;
394
+ backface-visibility: hidden;
395
+ outline: 0;
396
+ vertical-align: baseline;
397
+ font-style: normal;
398
+ font-size: 1rem;
399
+ line-height: 1em;
400
+ }
401
+ .x-spreadsheet-checkbox > input {
402
+ position: absolute;
403
+ top: 0;
404
+ left: 0;
405
+ opacity: 0!important;
406
+ outline: 0;
407
+ z-index: -1;
408
+ }
409
+ .x-spreadsheet-suggest,
410
+ .x-spreadsheet-contextmenu,
411
+ .x-spreadsheet-sort-filter {
412
+ position: absolute;
413
+ box-shadow: 1px 2px 5px 2px rgba(51, 51, 51, 0.15);
414
+ background: #fff;
415
+ z-index: 100;
416
+ width: 260px;
417
+ pointer-events: auto;
418
+ overflow: auto;
419
+ }
420
+ .x-spreadsheet-suggest {
421
+ width: 200px;
422
+ }
423
+ .x-spreadsheet-filter {
424
+ border: 1px solid #e9e9e9;
425
+ font-size: 12px;
426
+ margin: 10px;
427
+ }
428
+ .x-spreadsheet-filter .x-spreadsheet-header {
429
+ padding: 0.5em 0.75em;
430
+ background: #f8f8f9;
431
+ border-bottom: 1px solid #e9e9e9;
432
+ border-left: 1px solid transparent;
433
+ }
434
+ .x-spreadsheet-filter .x-spreadsheet-body {
435
+ height: 200px;
436
+ overflow-y: auto;
437
+ }
438
+ .x-spreadsheet-filter .x-spreadsheet-body .x-spreadsheet-item {
439
+ height: 20px;
440
+ line-height: 20px;
441
+ }
442
+ .x-spreadsheet-sort-filter .x-spreadsheet-buttons {
443
+ margin: 10px;
444
+ }
445
+ .x-spreadsheet-topbar {
446
+ height: 30px;
447
+ /* padding: 0 12px; */
448
+ text-align: left;
449
+ background: #f5f5f5;
450
+ display: flex;
451
+ position: relative;
452
+ border-bottom: 1px solid rgba(0, 0, 0, 0.08);
453
+ z-index: 100;
454
+ align-items: center;
455
+ }
456
+ .x-spreadsheet-topbar {
457
+ position: relative;
458
+ }
459
+ .x-spreadsheet-topbar .x-spreadsheet-menu > li {
460
+ line-height: 26px;
461
+ height: 26px;
462
+ padding-top: 0;
463
+ padding-bottom: 0;
464
+ /* vertical-align: middle; */
465
+ border-right: none;
466
+ margin-right: 0;
467
+ border-radius: 6px;
468
+ padding: 0 16px;
469
+ background: rgba(255, 255, 255, 0.8);
470
+ /* border: 1px solid rgba(0, 0, 0, 0.08); */
471
+ position: relative;
472
+ /* transition: all 0.2s ease; */
473
+ /* margin-left: 4px; */
474
+ }
475
+ .x-spreadsheet-menu {
476
+ display: flex;
477
+ overflow-x: auto;
478
+ list-style: none;
479
+ margin: 0;
480
+ padding: 20px 0;
481
+ user-select: none;
482
+ align-items: center;
483
+ }
484
+ .x-spreadsheet-menu > li {
485
+ float: left;
486
+ line-height: 1.25em;
487
+ padding: 0.785em 1em;
488
+ margin: 0;
489
+ vertical-align: middle;
490
+ text-align: left;
491
+ font-weight: 400;
492
+ color: #80868b;
493
+ white-space: nowrap;
494
+ cursor: pointer;
495
+ transition: all 0.3s;
496
+ font-weight: 500;
497
+ font-size: 13px;
498
+ border-radius: 6px;
499
+ margin-left: 4px;
500
+ }
501
+ .x-spreadsheet-menu > li.active {
502
+ background-color: #007a5a;
503
+ color: white;
504
+ box-shadow: none;
505
+ }
506
+ .x-spreadsheet-menu > li:hover:not(.active) {
507
+ background: rgba(0, 122, 90, 0.1);
508
+ color: #007a5a;
509
+ }
510
+ .x-spreadsheet-menu > li .x-spreadsheet-dropdown {
511
+ display: inline-block;
512
+ }
513
+ .x-spreadsheet-print {
514
+ position: absolute;
515
+ left: 0;
516
+ top: 0;
517
+ z-index: 100;
518
+ width: 100%;
519
+ height: 100%;
520
+ display: flex;
521
+ flex-direction: column;
522
+ }
523
+ .x-spreadsheet-print-bar {
524
+ background: #424242;
525
+ height: 60px;
526
+ line-height: 60px;
527
+ padding: 0 30px;
528
+ }
529
+ .x-spreadsheet-print-bar .-title {
530
+ color: #fff;
531
+ font-weight: bold;
532
+ font-size: 1.2em;
533
+ float: left;
534
+ }
535
+ .x-spreadsheet-print-bar .-right {
536
+ float: right;
537
+ margin-top: 12px;
538
+ }
539
+ .x-spreadsheet-print-content {
540
+ display: flex;
541
+ flex: auto;
542
+ flex-direction: row;
543
+ background: #d0d0d0;
544
+ height: calc(100% - 60px);
545
+ }
546
+ .x-spreadsheet-print-content .-sider {
547
+ flex: 0 0 300px;
548
+ width: 300px;
549
+ border-left: 2px solid #ccc;
550
+ background: #fff;
551
+ }
552
+ .x-spreadsheet-print-content .-content {
553
+ flex: auto;
554
+ overflow-x: auto;
555
+ overflow-y: scroll;
556
+ height: 100%;
557
+ }
558
+ .x-spreadsheet-canvas-card-wraper {
559
+ margin: 40px 20px;
560
+ }
561
+ .x-spreadsheet-canvas-card {
562
+ background: #fff;
563
+ margin: auto;
564
+ page-break-before: auto;
565
+ page-break-after: always;
566
+ 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);
567
+ }
568
+ .x-spreadsheet-calendar {
569
+ color: rgba(0, 0, 0, 0.65);
570
+ background: #ffffff;
571
+ user-select: none;
572
+ }
573
+ .x-spreadsheet-calendar .calendar-header {
574
+ font-weight: 700;
575
+ line-height: 30px;
576
+ text-align: center;
577
+ width: 100%;
578
+ float: left;
579
+ background: #f9fafb;
580
+ }
581
+ .x-spreadsheet-calendar .calendar-header .calendar-header-left {
582
+ padding-left: 5px;
583
+ float: left;
584
+ }
585
+ .x-spreadsheet-calendar .calendar-header .calendar-header-right {
586
+ float: right;
587
+ }
588
+ .x-spreadsheet-calendar .calendar-header .calendar-header-right a {
589
+ padding: 3px 0;
590
+ margin-right: 2px;
591
+ border-radius: 2px;
592
+ }
593
+ .x-spreadsheet-calendar .calendar-header .calendar-header-right a:hover {
594
+ background: rgba(0, 0, 0, 0.08);
595
+ }
596
+ .x-spreadsheet-calendar .calendar-body {
597
+ border-collapse: collapse;
598
+ border-spacing: 0;
599
+ }
600
+ .x-spreadsheet-calendar .calendar-body th,
601
+ .x-spreadsheet-calendar .calendar-body td {
602
+ width: 14.28571429%;
603
+ min-width: 32px;
604
+ text-align: center;
605
+ font-weight: 700;
606
+ line-height: 30px;
607
+ padding: 0;
608
+ }
609
+ .x-spreadsheet-calendar .calendar-body td > .cell:hover {
610
+ background: #ecf6fd;
611
+ }
612
+ .x-spreadsheet-calendar .calendar-body td > .cell.active,
613
+ .x-spreadsheet-calendar .calendar-body td > .cell.active:hover {
614
+ background: #ecf6fd;
615
+ color: #2185D0;
616
+ }
617
+ .x-spreadsheet-calendar .calendar-body td > .cell.disabled {
618
+ pointer-events: none;
619
+ opacity: 0.5;
620
+ }
621
+ .x-spreadsheet-datepicker {
622
+ box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
623
+ position: absolute;
624
+ left: 0;
625
+ top: calc(100% + 5px);
626
+ z-index: 10;
627
+ width: auto;
628
+ }
629
+ .x-spreadsheet-buttons {
630
+ display: flex;
631
+ justify-content: flex-end;
632
+ }
633
+ .x-spreadsheet-buttons .x-spreadsheet-button {
634
+ margin-left: 8px;
635
+ }
636
+ .x-spreadsheet-button {
637
+ display: inline-block;
638
+ border-radius: 3px;
639
+ line-height: 1em;
640
+ min-height: 1em;
641
+ white-space: nowrap;
642
+ text-align: center;
643
+ cursor: pointer;
644
+ font-size: 1em;
645
+ font-weight: 700;
646
+ padding: 0.75em 1em;
647
+ color: rgba(0, 0, 0, 0.6);
648
+ background: #E0E1E2;
649
+ text-decoration: none;
650
+ font-family: "Lato", "proxima-nova", "Helvetica Neue", Arial, sans-serif;
651
+ outline: none;
652
+ vertical-align: baseline;
653
+ zoom: 1;
654
+ user-select: none;
655
+ transition: all 0.1s linear;
656
+ }
657
+ .x-spreadsheet-button.active,
658
+ .x-spreadsheet-button:hover {
659
+ background-color: #C0C1C2;
660
+ color: rgba(0, 0, 0, 0.8);
661
+ }
662
+ .x-spreadsheet-button.primary {
663
+ color: #fff;
664
+ background-color: #2185D0;
665
+ }
666
+ .x-spreadsheet-button.primary:hover,
667
+ .x-spreadsheet-button.primary.active {
668
+ color: #fff;
669
+ background-color: #1678c2;
670
+ }
671
+ .x-spreadsheet-form-input {
672
+ font-size: 1em;
673
+ position: relative;
674
+ font-weight: 400;
675
+ display: inline-flex;
676
+ color: rgba(0, 0, 0, 0.87);
677
+ }
678
+ .x-spreadsheet-form-input input {
679
+ z-index: 1;
680
+ margin: 0;
681
+ max-width: 100%;
682
+ flex: 1 0 auto;
683
+ outline: 0;
684
+ -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
685
+ text-align: left;
686
+ line-height: 30px;
687
+ height: 30px;
688
+ padding: 0 8px;
689
+ background: #fff;
690
+ border: 1px solid #e9e9e9;
691
+ border-radius: 3px;
692
+ transition: box-shadow 0.1s ease, border-color 0.1s ease;
693
+ box-shadow: inset 0 1px 2px hsla(0, 0%, 4%, 0.06);
694
+ }
695
+ .x-spreadsheet-form-input input:focus {
696
+ border-color: #4b89ff;
697
+ box-shadow: inset 0 1px 2px rgba(75, 137, 255, 0.2);
698
+ }
699
+ .x-spreadsheet-form-select {
700
+ position: relative;
701
+ display: inline-block;
702
+ background: #fff;
703
+ border: 1px solid #e9e9e9;
704
+ border-radius: 2px;
705
+ cursor: pointer;
706
+ color: rgba(0, 0, 0, 0.87);
707
+ user-select: none;
708
+ box-shadow: inset 0 1px 2px hsla(0, 0%, 4%, 0.06);
709
+ }
710
+ .x-spreadsheet-form-select .input-text {
711
+ text-overflow: ellipsis;
712
+ white-space: nowrap;
713
+ min-width: 60px;
714
+ width: auto;
715
+ height: 30px;
716
+ line-height: 30px;
717
+ padding: 0 8px;
718
+ }
719
+ .x-spreadsheet-form-fields {
720
+ display: flex;
721
+ flex-direction: row;
722
+ flex-wrap: wrap;
723
+ }
724
+ .x-spreadsheet-form-fields .x-spreadsheet-form-field {
725
+ flex: 0 1 auto;
726
+ }
727
+ .x-spreadsheet-form-fields .x-spreadsheet-form-field .label {
728
+ display: inline-block;
729
+ margin: 0 10px 0 0;
730
+ }
731
+ .x-spreadsheet-form-field {
732
+ display: block;
733
+ vertical-align: middle;
734
+ margin-left: 10px;
735
+ margin-bottom: 10px;
736
+ }
737
+ .x-spreadsheet-form-field:first-child {
738
+ margin-left: 0;
739
+ }
740
+ .x-spreadsheet-form-field.error .x-spreadsheet-form-select,
741
+ .x-spreadsheet-form-field.error input {
742
+ border-color: #f04134;
743
+ }
744
+ .x-spreadsheet-form-field .tip {
745
+ color: #f04134;
746
+ font-size: 0.9em;
747
+ }
748
+ .x-spreadsheet-dimmer {
749
+ display: none;
750
+ position: absolute;
751
+ top: 0 !important;
752
+ left: 0 !important;
753
+ width: 100%;
754
+ height: 100%;
755
+ text-align: center;
756
+ vertical-align: middle;
757
+ background-color: rgba(0, 0, 0, 0.6);
758
+ opacity: 0;
759
+ -webkit-animation-fill-mode: both;
760
+ animation-fill-mode: both;
761
+ -webkit-animation-duration: 0.5s;
762
+ animation-duration: 0.5s;
763
+ transition: background-color 0.5s linear;
764
+ user-select: none;
765
+ z-index: 1000;
766
+ }
767
+ .x-spreadsheet-dimmer.active {
768
+ display: block;
769
+ opacity: 1;
770
+ }
771
+ form fieldset {
772
+ border: none;
773
+ }
774
+ form fieldset label {
775
+ display: block;
776
+ margin-bottom: 0.5em;
777
+ font-size: 1em;
778
+ color: #666;
779
+ }
780
+ form fieldset select {
781
+ font-size: 1.1em;
782
+ width: 100%;
783
+ background-color: #fff;
784
+ border: none;
785
+ border-bottom: 2px solid #ddd;
786
+ padding: 0.5em 0.85em;
787
+ border-radius: 2px;
788
+ }
789
+ .x-spreadsheet-modal,
790
+ .x-spreadsheet-toast {
791
+ font-size: 13px;
792
+ position: fixed;
793
+ z-index: 1001;
794
+ text-align: left;
795
+ line-height: 1.25em;
796
+ min-width: 360px;
797
+ color: rgba(0, 0, 0, 0.87);
798
+ font-family: 'Lato', 'Source Sans Pro', Roboto, Helvetica, Arial, sans-serif;
799
+ border-radius: 4px;
800
+ border: 1px solid rgba(0, 0, 0, 0.1);
801
+ background-color: #fff;
802
+ background-clip: padding-box;
803
+ box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 8px;
804
+ }
805
+ .x-spreadsheet-toast {
806
+ background-color: rgba(255, 255, 255, 0.85);
807
+ }
808
+ .x-spreadsheet-modal-header,
809
+ .x-spreadsheet-toast-header {
810
+ font-weight: 600;
811
+ background-clip: padding-box;
812
+ background-color: rgba(255, 255, 255, 0.85);
813
+ border-bottom: 1px solid rgba(0, 0, 0, 0.05);
814
+ border-radius: 4px 4px 0 0;
815
+ }
816
+
817
+ .x-spreadsheet-toast-header {
818
+ color: #F2711C;
819
+ }
820
+ .x-spreadsheet-modal-header {
821
+ border-bottom: 1px solid #e0e2e4;
822
+ background: rgba(0, 0, 0, 0.08);
823
+ font-size: 1.0785em;
824
+ }
825
+ .x-spreadsheet-modal-header,
826
+ .x-spreadsheet-modal-content,
827
+ .x-spreadsheet-toast-header,
828
+ .x-spreadsheet-toast-content {
829
+ padding: 0.75em 1em;
830
+ }
831
+
832
+ .x-spreadsheet-menu li:first-child {
833
+ display: none;
834
+ }
835
+
836
+ .vue-office-excel {
837
+ height: 100%;
838
+ }