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