_user.less 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  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: 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 !important;
  130. margin-right: 3px;
  131. &.v-explore {
  132. font-size: 13px;
  133. }
  134. }
  135. .isstaff {
  136. font-size: 16px;
  137. color: #f2711c;
  138. }
  139. .developer {
  140. font-size: 16px;
  141. color: #00bcd4;
  142. }
  143. .gitotedeveloper {
  144. font-size: 16px;
  145. color: #21ba45;
  146. }
  147. .org-grid {
  148. display: inline-block;
  149. margin-bottom: 3px;
  150. }
  151. .staff {
  152. padding: 3px 4px;
  153. font-size: 12px;
  154. font-family: 'Source Sans Pro', sans-serif;
  155. color: @white-100;
  156. text-transform: uppercase;
  157. border-radius: 5px;
  158. box-shadow: inset 0 -1px 0 rgba(27,31,35,0.12);
  159. background-color: #0366d6;
  160. }
  161. .pro-truncate {
  162. overflow: hidden;
  163. text-overflow: ellipsis;
  164. display: inline-block;
  165. width: 85%;
  166. margin-bottom: -6px;
  167. }
  168. // Mobile
  169. @media (max-width: 1020px) {
  170. .ui.eleven.wide.column{
  171. width: 100% !important;
  172. }
  173. .ui.container .ui.grid .ui.eleven.wide.column .text.right .ui.green.button{
  174. width: 100%;
  175. }
  176. .mobile-card {
  177. border-radius: 0 !important;
  178. box-shadow: none;
  179. padding: @15;
  180. font-family: monospace;
  181. &.follow {
  182. margin-top: @15;
  183. width: 100%;
  184. border-radius: @5 !important;
  185. }
  186. }
  187. .mobile-count {
  188. display: none !important;
  189. }
  190. .mobile-name {
  191. font-size: 18px;
  192. font-weight: bold;
  193. }
  194. .status {
  195. color: #949494;
  196. font-size: 12px;
  197. margin-top: 8px !important;
  198. }
  199. }
  200. // Only Dektop
  201. @media (min-width: 1020px) {
  202. .mobile-card {
  203. display: none;
  204. }
  205. }