_repository.less 18 KB

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