index.module.less 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. .uploadSection {
  2. width: 150px;
  3. height: 85px;
  4. background: #f8faf9;
  5. border-radius: 4px;
  6. border: 1px solid rgba(45, 199, 170, 0.26);
  7. font-size: 14px;
  8. color: #2dc7aa;
  9. line-height: 20px;
  10. }
  11. /deep/.video-js {
  12. width: 150px;
  13. height: 85px;
  14. }
  15. .uploadFile {
  16. width: 100%;
  17. min-width: 300px;
  18. height: 40px;
  19. border: 1px solid rgba(142, 142, 142, 0.26);
  20. border-radius: 10px;
  21. display: flex;
  22. align-items: center;
  23. padding: 0 15px;
  24. color: var(--el-text-color-regular);
  25. :global {
  26. .el-icon {
  27. margin-right: 5px;
  28. }
  29. }
  30. }
  31. .fileUpload {
  32. .uploadClass {
  33. position: relative;
  34. display: flex;
  35. width: 96px;
  36. }
  37. :global {
  38. .el-upload {
  39. justify-content: flex-start;
  40. }
  41. .el-upload--text {
  42. @apply w-full;
  43. }
  44. .el-loading-spinner {
  45. display: flex;
  46. align-items: center;
  47. height: 40px !important;
  48. justify-content: center;
  49. margin-top: -20px !important;
  50. svg {
  51. width: 20px;
  52. height: 20px;
  53. margin-right: 5px;
  54. }
  55. }
  56. }
  57. }
  58. .disabled .uploadClass {
  59. cursor: not-allowed !important;
  60. }
  61. .uploadClass {
  62. height: 85px;
  63. width: 100%;
  64. :global {
  65. .el-loading-spinner {
  66. margin-top: -33px;
  67. height: 85px;
  68. }
  69. }
  70. }