style.scss 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /* 容器 */
  2. .upload-container{
  3. border-radius: 10px;
  4. background-color: rgba(255,255,255,0.08);
  5. }
  6. /* 容器 */
  7. /* 上传图片 */
  8. .upload-icon{
  9. @include square(40px);
  10. border-radius: 50%;
  11. border: 2px solid rgba(255,255,255,0.2);
  12. }
  13. .upload-icon i {
  14. color: rgba(255,255,255,0.2);
  15. font-size: 20px;
  16. font-weight: bold;
  17. }
  18. .upload-title{
  19. font-size: 14px;
  20. line-height: 20px;
  21. color: rgba(255,255,255,0.4);
  22. margin-top: 15px;
  23. }
  24. /* 上传图片 */
  25. /* 默认绝对定位容器 */
  26. .upload-screen{
  27. z-index: 2;
  28. top: 0;
  29. left: 0;
  30. bottom: 0;
  31. right: 0;
  32. }
  33. /* 默认绝对定位容器 */
  34. /* 上传的其他状态 */
  35. .upload-other{
  36. z-index: 3;
  37. }
  38. .upload-other-background{
  39. background-color: rgba(0,0,0,0.3);
  40. }
  41. .upload-other-icon{
  42. @include square(80px);
  43. }
  44. .upload-other-title{
  45. font-size: 18px;
  46. line-height: 22px;
  47. color: #fff;
  48. margin-top: -3px;
  49. }
  50. /* 上传的其他状态 */
  51. /* small */
  52. .upload-container-small .upload-other-icon{
  53. @include square(50px);
  54. margin-top: -6px;
  55. }
  56. .upload-container-small .upload-other-title{
  57. font-size: 14px;
  58. line-height: 18px;
  59. }
  60. /* small */