hotGroup.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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. padding: 0 16px;
  24. border-bottom: 1px solid #d6d6d6;
  25. .title-wrap{
  26. position: relative;
  27. padding: 10px 0;
  28. font-size: 14px;
  29. color: #000;
  30. line-height: 40px;
  31. height: 40px;
  32. @include clearfix();
  33. &:before{
  34. content: "";
  35. display: inline-block;
  36. vertical-align: middle;
  37. margin-right: 10px;
  38. width: 2px;
  39. height: 12px;
  40. background: #299ef4;
  41. }
  42. span{
  43. float: right;
  44. color: #999999;
  45. cursor: pointer;
  46. }
  47. }
  48. }
  49. .box-bd{
  50. padding: 0 16px;
  51. }
  52. .list-group{
  53. display: flex;
  54. flex-wrap: wrap;
  55. margin-right: -10%;
  56. }
  57. .group-item {
  58. margin: 30px 4% 0 0;
  59. width: 20%;
  60. cursor: pointer;
  61. position: relative;
  62. @include webkitbox(1);
  63. &.current {
  64. background: #3f424c;
  65. cursor: default;
  66. }
  67. .info {
  68. @include flex(1);
  69. position: relative;
  70. margin-left: 12px;
  71. h3 {
  72. font-size: 12px;
  73. color: #333333;
  74. line-height: 20px;
  75. font-weight: 700;
  76. @include ellipsis;
  77. }
  78. p {
  79. font-size: 12px;
  80. color: #7c8ca5;
  81. margin: 10px 0 12px 0;
  82. padding-left: 20px;
  83. @include ellipsis;
  84. background: url("../../assets/recommend-group.png") 0 center no-repeat;
  85. }
  86. }
  87. .avatar-wrap {
  88. position: relative;
  89. height: 50px;
  90. }
  91. .user-avatar{
  92. width: 50px;
  93. height: 50px;
  94. line-height: 50px;
  95. }
  96. img.user-avatar {
  97. display: block;
  98. }
  99. .el-button{
  100. padding: 0;
  101. border-radius: 2px;
  102. width: 48px;
  103. height: 20px;
  104. font-size: 12px;
  105. }
  106. .icon-auth {
  107. position: absolute;
  108. bottom: 0;
  109. right: 0;
  110. width: 14px;
  111. height: 13px;
  112. background: url("../../assets/icon-chat-auth.png");
  113. }
  114. }
  115. @media screen and (max-width: 900px) {
  116. .group-item{
  117. width: 28%;
  118. margin-right: 4%;
  119. }
  120. }