@cmstops/pro-compo 0.3.17 → 0.3.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/dist/index.css +482 -54
  2. package/dist/index.min.css +1 -1
  3. package/es/colorPalette/style/index.css +10 -10
  4. package/es/colorPalette/style/index.less +29 -25
  5. package/es/contentDetailList/components/Content/GroupPieceItem/index.js +1 -1
  6. package/es/contentDetailList/components/Content/index.js +2 -2
  7. package/es/contentDetailList/style/GroupPieceItem.less +1 -1
  8. package/es/contentDetailList/style/index.css +15 -15
  9. package/es/index.css +482 -54
  10. package/es/index.d.ts +2 -0
  11. package/es/index.js +2 -0
  12. package/es/index.less +2 -0
  13. package/es/mediaGridList/component.d.ts +0 -0
  14. package/es/mediaGridList/component.js +222 -0
  15. package/es/mediaGridList/components/FileTypeThumb/index.d.ts +0 -0
  16. package/es/mediaGridList/components/FileTypeThumb/index.js +127 -0
  17. package/es/mediaGridList/index.d.ts +2 -0
  18. package/es/mediaGridList/index.js +7 -0
  19. package/es/mediaGridList/style/FileTypeThumb.less +204 -0
  20. package/es/mediaGridList/style/css.js +1 -0
  21. package/es/mediaGridList/style/index.css +364 -0
  22. package/es/mediaGridList/style/index.d.ts +1 -0
  23. package/es/mediaGridList/style/index.js +1 -0
  24. package/es/mediaGridList/style/index.less +230 -0
  25. package/es/mediaView/component.d.ts +0 -0
  26. package/es/mediaView/component.js +65 -0
  27. package/es/mediaView/index.d.ts +2 -0
  28. package/es/mediaView/index.js +7 -0
  29. package/es/mediaView/style/css.js +1 -0
  30. package/es/mediaView/style/index.css +64 -0
  31. package/es/mediaView/style/index.d.ts +1 -0
  32. package/es/mediaView/style/index.js +1 -0
  33. package/es/mediaView/style/index.less +71 -0
  34. package/es/resourceModal/components/MediaPreviewer/index.js +1 -1
  35. package/es/resourceModal/components/MediaSelection/MainContent/index.js +2 -2
  36. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +1 -1
  37. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +1 -1
  38. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +1 -1
  39. package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.js +1 -1
  40. package/es/resourceModal/style/FileTypeThumb.less +26 -26
  41. package/es/resourceModal/style/MainContent.less +3 -3
  42. package/es/resourceModal/style/SystemResourceSelected.less +1 -1
  43. package/es/resourceModal/style/index.css +29 -29
  44. package/es/uploadBefore/script/fileTypeAdapter.d.ts +1 -1
  45. package/es/utils/typeMap.d.ts +1 -1
  46. package/es/utils/typeMap.js +2 -2
  47. package/lib/colorPalette/style/index.css +10 -10
  48. package/lib/colorPalette/style/index.less +29 -25
  49. package/lib/contentDetailList/components/Content/GroupPieceItem/index.js +1 -1
  50. package/lib/contentDetailList/components/Content/index.js +2 -2
  51. package/lib/contentDetailList/style/GroupPieceItem.less +1 -1
  52. package/lib/contentDetailList/style/index.css +15 -15
  53. package/lib/index.css +482 -54
  54. package/lib/index.js +4 -0
  55. package/lib/index.less +2 -0
  56. package/lib/mediaGridList/component.js +223 -0
  57. package/lib/mediaGridList/components/FileTypeThumb/index.js +128 -0
  58. package/lib/mediaGridList/index.js +8 -0
  59. package/lib/mediaGridList/style/FileTypeThumb.less +204 -0
  60. package/lib/mediaGridList/style/css.js +2 -0
  61. package/lib/mediaGridList/style/index.css +364 -0
  62. package/lib/mediaGridList/style/index.js +2 -0
  63. package/lib/mediaGridList/style/index.less +230 -0
  64. package/lib/mediaView/component.js +66 -0
  65. package/lib/mediaView/index.js +8 -0
  66. package/lib/mediaView/style/css.js +2 -0
  67. package/lib/mediaView/style/index.css +64 -0
  68. package/lib/mediaView/style/index.js +2 -0
  69. package/lib/mediaView/style/index.less +71 -0
  70. package/lib/resourceModal/components/MediaPreviewer/index.js +1 -1
  71. package/lib/resourceModal/components/MediaSelection/MainContent/index.js +2 -2
  72. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +1 -1
  73. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +1 -1
  74. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +1 -1
  75. package/lib/resourceModal/components/MediaSelection/ToolbarSearch/index.js +1 -1
  76. package/lib/resourceModal/style/FileTypeThumb.less +26 -26
  77. package/lib/resourceModal/style/MainContent.less +3 -3
  78. package/lib/resourceModal/style/SystemResourceSelected.less +1 -1
  79. package/lib/resourceModal/style/index.css +29 -29
  80. package/lib/utils/typeMap.js +2 -2
  81. package/package.json +1 -1
  82. /package/es/{resourceModal/assets → assets}/images/sys_load_more.js +0 -0
  83. /package/es/{resourceModal/assets → assets}/images/unknown.js +0 -0
  84. /package/es/{resourceModal/assets → assets}/selection/null.js +0 -0
  85. /package/es/{resourceModal/script → utils}/filter.d.ts +0 -0
  86. /package/es/{resourceModal/script → utils}/filter.js +0 -0
  87. /package/lib/{resourceModal/assets → assets}/images/sys_load_more.js +0 -0
  88. /package/lib/{resourceModal/assets → assets}/images/unknown.js +0 -0
  89. /package/lib/{resourceModal/assets → assets}/selection/null.js +0 -0
  90. /package/lib/{resourceModal/script → utils}/filter.js +0 -0
