DropMediaFiles.style.js 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. import styled from 'styled-components'
  2. /////////////image
  3. export const DropImgWrap = styled.img`
  4. max-width: 100%;
  5. height: 80px;
  6. `;
  7. ////////////////////video
  8. export const DropVideoWrap = styled.video`
  9. // height: 200px;
  10. width: 100%;
  11. `;
  12. //////////////////////////////////////audio
  13. export const DropAudioWrap = styled.div`
  14. `;
  15. export const DropAudioPlayer = styled.audio`
  16. height: 30px;
  17. margin-top: 10px;
  18. width: 100%;
  19. `;
  20. export const DropAudioTitle = styled.div`
  21. `;
  22. export const DropFileHeader = styled.div`
  23. display: flex;
  24. justify-content: left;
  25. align-items: center;
  26. `
  27. ////////////////////////////////////////another files
  28. export const DropFileWrap = styled.div`
  29. display: flex;
  30. justify-content: left;
  31. align-items: center;
  32. `;
  33. export const DropFileIconWrap = styled.div`
  34. height: 40px;
  35. width: 40px;
  36. border-radius: 50%;
  37. background-color: #3498DB;
  38. display: flex;
  39. justify-content: center;
  40. align-items: center;
  41. margin-right: 10px;
  42. cursor: ${(props) => props.isAudio ? 'pointer' : 'auto'}
  43. `;
  44. export const DropFileIcon = styled.img`
  45. height: 24px;
  46. `;
  47. export const DropFileInfo = styled.div`
  48. `;
  49. export const DropFileTitle = styled.div`
  50. font-size: 14px;
  51. font-weight: 600;
  52. `;
  53. export const DropFileSize = styled.div`
  54. color: #a1a1a1;
  55. font-size: 14px;
  56. `;