_repository.less 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354
  1. .repository {
  2. @mega-octicon-width: 30px;
  3. padding-top: 15px;
  4. padding-bottom: @footer-margin * 3;
  5. .head {
  6. .column {
  7. padding-top: 5px!important;
  8. padding-bottom: 5px!important;
  9. }
  10. .ui.compact.menu {
  11. margin-left: 1rem;
  12. }
  13. .ui.header {
  14. margin-top: 0;
  15. }
  16. .mega-octicon {
  17. width: @mega-octicon-width;
  18. font-size: 30px;
  19. }
  20. .ui.huge.breadcrumb {
  21. font-weight: 300;
  22. font-size: 1.7rem;
  23. }
  24. .fork-flag {
  25. margin-left: @mega-octicon-width + 8px;
  26. display: block;
  27. font-size: 11px;
  28. line-height: 10px;
  29. white-space: nowrap;
  30. }
  31. }
  32. .metas {
  33. .menu {
  34. max-height: 300px;
  35. overflow-x: auto;
  36. }
  37. .ui.list {
  38. .ui.avatar.image {
  39. border-radius: 0;
  40. }
  41. .hide {
  42. display: none!important;
  43. }
  44. .label.color {
  45. padding: 0 8px;
  46. margin-right: 5px;
  47. }
  48. a {
  49. padding-top: 5px;
  50. padding-right: 10px;
  51. .text {
  52. color: #444;
  53. &:hover {
  54. color: #000;
  55. }
  56. }
  57. }
  58. }
  59. }
  60. .filter.menu {
  61. .label.color {
  62. margin-left: 15px;
  63. padding: 0 8px;
  64. }
  65. .octicon {
  66. float: left;
  67. margin-left: -5px;
  68. margin-right: -7px;
  69. }
  70. .menu {
  71. max-height: 300px;
  72. overflow-x: auto;
  73. right: 0!important;
  74. left: auto!important;
  75. .clickable .name {
  76. padding-left: 15px!important;
  77. }
  78. }
  79. }
  80. .page.buttons {
  81. padding-top: 15px;
  82. }
  83. .issue.list {
  84. list-style: none;
  85. padding-top: 15px;
  86. >.item {
  87. padding-top: 15px;
  88. padding-bottom: 10px;
  89. border-bottom: 1px dashed #AAA;
  90. .title {
  91. color: #444;
  92. font-size: 15px;
  93. font-weight: bold;
  94. margin: 0 6px;
  95. &:hover {
  96. color: #000;
  97. }
  98. }
  99. .comment {
  100. padding-right: 10px;
  101. color: #666;
  102. }
  103. .desc {
  104. padding-top: 5px;
  105. color: #999;
  106. a.milestone {
  107. padding-left: 5px;
  108. color: #999!important;
  109. &:hover {
  110. color: #000!important;
  111. }
  112. }
  113. .assignee {
  114. margin-top: -10px;
  115. }
  116. }
  117. }
  118. }
  119. &.new.issue {
  120. .comment.form {
  121. .metas {
  122. min-width: 220px;
  123. .filter.menu {
  124. max-height: 300px;
  125. overflow-x: auto;
  126. }
  127. }
  128. }
  129. }
  130. .comment.form {
  131. .ui.comments {
  132. margin-top: -12px;
  133. max-width: 750px!important;
  134. }
  135. .content {
  136. .field:first-child {
  137. clear: none;
  138. }
  139. .tab.segment {
  140. border: none;
  141. padding: 0;
  142. padding-top: 10px;
  143. }
  144. textarea {
  145. height: 200px;
  146. }
  147. }
  148. .dropzone {
  149. width: 100%;
  150. margin-bottom: 10px;
  151. border: 2px dashed #0087F7;
  152. box-shadow: none;
  153. .dz-error-message {
  154. top: 140px;
  155. }
  156. }
  157. }
  158. .label.list {
  159. list-style: none;
  160. padding-top: 15px;
  161. .item {
  162. padding-top: 10px;
  163. padding-bottom: 10px;
  164. border-bottom: 1px dashed #AAA;
  165. a {
  166. font-size: 15px;
  167. padding-top: 5px;
  168. padding-right: 10px;
  169. color: #666;
  170. &:hover {
  171. color: #000;
  172. }
  173. &.open-issues {
  174. margin-right: 30px;
  175. }
  176. }
  177. }
  178. }
  179. .milestone.list {
  180. list-style: none;
  181. padding-top: 15px;
  182. > .item {
  183. padding-top: 10px;
  184. padding-bottom: 10px;
  185. border-bottom: 1px dashed #AAA;
  186. > a {
  187. padding-top: 5px;
  188. padding-right: 10px;
  189. color: #000;
  190. &:hover {
  191. color: #4078c0;
  192. }
  193. }
  194. .ui.progress {
  195. width: 40%;
  196. padding: 0;
  197. border: 0;
  198. margin: 0;
  199. .bar {
  200. height: 20px;
  201. }
  202. }
  203. .meta {
  204. color: #999;
  205. padding-top: 5px;
  206. .issue-stats .octicon{
  207. padding-left: 5px;
  208. }
  209. .overdue {
  210. color: red;
  211. }
  212. }
  213. .operate {
  214. margin-top: -15px;
  215. > a {
  216. font-size: 15px;
  217. padding-top: 5px;
  218. padding-right: 10px;
  219. color: #666;
  220. &:hover {
  221. color: #000;
  222. }
  223. }
  224. }
  225. .content {
  226. padding-top: 10px;
  227. }
  228. }
  229. }
  230. &.new.milestone {
  231. textarea {
  232. height: 200px;
  233. }
  234. #deadline {
  235. width: 150px;
  236. }
  237. }
  238. &.compare.pull {
  239. .choose.branch {
  240. .octicon {
  241. padding-right: 10px;
  242. }
  243. }
  244. }
  245. .filter.dropdown .menu {
  246. margin-top: 1px!important;
  247. .items {
  248. max-height: 300px;
  249. overflow-y: auto;
  250. .item {
  251. position: relative;
  252. cursor: pointer;
  253. display: block;
  254. border: none;
  255. height: auto;
  256. border-top: none;
  257. line-height: 1em;
  258. color: rgba(0,0,0,.8);
  259. padding: .71428571em 1.14285714em!important;
  260. font-size: 1rem;
  261. text-transform: none;
  262. font-weight: 400;
  263. box-shadow: none;
  264. -webkit-touch-callout: none;
  265. &.active {
  266. font-weight: 700;
  267. }
  268. &:hover {
  269. background: rgba(0,0,0,.05);
  270. color: rgba(0,0,0,.8);
  271. z-index: 13;
  272. }
  273. }
  274. }
  275. }
  276. }
  277. .settings .key.list {
  278. .item:not(:first-child) {
  279. border-top: 1px solid #eaeaea;
  280. }
  281. .ssh-key-state-indicator {
  282. float: left;
  283. color: gray;
  284. padding-left: 10px;
  285. padding-top: 10px;
  286. &.active {
  287. color: #6cc644;
  288. }
  289. }
  290. .meta {
  291. padding-top: 5px;
  292. }
  293. .print {
  294. color: #767676;
  295. }
  296. .activity {
  297. color: #666;
  298. }
  299. }
  300. .ui.vertical.menu {
  301. .header.item {
  302. font-size: 1.1em;
  303. background: #f0f0f0;
  304. }
  305. }
  306. .edit-label.modal,
  307. .new-label.segment {
  308. .form {
  309. .column {
  310. padding-right: 0;
  311. }
  312. .buttons {
  313. margin-left: auto;
  314. padding-top: 15px;
  315. }
  316. .color.picker.column {
  317. width: auto;
  318. .color-picker {
  319. height: 35px;
  320. width: auto;
  321. padding-left: 30px;
  322. }
  323. }
  324. .minicolors-swatch.minicolors-sprite {
  325. top: 10px;
  326. left: 10px;
  327. width: 15px;
  328. height: 15px;
  329. }
  330. .precolors {
  331. padding-left: 0;
  332. padding-right: 0;
  333. margin: 3px 10px auto 10px;
  334. width: 120px;
  335. .color {
  336. float: left;
  337. width: 15px;
  338. height: 15px;
  339. }
  340. }
  341. }
  342. }