package/es/index.css CHANGED
@@ -683,7 +683,7 @@
683
683
  height: 46px;
684
684
  overflow: hidden;
685
685
  font-size: 0;
686
- background: url('../assets/selection/folder.png') no-repeat 13px center;
686
+ background: url('../../assets/selection/folder.png') no-repeat 13px center;
687
687
  background-size: 17px auto;
688
688
  border: solid 1px transparent;
689
689
  border-radius: 4px;
@@ -762,7 +762,7 @@
762
762
  .simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .file-list .item .shadow-wrap .thumb-wrap {
763
763
  position: relative;
764
764
  width: 100%;
765
- background: url('../assets/selection/picBg.png');
765
+ background: url('../../assets/selection/picBg.png');
766
766
  }
767
767
  .simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .file-list .item .shadow-wrap h4,
768
768
  .simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .file-list .item .shadow-wrap p {
@@ -904,7 +904,7 @@
904
904
  width: 100%;
905
905
  padding-top: 56.25%;
906
906
  background-color: #fff;
907
- background-image: url('../assets/images/unknown.png');
907
+ background-image: url('../../assets/images/unknown.png');
908
908
  background-repeat: no-repeat;
909
909
  background-repeat: repeat-x;
910
910
  background-position: top;
@@ -915,76 +915,76 @@
915
915
  transition: ease-out 0.4s;
916
916
  }
917
917
  .file-type-thumb .audio {
918
- background-image: url('../assets/images/music.png') !important;
918
+ background-image: url('../../assets/images/music.png') !important;
919
919
  }
920
920
  .file-type-thumb .audio.doc {
921
- background-image: url('../assets/images/draf.png') !important;
921
+ background-image: url('../../assets/images/draf.png') !important;
922
922
  }
923
923
  .file-type-thumb .project {
924
- background-image: url('../assets/images/project1.png') !important;
924
+ background-image: url('../../assets/images/project1.png') !important;
925
925
  }
926
926
  .file-type-thumb .doc {
927
- background-image: url('../assets/images/draf.png');
927
+ background-image: url('../../assets/images/draf.png');
928
928
  }
929
929
  .file-type-thumb .link {
930
- background-image: url('../assets/images/link.png');
930
+ background-image: url('../../assets/images/link.png');
931
931
  }
932
932
  .file-type-thumb .sp_topic {
933
- background-image: url('../assets/images/link.png');
933
+ background-image: url('../../assets/images/link.png');
934
934
  }
935
935
  .file-type-thumb .live {
936
- background-image: url('../assets/images/live.png');
936
+ background-image: url('../../assets/images/live.png');
937
937
  }
938
938
  .file-type-thumb .pdf {
939
- background-image: url('../assets/images/pdf.png') !important;
939
+ background-image: url('../../assets/images/pdf.png') !important;
940
940
  }
941
941
  .file-type-thumb .officeexcel {
942
- background-image: url('../assets/images/excel.png') !important;
942
+ background-image: url('../../assets/images/excel.png') !important;
943
943
  }
944
944
  .file-type-thumb .officeppt {
945
- background-image: url('../assets/images/ppt.png') !important;
945
+ background-image: url('../../assets/images/ppt.png') !important;
946
946
  }
947
947
  .file-type-thumb .zip {
948
- background-image: url('../assets/images/zip.png') !important;
948
+ background-image: url('../../assets/images/zip.png') !important;
949
949
  }
