index.less 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. @charset "utf-8";
  2. .file-upload.type-none {
  3. position: absolute;
  4. top: 0;
  5. left: 0;
  6. bottom: 0;
  7. right: 0;
  8. cursor: pointer;
  9. input {
  10. top: 0;
  11. left: 0;
  12. bottom: 0;
  13. right: 0;
  14. opacity: 0;
  15. width: 100%;
  16. height: 100%;
  17. position: absolute;
  18. cursor: pointer;
  19. z-index: 1;
  20. }
  21. i {
  22. font-size: 20px;
  23. line-height: 100px;
  24. }
  25. }
  26. .file-upload.type-image {
  27. border: 1px dashed #d9d9d9;
  28. width: 100px;
  29. height: 100px;
  30. position: relative;
  31. text-align: center;
  32. display: inline-block;
  33. cursor: pointer;
  34. input {
  35. height: 100%;
  36. width: 100%;
  37. opacity: 0;
  38. position: absolute;
  39. cursor: pointer;
  40. z-index: 1;
  41. }
  42. i {
  43. font-size: 20px;
  44. line-height: 100px;
  45. }
  46. }
  47. .file-upload.type-logo {
  48. position: relative;
  49. cursor: pointer;
  50. input {
  51. position: absolute;
  52. width: 150px;
  53. height: 50px;
  54. opacity: 0;
  55. z-index: 1;
  56. cursor: pointer;
  57. }
  58. }
  59. .file-upload.type-file {
  60. position: relative;
  61. text-align: center;
  62. display: inline-block;
  63. cursor: pointer;
  64. input {
  65. height: 100%;
  66. width: 100%;
  67. opacity: 0;
  68. position: absolute;
  69. cursor: pointer;
  70. z-index: 1;
  71. }
  72. }