@toolspack/ttd-pdfjs 0.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,729 @@
1
+ /* 公用css 文件 */
2
+ @import url('./components//atomic.less');
3
+
4
+ body {
5
+ color: #222222;
6
+ font-family: PingFangSC, PingFangSC-Regular, "Microsoft YaHei", "微软雅黑", Helvetica, Arial, sans-serif;
7
+ // font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
8
+ -webkit-font-smoothing: antialiased;
9
+ -moz-osx-font-smoothing: grayscale;
10
+ }
11
+
12
+ html,
13
+ body,
14
+ #app {
15
+ height: 100%;
16
+ background: #F1F2F6
17
+ }
18
+
19
+ p {
20
+ margin: 0;
21
+ }
22
+
23
+ dl,
24
+ dt,
25
+ dd {
26
+ margin: 0;
27
+ padding: 0;
28
+ }
29
+
30
+ input::-webkit-input-placeholder,
31
+ textarea::-webkit-input-placeholder {
32
+ color: #CCCCCC;
33
+ }
34
+
35
+ input:-moz-placeholder,
36
+ textarea:-moz-placeholder {
37
+ color: #CCCCCC;
38
+ }
39
+
40
+ input::-moz-placeholder,
41
+ textarea::-moz-placeholder {
42
+ color: #CCCCCC;
43
+ }
44
+
45
+ input:-ms-input-placeholder,
46
+ textarea:-ms-input-placeholder {
47
+ color: #CCCCCC;
48
+ }
49
+
50
+ a {
51
+ color: #777786;
52
+ font-size: 12px;
53
+ text-decoration: none
54
+ }
55
+
56
+ .c-b::after {
57
+ content: '';
58
+ display: block;
59
+ clear: both;
60
+ }
61
+
62
+ .status-dot {
63
+ position: relative;
64
+ padding-left: 12px;
65
+ }
66
+
67
+ .status-dot::before {
68
+ content: '';
69
+ position: absolute;
70
+ display: inline-block;
71
+ width: 6px;
72
+ height: 6px;
73
+ border-radius: 6px;
74
+ margin-right: 6px;
75
+ left: 0;
76
+ top: 50%;
77
+ transform: translateY(-50%);
78
+ }
79
+
80
+ .dot-red::before {
81
+ background: #FF553C;
82
+ }
83
+
84
+ .dot-blue::before {
85
+ background: #2E6BE6;
86
+ }
87
+
88
+ .dot-green::before {
89
+ background: #4DC766;
90
+ }
91
+
92
+ .svg-icon {
93
+ width: 1em;
94
+ height: 1em;
95
+ }
96
+
97
+ .ttd-container {
98
+ .el-aside {
99
+ float: left;
100
+ background-color: #ffffff;
101
+ margin-right: 4px;
102
+ }
103
+ }
104
+
105
+ .el-header {
106
+ background: #ffffff;
107
+ overflow: hidden;
108
+ padding: 0;
109
+ border-bottom: 1px solid #F1F1F1;
110
+ }
111
+
112
+ .el-main {
113
+ padding: 0;
114
+ overflow: auto;
115
+ /*overflow: hidden; 使用hidden,会使页面没有上下滚动条*/
116
+ }
117
+
118
+ .main-wrapper {
119
+ overflow: auto;
120
+ /* 缺少 height ,页面无法滚动,重要属性,不可移除 */
121
+ height: 100%;
122
+ background: #ffffff;
123
+ width: 100%;
124
+
125
+ .page-title {
126
+ height: 60px;
127
+ line-height: 60px;
128
+ font-size: 20px;
129
+ font-weight: 700;
130
+ color: #666666;
131
+ /*//overflow: hidden; flex 布局下导致title 不显示*/
132
+ padding: 0 24px;
133
+ vertical-align: middle;
134
+ box-sizing: border-box;
135
+ border-bottom: 4px solid #F1F2F6;
136
+
137
+ span {
138
+ display: inline-block;
139
+ }
140
+
141
+ .back-btn::after {
142
+ content: "";
143
+ position: relative;
144
+ top: 3px;
145
+ margin: 0 12px;
146
+ height: 14px;
147
+ border-right: 1px solid #d8d8d8;
148
+ cursor: pointer;
149
+ }
150
+
151
+ .return {
152
+ display: inline-block;
153
+ cursor: pointer;
154
+ width: 14px;
155
+ height: 14px;
156
+ background-size: contain;
157
+ }
158
+
159
+ .title-tag {
160
+ position: relative;
161
+ top: -2px;
162
+ display: inline-block;
163
+ line-height: 30px;
164
+ border-radius: 15px;
165
+ font-size: 14px;
166
+ color: #AB6F16;
167
+ background: #FFEBC9;
168
+ padding: 0 14px;
169
+ cursor: pointer;
170
+ margin-left: 5px;
171
+
172
+ .tag-icon {
173
+ background: #ffffff;
174
+ font-size: 12px;
175
+ color: #AB6F16;
176
+ border-radius: 50%;
177
+ display: inline-block;
178
+ width: 14px;
179
+ line-height: 14px;
180
+ text-align: center;
181
+ }
182
+ }
183
+ }
184
+
185
+ .page-title-school {
186
+ font-size: 16px;
187
+ color: #4B5973;
188
+ font-weight: 500;
189
+ background: #fff;
190
+
191
+ i {
192
+ cursor: pointer;
193
+ }
194
+ }
195
+
196
+ /* 列表页的 搜索区域 */
197
+ .page-search {
198
+ padding: 24px 24px 8px 24px;
199
+ overflow: hidden;
200
+
201
+
202
+ .el-form-item:last-child {
203
+ margin-right: 0;
204
+ }
205
+
206
+ .el-form-item__content {
207
+ min-width: 208px;
208
+ }
209
+
210
+ .width-auto {
211
+ .el-form-item__content {
212
+ min-width: auto;
213
+ }
214
+ }
215
+
216
+ .page-search-text {
217
+ font-size: 14px;
218
+ line-height: 32px;
219
+ display: inline-block;
220
+ margin: 0px 6px 0 -10px;
221
+ }
222
+
223
+ .el-input input {
224
+ border: 1px solid #D9DBE2;
225
+ border-radius: 2px;
226
+ }
227
+
228
+ .el-select {
229
+ input::-webkit-input-placeholder {
230
+ color: #000;
231
+ }
232
+
233
+ input:-moz-placeholder {
234
+ color: #000;
235
+ }
236
+
237
+ input::-moz-placeholder {
238
+ color: #000;
239
+ }
240
+
241
+ input:-ms-input-placeholder {
242
+ color: #000;
243
+ }
244
+
245
+ .el-select__caret {
246
+ color: #222;
247
+ }
248
+
249
+ .el-dropdown-link {
250
+ cursor: pointer;
251
+ color: #222;
252
+ font-size: 13px;
253
+
254
+ i {
255
+ color: #666;
256
+ }
257
+ }
258
+ }
259
+ }
260
+
261
+ .page-table {
262
+ padding: 0 24px;
263
+ }
264
+
265
+ /* 详情页面,无列表 */
266
+ .page-content {
267
+ padding: 10px 24px 30px 24px;
268
+ }
269
+ }
270
+
271
+ /* 详情页面的底部 (按钮区域) */
272
+ .page-bottom {
273
+ padding: 15px 40px;
274
+ box-shadow: 0 -2px 4px 0 rgba(0, 0, 0, 0.09);
275
+ text-align: center;
276
+ z-index: 0;
277
+ }
278
+
279
+ .flex {
280
+ display: -ms-flex;
281
+ display: flex;
282
+ -ms-flex-direction: column;
283
+ flex-direction: column;
284
+ height: 100%;
285
+ overflow: hidden !important
286
+ }
287
+
288
+ .flex-row {
289
+ -ms-flex-direction: row;
290
+ flex-direction: row;
291
+ }
292
+
293
+ .flex-item {
294
+ -ms-flex: 1;
295
+ flex: 1;
296
+ overflow: auto;
297
+ }
298
+
299
+ .title-line {
300
+ font-size: 16px;
301
+ color: #2E6BE6;
302
+ line-height: 36px;
303
+ border-bottom: 1px solid #E0E0E0;
304
+ ;
305
+ }
306
+
307
+ // 分页插件的样式
308
+ .el-pagination {
309
+ font-size: 14px;
310
+ color: #666666;
311
+ padding: 20px 20px;
312
+ font-weight: normal;
313
+
314
+ .page-text {
315
+ font-size: 13px;
316
+ color: #999999;
317
+ padding-right: 7px;
318
+ font-weight: normal;
319
+ }
320
+
321
+ .btn-next,
322
+ .btn-prev {
323
+ border-radius: 4px;
324
+ width: 32px;
325
+ min-width: 32px;
326
+ height: 32px;
327
+ line-height: 32px;
328
+ margin-left: 8px;
329
+ border: 1px solid #D9DBE2;
330
+ }
331
+
332
+ .btn-next:disabled,
333
+ .btn-prev:disabled {
334
+ color: #d8d8d8;
335
+ background-color: transparent;
336
+ }
337
+
338
+ }
339
+
340
+ .el-pagination__sizes .el-input .el-input__inner {
341
+ border-radius: 16px;
342
+ border: 1px solid #CCCCCC;
343
+ height: 32px;
344
+ line-height: 32px;
345
+ color: #222222;
346
+ }
347
+
348
+ .el-pager li {
349
+ border-radius: 4px;
350
+ width: 32px;
351
+ min-width: 32px;
352
+ height: 32px;
353
+ line-height: 32px;
354
+ margin-left: 8px;
355
+ border: 1px solid #D9DBE2;
356
+ }
357
+
358
+ .el-pager li.active {
359
+ color: #336FFF;
360
+ border: 1px solid #3972FA;
361
+ }
362
+
363
+ .el-pagination__total {
364
+ padding-left: 8px;
365
+ color: #999999;
366
+ }
367
+
368
+ .el-dialog {
369
+ border-radius: 2px;
370
+ }
371
+
372
+ .el-dialog__footer {
373
+ background: #F5F5F5;
374
+ padding-top: 18px;
375
+
376
+ .el-button {
377
+ margin-right: 10px;
378
+ }
379
+ }
380
+
381
+ //靠右dialog 必须加上 ttd-dialog 类
382
+ .ttd-dialog {
383
+ .dialog-title {
384
+ font-size: 18px;
385
+ padding: 20px 0 10px 0;
386
+ line-height: 22px;
387
+ color: #4B5973;
388
+
389
+ .sub-title {
390
+ font-size: 12px;
391
+ color: #999999;
392
+ line-height: 17px;
393
+ margin-top: 4px;
394
+ margin-bottom: -4px;
395
+
396
+ span {
397
+ color: #f5a92b;
398
+ }
399
+ }
400
+
401
+ }
402
+
403
+ .el-dialog {
404
+ margin: 0 0 0 auto;
405
+ border-radius: 0;
406
+ height: 100%;
407
+ overflow: hidden;
408
+ // box-shadow: 0 0 14px 0 #ddd;
409
+ position: relative;
410
+ display: flex;
411
+ flex-direction: column;
412
+
413
+ .warm-prompt {
414
+ font-size: 12px;
415
+ color: #666666;
416
+ padding-bottom: 26px;
417
+ line-height: 17px;
418
+ }
419
+
420
+ .el-dialog__header {
421
+ padding: 24px 24px 16px;
422
+
423
+ .ttd-dialog-title {
424
+ font-size: 18px;
425
+ color: #4B5973;
426
+ letter-spacing: 0;
427
+ font-weight: bold;
428
+ line-height: 25px;
429
+
430
+ span {
431
+ vertical-align: middle;
432
+ }
433
+ }
434
+
435
+ .title-close {
436
+ font-size: 18px;
437
+ vertical-align: middle;
438
+ color: #C9CDDC;
439
+ margin-right: 8px;
440
+ cursor: pointer;
441
+ }
442
+ }
443
+
444
+ .el-dialog__body {
445
+ padding: 8px 24px 24px;
446
+ overflow: auto;
447
+ flex: 1;
448
+ }
449
+
450
+ .el-dialog__footer {
451
+ text-align: center;
452
+ }
453
+ }
454
+ }
455
+
456
+ .dialog-title {
457
+ font-size: 16px;
458
+ line-height: 50px;
459
+ color: #2E6BE6;
460
+ border-bottom: 1px solid #E0E0E0;
461
+ }
462
+
463
+ .el-dialog__headerbtn {
464
+ font-size: 24px;
465
+ }
466
+
467
+
468
+ // 为了使 dialog 冲右边弹出
469
+
470
+ @keyframes dialog-fade-right-in {
471
+ 0% {
472
+ transform: translate3d(100%, 0, 0);
473
+ opacity: 0;
474
+ }
475
+
476
+ 100% {
477
+ transform: translate3d(0, 0, 0);
478
+ opacity: 1;
479
+ }
480
+ }
481
+
482
+ @keyframes dialog-fade-right-out {
483
+ 0% {
484
+ transform: translate3d(0, 0, 0);
485
+ opacity: 1;
486
+ }
487
+
488
+ 100% {
489
+ transform: translate3d(100%, 0, 0);
490
+ opacity: 0;
491
+ }
492
+ }
493
+
494
+ .ttd-dialog.dialog-fade-enter-active {
495
+ -webkit-animation: dialog-fade-right-in .3s;
496
+ animation: dialog-fade-right-in .3s
497
+ }
498
+
499
+ .ttd-dialog.dialog-fade-leave-active {
500
+ -webkit-animation: dialog-fade-right-out .8s;
501
+ animation: dialog-fade-right-out .8s
502
+ }
503
+
504
+ .ttd-dialog.close-animate.dialog-fade-enter-active {
505
+ animation: none;
506
+ }
507
+
508
+ .ttd-dialog.close-animate.dialog-fade-leave-active {
509
+ animation: none;
510
+ }
511
+
512
+ .avatar-small {
513
+ width: 32px;
514
+ height: 32px;
515
+ background-size: cover;
516
+ border-radius: 50%;
517
+ background-color: #CCCCCC;
518
+ }
519
+
520
+ /* 产品的小标识 */
521
+ .widget-new {
522
+ transform: scale(0.6);
523
+ transform-origin: center;
524
+ font-size: 12px;
525
+ display: inline-block;
526
+ background: #ff553c;
527
+ border-radius: 16px;
528
+ padding: 3px 7px 3px 3px;
529
+ margin: -3px -6px;
530
+ line-height: 1.2em;
531
+ white-space: nowrap;
532
+ color: #fff;
533
+ }
534
+
535
+ .widget-warring {
536
+ color: #ff553c;
537
+ padding-left: 2px;
538
+ font-size: 14px;
539
+ }
540
+
541
+ .ttd-tree {
542
+ .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner {
543
+ background-color: #3D82F7;
544
+ border-color: #3D82F7;
545
+ }
546
+ }
547
+
548
+ .warm-prompt {
549
+ color: #222;
550
+ font-size: 14px;
551
+
552
+ .num {
553
+ font-weight: normal;
554
+ color: #1cb685;
555
+ }
556
+ }
557
+
558
+ .ttd-tooltip {
559
+ max-width: 400px;
560
+ background: #FFF3DE !important;
561
+ border: 1px solid #F3D7A9 !important;
562
+ border-radius: 2px;
563
+ box-shadow: 0 1px 7px 0 rgba(0, 0, 0, 0.04) !important;
564
+ font-size: 14px !important;
565
+ color: #6C6760 !important;
566
+ word-break: break-all;
567
+
568
+ &.el-tooltip__popper[x-placement^="top"] .popper__arrow {
569
+ border-top-color: #F3D7A9 !important;
570
+
571
+ &::after {
572
+ border-top-color: #FFF3DE !important;
573
+ }
574
+ }
575
+
576
+ &.el-tooltip__popper[x-placement^="bottom"] .popper__arrow {
577
+ border-bottom-color: #F3D7A9 !important;
578
+
579
+ &::after {
580
+ border-bottom-color: #FFF3DE !important;
581
+ }
582
+ }
583
+
584
+ &.el-tooltip__popper[x-placement^="left"] .popper__arrow {
585
+ border-left-color: #F3D7A9 !important;
586
+
587
+ &::after {
588
+ border-left-color: #FFF3DE !important;
589
+ }
590
+ }
591
+
592
+ &.el-tooltip__popper[x-placement^="right"] .popper__arrow {
593
+ border-right-color: #F3D7A9 !important;
594
+
595
+ &::after {
596
+ border-right-color: #FFF3DE !important;
597
+ }
598
+ }
599
+ }
600
+
601
+ .tooltip-questioin-mark {
602
+ display: inline-block;
603
+ width: 14px;
604
+ height: 14px;
605
+ border: 1px solid #666;
606
+ line-height: 14px;
607
+ font-size: 14px;
608
+ border-radius: 50%;
609
+ text-align: center;
610
+ box-sizing: border-box;
611
+ cursor: pointer;
612
+ margin-left: 10px;
613
+ vertical-align: middle;
614
+ }
615
+
616
+ /* 分页样式 每页条数样式 */
617
+ .el-pagination {
618
+ .el-pagination__sizes {
619
+ .el-select {
620
+ .el-input__inner {
621
+ border-radius: 32px;
622
+ }
623
+ }
624
+ }
625
+ }
626
+
627
+ .i-b {
628
+ display: inline-block;
629
+ }
630
+
631
+ @import "./input.less";
632
+
633
+ .el-scrollbar__view.el-autocomplete-suggestion__list {
634
+ padding-bottom: 10px
635
+ }
636
+
637
+ .upload-btn.el-button--small {
638
+ padding: 9px 37px !important;
639
+ border-color: #2E6BE6;
640
+ color: #2E6BE6;
641
+
642
+ .icon {
643
+ margin-right: 3px;
644
+ color: #2E6BE6;
645
+ font-size: 12px;
646
+ }
647
+ }
648
+
649
+ .el-switch .el-switch__core {
650
+ border-color: rgba(0, 0, 0, 0.25);
651
+ }
652
+
653
+ .empty-text {
654
+ font-size: 14px;
655
+ color: #C9CDDC
656
+ }
657
+
658
+ .ttd-auth-form.margin0 {
659
+ margin: 0;
660
+ }
661
+
662
+ // 有些时候需要不撑满父元素的无数据组件
663
+ .un-full-no-data {
664
+ position: relative !important;
665
+
666
+ .content {
667
+ top: unset !important;
668
+ transform: unset !important;
669
+ }
670
+ }
671
+
672
+
673
+ // 超出一行省略
674
+ .ellipsls {
675
+ overflow: hidden;
676
+ text-overflow: ellipsis;
677
+ white-space: nowrap;
678
+ line-height: 20px;
679
+ }
680
+
681
+ // key-value 格子样式展示
682
+ .row-key-value-info {
683
+ display: -ms-flex;
684
+ display: flex;
685
+ -ms-flex-direction: row;
686
+ flex-direction: row;
687
+ height: 100%;
688
+ overflow: hidden !important;
689
+ border: 1px solid #D9DBE2;
690
+
691
+ .info-label {
692
+ border-right: 1px solid #D9DBE2;
693
+ background: #F8F8FA;
694
+ color: #7C879B;
695
+ display: flex;
696
+ align-items: center;
697
+ justify-content: center;
698
+ }
699
+
700
+ .info-label,
701
+ .info-value {
702
+ padding: 8px 12px
703
+ }
704
+
705
+ .info-value {
706
+ flex: 1 1 0%;
707
+ text-align: left;
708
+ }
709
+ }
710
+
711
+ .row-key-value-info+.row-key-value-info {
712
+ border-top: 0;
713
+ }
714
+
715
+ // 数据分块样式
716
+ .data-area {
717
+ margin-bottom: 16px;
718
+ }
719
+
720
+ .data-area + .data-area {
721
+ border-top: 1px solid #d9dbe2;
722
+ padding-top: 24px;
723
+ }
724
+
725
+ .export-loading {
726
+ .el-icon-loading, .el-loading-text {
727
+ .white();
728
+ }
729
+ }
@@ -0,0 +1,22 @@
1
+ @import '@/styles/components/reset.scss';
2
+
3
+ @import '@/styles/base.scss';
4
+
5
+ @import '@/styles/components/table.scss';
6
+
7
+ @import '@/styles/components/input.scss';
8
+
9
+ @import '@/styles/components/button.scss';
10
+
11
+ @import '@/styles/components/el-pagination.scss';
12
+
13
+ @import '@/styles/components/file-group.scss';
14
+
15
+ @import '@/styles/components/message.scss';
16
+
17
+
18
+
19
+ .wh-100 {
20
+ width: 100%;
21
+ height: 100%
22
+ }