@cmstops/pro-compo 0.3.18 → 0.3.20

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