pc.css 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. body {
  2. background-color: #141518;
  3. }
  4. .plv-watch-pc {
  5. width: 1180px;
  6. margin: auto;
  7. padding-top: 50px;
  8. background-color: #141518
  9. }
  10. .plv-pc-menu__container {
  11. width: 1180px;
  12. margin: auto;
  13. background: #fff;
  14. }
  15. /* 适配不同屏幕尺寸 */
  16. @media (min-width: 1366px) {
  17. .plv-watch-pc {
  18. width: 1247px;
  19. }
  20. .plv-pc-menu__container {
  21. width: 1247px;
  22. }
  23. }
  24. @media (min-width: 1440px) {
  25. .plv-watch-pc {
  26. width: 1350px;
  27. }
  28. .plv-pc-menu__container {
  29. width: 1350px;
  30. }
  31. }
  32. @media (min-width: 1600px) {
  33. .plv-watch-pc {
  34. width: 1430px;
  35. }
  36. .plv-pc-menu__container {
  37. width: 1430px;
  38. }
  39. }
  40. @media (min-width: 1920px) {
  41. .plv-watch-pc {
  42. width: 1680px;
  43. }
  44. .plv-pc-menu__container {
  45. width: 1680px;
  46. }
  47. }
  48. .plv-watch-pc__top {
  49. position: relative;
  50. }
  51. .plv-watch-pc__top .pv-ppt-controller {
  52. width: 76.2%;
  53. z-index: 99;
  54. }
  55. /* 保持比例撑起高度 9:16=高:宽=56.25% */
  56. .plv-watch-pc__screen__height {
  57. position: relative;
  58. height: 0;
  59. padding-top: 56.25%;
  60. }
  61. .plv-watch-pc__screen__inner {
  62. position: absolute;
  63. left: 0;
  64. top: 0;
  65. width: 100%;
  66. height: 100%;
  67. }
  68. /* 主屏(左侧) */
  69. .plv-watch-pc__screen-main {
  70. width: 76.2%;
  71. }
  72. /* 辅屏(右侧) */
  73. .plv-watch-pc__screen-sub {
  74. position: absolute;
  75. left: 76.2%;
  76. right: 0;
  77. top: 0;
  78. }
  79. /* 侧栏聊天室 */
  80. .plv-watch-pc__side {
  81. position: absolute;
  82. left: 76.2%;
  83. right: 0;
  84. top: 0;
  85. bottom: 0;
  86. }
  87. .plv-watch-pc__chat {
  88. position: absolute;
  89. left: 0;
  90. top: 0;
  91. padding-top: 56.25%;
  92. width: 100%;
  93. height: 100%;
  94. }
  95. /* 普通直播,没有辅屏 */
  96. .plv-watch-pc--alone .plv-watch-pc__chat {
  97. padding-top: 0;
  98. }
  99. /* 聊天室样式覆写 */
  100. .plv-watch-pc .plv-skin--dark .polyv-chat-room {
  101. background-color: #202127;
  102. }
  103. .plv-watch-pc .plv-skin--dark .polyv-cr-navbar {
  104. background-color: #3e3e4e;
  105. }
  106. .plv-watch-pc .plv-skin--dark .polyv-chat-room .polyv-cr-navbar>li {
  107. color: #adadc0;
  108. }
  109. .plv-watch-pc .plv-skin--dark .polyv-chat-room .polyv-cr-navbar>li.polyv-crn-active {
  110. color: #fff;
  111. border-bottom: 0
  112. }
  113. .plv-watch-pc .plv-skin--dark .polyv-chat-room .polyv-cr-navbar>li.polyv-crn-active>span:first-child {
  114. border-bottom: 3px solid #fff;
  115. }
  116. .plv-watch-pc .plv-skin--dark .polyv-chat-room .polyv-cr-navbar>li>span:first-child {
  117. display: inline-block;
  118. line-height: 35px;
  119. }
  120. .plv-watch-pc .plv-skin--dark .polyv-chat-room .polyv-cr-navbar>li>span {
  121. display: inline-block;
  122. line-height: 35px;
  123. }
  124. .plv-watch-pc .plv-skin--dark .polyv-chat-room>.polyv-cr-body {
  125. background-color: #202127;
  126. }
  127. .plv-watch-pc .plv-skin--dark .polyv-chat-input {
  128. background-color: #3e3e4e;
  129. }
  130. .plv-watch-pc .plv-skin--dark .tab-chat-content::-webkit-scrollbar {
  131. width: 6px;
  132. }
  133. .plv-watch-pc .plv-skin--dark .tab-chat-content::-webkit-scrollbar-thumb {
  134. border-radius: 3px;
  135. background-color: #46464f;
  136. }
  137. .plv-watch-pc .plv-skin--dark .polyv-chat-room .polyv-msg-content {
  138. background: #2b2c35;
  139. }
  140. .plv-watch-pc .plv-skin--dark .polyv-chat-room .polyv-emotion-wrap {
  141. background: #202127;
  142. }
  143. .plv-watch-pc .plv-skin--dark .polyv-chat-room .polyv-emotion-wrap:after {
  144. border-color: #202127 transparent transparent;
  145. }
  146. .plv-watch-pc .plv-skin--dark .polyv-chat-room .polyv-chat-input textarea {
  147. background: #2e2e36;
  148. padding: 4px;
  149. color: #fff;
  150. margin-bottom: 5px;
  151. }
  152. .plv-watch-pc .plv-skin--dark .polyv-chat-room .polyv-btn-info {
  153. background: #2b2c35;
  154. }
  155. .plv-watch-pc .plv-skin--dark .polyv-chat-room .polyv-chat-input .polyv-icon-emotion {
  156. background: url('../img/emotion.png');
  157. background-size: 18px 18px;
  158. }
  159. .plv-watch-pc .plv-skin--dark .polyv-chat-room .polyv-chat-input .polyv-icon-flower {
  160. background: url('../img/flower.png');
  161. background-size: 18px 18px;
  162. }
  163. .plv-watch-pc .plv-skin--dark .polyv-chat-room .polyv-chat-input .polyv-icon-like {
  164. background: url('../img/like.png');
  165. background-size: 18px 18px;
  166. }
  167. .plv-watch-pc .plv-skin--dark .polyv-chat-room .polyv-chat-input .polyv-pc-only-teacher {
  168. color: #fff;
  169. }
  170. .plv-watch-pc .plv-skin--dark .polyv-chat-room .polyv-chat-input-top {
  171. padding-bottom: 5px;
  172. }
  173. .plv-watch-pc .plv-skin--dark .polyv-chat-room>.polyv-cr-body .polyv-set-nickname.show {
  174. background: #3e3e4e
  175. }
  176. .plv-watch-pc .plv-skin--dark .polyv-chat-room>.polyv-cr-body .polyv-set-nickname input {
  177. background: #212121;
  178. border: 0;
  179. }
  180. .plv-watch-pc .plv-skin--dark .polyv-chat-room>.polyv-cr-body .polyv-set-nickname .polyv-btn {
  181. background: #3e3e4e;
  182. color: #888;
  183. }
  184. .plv-watch-pc .plv-skin--dark .polyv-chat-room>.polyv-cr-body .polyv-set-nickname .polyv-btn-info {
  185. background: #2b2c35;
  186. color: #fff;
  187. }
  188. .plv-watch-pc .plv-skin--dark .polyv-chat-room .polyv-chat-list>.polyv-msg {
  189. color: #adadc0;
  190. }
  191. .plv-watch-pc .plv-skin--dark .polyv-chat-room .polyv-fr>span {
  192. color: #adadc0;
  193. }
  194. /* 全屏样式处理 */
  195. .plv-watch-pc__top--fullscreen .plv-watch-pc__screen-main {
  196. position: fixed;
  197. left: 0;
  198. top: 0;
  199. width: 100%;
  200. height: 100%;
  201. z-index: 88;
  202. }
  203. .plv-watch-pc__top--fullscreen .plv-watch-pc__screen-main .plv-watch-pc__screen__height {
  204. position: static;
  205. }
  206. .plv-watch-pc__top--fullscreen .plv-watch-pc__side {
  207. display: none;
  208. }
  209. .plv-watch-pc__top--fullscreen .plv-watch-pc__screen-sub {
  210. position: static;
  211. }
  212. .plv-watch-pc .plv-watch-pc__top--fullscreen .pv-ppt-controller {
  213. width: 100%;
  214. }
  215. /* 频道信息 */
  216. .plv-watch-pc__info {
  217. display: none;
  218. padding: 30px 0;
  219. color: #fff;
  220. font-size: 0;
  221. }
  222. .plv-watch-pc__info__logo {
  223. width: 50px;
  224. margin-right: 10px;
  225. }
  226. .plv-watch-pc__info__desc {
  227. display: inline-block;
  228. vertical-align: top;
  229. }
  230. .plv-watch-pc__info__desc__name {
  231. margin-bottom: 8px;
  232. line-height: 24px;
  233. font-size: 18px;
  234. }
  235. .plv-watch-pc__info__desc__publisher-ico {
  236. display: inline-block;
  237. width: 18px;
  238. height: 18px;
  239. vertical-align: middle;
  240. background: url(../img/person.png) no-repeat;
  241. background-size: 18px 18px;
  242. margin-right: 4px;
  243. }
  244. .plv-watch-pc__info__desc__publisher,
  245. .plv-watch-pc__info__desc__view {
  246. font-size: 14px;
  247. vertical-align: middle;
  248. }
  249. .plv-watch-pc__info__desc__publisher::after {
  250. content: '|';
  251. margin: 0 16px;
  252. }
  253. /* IE*/
  254. .plv-watch-pc .ply-liveppt-container > object {
  255. width: 100%;
  256. height: 100%;
  257. }
  258. /*PC 菜单栏 */
  259. .plv-pc-menu {
  260. background: #fff;
  261. margin: auto;
  262. }
  263. .plv-pc-menu__tab {
  264. border-bottom: 1px solid #ededef;
  265. }
  266. .plv-pc-menu__tab>li {
  267. padding: 0 15px;
  268. display: inline-block;
  269. height: 80px;
  270. line-height: 80px;
  271. font-size: 18px;
  272. color: #aaa;
  273. border-bottom: 2px solid transparent;
  274. cursor: pointer;
  275. }
  276. .plv-pc-menu__tab>li.active {
  277. color: #333;
  278. border-bottom: 2px solid #2196f3;
  279. }
  280. .plv-pc-menu__content {
  281. padding: 40px 0;
  282. min-height: 200px;
  283. }
  284. .plv-pc-menu__content>div {
  285. display: none;
  286. }
  287. .plv-pc-menu__content>div.active{
  288. display: block;
  289. }