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.3KB

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