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.

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