rtc-nameplate.wxss 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. .plv-rtc-nameplate {
  2. position: absolute;
  3. bottom: 50px;
  4. left: 13%;
  5. transform: translateX(-13%);
  6. }
  7. .plv-rtc-nameplate.audio {
  8. top: 0;
  9. width: 100%;
  10. height: 100%;
  11. }
  12. .plv-rtc-nameplate__bg__img {
  13. width: 100%;
  14. height: 100%;
  15. background-image: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0.25) 100%);
  16. filter: blur(10px);
  17. }
  18. .plv-rtc-nameplate__content {
  19. position: absolute;
  20. box-sizing: content-box;
  21. display: flex;
  22. justify-items: center;
  23. align-items: center;
  24. border-radius: 21px;
  25. }
  26. .plv-rtc-nameplate__content.audio {
  27. top: 50%;
  28. left: 50%;
  29. transform: translate(-50%, -50%);
  30. text-align: center;
  31. flex-direction: column;
  32. }
  33. .plv-rtc-nameplate__content.video {
  34. padding: 0 6px 0 2px;
  35. width: 148px;
  36. height: 32px;
  37. background: rgba(0, 0, 0, 0.3);
  38. }
  39. .plv-rtc-nameplate__content__status {
  40. display: flex;
  41. align-items: center;
  42. justify-content: center;
  43. }
  44. .plv-rtc-nameplate__content__nickname {
  45. width: 96px;
  46. height: 22px;
  47. font-size: 16px;
  48. color: #FFFFFF;
  49. margin: 0 4px;
  50. text-align: center;
  51. overflow: hidden;
  52. text-overflow: ellipsis;
  53. white-space: nowrap;
  54. }
  55. .plv-rtc-nameplate__content__avatar {
  56. width: 28px;
  57. height: 28px;
  58. border-radius: 100%;
  59. }
  60. .plv-rtc-nameplate__content__avatar.audio {
  61. background-color: #FFFFFF;
  62. width: 80px;
  63. height: 80px;
  64. padding: 2px;
  65. background-color: #fff;
  66. }
  67. .plv-rtc-nameplate__content__avatar.audio image {
  68. margin-bottom: 6px;
  69. width: 80px;
  70. height: 80px;
  71. }
  72. .plv-rtc-nameplate__content__avatar.video image {
  73. width: 100%;
  74. height: 100%;
  75. }
  76. .plv-rtc-nameplate__content__mic {
  77. width: 12px;
  78. height: 16px;
  79. }
  80. .plv-rtc-nameplate__content__avatar__image {
  81. border-radius: 100%;
  82. }