style.scss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. .channel-sidebar {
  2. display: flex;
  3. flex-direction: column;
  4. height: 100%;
  5. overflow: hidden;
  6. &__header {
  7. padding: 12px 16px;
  8. font-size: 0.8125rem;
  9. font-weight: 600;
  10. color: var(--text-secondary);
  11. text-transform: uppercase;
  12. letter-spacing: 0.05em;
  13. border-bottom: 1px solid var(--border-default);
  14. flex-shrink: 0;
  15. }
  16. &__list {
  17. overflow-y: auto;
  18. flex: 1;
  19. &::-webkit-scrollbar {
  20. width: 4px;
  21. }
  22. &::-webkit-scrollbar-thumb {
  23. background: var(--border-default);
  24. border-radius: 2px;
  25. }
  26. }
  27. &__loading, &__empty {
  28. padding: 24px 16px;
  29. text-align: center;
  30. font-size: 0.75rem;
  31. color: var(--text-muted);
  32. }
  33. &__item {
  34. display: flex;
  35. align-items: center;
  36. gap: 10px;
  37. padding: 8px 12px;
  38. cursor: pointer;
  39. transition: background 0.15s;
  40. &:hover {
  41. background: var(--bg-subtle);
  42. }
  43. &--live {
  44. background: rgba(0, 255, 0, 0.03);
  45. &:hover {
  46. background: rgba(0, 255, 0, 0.06);
  47. }
  48. }
  49. }
  50. &__thumb {
  51. flex-shrink: 0;
  52. width: 36px;
  53. height: 36px;
  54. border-radius: 50%;
  55. overflow: hidden;
  56. background: var(--bg-subtle);
  57. img {
  58. width: 100%;
  59. height: 100%;
  60. object-fit: cover;
  61. }
  62. }
  63. &__info {
  64. flex: 1;
  65. min-width: 0;
  66. overflow: hidden;
  67. }
  68. &__name {
  69. font-size: 0.8125rem;
  70. font-weight: 500;
  71. color: var(--text-primary);
  72. white-space: nowrap;
  73. overflow: hidden;
  74. text-overflow: ellipsis;
  75. }
  76. &__sub {
  77. font-size: 0.6875rem;
  78. color: var(--text-muted);
  79. white-space: nowrap;
  80. overflow: hidden;
  81. text-overflow: ellipsis;
  82. }
  83. &__status {
  84. display: flex;
  85. align-items: center;
  86. gap: 6px;
  87. flex-shrink: 0;
  88. }
  89. &__viewers {
  90. font-size: 0.6875rem;
  91. color: var(--text-secondary);
  92. white-space: nowrap;
  93. }
  94. &__led {
  95. display: inline-block;
  96. width: 8px;
  97. height: 8px;
  98. border-radius: 50%;
  99. background: #dc2626;
  100. flex-shrink: 0;
  101. &--on {
  102. background: #22c55e;
  103. box-shadow: 0 0 4px rgba(34, 197, 94, 0.5);
  104. }
  105. }
  106. // ── 하단: 다크모드 / 다국어 / 즐겨찾기 ──────────
  107. &__footer {
  108. margin-top: auto;
  109. border-top: 1px solid var(--border-default);
  110. position: relative;
  111. }
  112. &__footer-actions {
  113. display: flex;
  114. align-items: stretch;
  115. }
  116. &__icon-btn {
  117. flex: 1;
  118. display: flex;
  119. align-items: center;
  120. justify-content: center;
  121. height: 25px;
  122. border: none;
  123. background: none;
  124. color: var(--text-muted);
  125. cursor: pointer;
  126. transition: background 0.15s, color 0.15s;
  127. position: relative;
  128. &:hover {
  129. background: var(--bg-subtle);
  130. color: var(--fg-default);
  131. }
  132. // 구분선
  133. & + & {
  134. border-left: 1px solid var(--border-default);
  135. }
  136. svg {
  137. width: 13px;
  138. height: 13px;
  139. }
  140. }
  141. &__lang-dropdown {
  142. position: absolute;
  143. bottom: 100%;
  144. left: 0;
  145. right: 0;
  146. background: var(--bg-default);
  147. border: 1px solid var(--border-default);
  148. border-bottom: none;
  149. border-radius: 8px 8px 0 0;
  150. box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  151. overflow: hidden;
  152. z-index: 10;
  153. }
  154. &__lang-option {
  155. display: block;
  156. width: 100%;
  157. padding: 10px 14px;
  158. border: none;
  159. background: none;
  160. color: var(--text-secondary);
  161. font-size: 0.8125rem;
  162. text-align: left;
  163. cursor: pointer;
  164. transition: background 0.15s;
  165. &:hover {
  166. background: var(--bg-subtle);
  167. }
  168. &--active {
  169. color: var(--fg-default);
  170. font-weight: 600;
  171. }
  172. }
  173. }