web.scss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. .tui-conversation {
  2. width: 100%;
  3. height: 100%;
  4. flex: 1;
  5. overflow: hidden;
  6. display: flex;
  7. flex-direction: column;
  8. &-list {
  9. overflow: auto;
  10. }
  11. .header {
  12. display: flex;
  13. flex-direction: row;
  14. align-items: center;
  15. justify-content: space-around;
  16. border-bottom: 1px solid #f4f4f4;
  17. padding: 5px;
  18. }
  19. .item {
  20. display: flex;
  21. flex-direction: column;
  22. align-items: center;
  23. justify-content: center;
  24. position: relative;
  25. }
  26. }
  27. .tui-conversation-header {
  28. width: 100%;
  29. position: relative;
  30. .list {
  31. display: flex;
  32. align-items: center;
  33. border-bottom: 1px solid #F4F5F9;
  34. padding: 7px 0;
  35. &-item {
  36. flex: 1;
  37. display: flex;
  38. position: relative;
  39. padding: 7px;
  40. cursor: pointer;
  41. user-select: none;
  42. }
  43. }
  44. &-item {
  45. flex: 1;
  46. display: flex;
  47. align-items: center;
  48. &-title {
  49. padding: 0 8px;
  50. font-size: 16px;
  51. font-weight: normal;
  52. }
  53. }
  54. &-children {
  55. position: absolute;
  56. top: 100%;
  57. z-index: 3;
  58. padding: 7px 9px;
  59. border-bottom: none;
  60. background-color: #fff;
  61. box-shadow: 0 3px 7px 0 #0003;
  62. flex-direction: column;
  63. }
  64. }
  65. .network {
  66. padding: 0 12px;
  67. display: flex;
  68. align-items: center;
  69. .icon-error {
  70. display: flex;
  71. justify-content: center;
  72. align-items: center;
  73. width: 15px;
  74. height: 15px;
  75. border-radius: 15px;
  76. background: red;
  77. color: #fff;
  78. font-style: normal;
  79. }
  80. &-content {
  81. padding: 5px;
  82. font-size: 12px;
  83. line-height: 22px;
  84. }
  85. }
  86. .plus {
  87. display: inline-block;
  88. width: 30px;
  89. height: 30px;
  90. position: relative;
  91. }
  92. .plus::before,
  93. .plus::after {
  94. content: "";
  95. position: absolute;
  96. background-color: #232832;
  97. border-radius: 0.5px;
  98. width: 1px;
  99. height: 14px;
  100. left: 0;
  101. right: 0;
  102. top: 0;
  103. bottom: 0;
  104. margin: auto;
  105. }
  106. .plus::after {
  107. transform: rotate(90deg);
  108. width: 0.5px;
  109. }