video-call.css 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. body {
  2. padding: 0;
  3. margin: 0;
  4. height: 100vh;
  5. width: 100vw;
  6. overflow: hidden;
  7. box-sizing: border-box;
  8. }
  9. .main-video {
  10. position: fixed;
  11. top: 0;
  12. left: 0;
  13. z-index: 4;
  14. width: 100%;
  15. height: 100%;
  16. object-fit: cover;
  17. }
  18. .friend-info {
  19. position: fixed;
  20. top: 0;
  21. left: 0;
  22. z-index: 5;
  23. width: 100%;
  24. height: 100%;
  25. background: transparent;
  26. display: flex;
  27. flex-direction: column;
  28. align-items: center;
  29. }
  30. .friend-info .friend-name {
  31. margin-top: 8px;
  32. color: white;
  33. font-size: 12px;
  34. }
  35. .friend-info .friend-tips {
  36. margin-top: 120px;
  37. color: white;
  38. }
  39. .local-video {
  40. position: fixed;
  41. top: 20px;
  42. right: 25px;
  43. z-index: 6;
  44. width: 100px;
  45. height: 230px;
  46. }
  47. .video-menus {
  48. display: flex;
  49. justify-content: space-between;
  50. position: fixed;
  51. bottom: 25px;
  52. left: 0;
  53. width: 100%;
  54. z-index: 9;
  55. }
  56. .video-menus > div {
  57. display: flex;
  58. flex: 1;
  59. align-items: center;
  60. justify-content: center;
  61. }
  62. .menu-1 {
  63. width: 40px;
  64. height: 40px;
  65. z-index: 9;
  66. margin-left: 20px
  67. }
  68. .menu-2 {
  69. width: 40px;
  70. height: 40px;
  71. z-index: 9;
  72. }
  73. .menu-close {
  74. width: 60px;
  75. height: 60px;
  76. }
  77. .menu-3 {
  78. width: 34px;
  79. height: 34px;
  80. z-index: 9;
  81. }
  82. .menu-3 {
  83. width: 34px;
  84. height: 34px;
  85. z-index: 9;
  86. }
  87. .menu-4 {
  88. width: 40px;
  89. height: 40px;
  90. z-index: 9;
  91. margin-right: 20px;
  92. }