_user.less 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  1. .user {
  2. &:not(.icon) {
  3. padding-top: @15;
  4. padding-bottom: @footer-margin * 2;
  5. }
  6. &.settings {
  7. .list {
  8. .item.ui.grid {
  9. margin-top: @15;
  10. }
  11. }
  12. .email.list {
  13. .item:not(:first-child) {
  14. border-top: 1px solid #eaeaea;
  15. height: 50px;
  16. .button {
  17. margin-top: -@10;
  18. }
  19. }
  20. .item .ui.primary.label {
  21. margin-top: -5px;
  22. }
  23. }
  24. &.sshkeys,
  25. &.applications {
  26. .right.floated.button {
  27. padding-top: 1rem;
  28. padding-bottom: 1rem;
  29. }
  30. }
  31. &.security {
  32. .two-factor .toggle.button {
  33. margin-top: -5px;
  34. }
  35. }
  36. &.repositories .repos {
  37. padding: 0;
  38. .item {
  39. padding: @15;
  40. height: 46px;
  41. .button {
  42. margin-top: -5px;
  43. }
  44. }
  45. }
  46. &.organizations .orgs {
  47. &.non-empty {
  48. padding: 0;
  49. }
  50. .item {
  51. padding: @10;
  52. .button {
  53. margin-top: @5;
  54. margin-right: 8px;
  55. }
  56. }
  57. }
  58. }
  59. &.profile {
  60. .ui.card {
  61. .profile-avatar {
  62. height: 287px;
  63. }
  64. .header {
  65. word-break: break-all;
  66. }
  67. .username {
  68. background-color: #ffdb99;
  69. color: #330000;
  70. display: inline-block;
  71. margin-top: @5;
  72. padding: 3px;
  73. padding-left: 8px;
  74. padding-right: 8px;
  75. border-radius: 2em;
  76. font-size: 11px;
  77. }
  78. .extra.content {
  79. padding: 0;
  80. ul {
  81. margin: 0;
  82. padding: 0;
  83. li {
  84. padding: @10;
  85. list-style: none;
  86. &:not(:last-child) {
  87. border-bottom: 1px solid #eaeaea;
  88. font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
  89. font-weight: bold;
  90. }
  91. .octicon {
  92. margin-left: 1px;
  93. margin-right: @5;
  94. }
  95. &.follow {
  96. .ui.button {
  97. width: 100%;
  98. }
  99. }
  100. }
  101. }
  102. }
  103. }
  104. .ui.repository.list {
  105. margin-top: 25px;
  106. }
  107. }
  108. &.followers {
  109. .header.name {
  110. font-size: @20;
  111. line-height: 24px;
  112. vertical-align: middle;
  113. }
  114. .follow {
  115. .ui.button {
  116. padding: 8px @15;
  117. }
  118. }
  119. }
  120. &.description {
  121. margin-bottom: @5;
  122. margin-top: @5;
  123. overflow: hidden;
  124. font-size: 13px;
  125. color: #6a737d;
  126. font-family: monospace !important;
  127. font-weight: 100 !important;
  128. }
  129. }
  130. .verified {
  131. font-size: 16px;
  132. color: #328a46;
  133. margin-right: 3px;
  134. &.v-explore {
  135. font-size: 13px;
  136. }
  137. }
  138. .maker {
  139. font-size: 16px;
  140. color: #6435c9;
  141. &.m-explore {
  142. font-size: 13px;
  143. margin-right: 3px;
  144. }
  145. }
  146. .isstaff {
  147. font-size: 16px;
  148. color: #f2711c;
  149. }
  150. .isintern {
  151. font-size: 16px;
  152. color: #242424;
  153. }
  154. .developer {
  155. font-size: 16px;
  156. color: #00bcd4;
  157. }
  158. .gitotedeveloper {
  159. font-size: 16px;
  160. color: #21ba45;
  161. }
  162. .bughunter {
  163. font-size: 16px;
  164. color: #ff0000;
  165. margin-right: 2px;
  166. &.bh-explore {
  167. font-size: 13px;
  168. margin-right: 3px;
  169. }
  170. }
  171. .org-grid {
  172. display: inline-block;
  173. margin-bottom: 3px;
  174. }
  175. .staff {
  176. padding: 3px 4px;
  177. font-size: 12px;
  178. font-family: sans-serif;
  179. color: @white;
  180. text-transform: uppercase;
  181. border-radius: 2px;
  182. box-shadow: inset 0 -1px 0 rgba(27,31,35,0.12);
  183. background-color: #0366d6;
  184. }
  185. .pro-truncate {
  186. overflow: hidden;
  187. text-overflow: ellipsis;
  188. display: inline-block;
  189. width: 85%;
  190. margin-bottom: -6px;
  191. }
  192. // Mobile
  193. @media (max-width: 1020px) {
  194. .ui.eleven.wide.column{
  195. width: 100% !important;
  196. }
  197. .ui.container .ui.grid .ui.eleven.wide.column .text.right .ui.green.button{
  198. width: 100%;
  199. }
  200. .mobile-card {
  201. border-radius: 0 !important;
  202. box-shadow: none;
  203. padding: @15;
  204. font-family: monospace;
  205. &.follow {
  206. margin-top: @15;
  207. width: 100%;
  208. border-radius: @5 !important;
  209. }
  210. }
  211. .mobile-count {
  212. display: none !important;
  213. }
  214. .mobile-name {
  215. font-size: 18px;
  216. font-weight: bold;
  217. }
  218. .status {
  219. color: #949494;
  220. font-size: 12px;
  221. margin-top: 8px !important;
  222. }
  223. }
  224. // Only Dektop
  225. @media (min-width: 1020px) {
  226. .mobile-card {
  227. display: none;
  228. }
  229. }