_repository.less 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  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. &.new.issue {
  88. .comment.form {
  89. .metas {
  90. min-width: 220px;
  91. }
  92. }
  93. }
  94. .comment.form {
  95. .ui.comments {
  96. margin-top: -12px;
  97. max-width: 750px!important;
  98. }
  99. .content {
  100. .field:first-child {
  101. clear: none;
  102. }
  103. .tab.segment {
  104. border: none;
  105. padding: 0;
  106. padding-top: 10px;
  107. }
  108. textarea {
  109. height: 200px;
  110. }
  111. }
  112. }
  113. .label.list {
  114. list-style: none;
  115. padding-top: 15px;
  116. .item {
  117. padding-top: 10px;
  118. padding-bottom: 10px;
  119. border-bottom: 1px dashed #AAA;
  120. a {
  121. font-size: 15px;
  122. padding-top: 5px;
  123. padding-right: 10px;
  124. color: #666;
  125. &:hover {
  126. color: #000;
  127. }
  128. &.open-issues {
  129. margin-right: 30px;
  130. }
  131. }
  132. }
  133. }
  134. .milestone.list {
  135. list-style: none;
  136. padding-top: 15px;
  137. > .item {
  138. padding-top: 10px;
  139. padding-bottom: 10px;
  140. border-bottom: 1px dashed #AAA;
  141. > a {
  142. padding-top: 5px;
  143. padding-right: 10px;
  144. color: #000;
  145. &:hover {
  146. color: #4078c0;
  147. }
  148. }
  149. .ui.progress {
  150. width: 40%;
  151. padding: 0;
  152. border: 0;
  153. margin: 0;
  154. .bar {
  155. height: 20px;
  156. }
  157. }
  158. .meta {
  159. color: #999;
  160. padding-top: 5px;
  161. .issue-stats .octicon{
  162. padding-left: 5px;
  163. }
  164. .overdue {
  165. color: red;
  166. }
  167. }
  168. .operate {
  169. margin-top: -15px;
  170. > a {
  171. font-size: 15px;
  172. padding-top: 5px;
  173. padding-right: 10px;
  174. color: #666;
  175. &:hover {
  176. color: #000;
  177. }
  178. }
  179. }
  180. .content {
  181. padding-top: 10px;
  182. }
  183. }
  184. }
  185. &.new.milestone {
  186. textarea {
  187. height: 200px;
  188. }
  189. #deadline {
  190. width: 150px;
  191. }
  192. }
  193. &.compare.pull {
  194. .choose.branch {
  195. .octicon {
  196. padding-right: 10px;
  197. }
  198. }
  199. }
  200. .filter.dropdown .menu {
  201. margin-top: 1px!important;
  202. .items {
  203. max-height: 300px;
  204. overflow-y: auto;
  205. .item {
  206. position: relative;
  207. cursor: pointer;
  208. display: block;
  209. border: none;
  210. height: auto;
  211. border-top: none;
  212. line-height: 1em;
  213. color: rgba(0,0,0,.8);
  214. padding: .71428571em 1.14285714em!important;
  215. font-size: 1rem;
  216. text-transform: none;
  217. font-weight: 400;
  218. box-shadow: none;
  219. -webkit-touch-callout: none;
  220. &.active {
  221. font-weight: 700;
  222. }
  223. &:hover {
  224. background: rgba(0,0,0,.05);
  225. color: rgba(0,0,0,.8);
  226. z-index: 13;
  227. }
  228. }
  229. }
  230. }
  231. }
  232. .settings .key.list {
  233. .item:not(:first-child) {
  234. border-top: 1px solid #eaeaea;
  235. }
  236. .ssh-key-state-indicator {
  237. float: left;
  238. color: gray;
  239. padding-left: 10px;
  240. padding-top: 10px;
  241. &.active {
  242. color: #6cc644;
  243. }
  244. }
  245. .meta {
  246. padding-top: 5px;
  247. }
  248. .print {
  249. color: #767676;
  250. }
  251. .activity {
  252. color: #666;
  253. }
  254. }
  255. .ui.vertical.menu {
  256. .header.item {
  257. font-size: 1.1em;
  258. background: #f0f0f0;
  259. }
  260. }
  261. .edit-label.modal,
  262. .new-label.segment {
  263. .form {
  264. .column {
  265. padding-right: 0;
  266. }
  267. .buttons {
  268. margin-left: auto;
  269. padding-top: 15px;
  270. }
  271. .color.picker.column {
  272. width: auto;
  273. .color-picker {
  274. height: 35px;
  275. width: auto;
  276. padding-left: 30px;
  277. }
  278. }
  279. .minicolors-swatch.minicolors-sprite {
  280. top: 10px;
  281. left: 10px;
  282. width: 15px;
  283. height: 15px;
  284. }
  285. .precolors {
  286. padding-left: 0;
  287. padding-right: 0;
  288. margin: 3px 10px auto 10px;
  289. width: 120px;
  290. .color {
  291. float: left;
  292. width: 15px;
  293. height: 15px;
  294. }
  295. }
  296. }
  297. }