_repository.less 3.6 KB

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