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.

1492 lines
24 KiB

9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
8 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
8 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
  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: 400;
  22. font-size: 1.7rem;
  23. }
  24. .fork-flag {
  25. margin-left: @mega-octicon-width + 8px;
  26. margin-top: 3px;
  27. display: block;
  28. font-size: 12px;
  29. white-space: nowrap;
  30. }
  31. .octicon.octicon-repo-forked {
  32. margin-top: -1px;
  33. font-size: 15px;
  34. }
  35. }
  36. .navbar {
  37. display: flex;
  38. justify-content: space-between;
  39. .ui.label {
  40. margin-top: -2px;
  41. margin-left: 7px;
  42. padding: 3px 5px;
  43. }
  44. }
  45. .owner.dropdown {
  46. min-width: 40% !important;
  47. }
  48. .metas {
  49. .menu {
  50. max-height: 300px;
  51. overflow-x: auto;
  52. }
  53. .ui.list {
  54. .hide {
  55. display: none!important;
  56. }
  57. .item {
  58. padding: 0px;
  59. }
  60. .label.color {
  61. padding: 0 8px;
  62. margin-right: 5px;
  63. }
  64. a {
  65. margin: 2px 0;
  66. .text {
  67. color: #444;
  68. &:hover {
  69. color: #000;
  70. }
  71. }
  72. }
  73. }
  74. }
  75. .header-wrapper {
  76. background-color: #FAFAFA;
  77. margin-top: -15px;
  78. padding-top: 15px;
  79. .ui.tabs.divider {
  80. border-bottom: none;
  81. }
  82. .ui.tabular .octicon {
  83. margin-right: 5px;
  84. }
  85. }
  86. .filter.menu {
  87. .label.color {
  88. border-radius: 3px;
  89. margin-left: 15px;
  90. padding: 0 8px;
  91. }
  92. .octicon {
  93. float: left;
  94. margin-left: -5px;
  95. margin-right: -7px;
  96. }
  97. .menu {
  98. max-height: 300px;
  99. overflow-x: auto;
  100. right: 0!important;
  101. left: auto!important;
  102. }
  103. .dropdown.item {
  104. margin: 1px;
  105. padding-right: 0;
  106. }
  107. }
  108. .ui.tabs {
  109. &.container {
  110. margin-top: 14px;
  111. margin-bottom: 0px;
  112. .ui.menu {
  113. border-bottom: none;
  114. }
  115. }
  116. &.divider {
  117. margin-top: 0;
  118. margin-bottom: 20px;
  119. }
  120. }
  121. #clone-panel {
  122. margin-top: -8px;
  123. margin-left: 5px;
  124. width: 350px;
  125. input {
  126. border-radius: 0;
  127. padding: 5px 10px;
  128. }
  129. .clone.button {
  130. font-size: 13px;
  131. padding: 0 5px;
  132. &:first-child {
  133. border-radius: .28571429rem 0 0 .28571429rem;
  134. }
  135. }
  136. .icon.button {
  137. padding: 0 10px;
  138. }
  139. .dropdown .menu {
  140. right: 0!important;
  141. left: auto!important;
  142. }
  143. }
  144. &.file.list {
  145. #repo-desc {
  146. font-size: 1.2em;
  147. }
  148. .choose.reference {
  149. .header .icon {
  150. font-size: 1.4em;
  151. }
  152. }
  153. #file-buttons {
  154. font-weight: normal;
  155. margin-top: -3px;
  156. .ui.button {
  157. padding: 8px 10px;
  158. font-weight: normal;
  159. }
  160. }
  161. #repo-files-table {
  162. thead {
  163. th {
  164. padding-top: 8px;
  165. padding-bottom: 5px;
  166. font-weight: normal;
  167. &:first-child {
  168. display: block;
  169. position: relative;
  170. width: 325%;
  171. }
  172. }
  173. .ui.avatar {
  174. margin-bottom: 5px;
  175. }
  176. }
  177. tbody {
  178. .octicon {
  179. margin-left: 3px;
  180. margin-right: 5px;
  181. color: #777;
  182. &.octicon-mail-reply {
  183. margin-right: 10px;
  184. }
  185. &.octicon-file-directory, &.octicon-file-submodule {
  186. color: #1e70bf;
  187. }
  188. }
  189. }
  190. td {
  191. padding-top: 8px;
  192. padding-bottom: 8px;
  193. }
  194. td.message .isSigned {
  195. cursor: default;
  196. }
  197. tr:hover {
  198. background-color: #ffffEE;
  199. }
  200. .jumpable-path {
  201. color: #888;
  202. }
  203. }
  204. #file-content {
  205. .header {
  206. .icon {
  207. font-size: 1em;
  208. margin-top: -2px;
  209. }
  210. .file-actions {
  211. padding-left: 20px;
  212. .btn-octicon {
  213. display: inline-block;
  214. padding: 5px;
  215. margin-left: 5px;
  216. line-height: 1;
  217. color: #767676;
  218. vertical-align: middle;
  219. background: transparent;
  220. border: 0;
  221. outline: none;
  222. }
  223. .btn-octicon:hover {
  224. color: #4078c0;
  225. }
  226. .btn-octicon-danger:hover {
  227. color: #bd2c00;
  228. }
  229. .btn-octicon.disabled {
  230. color: #bbb;
  231. cursor: default;
  232. }
  233. #delete-file-form {
  234. display: inline-block;
  235. }
  236. }
  237. }
  238. .view-raw {
  239. padding: 5px;
  240. * {
  241. max-width: 100%;
  242. }
  243. img {
  244. padding: 5px 5px 0 5px;
  245. }
  246. }
  247. .code-view {
  248. * {
  249. font-size: 12px;
  250. font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
  251. line-height: 20px;
  252. }
  253. table {
  254. width: 100%;
  255. }
  256. .lines-num {
  257. vertical-align: top;
  258. text-align: right;
  259. color: #999;
  260. background: #f5f5f5;
  261. width: 1%;
  262. span {
  263. line-height: 20px;
  264. padding: 0 10px;
  265. cursor: pointer;
  266. display: block;
  267. }
  268. }
  269. .lines-num,
  270. .lines-code {
  271. padding: 0;
  272. pre,
  273. ol,
  274. .hljs {
  275. background-color: white;
  276. margin: 0;
  277. padding: 0 !important;
  278. li {
  279. display: inline-block;
  280. width: 100%;
  281. &.active {
  282. background: #ffffdd;
  283. }
  284. &:before {
  285. content: ' ';
  286. }
  287. }
  288. }
  289. }
  290. }
  291. }
  292. .sidebar {
  293. padding-left: 0;
  294. .octicon {
  295. width: 16px;
  296. }
  297. }
  298. }
  299. &.file.editor {
  300. .treepath {
  301. width: 100%;
  302. input {
  303. vertical-align: middle;
  304. box-shadow: rgba(0, 0, 0, 0.0745098) 0px 1px 2px inset;
  305. width: inherit;
  306. padding: 7px 8px;
  307. margin-right: 5px;
  308. }
  309. }
  310. .tabular.menu {
  311. .octicon {
  312. margin-right: 5px;
  313. }
  314. }
  315. .commit-form-wrapper {
  316. padding-left: 64px;
  317. .commit-avatar {
  318. float: left;
  319. margin-left: -64px;
  320. width: 3em;
  321. height: auto;
  322. }
  323. .commit-form {
  324. position: relative;
  325. padding: 15px;
  326. margin-bottom: 10px;
  327. border: 1px solid #ddd;
  328. border-radius: 3px;
  329. #avatar-arrow;
  330. &:after {
  331. border-right-color: #fff;
  332. }
  333. .quick-pull-choice {
  334. .branch-name {
  335. display: inline-block;
  336. padding: 3px 6px;
  337. font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
  338. color: rgba(0,0,0,0.65);
  339. background-color: rgba(209,227,237,0.45);
  340. border-radius: 3px;
  341. }
  342. .new-branch-name-input {
  343. position: relative;
  344. margin-left: 25px;
  345. input {
  346. width: 240px !important;
  347. padding-left: 26px !important;
  348. }
  349. }
  350. .octicon-git-branch {
  351. position: absolute;
  352. top: 9px;
  353. left: 10px;
  354. color: #b0c4ce;
  355. }
  356. }
  357. }
  358. }
  359. }
  360. &.options {
  361. #interval {
  362. width: 100px!important;
  363. min-width: 100px;
  364. }
  365. .danger {
  366. .item {
  367. padding: 20px 15px;
  368. }
  369. .ui.divider {
  370. margin: 0;
  371. }
  372. }
  373. }
  374. @comment-avatar-width: 3em;
  375. &.new.issue {
  376. .comment.form {
  377. .comment {
  378. .avatar {
  379. width: @comment-avatar-width;
  380. }
  381. }
  382. .content {
  383. margin-left: 4em;
  384. #avatar-arrow;
  385. &:after {
  386. border-right-color: #fff;
  387. }
  388. .markdown {
  389. font-size: 14px;
  390. }
  391. }
  392. .metas {
  393. min-width: 220px;
  394. .filter.menu {
  395. max-height: 300px;
  396. overflow-x: auto;
  397. }
  398. }
  399. }
  400. }
  401. &.view.issue {
  402. .title {
  403. padding-bottom: 0!important;
  404. h1 {
  405. font-weight: 300;
  406. font-size: 2.3rem;
  407. margin-bottom: 5px;
  408. .ui.input {
  409. font-size: 0.5em;
  410. vertical-align: top;
  411. width: 50%;
  412. min-width: 600px;
  413. input {
  414. font-size: 1.5em;
  415. padding: 6px 10px;
  416. }
  417. }
  418. }
  419. .index {
  420. font-weight: 300;
  421. color: #aaa;
  422. letter-spacing: -1px;
  423. }
  424. .label {
  425. margin-right: 10px;
  426. }
  427. .edit-zone {
  428. margin-top: 10px;
  429. }
  430. }
  431. .pull-desc {
  432. code {
  433. color: #0166E6;
  434. }
  435. }
  436. .pull {
  437. &.tabular.menu {
  438. margin-bottom: 10px;
  439. .octicon {
  440. margin-right: 5px;
  441. }
  442. }
  443. &.tab.segment {
  444. border: none;
  445. padding: 0;
  446. padding-top: 10px;
  447. box-shadow: none;
  448. background-color: inherit;
  449. }
  450. .merge.box {
  451. .avatar {
  452. margin-left: 10px;
  453. margin-top: 10px;
  454. }
  455. }
  456. }
  457. .comment-list {
  458. &:before {
  459. display: block;
  460. content: "";
  461. position: absolute;
  462. margin-top: 12px;
  463. margin-bottom: 14px;
  464. top: 0;
  465. bottom: 0;
  466. left: 96px;
  467. width: 2px;
  468. background-color: #f3f3f3;
  469. z-index: -1;
  470. }
  471. .comment {
  472. .avatar {
  473. width: @comment-avatar-width;
  474. }
  475. .tag {
  476. color: #767676;
  477. margin-top: 3px;
  478. padding: 2px 5px;
  479. font-size: 12px;
  480. border: 1px solid rgba(0,0,0,0.1);
  481. border-radius: 3px;
  482. }
  483. .actions {
  484. .item {
  485. float: left;
  486. &.tag {
  487. margin-right: 5px;
  488. }
  489. &.action {
  490. margin-top: 6px;
  491. margin-left: 10px;
  492. }
  493. }
  494. }
  495. .content {
  496. margin-left: 4em;
  497. .header {
  498. #avatar-arrow;
  499. font-weight: normal;
  500. padding: auto 15px;
  501. position: relative;
  502. color: #767676;
  503. background-color: #f7f7f7;
  504. border-bottom: 1px solid #eee;
  505. border-top-left-radius: 3px;
  506. border-top-right-radius: 3px;
  507. .text {
  508. max-width: 78%;
  509. padding-top: 10px;
  510. padding-bottom: 10px;
  511. }
  512. }
  513. .markdown {
  514. font-size: 14px;
  515. }
  516. .no-content {
  517. color: #767676;
  518. font-style: italic;
  519. }
  520. > .bottom.segment {
  521. background: #f3f4f5;
  522. .ui.images::after {
  523. clear: both;
  524. content: ' ';
  525. display: block;
  526. }
  527. a {
  528. display: block;
  529. float: left;
  530. margin: 5px;
  531. padding: 5px;
  532. height: 150px;
  533. border: solid 1px #eee;
  534. border-radius: 3px;
  535. max-width: 150px;
  536. background-color: #fff;
  537. &:before {
  538. content:' ';
  539. display: inline-block;
  540. height: 100%;
  541. vertical-align: middle;
  542. }
  543. }
  544. .ui.image {
  545. max-height: 100%;
  546. width: auto;
  547. margin: 0;
  548. vertical-align: middle;
  549. }
  550. span.ui.image {
  551. font-size: 8vw;
  552. color: #000000;
  553. }
  554. span.ui.image:hover {
  555. color: #000000;
  556. }
  557. }
  558. }
  559. .ui.form {
  560. .field:first-child {
  561. clear: none;
  562. }
  563. .tab.segment {
  564. border: none;
  565. padding: 0;
  566. padding-top: 10px;
  567. }
  568. textarea {
  569. height: 200px;
  570. font-family: "Consolas", monospace;
  571. }
  572. }
  573. .edit.buttons {
  574. margin-top: 10px;
  575. }
  576. }
  577. .event {
  578. position: relative;
  579. margin: 15px 0 15px 79px;
  580. padding-left: 25px;
  581. .octicon {
  582. width: 30px;
  583. float: left;
  584. text-align: center;
  585. &.octicon-circle-slash {
  586. margin-top: 5px;
  587. margin-left: -34.5px;
  588. font-size: 20px;
  589. color: #bd2c00;
  590. }
  591. &.octicon-primitive-dot {
  592. margin-left: -28.5px;
  593. margin-right: -1px;
  594. font-size: 30px;
  595. color: #6cc644;
  596. }
  597. &.octicon-bookmark {
  598. margin-top: 3px;
  599. margin-left: -31px;
  600. margin-right: -1px;
  601. font-size: 25px;
  602. }
  603. }
  604. .detail {
  605. font-size: 0.9rem;
  606. margin-top: 5px;
  607. margin-left: 35px;
  608. .octicon {
  609. &.octicon-git-commit {
  610. margin-top: 2px;
  611. }
  612. }
  613. }
  614. }
  615. }
  616. .ui.segment.metas {
  617. margin-top: -3px;
  618. }
  619. .ui.participants {
  620. img {
  621. margin-top: 5px;
  622. margin-right: 5px;
  623. }
  624. }
  625. }
  626. .comment.form {
  627. .ui.comments {
  628. margin-top: -12px;
  629. max-width: 100%;
  630. }
  631. .content {
  632. .field:first-child {
  633. clear: none;
  634. }
  635. .form {
  636. #avatar-arrow;
  637. &:after {
  638. border-right-color: #fff;
  639. }
  640. }
  641. .tab.segment {
  642. border: none;
  643. padding: 0;
  644. padding-top: 10px;
  645. }
  646. textarea {
  647. height: 200px;
  648. font-family: "Consolas", monospace;
  649. }
  650. }
  651. }
  652. .label.list {
  653. list-style: none;
  654. padding-top: 15px;
  655. .item {
  656. padding-top: 10px;
  657. padding-bottom: 10px;
  658. border-bottom: 1px dashed #AAA;
  659. a {
  660. font-size: 15px;
  661. padding-top: 5px;
  662. padding-right: 10px;
  663. color: #666;
  664. &:hover {
  665. color: #000;
  666. }
  667. &.open-issues {
  668. margin-right: 30px;
  669. }
  670. }
  671. .ui.label {
  672. font-size: 1em;
  673. }
  674. }
  675. }
  676. .milestone.list {
  677. list-style: none;
  678. padding-top: 15px;
  679. > .item {
  680. padding-top: 10px;
  681. padding-bottom: 10px;
  682. border-bottom: 1px dashed #AAA;
  683. > a {
  684. padding-top: 5px;
  685. padding-right: 10px;
  686. color: #000;
  687. &:hover {
  688. color: #4078c0;
  689. }
  690. }
  691. .ui.progress {
  692. width: 40%;
  693. padding: 0;
  694. border: 0;
  695. margin: 0;
  696. .bar {
  697. height: 20px;
  698. }
  699. }
  700. .meta {
  701. color: #999;
  702. padding-top: 5px;
  703. .issue-stats .octicon{
  704. padding-left: 5px;
  705. }
  706. .overdue {
  707. color: red;
  708. }
  709. }
  710. .operate {
  711. margin-top: -15px;
  712. > a {
  713. font-size: 15px;
  714. padding-top: 5px;
  715. padding-right: 10px;
  716. color: #666;
  717. &:hover {
  718. color: #000;
  719. }
  720. }
  721. }
  722. .content {
  723. padding-top: 10px;
  724. }
  725. }
  726. }
  727. &.new.milestone {
  728. textarea {
  729. height: 200px;
  730. }
  731. #deadline {
  732. width: 150px;
  733. }
  734. }
  735. &.compare.pull {
  736. .choose.branch {
  737. .octicon {
  738. padding-right: 10px;
  739. }
  740. }
  741. .comment.form {
  742. .content {
  743. #avatar-arrow;
  744. &:after {
  745. border-right-color: #fff;
  746. }
  747. }
  748. }
  749. }
  750. .filter.dropdown .menu {
  751. margin-top: 1px!important;
  752. }
  753. &.commits {
  754. .header {
  755. .ui.right {
  756. .search {
  757. input {
  758. font-weight: normal;
  759. padding: 5px 10px;
  760. }
  761. }
  762. }
  763. }
  764. }
  765. #commits-table {
  766. thead {
  767. th:first-of-type {
  768. padding-left: 15px;
  769. }
  770. .sha {
  771. text-align: center;
  772. width: 140px;
  773. }
  774. }
  775. td.sha .sha.label {
  776. margin: 0;
  777. }
  778. &.ui.basic.striped.table tbody tr:nth-child(2n) {
  779. background-color: rgba(0, 0, 0, .02)!important;
  780. }
  781. }
  782. #commits-table td.sha .sha.label, #repo-files-table .sha.label{
  783. &.isSigned{
  784. border: 1px solid #BBB;
  785. .detail.icon{
  786. background: #FAFAFA;
  787. margin: -6px -10px -4px 0px;
  788. padding: 5px 3px 5px 6px;
  789. border-left: 1px solid #BBB;
  790. border-top-left-radius: 0;
  791. border-bottom-left-radius: 0;
  792. }
  793. }
  794. &.isSigned.isVerified{
  795. border: 1px solid #21BA45;
  796. background: #21BA4518;
  797. .detail.icon{
  798. border-left: 1px solid #21BA4580;
  799. }
  800. }
  801. }
  802. .diff-detail-box {
  803. margin: 15px 0;
  804. line-height: 30px;
  805. ol {
  806. clear: both;
  807. padding-left: 0;
  808. margin-top: 5px;
  809. margin-bottom: 28px;
  810. li {
  811. list-style: none;
  812. padding-bottom: 4px;
  813. margin-bottom: 4px;
  814. border-bottom: 1px dashed #DDD;
  815. padding-left: 6px;
  816. }
  817. }
  818. span.status{
  819. display: inline-block;
  820. width: 12px;
  821. height: 12px;
  822. margin-right: 8px;
  823. vertical-align: middle;
  824. &.modify {
  825. background-color: #f0db88;
  826. }
  827. &.add {
  828. background-color: #b4e2b4;
  829. }
  830. &.del {
  831. background-color: #e9aeae;
  832. }
  833. &.rename {
  834. background-color: #dad8ff;
  835. }
  836. }
  837. }
  838. .diff-box {
  839. .count {
  840. margin-right: 12px;
  841. font-size: 13px;
  842. .bar {
  843. background-color: #bd2c00;
  844. height: 12px;
  845. width: 40px;
  846. display: inline-block;
  847. margin: 2px 4px 0 4px;
  848. vertical-align: text-top;
  849. .add {
  850. background-color: #55a532;
  851. height: 12px;
  852. }
  853. }
  854. }
  855. .file {
  856. color: #888;
  857. }
  858. }
  859. .diff-file-box {
  860. .header {
  861. background-color: #f7f7f7;
  862. }
  863. .file-body.file-code {
  864. .lines-num {
  865. text-align: right;
  866. color: #A7A7A7;
  867. background: #fafafa;
  868. width: 1%;
  869. span.fold {
  870. display: block;
  871. text-align: center;
  872. }
  873. }
  874. .lines-num-old {
  875. border-right: 1px solid #DDD;
  876. }
  877. }
  878. .code-diff {
  879. font-size: 12px;
  880. td {
  881. padding: 0;
  882. padding-left: 10px;
  883. border-top: none;
  884. }
  885. pre {
  886. margin: 0;
  887. }
  888. .lines-num {
  889. border-right: 1px solid #d4d4d5;
  890. padding: 0 5px;
  891. }
  892. tbody {
  893. tr {
  894. td.halfwidth {
  895. width: 50%;
  896. }
  897. &.tag-code td, td.tag-code {
  898. background-color: #F0F0F0 !important;
  899. border-color: #D2CECE !important;
  900. padding-top: 8px;
  901. padding-bottom: 8px;
  902. // td.selected-line, td.selected-line pre {
  903. // background-color: #ffffdd !important;
  904. // }
  905. }
  906. // &.same-code {
  907. // td.selected-line, td.selected-line pre {
  908. // background-color: #ffffdd !important;
  909. // }
  910. // }
  911. .removed-code {
  912. background-color: #ff9999;
  913. }
  914. .added-code {
  915. background-color: #99ff99;
  916. }
  917. }
  918. }
  919. }
  920. .code-diff-unified tbody tr {
  921. &.del-code td {
  922. background-color: #ffe0e0 !important;
  923. border-color: #f1c0c0 !important;
  924. }
  925. &.add-code td {
  926. background-color: #d6fcd6 !important;
  927. border-color: #c1e9c1 !important;
  928. }
  929. }
  930. .code-diff-split tbody tr {
  931. // light gray for empty lines before / after commit
  932. &.add-code td:nth-child(1), &.add-code td:nth-child(2),
  933. &.del-code td:nth-child(3), &.del-code td:nth-child(4) {
  934. background-color: #fafafa;
  935. }
  936. &.del-code td:nth-child(1), &.del-code td:nth-child(2),
  937. td.del-code {
  938. background-color: #ffe0e0 !important;
  939. border-color: #f1c0c0 !important;
  940. }
  941. &.add-code td:nth-child(3), &.add-code td:nth-child(4),
  942. td.add-code{
  943. background-color: #d6fcd6 !important;
  944. border-color: #c1e9c1 !important;
  945. }
  946. }
  947. &.file-content {
  948. img {
  949. max-width: 100%;
  950. padding: 5px 5px 0 5px;
  951. }
  952. }
  953. }
  954. .code-view {
  955. overflow: auto;
  956. overflow-x: auto;
  957. overflow-y: hidden;
  958. }
  959. &.quickstart {
  960. .guide {
  961. .item {
  962. padding: 1em;
  963. small {
  964. font-weight: normal;
  965. }
  966. }
  967. .clone.button:first-child {
  968. border-radius: .28571429rem 0 0 .28571429rem;
  969. }
  970. .ui.action.small.input {
  971. width: 100%;
  972. }
  973. #repo-clone-url {
  974. border-radius: 0;
  975. padding: 5px 10px;
  976. font-size: 1.2em;
  977. }
  978. }
  979. }
  980. &.release {
  981. #release-list {
  982. border-top: 1px solid #DDD;
  983. margin-top: 20px;
  984. padding-top: 15px;
  985. >li {
  986. list-style: none;
  987. .meta,
  988. .detail {
  989. padding-top: 30px;
  990. padding-bottom: 40px;
  991. }
  992. .meta {
  993. text-align: right;
  994. position: relative;
  995. .tag:not(.icon) {
  996. display: block;
  997. margin-top: 15px;
  998. }
  999. .commit {
  1000. display: block;
  1001. margin-top: 10px;
  1002. }
  1003. }
  1004. .detail {
  1005. border-left: 1px solid #DDD;
  1006. .author {
  1007. img {
  1008. margin-bottom: -3px;
  1009. }
  1010. }
  1011. .download {
  1012. margin-top: 20px;
  1013. >a {
  1014. .octicon {
  1015. margin-left: 5px;
  1016. margin-right: 5px;
  1017. }
  1018. }
  1019. .list {
  1020. padding-left: 0;
  1021. border-top: 1px solid #eee;
  1022. li {
  1023. list-style: none;
  1024. display: block;
  1025. padding-top: 8px;
  1026. padding-bottom: 8px;
  1027. border-bottom: 1px solid #eee;
  1028. }
  1029. }
  1030. }
  1031. .dot {
  1032. width: 9px;
  1033. height: 9px;
  1034. background-color: #ccc;
  1035. z-index: 999;
  1036. position: absolute;
  1037. display: block;
  1038. left: -5px;
  1039. top: 40px;
  1040. border-radius: 6px;
  1041. border: 1px solid #FFF;
  1042. }
  1043. }
  1044. }
  1045. }
  1046. }
  1047. &.new.release {
  1048. .target {
  1049. min-width: 500px;
  1050. #tag-name {
  1051. margin-top: -4px;
  1052. }
  1053. .at {
  1054. margin-left: -5px;
  1055. margin-right: 5px;
  1056. }
  1057. .dropdown.icon {
  1058. margin: 0;
  1059. padding-top: 3px;
  1060. }
  1061. .selection.dropdown {
  1062. padding-top: 10px;
  1063. padding-bottom: 10px;
  1064. }
  1065. }
  1066. .prerelease.field {
  1067. margin-bottom: 0;
  1068. }
  1069. }
  1070. &.forks {
  1071. .list {
  1072. margin-top: 0;
  1073. .item {
  1074. padding-top: 10px;
  1075. padding-bottom: 10px;
  1076. border-bottom: 1px solid #DDD;
  1077. .ui.avatar {
  1078. float: left;
  1079. margin-right: 5px;
  1080. }
  1081. .link {
  1082. padding-top: 5px;
  1083. }
  1084. }
  1085. }
  1086. }
  1087. &.wiki {
  1088. &.start {
  1089. .ui.segment {
  1090. padding-top: 70px;
  1091. padding-bottom: 100px;
  1092. .mega-octicon {
  1093. font-size: 48px;
  1094. }
  1095. }
  1096. }
  1097. &.new {
  1098. .CodeMirror {
  1099. .CodeMirror-code {
  1100. font-family: "Consolas", monospace;
  1101. .cm-comment {
  1102. background: inherit;
  1103. }
  1104. }
  1105. }
  1106. .editor-preview {
  1107. background-color: white;
  1108. }
  1109. }
  1110. &.view {
  1111. .choose.page {
  1112. margin-top: -5px;
  1113. }
  1114. .ui.sub.header {
  1115. text-transform: none;
  1116. }
  1117. >.markdown {
  1118. padding: 15px 30px;
  1119. h1, h2, h3, h4, h5, h6 {
  1120. &:first-of-type {
  1121. margin-top: 0;
  1122. }
  1123. }
  1124. }
  1125. }
  1126. }
  1127. &.settings {
  1128. &.collaboration {
  1129. .collaborator.list {
  1130. padding: 0;
  1131. >.item {
  1132. margin: 0;
  1133. line-height: 2em;
  1134. &:not(:last-child) {
  1135. border-bottom: 1px solid #DDD;
  1136. }
  1137. }
  1138. }
  1139. #repo-collab-form {
  1140. #search-user-box {
  1141. .results {
  1142. left: 7px;
  1143. }
  1144. }
  1145. .ui.button {
  1146. margin-left: 5px;
  1147. margin-top: -3px;
  1148. }
  1149. }
  1150. }
  1151. &.webhook {
  1152. .events {
  1153. .column {
  1154. padding-bottom: 0;
  1155. }
  1156. .help {
  1157. font-size: 13px;
  1158. margin-left: 26px;
  1159. padding-top: 0;
  1160. }
  1161. }
  1162. }
  1163. }
  1164. .ui.attached.isSigned.isVerified{
  1165. &:not(.positive){
  1166. border-left: 1px solid #A3C293;
  1167. border-right: 1px solid #A3C293;
  1168. }
  1169. &.top:not(.positive){
  1170. border-top: 1px solid #A3C293;
  1171. }
  1172. &:not(.positive):last-child {
  1173. border-bottom: 1px solid #A3C293;
  1174. }
  1175. }
  1176. }
  1177. // End of .repository
  1178. &.user-cards {
  1179. .list {
  1180. padding: 0;
  1181. .item {
  1182. list-style: none;
  1183. width: 32%;
  1184. margin: 10px 10px 10px 0;
  1185. padding-bottom: 14px;
  1186. float: left;
  1187. .avatar {
  1188. width: 48px;
  1189. height: 48px;
  1190. float: left;
  1191. display: block;
  1192. margin-right: 10px;
  1193. }
  1194. .name {
  1195. margin-top: 0;
  1196. margin-bottom: 0;
  1197. font-weight: normal;
  1198. }
  1199. .meta {
  1200. margin-top: 5px;
  1201. }
  1202. }
  1203. }
  1204. }
  1205. #search-repo-box,
  1206. #search-user-box {
  1207. .results {
  1208. padding: 0;
  1209. position: absolute;
  1210. .item {
  1211. padding: 10px 15px;
  1212. border-bottom: 1px solid #DDD;
  1213. cursor: pointer;
  1214. &:hover {
  1215. background: rgba(0,0,0,.05)!important;
  1216. color: rgba(0,0,0,.95)!important;
  1217. }
  1218. img {
  1219. margin-right: 8px;
  1220. }
  1221. }
  1222. }
  1223. }
  1224. .issue-actions {
  1225. display: none;
  1226. }
  1227. .issue.list {
  1228. list-style: none;
  1229. padding-top: 15px;
  1230. >.item {
  1231. padding-top: 15px;
  1232. padding-bottom: 10px;
  1233. border-bottom: 1px dashed #AAA;
  1234. .title {
  1235. color: #444;
  1236. font-size: 15px;
  1237. font-weight: bold;
  1238. margin: 0 6px;
  1239. &:hover {
  1240. color: #000;
  1241. }
  1242. }
  1243. .comment {
  1244. padding-right: 10px;
  1245. color: #666;
  1246. }
  1247. .desc {
  1248. padding-top: 5px;
  1249. color: #999;
  1250. a.milestone {
  1251. padding-left: 5px;
  1252. color: #999!important;
  1253. &:hover {
  1254. color: #000!important;
  1255. }
  1256. }
  1257. .assignee {
  1258. margin-top: -5px;
  1259. margin-right: 5px;
  1260. }
  1261. }
  1262. }
  1263. }
  1264. .page.buttons {
  1265. padding-top: 15px;
  1266. }
  1267. .ui.form {
  1268. .dropzone {
  1269. width: 100%;
  1270. margin-bottom: 10px;
  1271. border: 2px dashed #0087F7;
  1272. box-shadow: none!important;
  1273. .dz-error-message {
  1274. top: 140px;
  1275. }
  1276. }
  1277. }
  1278. .settings {
  1279. .content {
  1280. margin-top: 2px;
  1281. >.header,
  1282. .segment {
  1283. box-shadow: 0 1px 2px 0 rgba(34,36,38,.15);
  1284. }
  1285. }
  1286. .list {
  1287. > .item {
  1288. .green {
  1289. color: #21BA45 !important;
  1290. }
  1291. &:not(:first-child) {
  1292. border-top: 1px solid #eaeaea;
  1293. padding:1rem;
  1294. margin: 15px -1rem -1rem -1rem;
  1295. }
  1296. > .mega-octicon {
  1297. display: table-cell;
  1298. }
  1299. > .mega-octicon + .content {
  1300. display: table-cell;
  1301. padding: 0 0 0 .5em;
  1302. vertical-align: top;
  1303. }
  1304. .info {
  1305. margin-top: 10px;
  1306. .tab.segment {
  1307. border: none;
  1308. padding: 10px 0 0;
  1309. }
  1310. }
  1311. }
  1312. &.key{
  1313. .meta {
  1314. padding-top: 5px;
  1315. color: #666;
  1316. }
  1317. }
  1318. &.email {
  1319. > .item:not(:first-child) {
  1320. min-height: 60px;
  1321. }
  1322. }
  1323. }
  1324. }
  1325. .ui.vertical.menu {
  1326. .header.item {
  1327. font-size: 1.1em;
  1328. background: #f0f0f0;
  1329. }
  1330. }
  1331. .edit-label.modal,
  1332. .new-label.segment {
  1333. .form {
  1334. .column {
  1335. padding-right: 0;
  1336. }
  1337. .buttons {
  1338. margin-left: auto;
  1339. padding-top: 15px;
  1340. }
  1341. .color.picker.column {
  1342. width: auto;
  1343. .color-picker {
  1344. height: 35px;
  1345. width: auto;
  1346. padding-left: 30px;
  1347. }
  1348. }
  1349. .minicolors-swatch.minicolors-sprite {
  1350. top: 10px;
  1351. left: 10px;
  1352. width: 15px;
  1353. height: 15px;
  1354. }
  1355. .precolors {
  1356. padding-left: 0;
  1357. padding-right: 0;
  1358. margin: 3px 10px auto 10px;
  1359. width: 120px;
  1360. .color {
  1361. float: left;
  1362. width: 15px;
  1363. height: 15px;
  1364. }
  1365. }
  1366. }
  1367. }
  1368. #avatar-arrow {
  1369. &:before, &:after {
  1370. right: 100%;
  1371. top: 20px;
  1372. border: solid transparent;
  1373. content: " ";
  1374. height: 0;
  1375. width: 0;
  1376. position: absolute;
  1377. pointer-events: none;
  1378. }
  1379. &:before {
  1380. border-right-color: #D4D4D5;
  1381. border-width: 9px;
  1382. margin-top: -9px;
  1383. }
  1384. &:after {
  1385. border-right-color: #f7f7f7;
  1386. border-width: 8px;
  1387. margin-top: -8px;
  1388. }
  1389. }
  1390. #transfer-repo-modal,
  1391. #delete-repo-modal {
  1392. .ui.message {
  1393. width: 100%!important;
  1394. }
  1395. }
  1396. // generate .tab-size-{i} from 1 to 16
  1397. .generate-tab-size(16);
  1398. .generate-tab-size(@n, @i: 1) when (@i =< @n) {
  1399. .tab-size-@{i} {
  1400. tab-size: @i !important;
  1401. -moz-tab-size: @i !important;
  1402. }
  1403. .generate-tab-size(@n, (@i + 1));
  1404. }