_user.less 3.7 KB

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