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.8KB

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