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.

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