chatRoom.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. .c-view{
  2. height: 100%;
  3. background: #eeeeee;
  4. //width: 716px;
  5. width: 100%;
  6. position: relative;
  7. }
  8. .box{
  9. @include webkitbox(2);
  10. .btn-join{
  11. padding: 20px 0;
  12. color: #438aff;
  13. font-size: 16px;
  14. text-align: center;
  15. background: #ffffff;
  16. cursor: pointer;
  17. &:hover{
  18. background: #fefefe;
  19. }
  20. }
  21. }
  22. .box-hd{
  23. .title-wrap{
  24. position: relative;
  25. padding: 10px 0;
  26. border-bottom: 1px solid #d6d6d6;
  27. font-size: 14px;
  28. color: #000;
  29. text-align: center;
  30. line-height: 40px;
  31. height: 40px;
  32. }
  33. .icon-link{
  34. display: inline-block;
  35. width: 18px;
  36. height: 18px;
  37. margin-left: 10px;
  38. vertical-align: middle;
  39. background: url(../../assets/icon-link.png) no-repeat;
  40. &:hover{
  41. text-decoration: none;
  42. opacity: 0.8;
  43. }
  44. }
  45. }
  46. .box-bd{
  47. flex: 1;
  48. position: relative;
  49. .bar{
  50. position: absolute;
  51. width: 100%;
  52. top: 0;
  53. bottom: 0;
  54. padding: 0 0 0 9px;
  55. overflow-y: scroll;
  56. box-sizing: border-box;
  57. &::-webkit-scrollbar {
  58. width: 8px;
  59. height: 6px;
  60. }
  61. &::-webkit-scrollbar-thumb {
  62. border-radius: 3px;
  63. -moz-border-radius: 3px;
  64. -webkit-border-radius: 3px;
  65. background-color: rgba($color: #8d8a8a, $alpha: 0.2);
  66. }
  67. &::-webkit-scrollbar-track {
  68. background-color: transparent;
  69. }
  70. }
  71. .msg-unread{
  72. border-radius: 20px;
  73. background: rgba(#000000, 0.5);
  74. padding: 0 10px;
  75. text-align: center;
  76. line-height: 32px;
  77. position: absolute;
  78. width: 120px;
  79. left: 50%;
  80. bottom: 10px;
  81. margin-left: -65px;
  82. cursor: pointer;
  83. &:hover{
  84. background: rgba(#000000, 0.3);
  85. }
  86. em{
  87. color: #ffffff;
  88. font-size: 14px;
  89. }
  90. i{
  91. transform: rotate(90deg);
  92. margin-right: 5px;
  93. }
  94. }
  95. }
  96. .el-icon-more{
  97. float: right;
  98. width: 40px;
  99. height: 40px;
  100. line-height: 40px;
  101. cursor: pointer;
  102. color: #333333;
  103. font-size: 20px;
  104. }
  105. .msg-wrap{
  106. margin-bottom: 16px;
  107. }
  108. .msg-top-more{
  109. margin-top: 10px;
  110. text-align: center;
  111. i{
  112. font-size: 30px;
  113. }
  114. em{
  115. font-size: 14px;
  116. line-height: 24px;
  117. color: #999999;
  118. }
  119. }
  120. .msg-loading-icon{
  121. display: block;
  122. background: url('../../assets/loading-icon.png') no-repeat;
  123. background-size: 100%;
  124. width: 16px;
  125. height: 16px;
  126. margin: 20px auto;
  127. animation: rotate 2s linear infinite;
  128. }