950
950
  .file-type-thumb .rar {
951
- background-image: url('../assets/images/rar.png') !important;
951
+ background-image: url('../../assets/images/rar.png') !important;
952
952
  }
953
953
  .file-type-thumb .txt {
954
- background-image: url('../assets/images/txt.png') !important;
954
+ background-image: url('../../assets/images/txt.png') !important;
955
955
  }
956
956
  .file-type-thumb .exe {
957
- background-image: url('../assets/images/exe.png') !important;
957
+ background-image: url('../../assets/images/exe.png') !important;
958
958
  }
959
959
  .file-type-thumb .html {
960
- background-image: url('../assets/images/html.png') !important;
960
+ background-image: url('../../assets/images/html.png') !important;
961
961
  }
962
962
  .file-type-thumb .officedoc {
963
- background-image: url('../assets/images/word.png') !important;
963
+ background-image: url('../../assets/images/word.png') !important;
964
964
  }
965
965
  .file-type-thumb .wechat {
966
- background-image: url('../assets/images/wechat.png') !important;
966
+ background-image: url('../../assets/images/wechat.png') !important;
967
967
  }
968
968
  .file-type-thumb .h5 {
969
- background-image: url('../assets/images/h5.png') !important;
969
+ background-image: url('../../assets/images/h5.png') !important;
970
970
  }
971
971
  .file-type-thumb .ad {
972
- background-image: url('../assets/images/ad.png') !important;
972
+ background-image: url('../../assets/images/ad.png') !important;
973
973
  }
974
974
  .file-type-thumb .booklink {
975
- background-image: url('../assets/images/booklink.png') !important;
975
+ background-image: url('../../assets/images/booklink.png') !important;
976
976
  }
977
977
  .file-type-thumb .activity {
978
- background-image: url('../assets/images/activity.png') !important;
978
+ background-image: url('../../assets/images/activity.png') !important;
979
979
  }
980
980
  .file-type-thumb .svideo {
981
- background-image: url('../assets/images/svideo.png') !important;
981
+ background-image: url('../../assets/images/svideo.png') !important;
982
982
  }
983
983
  .file-type-thumb .cloud_lottery {
984
- background-image: url('../assets/images/cloud_lottery.png') !important;
984
+ background-image: url('../../assets/images/cloud_lottery.png') !important;
985
985
  }
986
986
  .file-type-thumb .cloud_form {
987
- background-image: url('../assets/images/cloud_form.png') !important;
987
+ background-image: url('../../assets/images/cloud_form.png') !important;
988
988
  }
