_repository.less 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  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. .new-label-input {
  54. width: 150px;
  55. }
  56. .color-picker {
  57. height: 35px;
  58. width: auto;
  59. padding-left: 30px;
  60. }
  61. .minicolors-swatch.minicolors-sprite {
  62. top: 10px;
  63. left: 10px;
  64. width: 15px;
  65. height: 15px;
  66. }
  67. &.precolors {
  68. padding-left: 0;
  69. padding-right: 0;
  70. margin-right: 10px;
  71. width: 120px;
  72. .color {
  73. float: left;
  74. width: 15px;
  75. height: 15px;
  76. }
  77. }
  78. }
  79. }
  80. .filter.menu {
  81. .label.color {
  82. margin-left: 17px;
  83. padding: 0 8px;
  84. }
  85. .octicon {
  86. float: left;
  87. margin-left: -5px;
  88. margin-right: -7px;
  89. }
  90. .menu {
  91. max-height: 300px;
  92. overflow-x: auto;
  93. }
  94. }
  95. .type.item .menu {
  96. right: 0!important;
  97. left: auto!important;
  98. }
  99. .page.buttons {
  100. padding-top: 15px;
  101. }
  102. .issue.list {
  103. clear: both;
  104. list-style: none;
  105. >.item {
  106. padding-top: 15px;
  107. padding-bottom: 10px;
  108. border-bottom: 1px dashed #AAA;
  109. .title {
  110. color: #444;
  111. font-size: 15px;
  112. font-weight: bold;
  113. margin: 0 6px;
  114. &:hover {
  115. color: #000;
  116. }
  117. }
  118. .comment {
  119. padding-right: 10px;
  120. color: #666;
  121. }
  122. .desc {
  123. padding-top: 5px;
  124. color: #999;
  125. }
  126. }
  127. }
  128. .label.list {
  129. clear: both;
  130. list-style: none;
  131. .item {
  132. padding-top: 10px;
  133. padding-bottom: 10px;
  134. border-bottom: 1px dashed #AAA;
  135. a {
  136. font-size: 15px;
  137. padding-top: 5px;
  138. padding-right: 10px;
  139. color: #666;
  140. &:hover {
  141. color: #000;
  142. }
  143. &.open-issues {
  144. margin-right: 30px;
  145. }
  146. }
  147. }
  148. }
  149. .milestone.list {
  150. clear: both;
  151. list-style: none;
  152. > .item {
  153. padding-top: 10px;
  154. padding-bottom: 10px;
  155. border-bottom: 1px dashed #AAA;
  156. > a {
  157. padding-top: 5px;
  158. padding-right: 10px;
  159. color: #000;
  160. &:hover {
  161. color: #4078c0;
  162. }
  163. }
  164. .ui.progress {
  165. width: 40%;
  166. padding: 0;
  167. border: 0;
  168. margin: 0;
  169. .bar {
  170. height: 20px;
  171. }
  172. }
  173. .meta {
  174. color: #999;
  175. padding-top: 5px;
  176. .issue-stats .octicon{
  177. padding-left: 5px;
  178. }
  179. }
  180. .operate {
  181. margin-top: -15px;
  182. > a {
  183. font-size: 15px;
  184. padding-top: 5px;
  185. padding-right: 10px;
  186. color: #666;
  187. &:hover {
  188. color: #000;
  189. }
  190. }
  191. }
  192. .content {
  193. padding-top: 10px;
  194. }
  195. }
  196. }
  197. }
  198. .edit-label.modal {
  199. .color-picker {
  200. margin-top: -8px!important;
  201. height: 35px;
  202. width: auto!important;
  203. padding-left: 30px!important;
  204. }
  205. .minicolors-swatch.minicolors-sprite {
  206. top: 1px;
  207. left: 10px;
  208. width: 15px;
  209. height: 15px;
  210. }
  211. .precolors {
  212. margin-bottom: -11px!important;
  213. padding-left: 0!important;
  214. padding-right: 0!important;
  215. margin-right: 10px!important;
  216. width: 120px!important;
  217. .color {
  218. float: left;
  219. margin: 0!important;
  220. width: 15px;
  221. height: 15px;
  222. }
  223. }
  224. }