Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. @use './variables';
  2. #chat-conversation-container {
  3. // extract message input height
  4. box-sizing: border-box;
  5. height: calc(100% - 64px);
  6. overflow: hidden;
  7. position: relative;
  8. }
  9. #chatconversation {
  10. box-sizing: border-box;
  11. flex: 1;
  12. font-size: 10pt;
  13. height: calc(100% - 10px);
  14. line-height: 20px;
  15. overflow: auto;
  16. padding: 16px;
  17. text-align: left;
  18. word-wrap: break-word;
  19. display: flex;
  20. flex-direction: column;
  21. &.focus-visible {
  22. outline: 0;
  23. margin: 4px;
  24. border-radius: 0 0 variables.$borderRadius variables.$borderRadius;
  25. box-shadow: 0px 0px 0px 2px #4687ed; // focus01/primary07
  26. }
  27. & > :first-child {
  28. margin-top: auto;
  29. }
  30. a {
  31. display: block;
  32. }
  33. a:link {
  34. color: rgb(184, 184, 184);
  35. }
  36. a:visited {
  37. color: white;
  38. }
  39. a:hover {
  40. color: rgb(213, 213, 213);
  41. }
  42. a:active {
  43. color: black;
  44. }
  45. }
  46. .chat-input-container {
  47. padding: 0 16px 24px;
  48. }
  49. #chat-input {
  50. display: flex;
  51. align-items: flex-end;
  52. position: relative;
  53. }
  54. .chat-input {
  55. flex: 1;
  56. margin-right: 8px;
  57. }
  58. #nickname {
  59. text-align: center;
  60. color: #9d9d9d;
  61. font-size: 16px;
  62. margin: auto 0;
  63. padding: 0 16px;
  64. label[for="nickinput"] {
  65. > div > span {
  66. color: #B8C7E0;
  67. }
  68. }
  69. input {
  70. height: 40px;
  71. }
  72. label {
  73. line-height: 24px;
  74. }
  75. }
  76. .mobile-browser {
  77. #nickname {
  78. input {
  79. height: 48px;
  80. }
  81. }
  82. .chatmessage .usermessage {
  83. font-size: 16px;
  84. }
  85. }
  86. .chatmessage {
  87. &.error {
  88. border-radius: 0px;
  89. .timestamp,
  90. .display-name {
  91. display: none;
  92. }
  93. .usermessage {
  94. color: #ffffff;
  95. padding: 0;
  96. }
  97. }
  98. .messagecontent {
  99. max-width: 100%;
  100. overflow: hidden;
  101. }
  102. }
  103. #smileys {
  104. font-size: 20pt;
  105. margin: auto;
  106. cursor: pointer;
  107. }
  108. #smileys img {
  109. width: 22px;
  110. padding: 2px;
  111. }
  112. .smiley-input {
  113. display: flex;
  114. position: absolute;
  115. top: 0;
  116. left: 0;
  117. }
  118. .smileys-panel {
  119. bottom: 100%;
  120. box-sizing: border-box;
  121. background-color: rgba(0, 0, 0, .6) !important;
  122. height: auto;
  123. display: flex;
  124. overflow: hidden;
  125. position: absolute;
  126. width: calc(#{$sidebarWidth} - 32px);
  127. margin-bottom: 5px;
  128. margin-left: -5px;
  129. /**
  130. * CSS transitions do not apply for auto dimensions. So to produce the css
  131. * accordion effect for showing and hiding the smiley-panel, while allowing
  132. * for variable panel, height, use a very large max-height and animate off
  133. * of that.
  134. */
  135. transition: max-height 0.3s;
  136. #smileysContainer {
  137. background-color: $chatBackgroundColor;
  138. border-top: 1px solid #A4B8D1;
  139. }
  140. }
  141. #smileysContainer .smiley {
  142. font-size: 20pt;
  143. }
  144. .smileyContainer {
  145. width: 40px;
  146. height: 40px;
  147. display: inline-block;
  148. text-align: center;
  149. }
  150. .smileyContainer:hover {
  151. background-color: rgba(255, 255, 255, 0.15);
  152. border-radius: 5px;
  153. cursor: pointer;
  154. }
  155. .chat-message-group {
  156. &.local {
  157. align-items: flex-end;
  158. .display-name {
  159. display: none;
  160. }
  161. .timestamp {
  162. text-align: right;
  163. }
  164. }
  165. &.error {
  166. .display-name {
  167. display: none;
  168. }
  169. }
  170. }
  171. .chat-dialog {
  172. display: flex;
  173. flex-direction: column;
  174. height: 100%;
  175. margin-top: -5px; // Margin set by atlaskit.
  176. &-header {
  177. display: flex;
  178. justify-content: space-between;
  179. align-items: center;
  180. margin: 16px;
  181. width: calc(100% - 32px);
  182. box-sizing: border-box;
  183. color: #fff;
  184. font-weight: 600;
  185. font-size: 24px;
  186. line-height: 32px;
  187. .jitsi-icon {
  188. cursor: pointer;
  189. }
  190. }
  191. #chatconversation {
  192. width: 100%;
  193. }
  194. }
  195. /**
  196. * Make header close button more easily tappable on mobile.
  197. */
  198. .mobile-browser .chat-dialog-header .jitsi-icon {
  199. display: grid;
  200. place-items: center;
  201. height: 48px;
  202. width: 48px;
  203. background: #36383C;
  204. border-radius: 3px;
  205. }