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

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