1
0

attachment.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. div.bx-messenger-attachment-file-images img {
  2. @apply float-left mt-1 cursor-zoom-in rounded;
  3. }
  4. .bx-messenger-attachment-file {
  5. @apply float-left overflow-hidden text-6xl rounded border-2 border-gray-900 dark:border-white p-2 relative
  6. max-w-[320px] w-full flex items-center;
  7. }
  8. .bx-messenger-attachment-file-wrapper {
  9. @apply w-full overflow-hidden flex mb-2;
  10. }
  11. .bx-messenger-attachment-accordion {
  12. @apply text-xs flex space-x-2 p-[0.325rem] w-fit items-center;
  13. }
  14. .bx-messenger-attachment {
  15. @apply overflow-hidden relative m-2 w-auto pl-3;
  16. }
  17. .bx-messenger-attachment-area {
  18. @apply max-w-full flex flex-col;
  19. }
  20. .bx-messenger-attachment-file-videos,
  21. .bx-messenger-attachment-file-images,
  22. .bx-messenger-attachment-file-audio
  23. {
  24. @apply w-full text-left mb-2 overflow-hidden max-w-[80%];
  25. }
  26. .bx-messenger-media-wrapper {
  27. @apply w-full mb-2;
  28. }
  29. div.bx-messenger-attachment-header span.bx-messenger-attachment-author-icon img
  30. {
  31. width:1rem;
  32. height:1rem;
  33. top: 4px;
  34. position: relative;
  35. }
  36. div.bx-messenger-attachment div.bx-messenger-attachment-author-message
  37. {
  38. position: relative;
  39. margin-top: 0.5rem;
  40. margin-bottom: 0.5rem;
  41. opacity: 1;
  42. white-space:pre-line;
  43. }
  44. div.bx-messenger-attachment-footer
  45. {
  46. text-transform:lowercase;
  47. }
  48. div.bx-messenger-attachment-footer span.type
  49. {
  50. border-right:1px solid rgba(0,0,0,0.1);
  51. padding-right:0.2rem;
  52. }
  53. .bx-messenger-attachment-files
  54. {
  55. position: relative;
  56. margin-top: 0.5rem;
  57. width: auto;
  58. white-space:normal;
  59. }
  60. .bx-messenger-attachment-group{
  61. display: none;
  62. flex-direction: column;
  63. }
  64. .bx-messenger-attachment-file-wrapper a
  65. {
  66. color:inherit;
  67. }
  68. .bx-messenger-attachment-file i
  69. {
  70. float:left;
  71. margin: 0.3rem;
  72. }
  73. div.bx-messenger-attachment-file-videos span.delete,
  74. div.bx-messenger-attachment-file-images span.delete
  75. {
  76. position:absolute;
  77. top:2.9rem;
  78. right:0;
  79. opacity:inherit;
  80. }
  81. div.bx-messenger-attachment-file-wrapper span.delete
  82. {
  83. position: absolute;
  84. right:0;
  85. opacity:inherit;
  86. }
  87. .bx-messenger-attachment-file-info
  88. {
  89. overflow:hidden;
  90. opacity:1;
  91. }
  92. .bx-messenger-attachment-file-info span
  93. {
  94. font-size:1rem;
  95. float:left;
  96. margin: 0.3rem;
  97. width:100%;
  98. }
  99. div.bx-messenger-attachment-file-download
  100. {
  101. position:absolute;
  102. right:0;
  103. bottom:0;
  104. font-size:1rem;
  105. margin:0.3rem;
  106. }
  107. div.bx-messenger-attachment-file-images span.title
  108. {
  109. width:100%;
  110. overflow:hidden;
  111. text-align:left;
  112. opacity:1;
  113. float:left;
  114. margin-top:1rem;
  115. padding:0.3rem;
  116. }
  117. div.bx-messenger-attachment-temp-video img,
  118. div.bx-messenger-attachment-file-audio audio
  119. {
  120. max-width: 480px;
  121. width: 90%;
  122. float: left;
  123. margin-top: 0.3rem;
  124. border-radius:0.2rem;
  125. }
  126. div.bx-messenger-attachment-file-videos video.bx-player-plyr{
  127. width:100%;
  128. }
  129. div.bx-messenger-attachment-file-audio .audio{
  130. display: flex;
  131. flex-direction: column;
  132. justify-content: left;
  133. }
  134. div.bx-messenger-attachment-file-audio .audio > span{
  135. margin:0.3rem;
  136. }
  137. div.bx-messenger-attachment-file-audio .audio .title{
  138. font-weight: bold;
  139. }
  140. div.bx-messenger-attachment-file-audio .audio .file img{
  141. max-height:3rem;
  142. }