chatRoom.scss 1.9 KB

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