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

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