You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

272 lines
4.3 KiB

  1. .card {
  2. background: #282c37;
  3. background-size: cover;
  4. padding: 60px 0;
  5. padding-bottom: 0;
  6. border-radius: 4px 4px 0 0;
  7. box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  8. overflow: hidden;
  9. position: relative;
  10. &:after {
  11. background: rgba(0, 0, 0, 0.5);
  12. display: block;
  13. content: "";
  14. position: absolute;
  15. left: 0;
  16. top: 0;
  17. width: 100%;
  18. height: 100%;
  19. z-index: 1;
  20. }
  21. .name {
  22. display: block;
  23. font-size: 20px;
  24. line-height: 18px * 1.5;
  25. color: #fff;
  26. font-weight: 500;
  27. text-align: center;
  28. position: relative;
  29. z-index: 2;
  30. small {
  31. display: block;
  32. font-size: 14px;
  33. color: #2b90d9;
  34. font-weight: 400;
  35. }
  36. }
  37. .avatar {
  38. width: 120px;
  39. margin: 0 auto;
  40. margin-bottom: 15px;
  41. position: relative;
  42. z-index: 2;
  43. img {
  44. width: 120px;
  45. height: 120px;
  46. display: block;
  47. border-radius: 120px;
  48. }
  49. }
  50. .details {
  51. display: flex;
  52. margin-top: 30px;
  53. position: relative;
  54. z-index: 2;
  55. }
  56. .counter {
  57. width: 80px;
  58. color: #9baec8;
  59. padding: 0 10px;
  60. margin-bottom: 10px;
  61. border-right: 1px solid #9baec8;
  62. cursor: default;
  63. position: relative;
  64. a {
  65. display: block;
  66. }
  67. &:after {
  68. display: block;
  69. content: "";
  70. position: absolute;
  71. bottom: -10px;
  72. left: 0;
  73. width: 100%;
  74. border-bottom: 4px solid #9baec8;
  75. opacity: 0.5;
  76. transition: all 0.8s ease;
  77. }
  78. &.active {
  79. &:after {
  80. border-bottom: 4px solid #2b90d9;
  81. opacity: 1;
  82. }
  83. }
  84. &:hover {
  85. &:after {
  86. opacity: 1;
  87. transition-duration: 0.2s;
  88. }
  89. }
  90. a {
  91. text-decoration: none;
  92. color: inherit;
  93. }
  94. .counter-label {
  95. font-size: 12px;
  96. text-transform: uppercase;
  97. display: block;
  98. margin-bottom: 5px;
  99. }
  100. .counter-number {
  101. font-weight: 500;
  102. font-size: 18px;
  103. color: #fff;
  104. }
  105. }
  106. .bio {
  107. flex: 1;
  108. font-size: 14px;
  109. line-height: 18px;
  110. padding: 5px 10px;
  111. color: #d9e1e8;
  112. }
  113. }
  114. .pagination {
  115. padding: 30px 0;
  116. text-align: center;
  117. overflow: hidden;
  118. a, .current, .next_page, .previous_page, .gap {
  119. font-size: 14px;
  120. color: #fff;
  121. font-weight: 500;
  122. display: inline-block;
  123. padding: 6px 10px;
  124. text-decoration: none;
  125. }
  126. .current {
  127. background: #fff;
  128. border-radius: 100px;
  129. color: #282c37;
  130. cursor: default;
  131. }
  132. .gap {
  133. cursor: default;
  134. }
  135. .previous_page, .next_page {
  136. text-transform: uppercase;
  137. color: #d9e1e8;
  138. }
  139. .previous_page {
  140. float: left;
  141. padding-left: 0;
  142. .fa {
  143. display: inline-block;
  144. margin-right: 5px;
  145. }
  146. }
  147. .next_page {
  148. float: right;
  149. padding-right: 0;
  150. .fa {
  151. display: inline-block;
  152. margin-left: 5px;
  153. }
  154. }
  155. .disabled {
  156. cursor: default;
  157. color: lighten(#282c37, 10%);
  158. }
  159. }
  160. .accounts-grid {
  161. clear: both;
  162. box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  163. background: #fff;
  164. border-radius: 0 0 4px 4px;
  165. padding: 20px 10px;
  166. padding-bottom: 10px;
  167. overflow: hidden;
  168. .account-grid-card {
  169. box-sizing: border-box;
  170. width: 335px;
  171. float: left;
  172. border: 1px solid #d9e1e8;
  173. border-radius: 4px;
  174. color: #282c37;
  175. height: 160px;
  176. margin-bottom: 10px;
  177. &:nth-child(odd) {
  178. margin-right: 10px;
  179. }
  180. .account-grid-card__header {
  181. overflow: hidden;
  182. padding: 10px;
  183. border-bottom: 1px solid #d9e1e8;
  184. }
  185. .avatar {
  186. width: 60px;
  187. height: 60px;
  188. float: left;
  189. margin-right: 15px;
  190. img {
  191. display: block;
  192. width: 60px;
  193. height: 60px;
  194. border-radius: 60px;
  195. }
  196. }
  197. .name {
  198. width: 333-20-60-15px;
  199. float: left;
  200. padding-top: 10px;
  201. a {
  202. display: block;
  203. color: #282c37;
  204. text-decoration: none;
  205. &:hover {
  206. .display_name {
  207. text-decoration: underline;
  208. }
  209. }
  210. }
  211. }
  212. .display_name {
  213. font-size: 14px;
  214. display: block;
  215. }
  216. .username {
  217. color: #2b90d9;
  218. }
  219. .note {
  220. padding: 10px;
  221. padding-top: 15px;
  222. color: #9baec8;
  223. }
  224. }
  225. }
  226. .nothing-here {
  227. color: #9baec8;
  228. font-size: 14px;
  229. font-weight: 500;
  230. text-align: center;
  231. padding: 15px 0;
  232. padding-bottom: 25px;
  233. cursor: default;
  234. }