hotGroup.scss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  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. }
  11. .box-hd {
  12. padding: 0 16px;
  13. border-bottom: 1px solid #d6d6d6;
  14. .title-wrap {
  15. position: relative;
  16. padding: 10px 0;
  17. font-size: 14px;
  18. color: #000;
  19. line-height: 40px;
  20. height: 40px;
  21. @include clearfix();
  22. &:before {
  23. content: "";
  24. display: inline-block;
  25. vertical-align: middle;
  26. margin-right: 10px;
  27. width: 2px;
  28. height: 12px;
  29. background: #299ef4;
  30. }
  31. span {
  32. float: right;
  33. color: #999999;
  34. cursor: pointer;
  35. }
  36. }
  37. }
  38. .box-bd {
  39. padding: 0 16px 16px;
  40. @include flex(1);
  41. overflow-y: auto;
  42. overflow-x: hidden;
  43. }
  44. .list-group {
  45. display: flex;
  46. flex-wrap: wrap;
  47. margin-right: -10%;
  48. }
  49. .group-item {
  50. margin: 30px 4% 0 0;
  51. width: 20%;
  52. cursor: pointer;
  53. position: relative;
  54. @include webkitbox(1);
  55. &.current {
  56. background: #3f424c;
  57. cursor: default;
  58. }
  59. .info {
  60. @include flex(1);
  61. position: relative;
  62. margin-left: 12px;
  63. }
  64. h3 {
  65. font-size: 12px;
  66. color: #333333;
  67. line-height: 20px;
  68. font-weight: 700;
  69. @include ellipsis;
  70. }
  71. p {
  72. font-size: 12px;
  73. color: #7c8ca5;
  74. margin: 10px 0 12px 0;
  75. padding-left: 20px;
  76. @include ellipsis;
  77. background: url("../../assets/recommend-group.png") 0 center no-repeat;
  78. }
  79. .avatar-wrap {
  80. position: relative;
  81. height: 50px;
  82. }
  83. .user-avatar {
  84. width: 50px;
  85. height: 50px;
  86. line-height: 50px;
  87. }
  88. img.user-avatar {
  89. display: block;
  90. }
  91. .el-button {
  92. padding: 0;
  93. border-radius: 2px;
  94. width: 48px;
  95. height: 20px;
  96. font-size: 12px;
  97. }
  98. .icon-auth {
  99. position: absolute;
  100. bottom: 0;
  101. right: 0;
  102. width: 14px;
  103. height: 13px;
  104. background: url("../../assets/icon-chat-auth.png");
  105. }
  106. }
  107. @media screen and (max-width: 900px) {
  108. .group-item {
  109. width: 28%;
  110. margin-right: 4%;
  111. }
  112. }
  113. //左侧边栏
  114. .c-panel-nav {
  115. .title-wrap {
  116. text-align: center;
  117. color: #fff;
  118. font-size: 12px;
  119. padding: 0;
  120. border-bottom: 1px solid #3e4046;
  121. &::before{
  122. display: none;
  123. }
  124. }
  125. .c-view,
  126. .box {
  127. background: transparent;
  128. }
  129. .box-hd {
  130. border-color: #3e4046;
  131. }
  132. .box-bd {
  133. padding: 0;
  134. }
  135. .list-group {
  136. margin-right: 0;
  137. }
  138. .group-item {
  139. width: 100%;
  140. padding: 10px 13px 10px 20px;
  141. margin: 0;
  142. h3 {
  143. color: #fff;
  144. font-weight: normal;
  145. }
  146. p {
  147. margin: 6px 0 0 0;
  148. }
  149. }
  150. .avatar-wrap {
  151. height: 40px;
  152. }
  153. .user-avatar {
  154. width: 40px;
  155. height: 40px;
  156. line-height: 40px;
  157. }
  158. .el-button {
  159. position: absolute;
  160. top: 10px;
  161. right: 0;
  162. }
  163. }