_dashboard.less 2.1 KB

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