You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

_dashboard.less 3.7 kB

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