Guest User

Untitled

a guest
Apr 16th, 2025
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.16 KB | None | 0 0
  1. .container {
  2. margin-top: 75px;
  3. height: clac(100vh - 74px);
  4. width: 100%;
  5. position: relative;
  6. }
  7.  
  8. #room__container {
  9. position: relative;
  10. display: flex;
  11. gap: 3rem;
  12. }
  13.  
  14. #members__container {
  15. background-color: #262625;
  16. border-right: 1px solid #343434;
  17. overflow-y: auto;
  18. width: 90%;
  19. max-width: 250px;
  20. position: fixed;
  21. height: 100%;
  22. z-index: 999;
  23. }
  24.  
  25. #members__count {
  26. background-color: #262625;
  27. padding: 7px 15px;
  28. font-size: 14px;
  29. font-weight: 600;
  30. border-radius: 5px;
  31. }
  32.  
  33. #members__header {
  34. display: flex;
  35. justify-content: space-around;
  36. align-items: center;
  37. padding: 0 1rem;
  38. position: fixed;
  39. font-size: 18px;
  40. background-color: #353935;
  41. width: 218px;
  42. }
  43.  
  44. #member__list {
  45. display: flex;
  46. flex-direction: column;
  47. gap: 1rem;
  48. padding-top: 5rem;
  49. padding-bottom: 6.5rem;
  50. }
  51.  
  52. .members__list::-webkit-scrollbar {
  53. height: 14px;
  54. }
  55.  
  56. .member__wrapper {
  57. display: flex;
  58. align-items: center;
  59. column-gap: 10px;
  60. padding-left: 1em;
  61. }
  62.  
  63. .green__icon {
  64. display: block;
  65. height: 8px;
  66. width: 8px;
  67. border-radius: 50%;
  68. background-color: #2aca3e;
  69. }
  70.  
  71. .member_name{
  72. font-size: 14px;
  73. line-height: 0;
  74. }
  75.  
  76. #messages__container {
  77. height: calc(100vh - 75px);
  78. background-color: #262625;
  79. right: 0;
  80. position: absolute;
  81. width: 100%;
  82. max-width: 25rem;
  83. overflow-y: auto;
  84. border-left: 2px solid #343434;
  85. }
  86.  
  87. #messages {
  88. width: 100%;
  89. height: 100%;
  90. overflow-y: auto;
  91. }
  92.  
  93. .message__wrapper:last-child {
  94. margin-bottom: 6.5rem;
  95. }
  96.  
  97. .message__wrapper {
  98. display: flex;
  99. gap: 10px;
  100. margin: 1em;
  101. }
  102.  
  103. .message__body {
  104. background-color: #363739;
  105. border-radius: 10px;
  106. padding: 10px 15px;
  107. width: fit-content;
  108. max-width: 900px;
  109. }
  110.  
  111. .message__body strong {
  112. font-weight: 600;
  113. color: #000;
  114. }
  115.  
  116. .message__body__bot{
  117. padding: 0 20px;
  118. max-width: 900px;
  119. color: #bdbdbd;
  120. }
  121.  
  122.  
  123. .message__author {
  124. margin-right: 10px;
  125. color: #BB00FF!important;
  126.  
  127. }
  128.  
  129. .message__author__bot {
  130. margin-right: 10px;
  131. color: #e1bf92!important;
  132.  
  133. }
  134.  
  135. .message__text {
  136. margin: 0;
  137. }
  138.  
  139. .message__text {
  140. margin: 0;
  141. word-break: break-word;
  142. overflow-wrap: break-word;
  143. max-width: 100%;
  144. color: #FFF;
  145. }
  146.  
  147. .message__text a {
  148. color: #4DA6FF;
  149. text-decoration: underline;
  150. word-break: break-word;
  151. overflow-wrap: break-word;
  152. }
  153.  
  154. #message__form {
  155. width: 23.2rem;
  156. position: fixed;
  157. bottom: 0;
  158. display: block;
  159. background-color: #1A1A1A;
  160. padding: 1em;
  161. }
  162.  
  163. #message__form input {
  164. color: #000;
  165. width: 100%;
  166. border: none;
  167. border-radius: 5px;
  168. padding: 18px;
  169. font-size: 14px;
  170. box-sizing: border-box;
  171. background-color: #FFF;
  172. }
  173.  
  174. #message__form input:focus {
  175. outline: none;
  176. }
  177.  
  178. #message__form input::placeholder {
  179. color: #696969;
  180. }
  181.  
  182. #stream__container {
  183. justify-self: center;
  184. width: calc(100% - 40.7rem);
  185. position: fixed;
  186. left: 15.7rem;
  187. top: clac(100vh - 72px);
  188. overflow-y: auto;
  189. height: 100%;
  190. }
  191.  
  192. #stream__box{
  193. background-color: #3f434a;
  194. height: 60vh;
  195. display: none;
  196. }
  197.  
  198. #stream__box .video__container{
  199. border: 2px solid #000;
  200. border-radius: 0;
  201. height: 100%!important;
  202. width:100%!important;
  203.  
  204. background-size: 300px;
  205. }
  206.  
  207. #stream__box video{
  208. border-radius: 0;
  209. }
  210.  
  211. #streams__container{
  212. display: flex;
  213. flex-wrap: wrap;
  214. gap: 2em;
  215. justify-content: center;
  216. align-items: center;
  217. margin-top: 25px;
  218. margin-bottom: 225px;
  219. }
  220.  
  221. .video__container{
  222. display: flex;
  223. justify-content: center;
  224. align-items: center;
  225. border: 2px solid #e3e3e3;
  226. border-radius: 50%;
  227. cursor: pointer;
  228. overflow: hidden;
  229. height: 300px;
  230. width: 300px;
  231.  
  232. background-image: url("../img/widget/logo.png");
  233. background-repeat: no-repeat;
  234. background-position: center;
  235. background-size: 75px;
  236. }
  237.  
  238. .video-player{
  239. height: 100%;
  240. width: 100%;
  241. }
  242.  
  243. .video-player video{
  244. border-radius: 50%;
  245. }
  246.  
  247. @media (max-width: 1400px) {
  248. .video__container{
  249. height: 200px;
  250. width: 200px;
  251. }
  252. }
  253.  
  254. @media (max-width: 1200px) {
  255. #members__container {
  256. display: none;
  257. }
  258.  
  259. #members__button {
  260. display: block;
  261. }
  262.  
  263. #stream__container {
  264. width: calc(100% - 25rem);
  265. left: 0;
  266. }
  267. }
  268.  
  269. @media (max-width: 980px) {
  270. #stream__container {
  271. width: calc(100% - 20rem);
  272. left: 0;
  273. }
  274. #messages__container {
  275. max-width: 20rem;
  276. }
  277.  
  278. #message__form {
  279. width: 18.2rem;
  280. }
  281. }
  282.  
  283. @media (max-width: 768px) {
  284. #stream__container {
  285. width: 100%;
  286. }
  287.  
  288. .video__container{
  289. height: 100px;
  290. width: 100px;
  291. }
  292.  
  293. #messages__container {
  294. display: none;
  295. }
  296.  
  297. #chat__button {
  298. display: block;
  299. }
  300. }
  301.  
  302. #stream__box {
  303. position: relative;
  304. }
  305.  
  306. .stream__focus {
  307. width: 100%;
  308. height: 100%;
  309. }
  310.  
  311. .stream__focus iframe {
  312. width: 100%;
  313. height: 100%;
  314. }
  315.  
  316. .stream__actions {
  317. position: fixed;
  318. bottom: 1rem;
  319. border-radius: 8px;
  320. background-color: #1a1a1a;
  321. padding: 1rem;
  322. left: 46%;
  323. display: flex;
  324. gap: 1rem;
  325. transform: translateX(-50%);
  326. }
  327.  
  328. .stream__actions a,
  329. .stream__actions button {
  330. cursor: pointer;
  331. background-color: #262625;
  332. color: #FFF;
  333. border: 2px solid #FFF;
  334. display: flex;
  335. align-items: center;
  336. justify-content: center;
  337. padding: 0.5rem 1rem;
  338. border-radius: 5px;
  339. transition: all 0.1s ease-in-out;
  340. position: relative;
  341. }
  342.  
  343. .stream__actions button::before {
  344. content: attr(data-tooltip);
  345. position: absolute;
  346. background: rgba(0, 0, 0, 0.8);
  347. color: white;
  348. padding: 5px;
  349. border-radius: 5px;
  350. font-size: 12px;
  351. white-space: nowrap;
  352. visibility: hidden;
  353. opacity: 0;
  354. transition: opacity 0.2s;
  355. bottom: 120%;
  356. left: 50%;
  357. transform: translateX(-50%);
  358. }
  359.  
  360. .stream__actions button:hover::before {
  361. visibility: visible;
  362. opacity: 1;
  363. }
  364.  
  365. #mic-btn {
  366. border: 2px solid #FFF;
  367. background-color: #262625;
  368. }
  369.  
  370. #camera-btn, #screen-btn {
  371. border: 2px solid red;
  372. background-color: rgba(255, 0, 0, 0.1);
  373. position: relative;
  374. }
  375.  
  376. #camera-btn::after, #screen-btn::after {
  377. content: "";
  378. position: absolute;
  379. width: 120%;
  380. height: 2px;
  381. background: red;
  382. top: 48%;
  383. left: -6px;
  384. transform: rotate(-35deg);
  385. }
  386.  
  387. .stream__actions button:hover {
  388. opacity: 0.8;
  389. }
  390.  
  391. #camera-btn:hover, #screen-btn:hover {
  392. background-color: rgba(255, 0, 0, 0.2);
  393. }
  394.  
  395. #mic-btn.disabled {
  396. border: 2px solid red;
  397. background-color: rgba(255, 0, 0, 0.1);
  398. }
  399.  
  400. #mic-btn.disabled::after {
  401. content: "";
  402. position: absolute;
  403. width: 120%;
  404. height: 2px;
  405. background: red;
  406. top: 48%;
  407. left: -6px;
  408. transform: rotate(-35deg);
  409. }
  410.  
  411. border: 2px solid #FFF;
  412. background-color: #262625;
  413. }
  414.  
  415. #mic-btn.active::after {
  416. content: none;
  417. }
  418.  
  419. #camera-btn.active, #screen-btn.active {
  420. border: 2px solid #FFF;
  421. background-color: #262625;
  422. }
  423.  
  424. #camera-btn.active::after, #screen-btn.active::after {
  425. content: none;
  426. }
  427.  
  428. .stream__actions a svg,
  429. .stream__actions button svg {
  430. width: 1.5rem;
  431. height: 1.5rem;
  432. fill: #FFF;
  433. }
  434.  
  435. .stream__actions a.active,
  436. .stream__actions button.active,
  437. .stream__actions a:hover {
  438. background-color: #262625;
  439. }
  440.  
  441. .stream__actions button:hover {
  442. border: 1px solid #FFF;
  443. }
Advertisement
Add Comment
Please, Sign In to add comment