profiles.less 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. // User Profiles
  2. // -------------------------
  3. .profiles-list {
  4. .user-cell {
  5. overflow: auto;
  6. .user-avatar {
  7. float: left;
  8. img {
  9. border-radius: @baseBorderRadius;
  10. width: 36px;
  11. height: 36px;
  12. }
  13. }
  14. .user-name {
  15. &:link, &:active, &:visited, &:hover {
  16. display: block;
  17. margin: 0px;
  18. margin-left: 36px + (@baseFontSize / 2);
  19. margin-top: (36px - (@baseFontSize * 1.7)) / 2 + 3px;
  20. color: @textColor;
  21. font-size: @baseFontSize * 1.7;
  22. }
  23. }
  24. }
  25. }
  26. .user-profile {
  27. .user-profile-header {
  28. .header-avatar {
  29. border-radius: @baseBorderRadius;
  30. float: left;
  31. width: 80px;
  32. height: 80px;
  33. margin-top: -8px;
  34. }
  35. .header-side {
  36. margin-left: 80px + @baseFontSize;
  37. h1 {
  38. margin-left: (@baseLineHeight / 3);
  39. }
  40. }
  41. }
  42. hr {
  43. border: none;
  44. border-top: 1px solid @grayLighter;
  45. margin: @baseFontSize 0px;
  46. }
  47. .stat-header {
  48. border-bottom: 1px solid darken(@bodyBackground, 10%);
  49. margin-bottom: @baseFontSize;
  50. .user-graph {
  51. height: 40px;
  52. overflow: hidden;
  53. svg {
  54. position: relative;
  55. left: 1px;
  56. height: 40px;
  57. width: 100%;
  58. }
  59. }
  60. .help-text {
  61. float: right;
  62. margin-bottom: @baseLineHeight * -1;
  63. position: relative;
  64. top: 40px + @fontSizeSmall - 8px;
  65. color: @grayLight;
  66. font-size: @fontSizeSmall;
  67. }
  68. h2 {
  69. margin-top: ((40px + @baseFontSize) * -1);
  70. position: relative;
  71. top: 4px;
  72. text-shadow: 0px 0px 3px @bodyBackground;
  73. }
  74. }
  75. .user-details {
  76. .label {
  77. font-size: @baseFontSize;
  78. }
  79. }
  80. .user-list {
  81. .user-cell {
  82. overflow: auto;
  83. .user-avatar {
  84. float: left;
  85. img {
  86. border-radius: @baseBorderRadius;
  87. width: 36px;
  88. height: 36px;
  89. }
  90. }
  91. .user-name {
  92. &:link, &:active, &:visited, &:hover {
  93. display: block;
  94. margin: 0px;
  95. margin-left: 36px + (@baseFontSize / 2);
  96. margin-top: (36px - (@baseFontSize * 1.7)) / 2 + 3px;
  97. color: @textColor;
  98. font-size: @baseFontSize * 1.7;
  99. }
  100. }
  101. }
  102. }
  103. .content-list {
  104. .media {
  105. overflow: auto;
  106. .media-object {
  107. border-radius: @baseBorderRadius;
  108. width: 52px;
  109. height: 52px;
  110. }
  111. .media-body {
  112. margin-left: 52px + @baseFontSize;
  113. .post-preview {
  114. &:link, &:active, &:visited, &:hover {
  115. display: block;
  116. margin-top: @baseFontSize / 2;
  117. color: @textColor;
  118. font-size: @baseFontSize * 1.2;
  119. text-decoration: none;
  120. }
  121. }
  122. .media-footer {
  123. margin: 0px;
  124. color: @grayLight;
  125. font-size: @fontSizeMini;
  126. font-weight: normal;
  127. a {
  128. color: @gray;
  129. }
  130. }
  131. }
  132. }
  133. }
  134. }