You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_repository.less 6.5KB

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