content.less 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. @a-color: #ea0862;
  2. .index-content {
  3. height: 100%;
  4. .acc-title {
  5. color: #333;
  6. font-size: 16px;
  7. margin-bottom: 10px;
  8. span {
  9. font-size: 18px;
  10. color: @a-color;
  11. }
  12. }
  13. .index-userdata {
  14. background: #fff;
  15. padding: 20px;
  16. .userdata-img {
  17. height: 120px;
  18. width: 120px;
  19. padding-top: 120px;
  20. position: relative;
  21. overflow: hidden;
  22. border-radius: 50%;
  23. float: left;
  24. background: #eee;
  25. img {
  26. height: 120px;
  27. width: 120px;
  28. position: absolute;
  29. top: 0;
  30. left: 0;
  31. }
  32. }
  33. .userdata-content {
  34. margin-left: 140px;
  35. line-height: 30px;
  36. position: relative;
  37. a {
  38. color: @a-color;
  39. }
  40. .userdata-lvl {
  41. span {
  42. color: #fff;
  43. background: @a-color;
  44. border-radius: 2px;
  45. padding: 0 4px;
  46. }
  47. }
  48. .userdata-relate {
  49. button {
  50. border: none;
  51. border-radius: 4px;
  52. margin-top: 20px;
  53. margin-right: 20px;
  54. img {
  55. height: 20px;
  56. vertical-align: middle;
  57. }
  58. span {
  59. color: #fff;
  60. }
  61. }
  62. .relateweixin {
  63. background: #12d41e;
  64. }
  65. .relateqq {
  66. background: #3073c1;
  67. }
  68. .relateweibo {
  69. background: #cf331d;
  70. }
  71. }
  72. .userdata-follow {
  73. position: absolute;
  74. top: 0;
  75. right: 10px;
  76. }
  77. }
  78. }
  79. .index-record {
  80. background: #fff;
  81. padding: 20px;
  82. margin-top: 1px;
  83. .record-list {
  84. li {
  85. float: left;
  86. width: 200px;
  87. margin-right: 100px;
  88. line-height: 30px;
  89. a {
  90. color: @a-color;
  91. }
  92. }
  93. }
  94. }
  95. .index-activity {
  96. background: #fff;
  97. padding: 20px;
  98. margin-top: 20px;
  99. min-height: 300px;
  100. .activity-list {
  101. li {
  102. border-bottom: 1px dashed #eee;
  103. padding: 10px 0;
  104. .list-type {
  105. color: #666
  106. }
  107. .list-title {
  108. color: #333;
  109. margin-left: 10px;
  110. }
  111. a {
  112. padding: 0 4px;
  113. background: @a-color;
  114. color: #fff;
  115. border-radius: 2px;
  116. float: right;
  117. margin: 0 10px;
  118. }
  119. .list-time {
  120. color: #666;
  121. float: right;
  122. }
  123. }
  124. }
  125. }
  126. }
  127. .collection {
  128. background: #fff;
  129. padding: 20px;
  130. .avatar-box {
  131. height: 80px;
  132. width: 80px;
  133. padding-top: 80px;
  134. margin: 0 auto;
  135. position: relative;
  136. img {
  137. position: absolute;
  138. top: 0;
  139. left: 0;
  140. height: 80px;
  141. width: auto;
  142. }
  143. }
  144. }