web.scss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. .tui-search-result {
  2. overflow: hidden;
  3. flex: 1;
  4. display: flex;
  5. width: 100%;
  6. flex-direction: row;
  7. box-sizing: border-box;
  8. &-with-border {
  9. border-top: 1px solid rgba(0,0,0,0.1);
  10. }
  11. &-detail {
  12. width: 360px;
  13. overflow-y: hidden;
  14. border-left: 1px solid rgba(0,0,0,0.1);
  15. display: flex;
  16. flex-direction: column;
  17. flex: 1;
  18. .tui-search-message-header {
  19. padding: 10px;
  20. display: flex;
  21. flex-direction: row;
  22. place-content: space-between space-between;
  23. font-size: 14px;
  24. align-items: center;
  25. .header-content {
  26. display: flex;
  27. flex-flow: row nowrap;
  28. flex: 1;
  29. overflow: hidden;
  30. color: #666;
  31. white-space: nowrap;
  32. .header-content-count {
  33. width: fit-content;
  34. white-space: nowrap;
  35. }
  36. .header-content-keyword {
  37. overflow: hidden;
  38. text-overflow: ellipsis;
  39. white-space: nowrap;
  40. }
  41. .header-content-type {
  42. width: 110px;
  43. white-space: nowrap;
  44. }
  45. .normal {
  46. color: #666;
  47. }
  48. .highlight {
  49. color: #007aff;
  50. }
  51. }
  52. .header-enter {
  53. margin-left: 10px;
  54. width: 70px;
  55. color: #666;
  56. display: flex;
  57. flex-direction: row;
  58. justify-content: center;
  59. align-items: center;
  60. cursor: pointer;
  61. }
  62. }
  63. .tui-search-message-list {
  64. overflow-y: auto;
  65. .list-item {
  66. width: 100%;
  67. flex: 1;
  68. overflow: hidden;
  69. }
  70. .list-group {
  71. &.list-group-image {
  72. display: flex;
  73. flex-flow: row wrap;
  74. .list-group-item {
  75. width: 111px;
  76. height: 111px;
  77. }
  78. }
  79. .list-group-date {
  80. width: 100%;
  81. box-sizing: border-box;
  82. font-family: "PingFang SC", sans-serif;
  83. font-size: 14px;
  84. font-weight: 400;
  85. line-height: 20px;
  86. letter-spacing: 0;
  87. text-align: left;
  88. padding: 10px 10px 2px;
  89. }
  90. }
  91. .more {
  92. display: flex;
  93. flex-direction: row;
  94. font-size: 14px;
  95. padding: 8px 0;
  96. justify-content: center;
  97. align-items: center;
  98. user-select: none;
  99. cursor: pointer;
  100. .more-text {
  101. padding-left: 8px;
  102. font-size: 12px;
  103. color: #007aff;
  104. user-select: none;
  105. }
  106. }
  107. }
  108. }
  109. &-main {
  110. width: 350px;
  111. padding: 10px;
  112. overflow-y: auto;
  113. display: flex;
  114. flex-direction: column;
  115. flex: 1;
  116. .tui-search-result-list {
  117. &-item {
  118. .header {
  119. font-size: 14px;
  120. padding: 4px 0;
  121. }
  122. .list {
  123. display: flex;
  124. flex-direction: column;
  125. .list-item {
  126. cursor: pointer;
  127. }
  128. .list-item-selected {
  129. background: #f2f2f2;
  130. border-radius: 5px;
  131. }
  132. }
  133. .more {
  134. display: flex;
  135. flex-direction: row;
  136. font-size: 14px;
  137. // padding: 8px 0;
  138. padding-top: 10px;
  139. user-select: none;
  140. cursor: pointer;
  141. .more-text {
  142. padding-left: 8px;
  143. font-size: 12px;
  144. color: #007aff;
  145. user-select: none;
  146. }
  147. }
  148. }
  149. }
  150. }
  151. .tui-search-result-in-conversation {
  152. border: none;
  153. }
  154. }