_space.scss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. .space-page {
  2. max-width: 800px;
  3. width: 100%;
  4. margin: 20px auto 0;
  5. }
  6. .space-panel {
  7. background-color: var(--bg_panel);
  8. border: 1px solid var(--border_grey);
  9. border-radius: 8px;
  10. overflow: hidden;
  11. }
  12. .space-player {
  13. position: relative;
  14. background: linear-gradient(135deg, #7b2a8c 0%, #9b3ab1 100%);
  15. min-height: 140px;
  16. display: flex;
  17. align-items: center;
  18. justify-content: center;
  19. audio {
  20. width: 100%;
  21. padding: 15px;
  22. box-sizing: border-box;
  23. &:not([controls]) {
  24. display: none;
  25. }
  26. }
  27. .video-overlay {
  28. background-color: transparent;
  29. }
  30. }
  31. .space-live {
  32. background: #e0245e;
  33. color: white;
  34. padding: 3px 8px;
  35. border-radius: 4px;
  36. font-weight: bold;
  37. font-size: 12px;
  38. text-transform: uppercase;
  39. position: absolute;
  40. top: 8px;
  41. right: 8px;
  42. }
  43. .space-info {
  44. padding: 16px;
  45. }
  46. .space-header {
  47. display: flex;
  48. justify-content: space-between;
  49. align-items: flex-start;
  50. gap: 12px;
  51. margin-bottom: 16px;
  52. }
  53. .space-title {
  54. font-size: 18px;
  55. font-weight: bold;
  56. margin: 0;
  57. line-height: 1.3;
  58. flex: 1;
  59. }
  60. .space-meta {
  61. display: flex;
  62. flex-direction: column;
  63. align-items: flex-end;
  64. gap: 4px;
  65. flex-shrink: 0;
  66. font-size: 14px;
  67. color: var(--fg_faded);
  68. }
  69. .listener-count {
  70. color: var(--fg_color);
  71. }
  72. .space-state {
  73. color: var(--fg_dark);
  74. }
  75. .space-participants {
  76. border-top: 1px solid var(--border_grey);
  77. padding-top: 12px;
  78. }
  79. .space-participant {
  80. margin-bottom: 10px;
  81. a {
  82. display: flex;
  83. align-items: center;
  84. gap: 10px;
  85. color: var(--fg_color);
  86. padding: 6px 0;
  87. }
  88. img {
  89. width: 40px;
  90. height: 40px;
  91. border-radius: 50%;
  92. flex-shrink: 0;
  93. }
  94. }
  95. .participant-info {
  96. min-width: 0;
  97. }
  98. .participant-name {
  99. display: flex;
  100. align-items: center;
  101. gap: 4px;
  102. strong {
  103. white-space: nowrap;
  104. overflow: hidden;
  105. text-overflow: ellipsis;
  106. }
  107. .verified-icon {
  108. margin-bottom: 0;
  109. position: relative;
  110. top: -2px;
  111. }
  112. }
  113. .host-badge {
  114. background: var(--accent);
  115. color: white;
  116. padding: 2px 7px;
  117. border-radius: 3px;
  118. font-size: 11px;
  119. font-weight: 600;
  120. line-height: 1;
  121. position: relative;
  122. top: 1px;
  123. }
  124. .participant-username {
  125. color: var(--fg_dark);
  126. font-size: 13px;
  127. }