Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576
  1. #sideToolbarContainer {
  2. background-color: $chatBackgroundColor;
  3. box-sizing: border-box;
  4. color: #FFF;
  5. display: flex;
  6. flex-direction: column;
  7. height: 100%;
  8. left: -$sidebarWidth;
  9. overflow: hidden;
  10. position: absolute;
  11. top: 0;
  12. width: $sidebarWidth;
  13. z-index: $sideToolbarContainerZ;
  14. /**
  15. * The sidebar (chat) is off-screen when hidden. Move it flush to the left
  16. * side of the window when it should be visible.
  17. */
  18. &.slideInExt {
  19. left: 0;
  20. }
  21. }
  22. #chatconversation {
  23. box-sizing: border-box;
  24. flex: 1;
  25. font-size: 10pt;
  26. line-height: 20px;
  27. overflow: auto;
  28. padding: 16px;
  29. text-align: left;
  30. width: $sidebarWidth;
  31. word-wrap: break-word;
  32. display: flex;
  33. flex-direction: column;
  34. & > :first-child {
  35. margin-top: auto;
  36. }
  37. a {
  38. display: block;
  39. }
  40. a:link {
  41. color: rgb(184, 184, 184);
  42. }
  43. a:visited {
  44. color: white;
  45. }
  46. a:hover {
  47. color: rgb(213, 213, 213);
  48. }
  49. a:active {
  50. color: black;
  51. }
  52. &::-webkit-scrollbar {
  53. background: #06a5df;
  54. width: 7px;
  55. }
  56. &::-webkit-scrollbar-button {
  57. display: none;
  58. }
  59. &::-webkit-scrollbar-track {
  60. background: black;
  61. }
  62. &::-webkit-scrollbar-track-piece {
  63. background: black;
  64. }
  65. &::-webkit-scrollbar-thumb {
  66. background: #06a5df;
  67. border-radius: 4px;
  68. }
  69. }
  70. #chat-recipient {
  71. align-items: center;
  72. background-color: $chatPrivateMessageBackgroundColor;
  73. display: flex;
  74. flex-direction: row;
  75. font-weight: 100;
  76. padding: 10px;
  77. span {
  78. color: white;
  79. display: flex;
  80. flex: 1;
  81. }
  82. div {
  83. svg {
  84. cursor: pointer;
  85. fill: white;
  86. }
  87. }
  88. }
  89. .chat-header {
  90. height: 70px;
  91. position: relative;
  92. width: 100%;
  93. z-index: 1;
  94. display: flex;
  95. justify-content: space-between;
  96. padding: 16px;
  97. align-items: center;
  98. box-sizing: border-box;
  99. color: #fff;
  100. font-weight: 600;
  101. font-size: 24px;
  102. line-height: 32px;
  103. .jitsi-icon {
  104. cursor: pointer;
  105. }
  106. }
  107. .chat-input-container {
  108. padding: 0 16px 16px;
  109. &.populated {
  110. #chat-input {
  111. .send-button {
  112. background: #1B67EC;
  113. cursor: pointer;
  114. margin-left: 0.3rem;
  115. @media (hover: hover) and (pointer: fine) {
  116. &:hover {
  117. background: #3D82FB;
  118. }
  119. }
  120. &:active {
  121. background: #0852D4;
  122. }
  123. path {
  124. fill: #fff;
  125. }
  126. }
  127. }
  128. }
  129. }
  130. #chat-input {
  131. border: 1px solid $chatInputSeparatorColor;
  132. display: flex;
  133. padding: 4px;
  134. border-radius: 3px;
  135. &:focus-within {
  136. border: 1px solid #619CF4;
  137. }
  138. * {
  139. background-color: transparent;
  140. }
  141. }
  142. .send-button-container {
  143. display: flex;
  144. align-items: center;
  145. }
  146. .send-button {
  147. display: flex;
  148. align-items: center;
  149. justify-content: center;
  150. height: 40px;
  151. width: 40px;
  152. border-radius: 3px;
  153. path {
  154. fill: $chatInputSeparatorColor;
  155. }
  156. }
  157. .smiley-button {
  158. display: flex;
  159. align-items: center;
  160. justify-content: center;
  161. height: 38px;
  162. width: 38px;
  163. margin: 2px;
  164. border-radius: 3px;
  165. }
  166. #chat-input .smiley-button {
  167. @media (hover: hover) and (pointer: fine) {
  168. &:hover {
  169. background-color: #484A4F;
  170. }
  171. }
  172. }
  173. .remoteuser {
  174. color: #B8C7E0;
  175. }
  176. .usrmsg-form {
  177. flex: 1;
  178. }
  179. #usermsg {
  180. border: 0px none;
  181. border-radius:0;
  182. box-shadow: none;
  183. color: white;
  184. font-size: 14px;
  185. padding: 10px;
  186. overflow-y: auto;
  187. resize: none;
  188. width: 100%;
  189. word-break: break-word;
  190. }
  191. #usermsg:hover {
  192. border: 0px none;
  193. box-shadow: none;
  194. }
  195. #usermsg:focus,
  196. #usermsg:active {
  197. border-bottom: 1px solid white;
  198. padding-bottom: 8px;
  199. }
  200. #nickname {
  201. text-align: center;
  202. color: #9d9d9d;
  203. font-size: 16px;
  204. margin: auto 0;
  205. padding: 0 16px;
  206. #nickname-title {
  207. margin-bottom: 5px;
  208. display: block;
  209. }
  210. label[for="nickinput"] {
  211. > div > span {
  212. color: #B8C7E0;
  213. }
  214. }
  215. input {
  216. height: 40px;
  217. }
  218. label {
  219. line-height: 24px;
  220. }
  221. .enter-chat {
  222. display: flex;
  223. align-items: center;
  224. justify-content: center;
  225. margin-top: 16px;
  226. height: 40px;
  227. background: #1B67EC;
  228. border-radius: 3px;
  229. color: #fff;
  230. cursor: pointer;
  231. &.disabled {
  232. color: #AFB6BC;
  233. background: #11336E;
  234. pointer-events: none;
  235. }
  236. }
  237. }
  238. .mobile-browser {
  239. #nickname {
  240. input {
  241. height: 48px;
  242. }
  243. .enter-chat {
  244. height: 48px;
  245. }
  246. }
  247. #usermsg {
  248. font-size: 16px;
  249. }
  250. .chatmessage .usermessage {
  251. font-size: 16px;
  252. }
  253. }
  254. .sideToolbarContainer {
  255. * {
  256. -webkit-user-select: text;
  257. user-select: text;
  258. }
  259. .display-name {
  260. font-size: 12px;
  261. font-weight: 600;
  262. margin-bottom: 5px;
  263. white-space: nowrap;
  264. text-overflow: ellipsis;
  265. overflow: hidden;
  266. }
  267. @media (max-width: 580px) {
  268. display: none !important;
  269. }
  270. }
  271. .sr-only {
  272. border: 0 !important;
  273. clip: rect(1px, 1px, 1px, 1px) !important;
  274. clip-path: inset(50%) !important;
  275. height: 1px !important;
  276. margin: -1px !important;
  277. overflow: hidden !important;
  278. padding: 0 !important;
  279. position: absolute !important;
  280. width: 1px !important;
  281. white-space: nowrap !important;
  282. }
  283. .chatmessage {
  284. background-color: $chatRemoteMessageBackgroundColor;
  285. border-radius: 0px 6px 6px 6px;
  286. box-sizing: border-box;
  287. color: white;
  288. margin-top: 3px;
  289. max-width: 100%;
  290. position: relative;
  291. &.localuser {
  292. background-color: $chatLocalMessageBackgroundColor;
  293. border-radius: 6px 0px 6px 6px;
  294. }
  295. .usermessage {
  296. white-space: pre-wrap;
  297. font-size: 14px;
  298. }
  299. &.error {
  300. border-radius: 0px;
  301. .timestamp,
  302. .display-name {
  303. display: none;
  304. }
  305. .usermessage {
  306. color: red;
  307. padding: 0;
  308. }
  309. }
  310. .privatemessagenotice {
  311. font-size: 11px;
  312. font-weight: 100;
  313. }
  314. .messagecontent {
  315. margin: 8px;
  316. max-width: 100%;
  317. overflow: hidden;
  318. }
  319. }
  320. .timestamp {
  321. color: #757575;
  322. }
  323. #smileys {
  324. font-size: 20pt;
  325. margin: auto;
  326. cursor: pointer;
  327. }
  328. #smileys img {
  329. width: 22px;
  330. padding: 2px;
  331. }
  332. #smileysarea {
  333. display: flex;
  334. max-height: 150px;
  335. min-height: 35px;
  336. overflow: hidden;
  337. }
  338. .smiley-input {
  339. display: flex;
  340. position: relative;
  341. }
  342. .smileys-panel {
  343. bottom: 100%;
  344. box-sizing: border-box;
  345. background-color: rgba(0, 0, 0, .6) !important;
  346. height: auto;
  347. display: none;
  348. overflow: hidden;
  349. position: absolute;
  350. width: calc(#{$sidebarWidth} - 32px);
  351. margin-bottom: 5px;
  352. margin-left: -5px;
  353. /**
  354. * CSS transitions do not apply for auto dimensions. So to produce the css
  355. * accordion effect for showing and hiding the smiley-panel, while allowing
  356. * for variable panel, height, use a very large max-height and animate off
  357. * of that.
  358. */
  359. transition: max-height 0.3s;
  360. &.show-smileys {
  361. display: flex;
  362. max-height: 500%;
  363. }
  364. #smileysContainer {
  365. background-color: $chatBackgroundColor;
  366. border-top: 1px solid $chatInputSeparatorColor;
  367. }
  368. }
  369. #smileysContainer .smiley {
  370. font-size: 20pt;
  371. }
  372. .smileyContainer {
  373. width: 40px;
  374. height: 40px;
  375. display: inline-block;
  376. text-align: center;
  377. }
  378. .smileyContainer:hover {
  379. background-color: $newToolbarButtonToggleColor;
  380. border-radius: 5px;
  381. cursor: pointer;
  382. }
  383. #usermsg::-webkit-scrollbar-track-piece {
  384. background: #3a3a3a;
  385. }
  386. .chat-message-group {
  387. display: flex;
  388. flex-direction: column;
  389. &.local {
  390. align-items: flex-end;
  391. .chatmessage {
  392. background-color: $chatLocalMessageBackgroundColor;
  393. border-radius: 6px 0px 6px 6px;
  394. &.privatemessage {
  395. background-color: $chatPrivateMessageBackgroundColor;
  396. }
  397. }
  398. .display-name {
  399. display: none;
  400. }
  401. .timestamp {
  402. text-align: right;
  403. }
  404. }
  405. &.error {
  406. .chatmessage {
  407. background-color: $defaultWarningColor;
  408. border-radius: 0px;
  409. font-weight: 100;
  410. }
  411. .display-name {
  412. display: none;
  413. }
  414. }
  415. .chatmessage-wrapper {
  416. max-width: 100%;
  417. .replywrapper {
  418. display: flex;
  419. flex-direction: row;
  420. align-items: center;
  421. .messageactions {
  422. align-self: stretch;
  423. border-left: 1px solid $chatActionsSeparatorColor;
  424. display: flex;
  425. flex-direction: column;
  426. justify-content: center;
  427. padding: 5px;
  428. .toolbox-icon {
  429. cursor: pointer;
  430. }
  431. }
  432. }
  433. }
  434. .chatmessage {
  435. background-color: $chatRemoteMessageBackgroundColor;
  436. border-radius: 0px 6px 6px 6px;
  437. display: inline-block;
  438. margin-top: 3px;
  439. color: white;
  440. &.privatemessage {
  441. background-color: $chatPrivateMessageBackgroundColor;
  442. }
  443. }
  444. }
  445. .chat-dialog {
  446. display: flex;
  447. flex-direction: column;
  448. height: 100%;
  449. margin-top: -5px; // Margin set by atlaskit.
  450. &-header {
  451. display: flex;
  452. justify-content: space-between;
  453. align-items: center;
  454. margin: 16px;
  455. width: calc(100% - 32px);
  456. box-sizing: border-box;
  457. color: #fff;
  458. font-weight: 600;
  459. font-size: 24px;
  460. line-height: 32px;
  461. .jitsi-icon {
  462. cursor: pointer;
  463. }
  464. }
  465. #chatconversation {
  466. width: 100%;
  467. }
  468. }
  469. .touchmove-hack {
  470. display: flex;
  471. flex: 1;
  472. overflow: auto;
  473. }
  474. /**
  475. * Make header close button more easily tappable on mobile.
  476. */
  477. .mobile-browser .chat-dialog-header .jitsi-icon {
  478. display: grid;
  479. place-items: center;
  480. height: 48px;
  481. width: 48px;
  482. background: #36383C;
  483. border-radius: 3px;
  484. }