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.

_user.less 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. @import "variables.less";
  2. .user {
  3. &.profile {
  4. .ui.card {
  5. .header,
  6. .username {
  7. display: block;
  8. }
  9. .header {
  10. font-weight: 600;
  11. font-size: 1.3rem;
  12. margin-top: -.2rem;
  13. line-height: 1.3rem;
  14. }
  15. .profile-avatar-name {
  16. border-top: none;
  17. }
  18. .extra.content {
  19. padding: 0;
  20. ul {
  21. margin: 0;
  22. padding: 0;
  23. li {
  24. padding: 10px;
  25. list-style: none;
  26. &:not(:last-child) {
  27. border-bottom: 1px solid var(--color-secondary);
  28. }
  29. .svg,
  30. .fa {
  31. margin-left: 1px;
  32. margin-right: 5px;
  33. }
  34. &.follow {
  35. .ui.button {
  36. width: 100%;
  37. }
  38. }
  39. }
  40. }
  41. }
  42. #profile-avatar {
  43. background: none;
  44. padding: 1rem 1rem .25rem;
  45. img {
  46. width: 100%;
  47. height: auto;
  48. object-fit: contain;
  49. margin: 0;
  50. }
  51. @media @mediaSm {
  52. height: 250px;
  53. overflow: hidden;
  54. img {
  55. max-height: 767px;
  56. max-width: 767px;
  57. }
  58. }
  59. }
  60. @media @mediaSm {
  61. width: 100%;
  62. }
  63. }
  64. .ui.repository.list {
  65. margin-top: 25px;
  66. }
  67. #loading-heatmap {
  68. margin-bottom: 1em;
  69. }
  70. .ui.secondary.stackable.pointing.menu {
  71. flex-wrap: wrap;
  72. }
  73. }
  74. &.followers {
  75. .header.name {
  76. font-size: 20px;
  77. line-height: 24px;
  78. vertical-align: middle;
  79. }
  80. .follow {
  81. .ui.button {
  82. padding: 8px 15px;
  83. }
  84. }
  85. }
  86. &.notification {
  87. .svg {
  88. float: left;
  89. font-size: 2em;
  90. &.green {
  91. color: var(--color-green);
  92. }
  93. &.red {
  94. color: var(--color-red);
  95. }
  96. &.purple {
  97. color: var(--color-purple);
  98. }
  99. &.blue {
  100. color: var(--color-blue);
  101. }
  102. }
  103. .content {
  104. float: left;
  105. margin-left: 7px;
  106. }
  107. table {
  108. form {
  109. display: inline-block;
  110. }
  111. button {
  112. padding: 3px 3px 3px 5px;
  113. }
  114. tr {
  115. cursor: pointer;
  116. }
  117. }
  118. }
  119. .button.adopt,
  120. .button.delete {
  121. margin-top: -15px;
  122. margin-bottom: -15px;
  123. .label {
  124. vertical-align: middle;
  125. }
  126. }
  127. &.link-account:not(.icon) {
  128. padding-top: 15px;
  129. padding-bottom: 5px;
  130. }
  131. &.settings {
  132. .iconFloat {
  133. float: left;
  134. }
  135. }
  136. }
  137. .user-orgs {
  138. display: flex;
  139. flex-flow: row wrap;
  140. padding: 0;
  141. margin: -3px !important;
  142. li {
  143. display: flex;
  144. border-bottom: 0 !important;
  145. padding: 3px !important;
  146. width: 20%;
  147. max-width: 60px;
  148. }
  149. }