_repository.less 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. .repository {
  2. @mega-octicon-width: 30px;
  3. padding-top: 15px;
  4. padding-bottom: @footer-margin * 3;
  5. .head {
  6. height: 75px;
  7. padding-top: 20px;
  8. background-color: #FCFCFC;
  9. .mega-octicon {
  10. width: @mega-octicon-width;
  11. }
  12. a,
  13. .fork-flag {
  14. font-weight: 300;
  15. }
  16. .ui.label {
  17. margin-top: 5px;
  18. vertical-align: top;
  19. }
  20. .fork-flag {
  21. margin-left: @mega-octicon-width + 8px;
  22. display: block;
  23. font-size: 11px;
  24. line-height: 10px;
  25. white-space: nowrap;
  26. }
  27. .button {
  28. margin-left: 10px;
  29. i {
  30. margin-right: 5px;
  31. }
  32. }
  33. .num {
  34. font-weight: bold;
  35. }
  36. .octicon {
  37. height: 5px;
  38. }
  39. }
  40. .navbar {
  41. height: 60px;
  42. padding-top: 20px;
  43. .ui.secondary.menu .item {
  44. margin-left: -10px;
  45. margin-top: -7px;
  46. &>.input {
  47. .new-label-input,
  48. .color-picker {
  49. background-color: white;
  50. border: 1px solid rgba(0,0,0,.15);
  51. }
  52. }
  53. &.input {
  54. margin-right: -7px;
  55. }
  56. .new-label-input {
  57. width: 150px;
  58. }
  59. .color-picker {
  60. height: 35px;
  61. width: auto;
  62. padding-left: 30px;
  63. }
  64. .minicolors-swatch.minicolors-sprite {
  65. top: 10px;
  66. left: 10px;
  67. width: 15px;
  68. height: 15px;
  69. }
  70. &.precolors {
  71. padding-left: 0;
  72. padding-right: 0;
  73. margin-right: 10px;
  74. width: 120px;
  75. .color {
  76. float: left;
  77. width: 15px;
  78. height: 15px;
  79. }
  80. }
  81. }
  82. }
  83. .filter.menu {
  84. .label.color {
  85. margin-left: 17px;
  86. padding: 0 8px;
  87. }
  88. .octicon {
  89. float: left;
  90. margin-left: -5px;
  91. margin-right: -7px;
  92. }
  93. .menu {
  94. max-height: 300px;
  95. overflow-x: auto;
  96. }
  97. }
  98. .type.item .menu {
  99. right: 0!important;
  100. left: auto!important;
  101. }
  102. .page.buttons {
  103. padding-top: 15px;
  104. }
  105. .issue.list {
  106. clear: both;
  107. list-style: none;
  108. >.item {
  109. padding-top: 15px;
  110. padding-bottom: 10px;
  111. border-bottom: 1px dashed #AAA;
  112. .title {
  113. color: #444;
  114. font-size: 15px;
  115. font-weight: bold;
  116. margin: 0 6px;
  117. &:hover {
  118. color: #000;
  119. }
  120. }
  121. .comment {
  122. padding-right: 10px;
  123. color: #666;
  124. }
  125. .desc {
  126. padding-top: 5px;
  127. color: #999;
  128. }
  129. }
  130. }
  131. .label.list {
  132. clear: both;
  133. list-style: none;
  134. .item {
  135. padding-top: 10px;
  136. padding-bottom: 10px;
  137. border-bottom: 1px dashed #AAA;
  138. a {
  139. font-size: 15px;
  140. padding-top: 5px;
  141. padding-right: 10px;
  142. color: #666;
  143. &:hover {
  144. color: #000;
  145. }
  146. &.open-issues {
  147. margin-right: 30px;
  148. }
  149. }
  150. }
  151. }
  152. .milestone.list {
  153. clear: both;
  154. list-style: none;
  155. > .item {
  156. padding-top: 10px;
  157. padding-bottom: 10px;
  158. border-bottom: 1px dashed #AAA;
  159. > a {
  160. padding-top: 5px;
  161. padding-right: 10px;
  162. color: #000;
  163. &:hover {
  164. color: #4078c0;
  165. }
  166. }
  167. .ui.progress {
  168. width: 40%;
  169. padding: 0;
  170. border: 0;
  171. margin: 0;
  172. .bar {
  173. height: 20px;
  174. }
  175. }
  176. .meta {
  177. color: #999;
  178. padding-top: 5px;
  179. .issue-stats .octicon{
  180. padding-left: 5px;
  181. }
  182. .overdue {
  183. color: red;
  184. }
  185. }
  186. .operate {
  187. margin-top: -15px;
  188. > a {
  189. font-size: 15px;
  190. padding-top: 5px;
  191. padding-right: 10px;
  192. color: #666;
  193. &:hover {
  194. color: #000;
  195. }
  196. }
  197. }
  198. .content {
  199. padding-top: 10px;
  200. }
  201. }
  202. }
  203. &.new.milestone {
  204. textarea {
  205. height: 200px;
  206. }
  207. }
  208. }
  209. .edit-label.modal {
  210. .color-picker {
  211. margin-top: -8px!important;
  212. height: 35px;
  213. width: auto!important;
  214. padding-left: 30px!important;
  215. }
  216. .minicolors-swatch.minicolors-sprite {
  217. top: 1px;
  218. left: 10px;
  219. width: 15px;
  220. height: 15px;
  221. }
  222. .precolors {
  223. margin-bottom: -11px!important;
  224. padding-left: 0!important;
  225. padding-right: 0!important;
  226. margin-right: 10px!important;
  227. width: 120px!important;
  228. .color {
  229. float: left;
  230. margin: 0!important;
  231. width: 15px;
  232. height: 15px;
  233. }
  234. }
  235. }