_repository.less 18 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180
  1. .repository {
  2. @mega-octicon-width: 30px;
  3. padding-top: 15px;
  4. padding-bottom: @footer-margin * 2;
  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: 12px;
  28. line-height: 10px;
  29. white-space: nowrap;
  30. }
  31. }
  32. .owner.dropdown {
  33. min-width: 40% !important;
  34. }
  35. .metas {
  36. .menu {
  37. max-height: 300px;
  38. overflow-x: auto;
  39. }
  40. .ui.list {
  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. }
  76. .dropdown.item {
  77. margin: 1px;
  78. padding-right: 0;
  79. }
  80. }
  81. &.file.list {
  82. #repo-desc {
  83. font-size: 1.2em;
  84. }
  85. .choose.reference {
  86. .header .icon {
  87. font-size: 1.4em;
  88. }
  89. }
  90. .head.meta {
  91. padding: 0;
  92. li {
  93. list-style: none;
  94. display: inline-block;
  95. .ui.breadcrumb {
  96. margin-top: -5px;
  97. span,
  98. a {
  99. font-size: 16px;
  100. }
  101. }
  102. }
  103. }
  104. .clone.input {
  105. margin-top: -8px;
  106. width: 100%;
  107. input {
  108. border-radius: 0;
  109. padding: 5px 10px;
  110. }
  111. .clone.button {
  112. font-size: 13px;
  113. padding: 0 5px;
  114. &:first-child {
  115. border-radius: .28571429rem 0 0 .28571429rem;
  116. }
  117. }
  118. .icon.button {
  119. padding: 0 10px;
  120. }
  121. .dropdown .menu {
  122. right: 0!important;
  123. left: auto!important;
  124. }
  125. }
  126. #repo-files-table {
  127. .table.list {
  128. width: 80% !important;
  129. }
  130. thead {
  131. th {
  132. padding-top: 8px;
  133. padding-bottom: 5px;
  134. font-weight: normal;
  135. #last-commit-message {
  136. margin-left: 5px;
  137. margin-bottom: -4px;
  138. width: 400px;
  139. }
  140. .age {
  141. margin-top: 2px;
  142. }
  143. }
  144. .ui.avatar {
  145. margin-bottom: 5px;
  146. }
  147. }
  148. tbody {
  149. .icon {
  150. margin-left: 5px;
  151. }
  152. .name {
  153. max-width: 120px;
  154. }
  155. .message {
  156. max-width: 300px;
  157. }
  158. .age {
  159. min-width: 150px;
  160. }
  161. .text.truncate {
  162. margin-bottom: -5px;
  163. max-width: 100%;
  164. }
  165. }
  166. td {
  167. padding-top: 8px;
  168. padding-bottom: 8px;
  169. }
  170. tr:hover {
  171. background-color: #ffffEE;
  172. }
  173. }
  174. #file-content {
  175. .header {
  176. .icon {
  177. font-size: 1em;
  178. margin-top: -2px;
  179. }
  180. }
  181. .view-raw {
  182. * {
  183. width: 100%;
  184. }
  185. img {
  186. padding: 5px 5px 0 5px;
  187. }
  188. }
  189. .code-view {
  190. * {
  191. font-size: 13px;
  192. font-family: monospace;
  193. line-height: 20px;
  194. }
  195. table {
  196. width: 100%;
  197. }
  198. .lines-num {
  199. vertical-align: top;
  200. text-align: right;
  201. color: #999;
  202. background: #f5f5f5;
  203. width: 1%;
  204. span {
  205. font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
  206. line-height: 20px;
  207. padding: 0 10px;
  208. cursor: pointer;
  209. display: block;
  210. }
  211. }
  212. .lines-num,
  213. .lines-code {
  214. padding: 0;
  215. pre,
  216. ol,
  217. .hljs {
  218. background-color: white;
  219. margin: 0;
  220. padding: 0 !important;
  221. li {
  222. padding-left: 5px;
  223. &.active {
  224. background: #ffffdd;
  225. }
  226. }
  227. }
  228. }
  229. }
  230. }
  231. .sidebar {
  232. padding-left: 0;
  233. .octicon {
  234. width: 16px;
  235. }
  236. }
  237. }
  238. &.options {
  239. #interval {
  240. width: 100px!important;
  241. min-width: 100px;
  242. }
  243. .danger {
  244. .item {
  245. padding: 20px 15px;
  246. }
  247. .ui.divider {
  248. margin: 0;
  249. }
  250. }
  251. }
  252. @comment-avatar-width: 3em;
  253. &.new.issue {
  254. .comment.form {
  255. .comment {
  256. .avatar {
  257. width: @comment-avatar-width;
  258. }
  259. }
  260. .content {
  261. margin-left: 4em;
  262. .markdown {
  263. font-size: 14px;
  264. }
  265. }
  266. .metas {
  267. min-width: 220px;
  268. .filter.menu {
  269. max-height: 300px;
  270. overflow-x: auto;
  271. }
  272. }
  273. }
  274. }
  275. &.view.issue {
  276. .title {
  277. padding-bottom: 0!important;
  278. h1 {
  279. font-weight: 300;
  280. font-size: 3rem;
  281. margin-bottom: 5px;
  282. .ui.input {
  283. font-size: 0.5em;
  284. vertical-align: top;
  285. width: 50%;
  286. min-width: 600px;
  287. input {
  288. font-size: 1.5em;
  289. padding: 6px 10px;
  290. }
  291. }
  292. }
  293. .index {
  294. font-weight: 300;
  295. color: #aaa;
  296. letter-spacing: -1px;
  297. }
  298. .label {
  299. margin-right: 10px;
  300. }
  301. .edit-zone {
  302. margin-top: 10px;
  303. }
  304. }
  305. .pull-desc {
  306. code {
  307. color: #0166E6;
  308. }
  309. }
  310. .pull {
  311. &.tabular.menu {
  312. margin-bottom: 10px;
  313. .octicon {
  314. margin-right: 5px;
  315. }
  316. }
  317. &.tab.segment {
  318. border: none;
  319. padding: 0;
  320. padding-top: 10px;
  321. box-shadow: none;
  322. background-color: inherit;
  323. }
  324. .merge.box {
  325. .avatar {
  326. margin-left: 10px;
  327. margin-top: 10px;
  328. }
  329. }
  330. }
  331. .comment-list {
  332. &:before {
  333. display: block;
  334. content: "";
  335. position: absolute;
  336. margin-top: 12px;
  337. margin-bottom: 14px;
  338. top: 0;
  339. bottom: 0;
  340. left: 96px;
  341. width: 2px;
  342. background-color: #f3f3f3;
  343. z-index: -1;
  344. }
  345. .comment {
  346. .avatar {
  347. width: @comment-avatar-width;
  348. }
  349. .tag {
  350. color: #767676;
  351. margin-top: 3px;
  352. padding: 2px 5px;
  353. font-size: 12px;
  354. border: 1px solid rgba(0,0,0,0.1);
  355. border-radius: 3px;
  356. }
  357. .actions {
  358. .item {
  359. float: left;
  360. }
  361. a.item {
  362. margin-top: 6px;
  363. margin-left: 10px;
  364. }
  365. }
  366. .content {
  367. margin-left: 4em;
  368. .header {
  369. font-weight: normal;
  370. padding: auto 15px;
  371. color: #767676;
  372. background-color: #f7f7f7;
  373. border-bottom: 1px solid #eee;
  374. border-top-left-radius: 3px;
  375. border-top-right-radius: 3px;
  376. .text {
  377. max-width: 78%;
  378. padding-top: 10px;
  379. padding-bottom: 10px;
  380. }
  381. }
  382. .markdown {
  383. font-size: 14px;
  384. }
  385. .no-content {
  386. color: #767676;
  387. font-style: italic;
  388. }
  389. > .bottom.segment {
  390. background: #f3f4f5;
  391. .ui.image {
  392. max-height: 150px;
  393. }
  394. }
  395. }
  396. .ui.form {
  397. .field:first-child {
  398. clear: none;
  399. }
  400. .tab.segment {
  401. border: none;
  402. padding: 0;
  403. padding-top: 10px;
  404. }
  405. textarea {
  406. height: 200px;
  407. }
  408. }
  409. .edit.buttons {
  410. margin-top: 10px;
  411. }
  412. }
  413. .event {
  414. position: relative;
  415. margin: 15px 0 15px 79px;
  416. padding-left: 25px;
  417. .octicon {
  418. width: 30px;
  419. float: left;
  420. margin-left: -36px;
  421. text-align: center;
  422. &.octicon-circle-slash {
  423. margin-top: 5px;
  424. font-size: 20px;
  425. color: #bd2c00;
  426. }
  427. &.octicon-primitive-dot {
  428. font-size: 30px;
  429. color: #6cc644;
  430. }
  431. &.octicon-bookmark {
  432. margin-top: 3px;
  433. font-size: 25px;
  434. }
  435. }
  436. .detail {
  437. font-size: 0.9rem;
  438. margin-top: 5px;
  439. margin-left: 35px;
  440. .octicon {
  441. &.octicon-git-commit {
  442. margin-top: 2px;
  443. }
  444. }
  445. }
  446. }
  447. }
  448. .ui.segment.metas {
  449. margin-top: -3px;
  450. }
  451. }
  452. .comment.form {
  453. .ui.comments {
  454. margin-top: -12px;
  455. max-width: 100%;
  456. }
  457. .content {
  458. .field:first-child {
  459. clear: none;
  460. }
  461. .tab.segment {
  462. border: none;
  463. padding: 0;
  464. padding-top: 10px;
  465. }
  466. textarea {
  467. height: 200px;
  468. }
  469. }
  470. }
  471. .label.list {
  472. list-style: none;
  473. padding-top: 15px;
  474. .item {
  475. padding-top: 10px;
  476. padding-bottom: 10px;
  477. border-bottom: 1px dashed #AAA;
  478. a {
  479. font-size: 15px;
  480. padding-top: 5px;
  481. padding-right: 10px;
  482. color: #666;
  483. &:hover {
  484. color: #000;
  485. }
  486. &.open-issues {
  487. margin-right: 30px;
  488. }
  489. }
  490. }
  491. }
  492. .milestone.list {
  493. list-style: none;
  494. padding-top: 15px;
  495. > .item {
  496. padding-top: 10px;
  497. padding-bottom: 10px;
  498. border-bottom: 1px dashed #AAA;
  499. > a {
  500. padding-top: 5px;
  501. padding-right: 10px;
  502. color: #000;
  503. &:hover {
  504. color: #4078c0;
  505. }
  506. }
  507. .ui.progress {
  508. width: 40%;
  509. padding: 0;
  510. border: 0;
  511. margin: 0;
  512. .bar {
  513. height: 20px;
  514. }
  515. }
  516. .meta {
  517. color: #999;
  518. padding-top: 5px;
  519. .issue-stats .octicon{
  520. padding-left: 5px;
  521. }
  522. .overdue {
  523. color: red;
  524. }
  525. }
  526. .operate {
  527. margin-top: -15px;
  528. > a {
  529. font-size: 15px;
  530. padding-top: 5px;
  531. padding-right: 10px;
  532. color: #666;
  533. &:hover {
  534. color: #000;
  535. }
  536. }
  537. }
  538. .content {
  539. padding-top: 10px;
  540. }
  541. }
  542. }
  543. &.new.milestone {
  544. textarea {
  545. height: 200px;
  546. }
  547. #deadline {
  548. width: 150px;
  549. }
  550. }
  551. &.compare.pull {
  552. .choose.branch {
  553. .octicon {
  554. padding-right: 10px;
  555. }
  556. }
  557. }
  558. .filter.dropdown .menu {
  559. margin-top: 1px!important;
  560. }
  561. &.commits {
  562. .header {
  563. .ui.right {
  564. .search {
  565. input {
  566. font-weight: normal;
  567. padding: 5px 10px;
  568. }
  569. }
  570. }
  571. }
  572. }
  573. .commits.table {
  574. font-size: 13px;
  575. th, td {
  576. &:first-child {
  577. padding-left: 15px;
  578. }
  579. }
  580. td {
  581. line-height: 15px;
  582. }
  583. .author {
  584. min-width: 180px;
  585. }
  586. .message span {
  587. max-width: 500px;
  588. }
  589. .date {
  590. width: 120px;
  591. }
  592. }
  593. .sha.label {
  594. font-family: Consolas, Menlo, Monaco, "Lucida Console", monospace;
  595. font-size: 14px;
  596. padding: 6px 10px 4px 10px;
  597. font-weight: normal;
  598. }
  599. .diff-detail-box {
  600. margin: 15px 0;
  601. line-height: 30px;
  602. ol {
  603. clear: both;
  604. padding-left: 0;
  605. margin-top: 5px;
  606. margin-bottom: 28px;
  607. li {
  608. list-style: none;
  609. padding-bottom: 4px;
  610. margin-bottom: 4px;
  611. border-bottom: 1px dashed #DDD;
  612. padding-left: 6px;
  613. }
  614. }
  615. span.status{
  616. display: inline-block;
  617. width: 12px;
  618. height: 12px;
  619. margin-right: 8px;
  620. vertical-align: middle;
  621. &.modify {
  622. background-color: #f0db88;
  623. }
  624. &.add {
  625. background-color: #b4e2b4;
  626. }
  627. &.del {
  628. background-color: #e9aeae;
  629. }
  630. &.rename {
  631. background-color: #dad8ff;
  632. }
  633. }
  634. }
  635. .diff-box {
  636. .count {
  637. margin-right: 12px;
  638. .bar {
  639. background-color: #e75316;
  640. height: 12px;
  641. width: 40px;
  642. display: inline-block;
  643. margin: 2px 4px 0 4px;
  644. vertical-align: text-top;
  645. .add {
  646. background-color: #77c64a;
  647. height: 12px;
  648. }
  649. }
  650. }
  651. .file {
  652. color: #888;
  653. }
  654. }
  655. .diff-file-box {
  656. .header {
  657. border-bottom: 1px solid #d4d4d5!important;
  658. }
  659. .file-body.file-code {
  660. .lines-num {
  661. text-align: right;
  662. color: #999;
  663. background: #fafafa;
  664. width: 1%;
  665. }
  666. .lines-num-old {
  667. border-right: 1px solid #DDD;
  668. }
  669. }
  670. .code-diff {
  671. font-size: 13px;
  672. td {
  673. padding: 0;
  674. border-top: none;
  675. }
  676. pre {
  677. margin: 0;
  678. }
  679. .lines-num {
  680. border-right: 1px solid #d4d4d5;
  681. padding: 0 5px;
  682. }
  683. tbody {
  684. tr {
  685. &.tag-code {
  686. td, pre {
  687. background-color: #E0E0E0 !important;
  688. border-color: #ADADAD!important;
  689. }
  690. // td.selected-line, td.selected-line pre {
  691. // background-color: #ffffdd !important;
  692. // }
  693. }
  694. // &.same-code {
  695. // td.selected-line, td.selected-line pre {
  696. // background-color: #ffffdd !important;
  697. // }
  698. // }
  699. &.del-code {
  700. td, pre {
  701. background-color: #ffe2dd !important;
  702. border-color: #e9aeae !important;
  703. }
  704. // td.selected-line, td.selected-line pre {
  705. // background-color: #ffffdd !important;
  706. // }
  707. }
  708. &.add-code {
  709. td, pre {
  710. background-color: #d1ffd6 !important;
  711. border-color: #b4e2b4 !important;
  712. }
  713. // td.selected-line, td.selected-line pre {
  714. // background-color: #ffffdd !important;
  715. // }
  716. }
  717. &:hover {
  718. td {
  719. background-color: #FFF8D2 !important;
  720. border-color: #F0DB88 !important;
  721. }
  722. pre {
  723. background-color: transparent !important;
  724. }
  725. }
  726. }
  727. }
  728. }
  729. &.file-content {
  730. img {
  731. max-width: 100%;
  732. padding: 5px 5px 0 5px;
  733. }
  734. }
  735. }
  736. .code-view {
  737. overflow: auto;
  738. overflow-x: auto;
  739. overflow-y: hidden;
  740. }
  741. &.quickstart {
  742. .guide {
  743. .item {
  744. padding: 1em;
  745. small {
  746. font-weight: normal;
  747. }
  748. }
  749. .clone.button:first-child {
  750. border-radius: .28571429rem 0 0 .28571429rem;
  751. }
  752. .ui.action.small.input {
  753. width: 100%;
  754. }
  755. #repo-clone-url {
  756. border-radius: 0;
  757. padding: 5px 10px;
  758. font-size: 1.2em;
  759. }
  760. }
  761. }
  762. &.release {
  763. #release-list {
  764. border-top: 1px solid #DDD;
  765. margin-top: 20px;
  766. padding-top: 15px;
  767. >li {
  768. list-style: none;
  769. .meta,
  770. .detail {
  771. padding-top: 30px;
  772. padding-bottom: 40px;
  773. }
  774. .meta {
  775. text-align: right;
  776. position: relative;
  777. .tag:not(.icon) {
  778. display: block;
  779. margin-top: 15px;
  780. }
  781. .commit {
  782. display: block;
  783. margin-top: 10px;
  784. }
  785. }
  786. .detail {
  787. border-left: 1px solid #DDD;
  788. .author {
  789. img {
  790. margin-bottom: -3px;
  791. }
  792. }
  793. .download {
  794. margin-top: 20px;
  795. >a {
  796. .octicon {
  797. margin-left: 5px;
  798. margin-right: 5px;
  799. }
  800. }
  801. .list {
  802. padding-left: 0;
  803. border-top: 1px solid #eee;
  804. li {
  805. list-style: none;
  806. display: block;
  807. padding-top: 8px;
  808. padding-bottom: 8px;
  809. border-bottom: 1px solid #eee;
  810. }
  811. }
  812. }
  813. .dot {
  814. width: 9px;
  815. height: 9px;
  816. background-color: #ccc;
  817. z-index: 999;
  818. position: absolute;
  819. display: block;
  820. left: -5px;
  821. top: 40px;
  822. border-radius: 6px;
  823. border: 1px solid #FFF;
  824. }
  825. }
  826. }
  827. }
  828. }
  829. &.new.release {
  830. .target {
  831. min-width: 500px;
  832. .at {
  833. margin-left: -5px;
  834. margin-right: 5px;
  835. }
  836. .dropdown.icon {
  837. margin: 0;
  838. padding-top: 3px;
  839. }
  840. .selection.dropdown {
  841. padding-top: 10px;
  842. padding-bottom: 10px;
  843. }
  844. }
  845. .prerelease.field {
  846. margin-bottom: 0;
  847. }
  848. }
  849. &.watchers {
  850. .list {
  851. padding: 0;
  852. .item {
  853. list-style: none;
  854. width: 32%;
  855. margin: 10px 10px 10px 0;
  856. padding-bottom: 14px;
  857. float: left;
  858. .avatar {
  859. width: 48px;
  860. height: 48px;
  861. float: left;
  862. display: block;
  863. margin-right: 10px;
  864. }
  865. .name {
  866. margin-top: 0;
  867. margin-bottom: 0;
  868. font-weight: normal;
  869. }
  870. .meta {
  871. margin-top: 5px;
  872. }
  873. }
  874. }
  875. }
  876. &.forks {
  877. .list {
  878. margin-top: 0;
  879. .item {
  880. padding-top: 10px;
  881. padding-bottom: 10px;
  882. border-bottom: 1px solid #DDD;
  883. .ui.avatar {
  884. float: left;
  885. margin-right: 5px;
  886. }
  887. .link {
  888. padding-top: 5px;
  889. }
  890. }
  891. }
  892. }
  893. &.settings {
  894. &.collaboration {
  895. .collaborator.list {
  896. padding: 0;
  897. .item {
  898. padding: 10px 20px;
  899. &:not(:last-child) {
  900. border-bottom: 1px solid #DDD;
  901. }
  902. }
  903. }
  904. #repo-collab-form {
  905. #search-user-box {
  906. .results {
  907. left: 7px;
  908. }
  909. }
  910. .ui.button {
  911. margin-left: 5px;
  912. margin-top: -3px;
  913. }
  914. }
  915. }
  916. }
  917. }
  918. // End of .repository
  919. #search-user-box {
  920. .results {
  921. padding: 0;
  922. position: absolute;
  923. .item {
  924. padding: 10px 15px;
  925. border-bottom: 1px solid #DDD;
  926. cursor: pointer;
  927. &:hover {
  928. background: rgba(0,0,0,.05)!important;
  929. color: rgba(0,0,0,.95)!important;
  930. }
  931. img {
  932. margin-right: 8px;
  933. }
  934. }
  935. }
  936. }
  937. .issue.list {
  938. list-style: none;
  939. padding-top: 15px;
  940. >.item {
  941. padding-top: 15px;
  942. padding-bottom: 10px;
  943. border-bottom: 1px dashed #AAA;
  944. .title {
  945. color: #444;
  946. font-size: 15px;
  947. font-weight: bold;
  948. margin: 0 6px;
  949. &:hover {
  950. color: #000;
  951. }
  952. }
  953. .comment {
  954. padding-right: 10px;
  955. color: #666;
  956. }
  957. .desc {
  958. padding-top: 5px;
  959. color: #999;
  960. a.milestone {
  961. padding-left: 5px;
  962. color: #999!important;
  963. &:hover {
  964. color: #000!important;
  965. }
  966. }
  967. .assignee {
  968. margin-top: -5px;
  969. margin-right: 5px;
  970. }
  971. }
  972. }
  973. }
  974. .page.buttons {
  975. padding-top: 15px;
  976. }
  977. .ui.comments {
  978. .dropzone {
  979. width: 100%;
  980. margin-bottom: 10px;
  981. border: 2px dashed #0087F7;
  982. box-shadow: none!important;
  983. .dz-error-message {
  984. top: 140px;
  985. }
  986. }
  987. }
  988. .settings {
  989. .content {
  990. margin-top: 2px;
  991. >.header,
  992. .segment {
  993. box-shadow: 0 1px 2px 0 rgba(34,36,38,.15);
  994. }
  995. }
  996. .key.list {
  997. .item:not(:first-child) {
  998. border-top: 1px solid #eaeaea;
  999. }
  1000. .ssh-key-state-indicator {
  1001. float: left;
  1002. color: gray;
  1003. padding-left: 10px;
  1004. padding-top: 10px;
  1005. &.active {
  1006. color: #6cc644;
  1007. }
  1008. }
  1009. .meta {
  1010. padding-top: 5px;
  1011. }
  1012. .print {
  1013. color: #767676;
  1014. }
  1015. .activity {
  1016. color: #666;
  1017. }
  1018. }
  1019. .hook.list {
  1020. > .item:not(:first-child) {
  1021. border-top: 1px solid #eaeaea;
  1022. }
  1023. .item {
  1024. padding: 10px 20px;
  1025. .octicon,
  1026. .fa {
  1027. width: 20px;
  1028. text-align: center;
  1029. }
  1030. }
  1031. }
  1032. .hook.history.list {
  1033. .item {
  1034. padding-left: 13px;
  1035. .meta {
  1036. .ui.right {
  1037. margin-top: 5px;
  1038. .time {
  1039. font-size: 12px;
  1040. }
  1041. }
  1042. }
  1043. .info {
  1044. margin-top: 10px;
  1045. .tabular.menu {
  1046. .item {
  1047. font-weight: 500;
  1048. }
  1049. }
  1050. .tab.segment {
  1051. border: none;
  1052. padding: 0;
  1053. padding-top: 10px;
  1054. box-shadow: none;
  1055. > * {
  1056. color: #666;
  1057. }
  1058. pre {
  1059. word-wrap: break-word;
  1060. .hljs {
  1061. padding: 0;
  1062. background-color: inherit;
  1063. }
  1064. }
  1065. }
  1066. }
  1067. }
  1068. }
  1069. }
  1070. .ui.vertical.menu {
  1071. .header.item {
  1072. font-size: 1.1em;
  1073. background: #f0f0f0;
  1074. }
  1075. }
  1076. .edit-label.modal,
  1077. .new-label.segment {
  1078. .form {
  1079. .column {
  1080. padding-right: 0;
  1081. }
  1082. .buttons {
  1083. margin-left: auto;
  1084. padding-top: 15px;
  1085. }
  1086. .color.picker.column {
  1087. width: auto;
  1088. .color-picker {
  1089. height: 35px;
  1090. width: auto;
  1091. padding-left: 30px;
  1092. }
  1093. }
  1094. .minicolors-swatch.minicolors-sprite {
  1095. top: 10px;
  1096. left: 10px;
  1097. width: 15px;
  1098. height: 15px;
  1099. }
  1100. .precolors {
  1101. padding-left: 0;
  1102. padding-right: 0;
  1103. margin: 3px 10px auto 10px;
  1104. width: 120px;
  1105. .color {
  1106. float: left;
  1107. width: 15px;
  1108. height: 15px;
  1109. }
  1110. }
  1111. }
  1112. }
  1113. #transfer-repo-modal,
  1114. #delete-repo-modal {
  1115. .ui.message {
  1116. width: 100%!important;
  1117. }
  1118. }