web.scss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. .tui-chat {
  2. width: 100%;
  3. height: 100%;
  4. display: flex;
  5. flex-direction: column;
  6. overflow: hidden;
  7. &-main {
  8. min-height: 0;
  9. flex: 1;
  10. overflow: hidden;
  11. display: flex;
  12. flex-direction: column;
  13. position: relative;
  14. .tui-chat-safe-tips {
  15. background-color: #fff;
  16. color: #666;
  17. line-height: 18px;
  18. font-style: normal;
  19. text-align: justify;
  20. font-size: 14px;
  21. a {
  22. color: #006eff;
  23. float: right;
  24. }
  25. .item-item-disabled {
  26. color: #979797;
  27. }
  28. }
  29. .tui-chat-application-tips {
  30. text-align: center;
  31. width: 100%;
  32. background: #fce4d3;
  33. padding: 2px;
  34. font-size: 12px;
  35. }
  36. .application-tips-btn {
  37. color: #006eff;
  38. padding-left: 10px;
  39. }
  40. .tui-message-list {
  41. flex: 1;
  42. height: 100%;
  43. overflow: hidden auto;
  44. background: #f5f5f5;
  45. .message-more {
  46. font-size: 14px;
  47. padding: 5px;
  48. text-align: center;
  49. }
  50. .to-bottom-tip {
  51. position: sticky;
  52. bottom: 10px;
  53. left: 100%;
  54. margin-right: 15px;
  55. width: 92px;
  56. height: 28px;
  57. padding: 0 5px;
  58. background: #fff;
  59. border: 1px solid #e0e0e0;
  60. box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.06);
  61. display: flex;
  62. flex-direction: row;
  63. align-items: center;
  64. justify-content: center;
  65. border-radius: 3px;
  66. cursor: pointer;
  67. &-text {
  68. font-family: PingFangSC-Regular;
  69. font-weight: 400;
  70. font-size: 10px;
  71. color: #00b693;
  72. letter-spacing: 0;
  73. text-align: center;
  74. padding-left: 3px;
  75. }
  76. }
  77. .message-li {
  78. &:first-child {
  79. margin-top: 5px;
  80. }
  81. display: flex;
  82. padding: 0;
  83. flex-direction: column;
  84. .message-item {
  85. display: flex;
  86. position: relative;
  87. flex-direction: column;
  88. .message-tool {
  89. z-index: 5;
  90. position: absolute;
  91. cursor: pointer;
  92. transform: translateY(-100%);
  93. }
  94. .message-tool-out {
  95. right: 30px;
  96. left: auto;
  97. }
  98. .message-tool-in {
  99. left: 30px;
  100. right: auto;
  101. }
  102. .message-tool-bottom {
  103. z-index: 5;
  104. bottom: 0;
  105. transform: translateY(100%);
  106. }
  107. }
  108. .message-label {
  109. max-width: 50px;
  110. }
  111. }
  112. .right {
  113. flex-direction: row-reverse;
  114. justify-content: flex-start;
  115. }
  116. }
  117. }
  118. .disabled {
  119. position: relative;
  120. &::before {
  121. content: "";
  122. position: absolute;
  123. width: 100%;
  124. height: 100%;
  125. }
  126. }
  127. }
  128. .image-dialog {
  129. position: fixed;
  130. z-index: 5;
  131. width: 100vw;
  132. height: calc(100vh - 63px);
  133. top: 63px;
  134. left: 0;
  135. header {
  136. display: flex;
  137. justify-content: flex-end;
  138. width: 100%;
  139. box-sizing: border-box;
  140. padding: 10px;
  141. }
  142. }
  143. ::-webkit-scrollbar {
  144. width: 6px;
  145. height: 140px;
  146. background-color: transparent;
  147. }
  148. ::-webkit-scrollbar-track {
  149. border-radius: 10px;
  150. }
  151. ::-webkit-scrollbar-thumb {
  152. border-radius: 10px;
  153. background-color: #9a999c;
  154. }