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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. .dashboard {
  2. padding-top: 15px;
  3. &.feeds,
  4. &.issues {
  5. .context.user.menu {
  6. z-index: 101;
  7. min-width: 200px;
  8. .ui.header {
  9. font-size: 1rem;
  10. text-transform: none;
  11. }
  12. }
  13. .filter.menu {
  14. .item {
  15. text-align: left;
  16. .text {
  17. height: 16px;
  18. vertical-align: middle;
  19. &.truncate {
  20. width: 85%;
  21. }
  22. }
  23. .floating.label {
  24. top: 7px;
  25. left: 90%;
  26. width: 15%;
  27. @media only screen and (max-width: 768px) {
  28. top: 10px;
  29. left: auto;
  30. width: auto;
  31. right: 13px;
  32. }
  33. }
  34. }
  35. // Sort
  36. .jump.item {
  37. margin: 1px;
  38. padding-right: 0;
  39. }
  40. .menu {
  41. max-height: 300px;
  42. overflow-x: auto;
  43. right: 0 !important;
  44. left: auto !important;
  45. }
  46. @media only screen and (max-width: 768px) {
  47. width: 100%;
  48. }
  49. }
  50. .right.stackable.menu > .item.active {
  51. color: #d9453d;
  52. }
  53. }
  54. /* Accomodate for Semantic's 1px hacks on .attached elements */
  55. .dashboard-repos {
  56. margin: 0 1px;
  57. }
  58. .dashboard-navbar {
  59. width: 100vw;
  60. padding: 0 0.5rem;
  61. }
  62. }
  63. &.feeds {
  64. .news {
  65. > .ui.grid {
  66. margin-left: auto;
  67. margin-right: auto;
  68. }
  69. .ui.avatar {
  70. margin-top: 13px;
  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: @monospaced-fonts, 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 #ebebeb;
  119. }
  120. &.private {
  121. background-color: #fcf8e9;
  122. }
  123. a {
  124. padding: 6px 1.2em;
  125. display: block;
  126. .octicon {
  127. color: #888888;
  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. }