mobile.css 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. .plv-watch-mobile {
  2. position: absolute;
  3. display: flex;
  4. height: 100%;
  5. width: 100%;
  6. flex-direction: column;
  7. font-size: 12px;
  8. }
  9. .plv-watch-mobile__top {
  10. padding-top: 56.25%;
  11. height: 0;
  12. position: relative;
  13. }
  14. .plv-watch-mobile-player {
  15. position: absolute;
  16. top: 0;
  17. width: 100%;
  18. height: 100%;
  19. }
  20. .plv-watch-mobile-chatroom {
  21. flex: 1;
  22. overflow: hidden;
  23. }
  24. /* 移动端聊天室SDK样式覆写 */
  25. .plv-watch-mobile .plv-skin--dark .polyv-chat-room {
  26. background: #202127;
  27. }
  28. .plv-watch-mobile .plv-skin--dark .polyv-cr-head {
  29. background: #3e3e4e;
  30. }
  31. .plv-watch-mobile .plv-skin--dark .polyv-cr-navbar {
  32. color: #fff;
  33. }
  34. .plv-watch-mobile .plv-skin--dark .polyv-chat-room .polyv-cr-navbar>li.polyv-crn-active {
  35. color: #fff;
  36. border: 0
  37. }
  38. .plv-watch-mobile .plv-skin--dark li.polyv-crn-active>span {
  39. display: inline-block;
  40. line-height: 35px;
  41. border-bottom: 2px solid #fff;
  42. }
  43. .plv-watch-mobile .plv-skin--dark .polyv-chat-room>.polyv-cr-body {
  44. background: #202127;
  45. }
  46. .plv-watch-mobile .plv-skin--dark .polyv-chat-input {
  47. background: #202127;
  48. }
  49. .plv-watch-mobile .plv-skin--dark .mobile-wrap .polyv-chat-input input {
  50. color: #e4e4e4;
  51. background: #2b2c35;
  52. border: 0
  53. }
  54. .plv-watch-mobile .plv-skin--dark .mobile-wrap .polyv-mobile-send {
  55. color: #fff;
  56. }
  57. .plv-watch-mobile .plv-skin--dark .polyv-chat-room .polyv-emotion-wrap {
  58. background: #202127;
  59. }
  60. .plv-watch-mobile .plv-skin--dark .polyv-chat-room .polyv-emotion-wrap:after {
  61. border-color: #202127 transparent transparent;
  62. }
  63. .plv-watch-mobile .plv-skin--dark .polyv-chat-room .polyv-chat-list>.polyv-msg {
  64. color: #adadc0;
  65. }
  66. .plv-watch-mobile .plv-skin--dark .polyv-chat-room .polyv-msg-content {
  67. background: #2b2c35;
  68. }
  69. .plv-watch-mobile .plv-skin--dark .polyv-chat-room .polyv-chat-input .polyv-icon-emotion {
  70. background: url('./img/emotion.png');
  71. background-size: 20px 20px;
  72. }
  73. .plv-watch-mobile .plv-skin--dark .polyv-chat-room .polyv-chat-input .polyv-icon-flower {
  74. background: url('./img/flower.png');
  75. background-size: 20px 20px;
  76. }
  77. .plv-watch-mobile .plv-skin--dark .mobile-wrap .polyv-chat-input .polyv-icon-more {
  78. background: url('./img/more.png');
  79. background-size: 20px 20px;
  80. }
  81. .plv-watch-mobile .plv-skin--dark .mobile-wrap .polyv-show-more .polyv-icon-more {
  82. background: url('./img/show-more.png');
  83. background-size: 20px 20px;
  84. }
  85. .plv-watch-mobile .plv-skin--dark .polyv-chat-room>.polyv-cr-body .polyv-set-nickname.show {
  86. background: #3e3e4e
  87. }
  88. .plv-watch-mobile .plv-skin--dark .polyv-chat-room>.polyv-cr-body .polyv-set-nickname input {
  89. background: #212121;
  90. border: 0;
  91. }
  92. .plv-watch-mobile .plv-skin--dark .mobile-wrap .polyv-set-nickname>div>button {
  93. color: #fff;
  94. }
  95. .plv-watch-mobile .plv-skin--dark .mobile-wrap .polyv-chat-input-more {
  96. background: #3e3e4e;
  97. }
  98. .plv-watch-mobile .plv-skin--dark .mobile-wrap .polyv-more-control-list>li>span {
  99. color: #fff;
  100. }
  101. /* 移动端直播介绍 */
  102. .tab-intro {
  103. overflow-y: auto;
  104. }
  105. .tab-intro .tab-intro-info {
  106. position: relative;
  107. padding: 16px;
  108. display: flex;
  109. }
  110. .tab-intro .tab-intro-info__logo {
  111. width: 40px;
  112. height: 40px;
  113. margin-right: 10px;
  114. }
  115. .tab-intro-info__inner {
  116. position: relative;
  117. flex: 1;
  118. }
  119. .tab-intro-info__title {
  120. color: #fff;
  121. line-height: 20px;
  122. font-size: 16px;
  123. }
  124. .tab-intro .tab-intro-info__status::after {
  125. position: absolute;
  126. top: 0;
  127. right: 0;
  128. border-radius: 2px;
  129. font-size: 12px;
  130. padding: 4px;
  131. border: 1px solid;
  132. line-height: 1;
  133. }
  134. .tab-intro .tab-intro-info__status--nolive::after {
  135. border-color: hsla(0,0%,100%,.6);
  136. color: hsla(0,0%,100%,.6);
  137. content: '暂无直播'
  138. }
  139. .tab-intro .tab-intro-info__status--playback::after {
  140. color: #78a7ed;
  141. border-color: #78a7ed;
  142. content: '回放中'
  143. }
  144. .tab-intro .tab-intro-info__status--live::after {
  145. color: #f06e6e;
  146. border-color: #f06e6e;
  147. content: '进行中'
  148. }
  149. .tab-intro .tab-intro-info__time {
  150. margin-top: 8px;
  151. color: #adadc0;
  152. line-height: 1;
  153. font-size: 12px;
  154. }
  155. .tab-intro .tab-intro-author {
  156. display: flex;
  157. padding: 10px 16px;
  158. border-top: 1px solid #000;
  159. border-bottom: 1px solid #000;
  160. font-size: 12px;
  161. color: #adadc0;
  162. }
  163. .tab-intro-author__publisher {
  164. flex: 1;
  165. }
  166. .tab-intro .tab-intro-author__publisher-ico {
  167. display: inline-block;
  168. width: 16px;
  169. height: 16px;
  170. vertical-align: bottom;
  171. background: url(./img/person.png) no-repeat;
  172. background-size: 16px 16px;
  173. margin-right: 2px;
  174. }
  175. .tab-intro .tab-intro-author__like-ico {
  176. display: inline-block;
  177. width: 14px;
  178. height: 14px;
  179. vertical-align: text-top;
  180. background: url(./img/like.png) no-repeat;
  181. background-size: 14px 14px;
  182. margin-right: 2px;
  183. }
  184. .tab-intro .tab-intro-desc {
  185. padding: 20px 16px;
  186. color: #adadc0;
  187. white-space: pre-wrap;
  188. font-size: 16px;
  189. }