1v1.css 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. /* 1v1 视频电话模式 */
  2. .template-1v1{
  3. width: 100vw;
  4. height: 100vh;
  5. position: relative;
  6. background: #000;
  7. }
  8. .template-1v1 .pusher-container{
  9. width: 240rpx;
  10. height: 320rpx;
  11. position: absolute;
  12. right: 20rpx;
  13. top: 160rpx;
  14. z-index: 2;
  15. }
  16. .template-1v1 .pusher-container.fullscreen{
  17. width: 100vw;
  18. height: 100vh;
  19. top: 0;
  20. right: 0;
  21. }
  22. .template-1v1 .loading {
  23. position: absolute;
  24. top: 40vh;
  25. left: 50vw;
  26. transform: translate(-50%, 0);
  27. width: 300rpx;
  28. height: 250rpx;
  29. border-radius: 12rpx;
  30. background: rgba(0,0,0,0.6);
  31. color: white;
  32. padding: 40rpx;
  33. display: flex;
  34. flex-direction: column;
  35. display: none;
  36. }
  37. .template-1v1 .loading-img {
  38. height: 200rpx;
  39. display:flex;
  40. justify-content: center;
  41. align-items: center;
  42. animation: rotate 2s linear infinite;
  43. }
  44. .template-1v1 .rotate-img {
  45. width:160rpx;
  46. height: 160rpx;
  47. }
  48. .template-1v1 .loading-text {
  49. width: 100%;
  50. padding-top: 40rpx;
  51. text-align: center;
  52. }
  53. @keyframes rotate {
  54. 0%{ transform: rotate(0deg);}
  55. 50%{ transform: rotate(180deg);}
  56. 100%{ transform: rotate(360deg);}
  57. }
  58. .template-1v1 .player-container:nth-child(1){
  59. width: 100vw;
  60. height: 100vh;
  61. }
  62. .template-1v1 .handle-btns {
  63. position: absolute;
  64. z-index: 3;
  65. bottom: 15vh;
  66. width: 100vw;
  67. display: none;
  68. flex-direction: row;
  69. justify-content: space-around;
  70. }
  71. .template-1v1 .bottom-btns {
  72. position: absolute;
  73. z-index: 3;
  74. bottom: 3vh;
  75. width: 100vw;
  76. display: none;
  77. flex-direction: row;
  78. justify-content: space-around;
  79. }
  80. .template-1v1 image {
  81. width: 4vh;
  82. height: 4vh;
  83. }
  84. .template-1v1 .btn-normal {
  85. width: 8vh;
  86. height: 8vh;
  87. box-sizing: border-box;
  88. display: flex;
  89. background: white;
  90. justify-content: center;
  91. align-items: center;
  92. border-radius: 50%;
  93. }
  94. .template-1v1 .btn-hangup {
  95. width: 8vh;
  96. height: 8vh;
  97. background: #f75c45;
  98. box-sizing: border-box;
  99. display: flex;
  100. justify-content: center;
  101. align-items: center;
  102. border-radius: 50%;
  103. }