The code powering m.abunchtell.com https://m.abunchtell.com
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 

322 rindas
5.5 KiB

  1. .card {
  2. & > a {
  3. display: block;
  4. text-decoration: none;
  5. color: inherit;
  6. box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
  7. @media screen and (max-width: $no-gap-breakpoint) {
  8. box-shadow: none;
  9. }
  10. &:hover,
  11. &:active,
  12. &:focus {
  13. .card__bar {
  14. background: lighten($ui-base-color, 8%);
  15. }
  16. }
  17. }
  18. &__img {
  19. height: 130px;
  20. position: relative;
  21. background: darken($ui-base-color, 12%);
  22. border-radius: 4px 4px 0 0;
  23. img {
  24. display: block;
  25. width: 100%;
  26. height: 100%;
  27. margin: 0;
  28. object-fit: cover;
  29. border-radius: 4px 4px 0 0;
  30. }
  31. @media screen and (max-width: 600px) {
  32. height: 200px;
  33. }
  34. @media screen and (max-width: $no-gap-breakpoint) {
  35. display: none;
  36. }
  37. }
  38. &__bar {
  39. position: relative;
  40. padding: 15px;
  41. display: flex;
  42. justify-content: flex-start;
  43. align-items: center;
  44. background: lighten($ui-base-color, 4%);
  45. border-radius: 0 0 4px 4px;
  46. @media screen and (max-width: $no-gap-breakpoint) {
  47. border-radius: 0;
  48. }
  49. .avatar {
  50. flex: 0 0 auto;
  51. width: 48px;
  52. height: 48px;
  53. padding-top: 2px;
  54. img {
  55. width: 100%;
  56. height: 100%;
  57. display: block;
  58. margin: 0;
  59. border-radius: 4px;
  60. background: darken($ui-base-color, 8%);
  61. object-fit: cover;
  62. }
  63. }
  64. .display-name {
  65. margin-left: 15px;
  66. text-align: left;
  67. strong {
  68. font-size: 15px;
  69. color: $primary-text-color;
  70. font-weight: 500;
  71. overflow: hidden;
  72. text-overflow: ellipsis;
  73. }
  74. span {
  75. display: block;
  76. font-size: 14px;
  77. color: $darker-text-color;
  78. font-weight: 400;
  79. overflow: hidden;
  80. text-overflow: ellipsis;
  81. }
  82. }
  83. }
  84. }
  85. .pagination {
  86. padding: 30px 0;
  87. text-align: center;
  88. overflow: hidden;
  89. a,
  90. .current,
  91. .newer,
  92. .older,
  93. .page,
  94. .gap {
  95. font-size: 14px;
  96. color: $primary-text-color;
  97. font-weight: 500;
  98. display: inline-block;
  99. padding: 6px 10px;
  100. text-decoration: none;
  101. }
  102. .current {
  103. background: $simple-background-color;
  104. border-radius: 100px;
  105. color: $inverted-text-color;
  106. cursor: default;
  107. margin: 0 10px;
  108. }
  109. .gap {
  110. cursor: default;
  111. }
  112. .older,
  113. .newer {
  114. text-transform: uppercase;
  115. color: $secondary-text-color;
  116. }
  117. .older {
  118. float: left;
  119. padding-left: 0;
  120. .fa {
  121. display: inline-block;
  122. margin-right: 5px;
  123. }
  124. }
  125. .newer {
  126. float: right;
  127. padding-right: 0;
  128. .fa {
  129. display: inline-block;
  130. margin-left: 5px;
  131. }
  132. }
  133. .disabled {
  134. cursor: default;
  135. color: lighten($inverted-text-color, 10%);
  136. }
  137. @media screen and (max-width: 700px) {
  138. padding: 30px 20px;
  139. .page {
  140. display: none;
  141. }
  142. .newer,
  143. .older {
  144. display: inline-block;
  145. }
  146. }
  147. }
  148. .nothing-here {
  149. background: $ui-base-color;
  150. box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
  151. color: $light-text-color;
  152. font-size: 14px;
  153. font-weight: 500;
  154. text-align: center;
  155. display: flex;
  156. justify-content: center;
  157. align-items: center;
  158. cursor: default;
  159. border-radius: 4px;
  160. padding: 20px;
  161. min-height: 30vh;
  162. &--under-tabs {
  163. border-radius: 0 0 4px 4px;
  164. }
  165. &--flexible {
  166. box-sizing: border-box;
  167. min-height: 100%;
  168. }
  169. }
  170. .account-role {
  171. display: inline-block;
  172. padding: 4px 6px;
  173. cursor: default;
  174. border-radius: 3px;
  175. font-size: 12px;
  176. line-height: 12px;
  177. font-weight: 500;
  178. color: $ui-secondary-color;
  179. background-color: rgba($ui-secondary-color, 0.1);
  180. border: 1px solid rgba($ui-secondary-color, 0.5);
  181. &.moderator {
  182. color: $success-green;
  183. background-color: rgba($success-green, 0.1);
  184. border-color: rgba($success-green, 0.5);
  185. }
  186. &.admin {
  187. color: lighten($error-red, 12%);
  188. background-color: rgba(lighten($error-red, 12%), 0.1);
  189. border-color: rgba(lighten($error-red, 12%), 0.5);
  190. }
  191. }
  192. .account__header__fields {
  193. padding: 0;
  194. margin: 15px -15px -15px;
  195. border: 0 none;
  196. border-top: 1px solid lighten($ui-base-color, 12%);
  197. border-bottom: 1px solid lighten($ui-base-color, 12%);
  198. font-size: 14px;
  199. line-height: 20px;
  200. dl {
  201. display: flex;
  202. border-bottom: 1px solid lighten($ui-base-color, 12%);
  203. }
  204. dt,
  205. dd {
  206. box-sizing: border-box;
  207. padding: 14px;
  208. text-align: center;
  209. max-height: 48px;
  210. overflow: hidden;
  211. white-space: nowrap;
  212. text-overflow: ellipsis;
  213. }
  214. dt {
  215. font-weight: 500;
  216. width: 120px;
  217. flex: 0 0 auto;
  218. color: $secondary-text-color;
  219. background: rgba(darken($ui-base-color, 8%), 0.5);
  220. }
  221. dd {
  222. flex: 1 1 auto;
  223. color: $darker-text-color;
  224. }
  225. a {
  226. color: $highlight-text-color;
  227. text-decoration: none;
  228. &:hover,
  229. &:focus,
  230. &:active {
  231. text-decoration: underline;
  232. }
  233. }
  234. .verified {
  235. border: 1px solid rgba($valid-value-color, 0.5);
  236. background: rgba($valid-value-color, 0.25);
  237. a {
  238. color: $valid-value-color;
  239. font-weight: 500;
  240. }
  241. &__mark {
  242. color: $valid-value-color;
  243. }
  244. }
  245. dl:last-child {
  246. border-bottom: 0;
  247. }
  248. }
  249. .directory__tag .trends__item__current {
  250. width: auto;
  251. }
  252. .pending-account {
  253. &__header {
  254. color: $darker-text-color;
  255. a {
  256. color: $ui-secondary-color;
  257. text-decoration: none;
  258. &:hover,
  259. &:active,
  260. &:focus {
  261. text-decoration: underline;
  262. }
  263. }
  264. strong {
  265. color: $primary-text-color;
  266. font-weight: 700;
  267. }
  268. }
  269. &__body {
  270. margin-top: 10px;
  271. }
  272. }