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.

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