trtc-room.wxss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  1. @import "./template/1v1/1v1.wxss";
  2. @import "./template/grid/grid.wxss";
  3. @import "./template/custom/custom.wxss";
  4. .pusher {
  5. width: 300rpx;
  6. height: 300rpx;
  7. /* border: 1px solid red; */
  8. }
  9. .player {
  10. width: 750rpx;
  11. height: 500rpx;
  12. /* border: 1px solid red; */
  13. }
  14. .player1{
  15. width: 300rpx;
  16. height: 300rpx;
  17. position: absolute;
  18. top: 0;
  19. right: 0;
  20. }
  21. .debug-info {
  22. max-width: 750rpx;
  23. max-height: 90vh;
  24. box-sizing: border-box;
  25. overflow-y: scroll;
  26. position: absolute;
  27. z-index: 9;
  28. background-color: rgba(0, 0, 0, .5);
  29. color: #fff;
  30. bottom: 20rpx;
  31. left: 0;
  32. padding: 10rpx;
  33. font-size: 12px;
  34. }
  35. .debug-info-btn .debug-btn,
  36. .debug-info .debug-btn {
  37. padding: 0 8px;
  38. min-height: 18px;
  39. width: auto;
  40. font-size: 12px;
  41. line-height: 18px;
  42. display: inline-block;
  43. color: #06ae56;
  44. background-color: #f2f2f2;
  45. }
  46. .debug-info .debug-btn.false {
  47. color: rgb(114, 114, 114);
  48. }
  49. .debug-info-btn .debug-btn,
  50. .debug-info .button-hover {
  51. background-color: rgb(219, 219, 219);
  52. }
  53. .debug-info .close-btn {
  54. position: absolute;
  55. top: 0;
  56. right: 0;
  57. padding: 5px 10px;
  58. }
  59. .debug-info .text.true {
  60. color: #1fff8b;
  61. }
  62. .debug-info .text.false {
  63. color: #ff2e2e;
  64. }
  65. .debug-info-btn {
  66. position: absolute;
  67. z-index: 999;
  68. bottom: 160rpx;
  69. left: 0;
  70. }
  71. .trtc-room-container .btn {
  72. display: inline-block;
  73. width: auto;
  74. height: 60rpx;
  75. min-height: 60rpx;
  76. line-height: 60rpx;
  77. font-size: 12px;
  78. font-weight: normal;
  79. padding: 0 10rpx;
  80. color: #006eff;
  81. background-color: #f2f2f2;
  82. margin: 0 16rpx;
  83. }
  84. .trtc-room-container .btn.active {
  85. color: #f2f2f2;
  86. background-color: #006eff;
  87. }
  88. .trtc-room-container .btn-hover {
  89. background-color: #d1d1d1;
  90. }
  91. .im-panel {
  92. position: absolute;
  93. z-index: 9;
  94. display: flex;
  95. flex-direction: column;
  96. align-items: center;
  97. justify-content: center;
  98. width: 90vw;
  99. height: 320rpx;
  100. top: 50vh;
  101. left: 50vw;
  102. transform: translate(-50%, -50%);
  103. padding: 20rpx 0;
  104. border-radius: 10rpx;
  105. font-size: 12px;
  106. /* bottom: 25vh; */
  107. color: #fff;
  108. background-color: rgba(0, 0, 0, 0.8);
  109. }
  110. .im-panel .close-btn {
  111. position: absolute;
  112. top: 0;
  113. right: -3px;
  114. padding: 5px 10px;
  115. z-index: 99;
  116. }
  117. .message-panel-body {
  118. width: 100%;
  119. height: 80%;
  120. overflow-x: hidden;
  121. overflow-y: scroll;
  122. }
  123. .message-scroll-container {
  124. height: 100%;
  125. /* box-sizing: border-box;
  126. padding: 0 20rpx; */
  127. }
  128. .message-list {
  129. width: 100%;
  130. box-sizing: border-box;
  131. padding: 0 20rpx;
  132. /* display: flex;
  133. flex-direction: column; */
  134. }
  135. .message-item {
  136. width: 100%;
  137. /* height: 36rpx; */
  138. /* padding: 0 20rpx; */
  139. padding-bottom: 10rpx;
  140. display: flex;
  141. flex-direction: row;
  142. }
  143. .message-item .user-name {
  144. width: 20%;
  145. color: #2483ff;
  146. overflow: hidden;
  147. text-overflow: ellipsis;
  148. white-space: nowrap;
  149. }
  150. .user-name.mine {
  151. color: #ff7424;
  152. }
  153. .message-item .separate {
  154. padding: 0 5px;
  155. color: #fff;
  156. }
  157. .message-item .message-content {
  158. word-wrap: break-word;
  159. word-break: break-all;
  160. padding-left: 20rpx;
  161. position: relative;
  162. max-width: 80%;
  163. box-sizing: border-box;
  164. }
  165. .message-content::after {
  166. content: ':';
  167. position: absolute;
  168. left: 0;
  169. top: 0;
  170. }
  171. .message-panel-bottom {
  172. width: 100%;
  173. height: 50rpx;
  174. box-sizing: border-box;
  175. padding: 0 20rpx 0;
  176. margin-top: 20rpx;
  177. display: flex;
  178. flex-direction: row;
  179. }
  180. .message-input-container {
  181. flex-grow: 1;
  182. }
  183. .message-input-container .message-input {
  184. font-size: 12px;
  185. padding-left: 20rpx;
  186. border-radius: 10rpx;
  187. height: 100%;
  188. background-color: rgba(0, 0, 0, 0.1);
  189. }
  190. .message-send-btn .btn {
  191. margin-right: 0;
  192. height: 50rpx;
  193. min-height: 50rpx;
  194. line-height: 50rpx;
  195. }
  196. .volume-animation {
  197. position: absolute;
  198. width: 80rpx;
  199. height: 80rpx;
  200. left: 0;
  201. top: initial;
  202. bottom: 20rpx;
  203. z-index: 9;
  204. /* transform: translate(-50%, 0); */
  205. }
  206. .volume-animation .image {
  207. position: absolute;
  208. width: 80rpx;
  209. height: 80rpx;
  210. }
  211. .volume-animation .audio-active {
  212. animation: viewlinear 1.5s linear infinite;
  213. }
  214. @keyframes viewlinear {
  215. /** 第一种写法**/
  216. 0% {
  217. height: 0;
  218. }
  219. 100% {
  220. height: 100%;
  221. }
  222. }
  223. .none,
  224. .view-container.none,
  225. .template-grid .view-container.none,
  226. .template-1v1 .view-container.none {
  227. display: none !important;
  228. }