_repository.less 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  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. #deadline {
  164. width: 150px;
  165. }
  166. }
  167. }
  168. .settings .key.list {
  169. .item:not(:first-child) {
  170. border-top: 1px solid #eaeaea;
  171. }
  172. .ssh-key-state-indicator {
  173. float: left;
  174. color: gray;
  175. padding-left: 10px;
  176. padding-top: 10px;
  177. &.active {
  178. color: #6cc644;
  179. }
  180. }
  181. .meta {
  182. padding-top: 5px;
  183. }
  184. .print {
  185. color: #767676;
  186. }
  187. .activity {
  188. color: #666;
  189. }
  190. }
  191. .ui.vertical.menu {
  192. .header.item {
  193. font-size: 1.1em;
  194. background: #f0f0f0;
  195. }
  196. }
  197. .edit-label.modal,
  198. .new-label.segment {
  199. .form {
  200. .column {
  201. padding-right: 0;
  202. }
  203. .buttons {
  204. margin-left: auto;
  205. padding-top: 15px;
  206. }
  207. .color.picker.column {
  208. width: auto;
  209. .color-picker {
  210. height: 35px;
  211. width: auto;
  212. padding-left: 30px;
  213. }
  214. }
  215. .minicolors-swatch.minicolors-sprite {
  216. top: 10px;
  217. left: 10px;
  218. width: 15px;
  219. height: 15px;
  220. }
  221. .precolors {
  222. padding-left: 0;
  223. padding-right: 0;
  224. margin: 3px 10px auto 10px;
  225. width: 120px;
  226. .color {
  227. float: left;
  228. width: 15px;
  229. height: 15px;
  230. }
  231. }
  232. }
  233. }