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.

152 lines
2.1 KiB

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