trtc-room.wxss 3.9 KB

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