_dashboard.less 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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. overflow-wrap: break-word;
  62. }
  63. .time-since {
  64. font-size: 13px;
  65. }
  66. .issue.title {
  67. line-height: 1.1em;
  68. width: 80%;
  69. }
  70. .push.news .content ul {
  71. font-size: 13px;
  72. list-style: none;
  73. padding-left: 0;
  74. img {
  75. margin-bottom: -2px;
  76. }
  77. .text.truncate {
  78. width: 60%;
  79. margin-bottom: -5px;
  80. }
  81. }
  82. .commit-id {
  83. font-family: Consolas, monospace;
  84. }
  85. code {
  86. padding: 3px;
  87. font-size: 85%;
  88. background-color: rgba(0, 0, 0, 0.04);
  89. border-radius: 3px;
  90. word-break: break-all;
  91. }
  92. }
  93. .list {
  94. .header {
  95. .ui.label {
  96. margin-top: -4px;
  97. padding: 4px 5px;
  98. font-weight: normal;
  99. }
  100. .plus.icon {
  101. margin-top: 5px;
  102. }
  103. }
  104. ul {
  105. list-style: none;
  106. margin: 0;
  107. padding-left: 0;
  108. li {
  109. &:not(:last-child) {
  110. border-bottom: 1px solid #EAEAEA;
  111. }
  112. &.private {
  113. background-color: #fcf8e9;
  114. }
  115. a {
  116. padding: 6px 1.2em;
  117. display: block;
  118. .octicon {
  119. color: #888;
  120. &.rear {
  121. font-size: 15px;
  122. }
  123. }
  124. .star-num {
  125. font-size: 12px;
  126. }
  127. }
  128. }
  129. }
  130. .repo-owner-name-list {
  131. .item-name {
  132. max-width: 70%;
  133. margin-bottom: -4px;
  134. }
  135. }
  136. #collaborative-repo-list {
  137. .owner-and-repo {
  138. max-width: 80%;
  139. margin-bottom: -5px;
  140. }
  141. .owner-name {
  142. max-width: 120px;
  143. margin-bottom: -5px;
  144. }
  145. }
  146. }
  147. }