_dashboard.less 2.2 KB

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