989
989
  .file-type-thumb .illegal-media-warning {
990
990
  position: absolute;
@@ -992,7 +992,7 @@
992
992
  width: 100%;
993
993
  height: 100%;
994
994
  background-color: rgba(0, 0, 0, 0.65);
995
- background-image: url('../assets/images/unknown.png');
995
+ background-image: url('../../assets/images/unknown.png');
996
996
  background-repeat: no-repeat;
997
997
  background-position: center;
998
998
  background-size: 30%;
@@ -1152,7 +1152,7 @@
1152
1152
  .sys-res-file-list .item .shadow-wrap .thumb-wrap {
1153
1153
  position: relative;
1154
1154
  width: 100%;
1155
- background: url('../assets/selection/picBg.png');
1155
+ background: url('../../assets/selection/picBg.png');
1156
1156
  }
1157
1157
  .sys-res-file-list .item .shadow-wrap h4,
1158
1158
  .sys-res-file-list .item .shadow-wrap p {
@@ -2666,15 +2666,15 @@
2666
2666
  .popper-categories {
2667
2667
  max-width: 600px;
2668
2668
  }
2669
- .medialist-group-piece-item-view {
2669
+ .medialist-group_list-item-view {
2670
2670
  display: flex;
2671
2671
  padding: 10px;
2672
2672
  border-bottom: 1px solid #f0f0f0;
2673
2673
  }
2674
- .medialist-group-piece-item-view:hover {
2674
+ .medialist-group_list-item-view:hover {
2675
2675
  background: #fafafa;
2676
2676
  }
2677
- .medialist-group-piece-item-view .cover-view {
2677
+ .medialist-group_list-item-view .cover-view {
2678
2678
  position: relative;
2679
2679
  flex-shrink: 0;
2680
2680
  width: 110px;
@@ -2682,16 +2682,16 @@
2682
2682
  margin-right: 20px;
2683
2683
  background: transparent;
2684
2684
  }
2685
- .medialist-group-piece-item-view .cover-view .image {
2685
+ .medialist-group_list-item-view .cover-view .image {
2686
2686
  width: 100%;
2687
2687
  height: 100%;
2688
2688
  border-radius: 4px;
2689
2689
  }
2690
- .medialist-group-piece-item-view .cover-view .image img {
2690
+ .medialist-group_list-item-view .cover-view .image img {
2691
2691
  width: 100%;
2692
2692
  height: 100%;
2693
2693
  }
2694
- .medialist-group-piece-item-view .cover-view .no-img {
2694
+ .medialist-group_list-item-view .cover-view .no-img {
2695
2695
  display: flex;
2696
2696
  align-items: center;
2697
2697
  justify-content: center;
@@ -2700,14 +2700,14 @@
2700
2700
  color: white;
2701
2701
  font-size: 30px;
2702
2702
  }
2703
- .medialist-group-piece-item-view .info-view {
2703
+ .medialist-group_list-item-view .info-view {
2704
2704
  display: flex;
2705
2705
  flex-direction: column;
2706
2706
  justify-content: space-between;
2707
2707
  width: calc(100% - 130px);
2708
2708
  padding: 2px 0;
2709
2709
  }
2710
- .medialist-group-piece-item-view .info-view .title {
2710
+ .medialist-group_list-item-view .info-view .title {
2711
2711
  display: flex;
2712
2712
  align-items: center;
2713
2713
  margin-bottom: 10px;
@@ -2721,12 +2721,12 @@
2721
2721
  -webkit-line-clamp: 2;
2722
2722
  -webkit-box-orient: vertical;
2723
2723
  }
2724
- .medialist-group-piece-item-view .info-view .abttrite-v {
2724
+ .medialist-group_list-item-view .info-view .abttrite-v {
2725
2725
  display: flex;
2726
2726
  align-items: center;
2727
2727
  justify-content: space-between;
2728
2728
  }
2729
- .medialist-group-piece-item-view .info-view .abttrite-v .left {
2729
+ .medialist-group_list-item-view .info-view .abttrite-v .left {
2730
2730
  display: flex;
2731
2731
  flex: 1;
2732
2732
  align-items: center;
@@ -2734,10 +2734,10 @@
2734
2734
  color: #808692;
2735
2735
  font-size: 12px;
2736
2736
  }
2737
- .medialist-group-piece-item-view .info-view .abttrite-v .left .icon {
2737
+ .medialist-group_list-item-view .info-view .abttrite-v .left .icon {
2738
2738
  margin-right: 8px;
2739
2739
  }
2740
- .medialist-group-piece-item-view .info-view .abttrite-v .left .tags {
2740
+ .medialist-group_list-item-view .info-view .abttrite-v .left .tags {
2741
2741
  display: inline-block;
2742
2742
  width: 200px;
2743
2743
  overflow: hidden;
@@ -2745,17 +2745,17 @@
2745
2745
  text-overflow: ellipsis;
2746
2746
  cursor: pointer;
2747
2747
  }
2748
- .medialist-group-piece-item-view .info-view .abttrite-v .left .abttr {
2748
+ .medialist-group_list-item-view .info-view .abttrite-v .left .abttr {
2749
2749
  width: 35%;
2750
2750
  overflow: hidden;
2751
2751
  white-space: nowrap;
2752
2752
  text-overflow: ellipsis;
2753
2753
  cursor: pointer;
2754
2754
  }
2755
- .medialist-group-piece-item-view .info-view .abttrite-v .left .abttr.value {
2755
+ .medialist-group_list-item-view .info-view .abttrite-v .left .abttr.value {
2756
2756
  margin-left: 10px;
2757
2757
  }
2758
- .medialist-group-piece-item-view .info-view .abttrite-v .right {
2758
+ .medialist-group_list-item-view .info-view .abttrite-v .right {
2759
2759
  flex-shrink: 0;
2760
2760
  margin-right: 20px;
2761
2761
  }
@@ -3860,30 +3860,30 @@
3860
3860
  overflow: hidden;
3861
3861
  }
3862
3862
  .color-palette-container .color-radio-group .arco-radio-button {
3863
+ position: relative;
3863
3864
  width: 32px;
3864
3865
  height: 32px;
3865
3866
  padding: 0;
3866
- font-size: 0 !important;
3867
3867
  overflow: hidden !important;
3868
+ font-size: 0 !important;
3868
3869
  background: transparent !important;
3869
3870
  border-width: 0 !important;
3870
3871
  box-shadow: none !important;
3871
- position: relative;
3872
3872
  }
3873
3873
  .color-palette-container .color-radio-group .arco-radio-button.arco-radio-checked::after {
3874
+ position: absolute;
3875
+ top: 7px;
3876
+ left: 12px;
3874
3877
  box-sizing: content-box;
3875
- content: '';
3878
+ width: 5px;
3879
+ height: 11px;
3876
3880
  border: 2px solid #fff;
3877
- border-left: 0;
3878
3881
  border-top: 0;
3879
- height: 11px;
3880
- left: 12px;
3881
- position: absolute;
3882
- top: 7px;
3882
+ border-left: 0;
3883
3883
  transform: rotate(45deg) scaleY(1);
3884
- width: 5px;
3885
- transition: transform 0.15s ease-in 0.05s;
3886
3884
  transform-origin: center;
3885
+ transition: transform 0.15s ease-in 0.05s;
3886
+ content: '';
3887
3887
  }
3888
3888
  .color-palette-container .color-picker-input {
3889
3889
  width: 32px;
@@ -3891,3 +3891,431 @@
3891
3891
  padding: 0 2px;
3892
3892
  border: none;
3893
3893
  }
3894
+ .file-type-thumb {
3895
+ position: relative;
3896
+ width: 100%;
3897
+ }
3898
+ .file-type-thumb:hover .mask {
3899
+ display: flex;
3900
+ }
3901
+ .file-type-thumb .mask {
3902
+ position: absolute;
3903
+ top: 0;
3904
+ display: none;
3905
+ align-items: center;
3906
+ justify-content: center;
3907
+ width: 100%;
3908
+ height: 100%;
3909
+ color: #eaeaea;
3910
+ font-size: 18px;
3911
+ background: rgba(0, 0, 0, 0.3);
3912
+ }
3913
+ .file-type-thumb .mask i {
3914
+ display: inline-block;
3915
+ cursor: pointer;
3916
+ }
3917
+ .file-type-thumb .mask i:active {
3918
+ opacity: 0.4;
3919
+ }
3920
+ .file-type-thumb .mask .half {
3921
+ display: flex;
3922
+ align-items: center;
3923
+ justify-content: center;
3924
+ width: 48%;
3925
+ height: 100%;
3926
+ }
3927
+ .file-type-thumb .mask .half:hover {
3928
+ cursor: pointer;
3929
+ opacity: 0.7;
3930
+ }
3931
+ .file-type-thumb .mask .el-divider {
3932
+ margin: 0;
3933
+ opacity: 0.4;
3934
+ }
3935
+ .file-type-thumb .transparent {
3936
+ position: absolute;
3937
+ top: 0;
3938
+ width: 100%;
3939
+ height: 100%;
3940
+ }
3941
+ .file-type-thumb .transparent:hover {
3942
+ cursor: pointer;
3943
+ }
3944
+ .file-type-thumb .tag {
3945
+ position: absolute;
3946
+ top: 8px;
3947
+ left: 5px;
3948
+ padding: 2px 8px;
3949
+ color: white;
3950
+ font-size: 12px;
3951
+ background-color: rgba(#000, #000, #000, 0.4);
3952
+ border-radius: 12px;
3953
+ }
3954
+ .file-type-thumb .rate-info-tag {
3955
+ top: 8px;
3956
+ left: 5px;
3957
+ }
3958
+ .file-type-thumb .ai-tag {
3959
+ top: 8px;
3960
+ right: 5px;
3961
+ }
3962
+ .file-type-thumb .pic {
3963
+ width: 100%;
3964
+ padding-top: 56.25%;
3965
+ background-color: #fff;
3966
+ background-image: url('../../assets/images/unknown.png');
3967
+ background-repeat: no-repeat;
3968
+ background-repeat: repeat-x;
3969
+ background-position: top;
3970
+ background-size: cover;
3971
+ }
3972
+ .file-type-thumb .pic:hover {
3973
+ transform: scale(1.02);
3974
+ transition: ease-out 0.4s;
3975
+ }
3976
+ .file-type-thumb .audio {
3977
+ background-image: url('../../assets/images/music.png') !important;
3978
+ }
3979
+ .file-type-thumb .audio.doc {
3980
+ background-image: url('../../assets/images/draf.png') !important;
3981
+ }
3982
+ .file-type-thumb .project {
3983
+ background-image: url('../../assets/images/project1.png') !important;
3984
+ }
3985
+ .file-type-thumb .doc {
3986
+ background-image: url('../../assets/images/draf.png');
3987
+ }
3988
+ .file-type-thumb .link {
3989
+ background-image: url('../../assets/images/link.png');
3990
+ }
3991
+ .file-type-thumb .sp_topic {
3992
+ background-image: url('../../assets/images/link.png');
3993
+ }
3994
+ .file-type-thumb .live {
3995
+ background-image: url('../../assets/images/live.png');
3996
+ }
3997
+ .file-type-thumb .pdf {
3998
+ background-image: url('../../assets/images/pdf.png') !important;
3999
+ }
4000
+ .file-type-thumb .officeexcel {
4001
+ background-image: url('../../assets/images/excel.png') !important;
4002
+ }
4003
+ .file-type-thumb .officeppt {
4004
+ background-image: url('../../assets/images/ppt.png') !important;
4005
+ }
4006
+ .file-type-thumb .zip {
4007
+ background-image: url('../../assets/images/zip.png') !important;
4008
+ }
4009
+ .file-type-thumb .rar {
4010
+ background-image: url('../../assets/images/rar.png') !important;
4011
+ }
4012
+ .file-type-thumb .txt {
4013
+ background-image: url('../../assets/images/txt.png') !important;
4014
+ }
4015
+ .file-type-thumb .exe {
4016
+ background-image: url('../../assets/images/exe.png') !important;
4017
+ }
4018
+ .file-type-thumb .html {
4019
+ background-image: url('../../assets/images/html.png') !important;
4020
+ }
4021
+ .file-type-thumb .officedoc {
4022
+ background-image: url('../../assets/images/word.png') !important;
4023
+ }
4024
+ .file-type-thumb .wechat {
4025
+ background-image: url('../../assets/images/wechat.png') !important;
4026
+ }
4027
+ .file-type-thumb .h5 {
4028
+ background-image: url('../../assets/images/h5.png') !important;
4029
+ }
4030
+ .file-type-thumb .ad {
4031
+ background-image: url('../../assets/images/ad.png') !important;
4032
+ }
4033
+ .file-type-thumb .booklink {
4034
+ background-image: url('../../assets/images/booklink.png') !important;
4035
+ }
4036
+ .file-type-thumb .activity {
4037
+ background-image: url('../../assets/images/activity.png') !important;
4038
+ }
4039
+ .file-type-thumb .svideo {
4040
+ background-image: url('../../assets/images/svideo.png') !important;
4041
+ }
4042
+ .file-type-thumb .cloud_lottery {
4043
+ background-image: url('../../assets/images/cloud_lottery.png') !important;
4044
+ }
4045
+ .file-type-thumb .cloud_form {
4046
+ background-image: url('../../assets/images/cloud_form.png') !important;
4047
+ }
4048
+ .file-type-thumb .illegal-media-warning {
4049
+ position: absolute;
4050
+ top: 0;
4051
+ width: 100%;
4052
+ height: 100%;
4053
+ background-color: rgba(0, 0, 0, 0.65);
4054
+ background-image: url('../../assets/images/unknown.png');
4055
+ background-repeat: no-repeat;
4056
+ background-position: center;
4057
+ background-size: 30%;
4058
+ }
4059
+ .media-grid-list-scroll {
4060
+ height: 100%;
4061
+ overflow: auto;
4062
+ }
4063
+ .media-grid-list-scroll .file-wrap .folder-list {
4064
+ display: flex;
4065
+ flex-wrap: wrap;
4066
+ padding-left: 20px;
4067
+ }
4068
+ .media-grid-list-scroll .file-wrap .folder-list .folder-item {
4069
+ width: 20%;
4070
+ cursor: pointer;
4071
+ }
4072
+ .media-grid-list-scroll .file-wrap .folder-list .folder-item .wrap {
4073
+ margin: 0 20px 10px 0;
4074
+ background: #fff;
4075
+ border: 1px solid #ebeef5;
4076
+ border-radius: 4px;
4077
+ }
4078
+ .media-grid-list-scroll .file-wrap .folder-list .folder-item .wrap:hover,
4079
+ .media-grid-list-scroll .file-wrap .folder-list .folder-item .wrap.active {
4080
+ background: #ecf2ff;
4081
+ }
4082
+ .media-grid-list-scroll .file-wrap .folder-list .folder-item .wrap:hover .thumb,
4083
+ .media-grid-list-scroll .file-wrap .folder-list .folder-item .wrap.active .thumb {
4084
+ border-color: #4886ff;
4085
+ transition: ease-out 0.3s;
4086
+ }
4087
+ .media-grid-list-scroll .file-wrap .folder-list .folder-item .wrap:hover h4,
4088
+ .media-grid-list-scroll .file-wrap .folder-list .folder-item .wrap.active h4 {
4089
+ color: #1a67d2;
4090
+ }
4091
+ .media-grid-list-scroll .file-wrap .folder-list .folder-item .wrap .thumb {
4092
+ height: 46px;
4093
+ overflow: hidden;
4094
+ font-size: 0;
4095
+ background: url('../../assets/selection/folder.png') no-repeat 13px center;
4096
+ background-size: 17px auto;
4097
+ border: solid 1px transparent;
4098
+ border-radius: 4px;
4099
+ }
4100
+ .media-grid-list-scroll .file-wrap .folder-list .folder-item .wrap h4 {
4101
+ margin: 0;
4102
+ padding-left: 43px;
4103
+ overflow: hidden;
4104
+ color: #000;
4105
+ font-weight: normal;
4106
+ font-size: 14px;
4107
+ line-height: 42px;
4108
+ white-space: nowrap;
4109
+ text-overflow: ellipsis;
4110
+ word-wrap: normal;
4111
+ opacity: 0.85;
4112
+ }
4113
+ .media-grid-list-scroll .file-wrap .folder-list .folder-more-button {
4114
+ width: 20%;
4115
+ overflow: hidden;
4116
+ }
4117
+ .media-grid-list-scroll .file-wrap .folder-list .folder-more-button .folder-more-wrap {
4118
+ box-sizing: border-box;
4119
+ height: 52px;
4120
+ margin-right: 20px;
4121
+ padding: 14px 16px;
4122
+ line-height: 24px;
4123
+ background: #f7f8fa;
4124
+ border: 1px solid transparent;
4125
+ border-radius: 4px;
4126
+ }
4127
+ .media-grid-list-scroll .file-wrap .folder-list .folder-more-button .folder-more-wrap:hover {
4128
+ color: #165dff;
4129
+ background: #f2f3f5;
4130
+ border: 1px solid #4886ff;
4131
+ box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.1);
4132
+ cursor: pointer;
4133
+ }
4134
+ .media-grid-list-scroll .file-wrap .file-list {
4135
+ display: flex;
4136
+ flex-wrap: wrap;
4137
+ padding-left: 20px;
4138
+ }
4139
+ .media-grid-list-scroll .file-wrap .file-list .item {
4140
+ position: relative;
4141
+ width: 20%;
4142
+ overflow: hidden;
4143
+ cursor: pointer;
4144
+ }
4145
+ .media-grid-list-scroll .file-wrap .file-list .item .move-action {
4146
+ opacity: 0.5;
4147
+ }
4148
+ .media-grid-list-scroll .file-wrap .file-list .item .shadow-wrap {
4149
+ position: relative;
4150
+ margin: 0 20px 18px 0;
4151
+ overflow: hidden;
4152
+ background: #fff;
4153
+ border: 1px solid #ebeef5;
4154
+ border-radius: 4px;
4155
+ }
4156
+ .media-grid-list-scroll .file-wrap .file-list .item .shadow-wrap::after {
4157
+ position: absolute;
4158
+ top: 0;
4159
+ left: 0;
4160
+ box-sizing: border-box;
4161
+ width: 100%;
4162
+ height: 100%;
4163
+ border: 2px solid #4886ff;
4164
+ opacity: 0;
4165
+ transition: all 0.3s;
4166
+ content: '';
4167
+ pointer-events: none;
4168
+ }
4169
+ .media-grid-list-scroll .file-wrap .file-list .item .shadow-wrap:hover {
4170
+ box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.1);
4171
+ }
4172
+ .media-grid-list-scroll .file-wrap .file-list .item .shadow-wrap:hover::after {
4173
+ opacity: 1;
4174
+ }
4175
+ .media-grid-list-scroll .file-wrap .file-list .item .shadow-wrap .transcoding-in-progress {
4176
+ position: absolute;
4177
+ top: 0;
4178
+ display: flex;
4179
+ align-items: center;
4180
+ justify-content: center;
4181
+ width: 100%;
4182
+ height: 100%;
4183
+ color: floralwhite;
4184
+ background: rgba(0, 0, 0, 0.3);
4185
+ }
4186
+ .media-grid-list-scroll .file-wrap .file-list .item .shadow-wrap .thumb-wrap {
4187
+ position: relative;
4188
+ width: 100%;
4189
+ background: url('../../assets/selection/picBg.png');
4190
+ }
4191
+ .media-grid-list-scroll .file-wrap .file-list .item .shadow-wrap h4,
4192
+ .media-grid-list-scroll .file-wrap .file-list .item .shadow-wrap p {
4193
+ margin-top: 10px;
4194
+ margin-bottom: 10px;
4195
+ padding: 0 10px;
4196
+ overflow: hidden;
4197
+ color: rgba(0, 0, 0, 0.85);
4198
+ font-size: 14px;
4199
+ white-space: nowrap;
4200
+ text-overflow: ellipsis;
4201
+ word-wrap: normal;
4202
+ }
4203
+ .media-grid-list-scroll .file-wrap .file-list .item .shadow-wrap h4 i,
4204
+ .media-grid-list-scroll .file-wrap .file-list .item .shadow-wrap p i,
4205
+ .media-grid-list-scroll .file-wrap .file-list .item .shadow-wrap h4 svg,
4206
+ .media-grid-list-scroll .file-wrap .file-list .item .shadow-wrap p svg {
4207
+ margin-right: 4px;
4208
+ color: #e75258;
4209
+ font-size: 16px;
4210
+ vertical-align: middle;
4211
+ }
4212
+ .media-grid-list-scroll .file-wrap .file-list .item .shadow-wrap h4 svg,
4213
+ .media-grid-list-scroll .file-wrap .file-list .item .shadow-wrap p svg {
4214
+ margin-right: 4px;
4215
+ font-size: 16px;
4216
+ vertical-align: middle;
4217
+ }
4218
+ .media-grid-list-scroll .file-wrap .file-list .item .shadow-wrap h4 span,
4219
+ .media-grid-list-scroll .file-wrap .file-list .item .shadow-wrap p span {
4220
+ vertical-align: middle;
4221
+ }
4222
+ .media-grid-list-scroll .file-wrap .file-list .item .shadow-wrap p {
4223
+ font-weight: normal;
4224
+ font-size: 12px;
4225
+ line-height: 1em;
4226
+ opacity: 0.65;
4227
+ }
4228
+ .media-grid-list-scroll .file-wrap .file-list::after {
4229
+ height: 50px;
4230
+ }
4231
+ .media-grid-list-scroll .file-wrap .load_more_title {
4232
+ display: flex;
4233
+ align-items: center;
4234
+ justify-content: center;
4235
+ width: 100%;
4236
+ height: 40px;
4237
+ }
4238
+ .media-grid-list-scroll .file-wrap .load_more_title .loadmore_tips,
4239
+ .media-grid-list-scroll .file-wrap .load_more_title .nomore_tips {
4240
+ color: #949494;
4241
+ }
4242
+ .media-grid-list-scroll .file-wrap .null-file {
4243
+ position: absolute;
4244
+ top: 50%;
4245
+ left: 50%;
4246
+ transform: translate(-50%, -70%);
4247
+ }
4248
+ .media-grid-list-scroll .file-wrap .null-file .null-pic {
4249
+ display: block;
4250
+ width: 30%;
4251
+ margin: 20px auto;
4252
+ }
4253
+ .media-grid-list-scroll .file-wrap .null-file p {
4254
+ color: #a2a3a7;
4255
+ font-size: 14px;
4256
+ text-align: center;
4257
+ }
4258
+ .media-view-component {
4259
+ position: fixed;
4260
+ top: 0;
4261
+ left: 0;
4262
+ z-index: 100;
4263
+ width: 100%;
4264
+ height: 100%;
4265
+ background-color: rgba(0, 0, 0, 0.3);
4266
+ }
4267
+ .media-view-component .viewer-close {
4268
+ position: absolute;
4269
+ top: 36px;
4270
+ right: 36px;
4271
+ z-index: 99999;
4272
+ display: flex;
4273
+ align-items: center;
4274
+ justify-content: center;
4275
+ width: 32px;
4276
+ height: 32px;
4277
+ color: #fff;
4278
+ font-size: 14px;
4279
+ line-height: 32px;
4280
+ text-align: center;
4281
+ background: rgba(0, 0, 0, 0.5);
4282
+ border-radius: 50%;
4283
+ cursor: pointer;
4284
+ }
4285
+ .media-view-component .viewer-canvas {
4286
+ display: -webkit-box;
4287
+ display: flex;
4288
+ align-items: center;
4289
+ justify-content: center;
4290
+ width: 100%;
4291
+ height: 100%;
4292
+ -webkit-box-pack: center;
4293
+ -webkit-box-align: center;
4294
+ }
4295
+ .media-view-component .viewer-canvas .video {
4296
+ z-index: 101;
4297
+ width: 1000px;
4298
+ max-height: 90vh;
4299
+ object-fit: contain;
4300
+ overflow: clip;
4301
+ overflow-clip-margin: content-box;
4302
+ }
4303
+ .media-view-component .viewer-canvas .audio {
4304
+ width: 400px;
4305
+ height: 54px;
4306
+ }
4307
+ .media-view-component .viewer-canvas .other {
4308
+ display: flex;
4309
+ flex-direction: column;
4310
+ align-items: center;
4311
+ width: 240px;
4312
+ height: 200px;
4313
+ }
4314
+ .media-view-component .viewer-canvas .other img {
4315
+ width: 100%;
4316
+ height: 100%;
4317
+ }
4318
+ .media-view-component .viewer-canvas .other .text {
4319
+ color: #fff;
4320
+ font-size: 18px;
4321
+ }