chatRoom.scss 2.0 KB

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