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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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. padding-top: 10px;
  91. padding-bottom: 5px;
  92. .plus.icon {
  93. margin-top: 5px;
  94. }
  95. }
  96. ul {
  97. list-style: none;
  98. margin: 0;
  99. padding-left: 0;
  100. li {
  101. &:not(:last-child) {
  102. border-bottom: 1px solid #EAEAEA;
  103. }
  104. &.private {
  105. background-color: #fcf8e9;
  106. }
  107. a {
  108. padding: 6px 1.2em;
  109. display: block;
  110. .octicon {
  111. color: #888;
  112. &.rear {
  113. font-size: 15px;
  114. }
  115. }
  116. .star-num {
  117. font-size: 12px;
  118. }
  119. }
  120. }
  121. }
  122. .repo-owner-name-list {
  123. .item-name {
  124. max-width: 70%;
  125. margin-bottom: -4px;
  126. }
  127. }
  128. #collaborative-repo-list {
  129. .owner-and-repo {
  130. max-width: 80%;
  131. margin-bottom: -5px;
  132. }
  133. .owner-name {
  134. max-width: 120px;
  135. margin-bottom: -5px;
  136. }
  137. }
  138. }
  139. }