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.

_dashboard.less 3.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. .dashboard {
  2. &.feeds,
  3. &.issues {
  4. .context.user.menu {
  5. z-index: 101;
  6. min-width: 200px;
  7. .ui.header {
  8. font-size: 1rem;
  9. text-transform: none;
  10. }
  11. }
  12. .filter.menu {
  13. width: initial;
  14. .item {
  15. text-align: left;
  16. display: flex;
  17. align-items: center;
  18. justify-content: space-between;
  19. .text {
  20. height: 16px;
  21. vertical-align: middle;
  22. &.truncate {
  23. width: 75%;
  24. }
  25. }
  26. .floating.label {
  27. top: 7px;
  28. left: 90%;
  29. width: 15%;
  30. @media @mediaSm {
  31. top: 10px;
  32. left: auto;
  33. width: auto;
  34. right: 13px;
  35. }
  36. }
  37. }
  38. // Sort
  39. .jump.item {
  40. margin: 1px;
  41. padding-right: 0;
  42. }
  43. .menu {
  44. max-height: 300px;
  45. overflow-x: auto;
  46. right: 0 !important;
  47. left: auto !important;
  48. }
  49. @media @mediaSm {
  50. width: 100%;
  51. }
  52. }
  53. .right.stackable.menu > .item.active {
  54. color: var(--color-red);
  55. }
  56. }
  57. .dashboard-repos,
  58. .dashboard-orgs {
  59. margin: 0 1px; /* Accommodate for Semantic's 1px hacks on .attached elements */
  60. }
  61. .dashboard-navbar {
  62. width: 100vw;
  63. padding-left: .5rem;
  64. padding-right: .5rem;
  65. .org-visibility .label {
  66. margin-left: 5px;
  67. }
  68. .ui.dropdown {
  69. max-width: 100%;
  70. @media @mediaSm {
  71. > .menu {
  72. position: static;
  73. }
  74. }
  75. }
  76. }
  77. }
  78. &.feeds {
  79. .news {
  80. li {
  81. display: flex;
  82. align-items: baseline;
  83. margin-top: .5rem;
  84. margin-bottom: .5rem;
  85. img {
  86. align-self: flex-start;
  87. }
  88. }
  89. li > * + * {
  90. margin-left: .35rem;
  91. }
  92. > .ui.grid {
  93. margin-left: auto;
  94. margin-right: auto;
  95. }
  96. .left .ui.avatar {
  97. margin-top: 13px;
  98. }
  99. .time-since {
  100. font-size: 13px;
  101. }
  102. .issue.title {
  103. width: 80%;
  104. margin: 0 0 1em;
  105. }
  106. .push.news .content ul {
  107. line-height: 18px;
  108. font-size: 13px;
  109. list-style: none;
  110. padding-left: 10px;
  111. .text.truncate {
  112. width: 80%;
  113. }
  114. }
  115. .commit-id {
  116. font-family: var(--fonts-monospace);
  117. }
  118. code {
  119. padding: 2px 4px;
  120. border-radius: 3px;
  121. background-color: var(--color-markup-code-block);
  122. word-break: break-all;
  123. }
  124. &:last-of-type .divider {
  125. display: none !important;
  126. }
  127. }
  128. .list {
  129. ul {
  130. list-style: none;
  131. margin: 0;
  132. padding-left: 0;
  133. li {
  134. &:not(:last-child) {
  135. border-bottom: 1px solid var(--color-secondary);
  136. }
  137. &.private {
  138. background-color: var(--color-box-body-highlight);
  139. }
  140. .repo-list-link {
  141. padding: 6px 1em;
  142. display: block;
  143. .svg {
  144. color: var(--color-text-light-2);
  145. }
  146. .star-num {
  147. font-size: 12px;
  148. }
  149. }
  150. }
  151. }
  152. #privateFilterCheckbox .svg {
  153. color: var(--color-grey);
  154. margin-right: .25rem;
  155. }
  156. .repo-owner-name-list .item-name {
  157. max-width: 70%;
  158. }
  159. }
  160. }