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.

171 lines
3.7 KiB

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