web.scss 3.2 KB

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