本站源代码
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.

2463 lines
54KB

  1. .repository {
  2. @mega-octicon-width: 30px;
  3. padding-top: 15px;
  4. .repo-header {
  5. .ui.compact.menu {
  6. margin-left: 1rem;
  7. }
  8. .ui.header {
  9. margin-top: 0;
  10. }
  11. .mega-octicon {
  12. width: @mega-octicon-width;
  13. font-size: 30px;
  14. }
  15. .ui.huge.breadcrumb {
  16. font-weight: 400;
  17. font-size: 1.5rem;
  18. i.mega-octicon {
  19. position: relative;
  20. top: 5px;
  21. }
  22. i.octicon-lock {
  23. margin-left: 5px;
  24. }
  25. }
  26. .fork-flag {
  27. margin-left: @mega-octicon-width + 6px;
  28. margin-top: 3px;
  29. display: block;
  30. font-size: 12px;
  31. white-space: nowrap;
  32. }
  33. .octicon.octicon-repo-forked {
  34. margin-top: -1px;
  35. font-size: 15px;
  36. }
  37. .button {
  38. margin-top: 2px;
  39. margin-bottom: 2px;
  40. }
  41. }
  42. .tabs {
  43. .navbar {
  44. justify-content: initial;
  45. }
  46. }
  47. .navbar {
  48. display: flex;
  49. justify-content: space-between;
  50. .ui.label {
  51. margin-left: 7px;
  52. padding: 3px 5px;
  53. }
  54. }
  55. .owner.dropdown {
  56. min-width: 40% !important;
  57. }
  58. #file-buttons {
  59. /* The reason for the !important is that Semantic itself has
  60. margin-left: 0 !important on right items on mobile, which is mostly
  61. to make sure elements which on menus would otherwise be on the right
  62. align correctly with other elements when stacked.
  63. Unfortunately, this brings some weird alignment on this particular
  64. element, so we need to override it. */
  65. margin-left: auto !important;
  66. font-weight: normal;
  67. .ui.button {
  68. padding: 8px 10px;
  69. font-weight: normal;
  70. }
  71. }
  72. .metas {
  73. .menu {
  74. max-height: 300px;
  75. overflow-x: auto;
  76. }
  77. .ui.list {
  78. .hide {
  79. display: none !important;
  80. }
  81. .item {
  82. padding: 0;
  83. }
  84. .label.color {
  85. padding: 0 8px;
  86. margin-right: 5px;
  87. }
  88. a {
  89. margin: 2px 0;
  90. .text {
  91. color: #444444;
  92. &:hover {
  93. color: #000000;
  94. }
  95. }
  96. }
  97. }
  98. #deadlineForm input {
  99. width: 12.8rem;
  100. border-radius: 4px 0 0 4px;
  101. border-right: 0;
  102. white-space: nowrap;
  103. }
  104. }
  105. .header-wrapper {
  106. background-color: #fafafa;
  107. margin-top: -15px;
  108. padding-top: 15px;
  109. .ui.tabs.divider {
  110. border-bottom: 0;
  111. }
  112. .ui.tabular .octicon {
  113. margin-right: 5px;
  114. }
  115. }
  116. .filter.menu {
  117. .label.color {
  118. border-radius: 3px;
  119. margin-left: 15px;
  120. padding: 0 8px;
  121. }
  122. .octicon {
  123. float: left;
  124. margin: 5px -7px 0 -5px;
  125. width: 16px;
  126. }
  127. &.labels .octicon {
  128. margin: -2px -7px 0 -5px;
  129. }
  130. &.labels {
  131. .label-filter .menu .info {
  132. display: inline-block;
  133. padding: 9px 7px 7px 7px;
  134. text-align: center;
  135. border-bottom: 1px solid #cccccc;
  136. font-size: 12px;
  137. code {
  138. border: 1px solid #cccccc;
  139. border-radius: 3px;
  140. padding: 3px 2px 1px 2px;
  141. font-size: 11px;
  142. }
  143. }
  144. }
  145. .text {
  146. margin-left: 0.9em;
  147. }
  148. .menu {
  149. max-height: 300px;
  150. overflow-x: auto;
  151. right: 0 !important;
  152. left: auto !important;
  153. }
  154. .dropdown.item {
  155. margin: 1px;
  156. padding-right: 0;
  157. }
  158. }
  159. .select-label {
  160. .item {
  161. max-width: 250px;
  162. overflow: hidden;
  163. text-overflow: ellipsis;
  164. }
  165. .desc {
  166. padding-left: 16px;
  167. }
  168. }
  169. .ui.tabs {
  170. &.container {
  171. margin-top: 14px;
  172. margin-bottom: 0;
  173. .ui.menu {
  174. border-bottom: 0;
  175. }
  176. }
  177. &.divider {
  178. margin-top: 0;
  179. margin-bottom: 20px;
  180. }
  181. }
  182. #clone-panel {
  183. width: 350px;
  184. @media only screen and (max-width: 768px) {
  185. width: 100%;
  186. }
  187. input {
  188. border-radius: 0;
  189. padding: 5px 10px;
  190. width: 50%;
  191. }
  192. .clone.button {
  193. font-size: 13px;
  194. padding: 0 5px;
  195. &:first-child {
  196. border-radius: 0.28571429rem 0 0 0.28571429rem;
  197. }
  198. }
  199. .icon.button {
  200. padding: 0 10px;
  201. }
  202. .dropdown .menu {
  203. right: 0 !important;
  204. left: auto !important;
  205. }
  206. }
  207. &.file.list {
  208. .repo-description {
  209. display: flex;
  210. justify-content: space-between;
  211. align-items: center;
  212. }
  213. #repo-desc {
  214. font-size: 1.2em;
  215. }
  216. .choose.reference {
  217. .header .icon {
  218. font-size: 1.4em;
  219. }
  220. }
  221. .repo-path {
  222. .section,
  223. .divider {
  224. display: inline;
  225. }
  226. }
  227. #file-buttons {
  228. font-weight: normal;
  229. .ui.button {
  230. padding: 8px 10px;
  231. font-weight: normal;
  232. }
  233. .ui.tiny.blue.buttons {
  234. @media only screen and (max-width: 768px) {
  235. width: 100%;
  236. }
  237. }
  238. }
  239. #repo-files-table {
  240. thead {
  241. th {
  242. padding-top: 8px;
  243. padding-bottom: 5px;
  244. font-weight: normal;
  245. }
  246. .ui.avatar {
  247. margin-bottom: 5px;
  248. }
  249. .commit-summary a {
  250. text-decoration: underline;
  251. text-decoration-style: dashed;
  252. &:hover {
  253. text-decoration-style: solid;
  254. }
  255. &.default-link {
  256. text-decoration: none;
  257. &:hover {
  258. text-decoration: underline;
  259. text-decoration-style: solid;
  260. }
  261. }
  262. }
  263. }
  264. tbody {
  265. .octicon {
  266. margin-left: 3px;
  267. margin-right: 5px;
  268. color: #777777;
  269. &.octicon-mail-reply {
  270. margin-right: 10px;
  271. }
  272. &.octicon-file-directory,
  273. &.octicon-file-submodule,
  274. &.octicon-file-symlink-directory {
  275. color: #1e70bf;
  276. }
  277. }
  278. }
  279. td {
  280. padding-top: 8px;
  281. padding-bottom: 8px;
  282. overflow: initial;
  283. &.name {
  284. max-width: 150px;
  285. }
  286. &.message {
  287. max-width: 400px;
  288. }
  289. &.age {
  290. width: 120px;
  291. }
  292. .truncate {
  293. display: inline-block;
  294. max-width: 100%;
  295. overflow: hidden;
  296. text-overflow: ellipsis;
  297. vertical-align: top;
  298. white-space: nowrap;
  299. }
  300. }
  301. td.message .isSigned {
  302. cursor: default;
  303. }
  304. tr:hover {
  305. background-color: #ffffee;
  306. }
  307. .jumpable-path {
  308. color: #888888;
  309. }
  310. }
  311. .non-diff-file-content {
  312. .header {
  313. .icon {
  314. font-size: 1em;
  315. }
  316. .file-actions {
  317. margin-bottom: -5px;
  318. .btn-octicon {
  319. display: inline-block;
  320. padding: 5px;
  321. margin-left: 5px;
  322. line-height: 1;
  323. color: #767676;
  324. vertical-align: middle;
  325. background: transparent;
  326. border: 0;
  327. outline: none;
  328. }
  329. .btn-octicon:hover {
  330. color: #4078c0;
  331. }
  332. .btn-octicon-danger:hover {
  333. color: #bd2c00;
  334. }
  335. .btn-octicon.disabled {
  336. color: #bbbbbb;
  337. cursor: default;
  338. }
  339. #delete-file-form {
  340. display: inline-block;
  341. }
  342. }
  343. }
  344. .view-raw {
  345. padding: 5px;
  346. * {
  347. max-width: 100%;
  348. }
  349. img {
  350. padding: 5px 5px 0 5px;
  351. }
  352. }
  353. .plain-text {
  354. padding: 1em 2em 1em 2em;
  355. pre {
  356. word-break: break-word;
  357. white-space: pre-wrap;
  358. }
  359. }
  360. .csv {
  361. overflow-x: auto;
  362. padding: 0 !important;
  363. }
  364. pre {
  365. overflow: auto;
  366. }
  367. }
  368. .sidebar {
  369. padding-left: 0;
  370. .octicon {
  371. width: 16px;
  372. }
  373. }
  374. }
  375. &.file.editor {
  376. .treepath {
  377. width: 100%;
  378. input {
  379. vertical-align: middle;
  380. box-shadow: rgba(0, 0, 0, 0.0745098) 0 1px 2px inset;
  381. width: inherit;
  382. padding: 7px 8px;
  383. margin-right: 5px;
  384. }
  385. }
  386. .tabular.menu {
  387. .octicon {
  388. margin-right: 5px;
  389. }
  390. }
  391. .commit-form-wrapper {
  392. padding-left: 64px;
  393. .commit-avatar {
  394. float: left;
  395. margin-left: -64px;
  396. width: 3em;
  397. height: auto;
  398. }
  399. .commit-form {
  400. position: relative;
  401. padding: 15px;
  402. margin-bottom: 10px;
  403. border: 1px solid #dddddd;
  404. border-radius: 3px;
  405. #avatar-arrow;
  406. &:after {
  407. border-right-color: #ffffff;
  408. }
  409. .quick-pull-choice {
  410. .branch-name {
  411. display: inline-block;
  412. padding: 3px 6px;
  413. font: 12px @monospaced-fonts, monospace;
  414. color: rgba(0, 0, 0, 0.65);
  415. background-color: rgba(209, 227, 237, 0.45);
  416. border-radius: 3px;
  417. }
  418. .new-branch-name-input {
  419. position: relative;
  420. margin-left: 25px;
  421. input {
  422. width: 240px !important;
  423. padding-left: 26px !important;
  424. }
  425. }
  426. .octicon-git-branch {
  427. position: absolute;
  428. top: 9px;
  429. left: 10px;
  430. color: #b0c4ce;
  431. }
  432. }
  433. }
  434. }
  435. }
  436. &.options {
  437. #interval {
  438. width: 100px !important;
  439. min-width: 100px;
  440. }
  441. .danger {
  442. .item {
  443. padding: 20px 15px;
  444. }
  445. .ui.divider {
  446. margin: 0;
  447. }
  448. }
  449. }
  450. @comment-avatar-width: 3em;
  451. .comment textarea {
  452. max-height: none !important;
  453. }
  454. &.new.issue {
  455. .comment.form {
  456. .comment {
  457. .avatar {
  458. width: @comment-avatar-width;
  459. }
  460. }
  461. .content {
  462. margin-left: 4em;
  463. #avatar-arrow;
  464. &:after {
  465. border-right-color: #ffffff;
  466. }
  467. .markdown {
  468. font-size: 14px;
  469. }
  470. }
  471. .metas {
  472. min-width: 220px;
  473. .filter.menu {
  474. max-height: 300px;
  475. overflow-x: auto;
  476. }
  477. }
  478. }
  479. }
  480. &.view.issue {
  481. .title {
  482. padding-bottom: 0 !important;
  483. h1 {
  484. font-weight: 300;
  485. font-size: 2.3rem;
  486. margin-bottom: 5px;
  487. .ui.input {
  488. font-size: 0.5em;
  489. vertical-align: top;
  490. width: 50%;
  491. min-width: 600px;
  492. input {
  493. font-size: 1.5em;
  494. padding: 6px 10px;
  495. }
  496. }
  497. }
  498. .index {
  499. font-weight: 300;
  500. color: #aaaaaa;
  501. letter-spacing: -1px;
  502. }
  503. .label {
  504. margin-right: 10px;
  505. }
  506. .edit-zone {
  507. margin-top: 10px;
  508. }
  509. }
  510. .pull-desc {
  511. code {
  512. color: #0166e6;
  513. }
  514. }
  515. .pull {
  516. &.tabular.menu {
  517. margin-bottom: 10px;
  518. .octicon {
  519. margin-right: 5px;
  520. }
  521. }
  522. &.tab.segment {
  523. border: 0;
  524. padding: 10px 0 0;
  525. box-shadow: none;
  526. background-color: inherit;
  527. }
  528. .merge.box {
  529. .avatar {
  530. margin-left: 10px;
  531. margin-top: 10px;
  532. }
  533. }
  534. .review-item {
  535. .avatar,
  536. .type-icon {
  537. float: none;
  538. display: inline-block;
  539. text-align: center;
  540. vertical-align: middle;
  541. .octicon {
  542. width: 23px;
  543. font-size: 23px;
  544. margin-top: 0.45em;
  545. }
  546. }
  547. .text {
  548. margin: 0.3em 0 0.5em 0.5em;
  549. }
  550. .type-icon {
  551. float: right;
  552. margin-right: 1em;
  553. }
  554. .divider {
  555. margin: 0.5rem 0;
  556. }
  557. .review-content {
  558. padding: 1em 0 1em 3.8em;
  559. }
  560. }
  561. }
  562. .comment-list {
  563. &:not(.prevent-before-timeline):before {
  564. display: block;
  565. content: "";
  566. position: absolute;
  567. margin-top: 12px;
  568. margin-bottom: 14px;
  569. top: 0;
  570. bottom: 0;
  571. left: 96px;
  572. width: 2px;
  573. background-color: #f3f3f3;
  574. z-index: -1;
  575. }
  576. .timeline-line {
  577. position: relative;
  578. display: block;
  579. width: 100%;
  580. max-width: 100%;
  581. &:before {
  582. display: block;
  583. content: "";
  584. position: absolute;
  585. margin-top: 12px;
  586. margin-bottom: 14px;
  587. top: 0;
  588. bottom: 0;
  589. left: 82px;
  590. width: 2px;
  591. background-color: #f3f3f3;
  592. z-index: -1;
  593. }
  594. }
  595. .comment {
  596. .avatar {
  597. width: @comment-avatar-width;
  598. }
  599. .tag {
  600. color: #767676;
  601. margin-top: 3px;
  602. padding: 2px 5px;
  603. font-size: 12px;
  604. border: 1px solid rgba(0, 0, 0, 0.1);
  605. border-radius: 3px;
  606. &.pending {
  607. color: black;
  608. background-color: #fffbb2;
  609. margin-left: 5px;
  610. }
  611. }
  612. .actions {
  613. .item {
  614. float: left;
  615. &.tag {
  616. margin-right: 5px;
  617. }
  618. &.action {
  619. margin-top: 6px;
  620. margin-left: 10px;
  621. }
  622. }
  623. }
  624. .content {
  625. margin-left: 4em;
  626. > .header {
  627. #avatar-arrow;
  628. font-weight: normal;
  629. padding: auto 15px;
  630. position: relative;
  631. color: #767676;
  632. background-color: #f7f7f7;
  633. border-bottom: 1px solid #eeeeee;
  634. border-top-left-radius: 3px;
  635. border-top-right-radius: 3px;
  636. .text {
  637. max-width: 78%;
  638. padding-top: 10px;
  639. padding-bottom: 10px;
  640. }
  641. }
  642. > .merge-section {
  643. border-top: 1px solid #d4d4d5;
  644. background-color: #f7f7f7;
  645. }
  646. .markdown {
  647. font-size: 14px;
  648. }
  649. .no-content {
  650. color: #767676;
  651. font-style: italic;
  652. }
  653. > .bottom.segment {
  654. background: #f3f4f5;
  655. .ui.images::after {
  656. clear: both;
  657. content: ' ';
  658. display: block;
  659. }
  660. a {
  661. display: block;
  662. float: left;
  663. margin: 5px;
  664. padding: 5px;
  665. height: 150px;
  666. border: solid 1px #eeeeee;
  667. border-radius: 3px;
  668. max-width: 150px;
  669. background-color: #ffffff;
  670. &:before {
  671. content: ' ';
  672. display: inline-block;
  673. height: 100%;
  674. vertical-align: middle;
  675. }
  676. }
  677. .ui.image {
  678. max-height: 100%;
  679. width: auto;
  680. margin: 0;
  681. vertical-align: middle;
  682. }
  683. span.ui.image {
  684. font-size: 128px;
  685. color: #000000;
  686. }
  687. span.ui.image:hover {
  688. color: #000000;
  689. }
  690. }
  691. }
  692. .ui.form {
  693. .field:first-child {
  694. clear: none;
  695. }
  696. .tab.segment {
  697. border: 0;
  698. padding: 10px 0 0;
  699. }
  700. textarea {
  701. height: 200px;
  702. font-family: @monospaced-fonts, monospace;
  703. }
  704. }
  705. .edit.buttons {
  706. margin-top: 10px;
  707. }
  708. }
  709. .event {
  710. position: relative;
  711. margin: 15px 0 15px 79px;
  712. padding-left: 25px;
  713. & > .octicon:not(.issue-symbol) {
  714. text-shadow: -2px 0 #fff, 0 2px #fff, 2px 0 #fff, 0 -2px #fff;
  715. }
  716. & > .octicon.issue-symbol {
  717. font-size: 20px;
  718. margin-left: -35px;
  719. margin-right: -1px;
  720. margin-top: 0 !important;
  721. height: 28px;
  722. width: 28px;
  723. border-radius: 50%;
  724. text-align: center;
  725. line-height: 28px;
  726. background: #eee;
  727. &::before {
  728. width: 15px;
  729. display: inline-block;
  730. }
  731. &.octicon-key::before {
  732. width: 18px;
  733. }
  734. &.octicon-circle-slash::before {
  735. width: 17px;
  736. }
  737. &.octicon-comment {
  738. font-size: 21px;
  739. line-height: 33px;
  740. &::before {
  741. width: 20px;
  742. }
  743. }
  744. }
  745. .octicon {
  746. width: 30px;
  747. float: left;
  748. text-align: center;
  749. &.octicon-circle-slash {
  750. margin-top: 5px;
  751. margin-left: -34.5px;
  752. font-size: 20px;
  753. color: #bd2c00;
  754. }
  755. &.octicon-primitive-dot {
  756. margin-top: -1px;
  757. margin-left: -28.5px;
  758. margin-right: -1px;
  759. font-size: 30px;
  760. color: #6cc644;
  761. }
  762. &.octicon-bookmark {
  763. margin-top: 2px;
  764. margin-left: -31px;
  765. margin-right: -1px;
  766. font-size: 25px;
  767. }
  768. &.octicon-eye {
  769. margin-top: 3px;
  770. margin-left: -36px;
  771. margin-right: 0;
  772. font-size: 22px;
  773. }
  774. &.octicon-x {
  775. margin-left: -33px;
  776. font-size: 25px;
  777. }
  778. }
  779. .detail {
  780. font-size: 0.9rem;
  781. margin-top: 5px;
  782. margin-left: 35px;
  783. .octicon {
  784. &.octicon-git-commit {
  785. margin-top: 2px;
  786. }
  787. }
  788. }
  789. }
  790. }
  791. .ui.segment.metas {
  792. margin-top: -3px;
  793. }
  794. .ui.participants {
  795. img {
  796. margin-top: 5px;
  797. margin-right: 5px;
  798. }
  799. }
  800. .ui.depending {
  801. .item.is-closed {
  802. .title {
  803. text-decoration: line-through;
  804. }
  805. }
  806. }
  807. }
  808. .comment.form {
  809. .ui.comments {
  810. margin-top: -12px;
  811. max-width: 100%;
  812. }
  813. .content {
  814. .field:first-child {
  815. clear: none;
  816. }
  817. .form {
  818. #avatar-arrow;
  819. &:after {
  820. border-right-color: #ffffff;
  821. }
  822. }
  823. .tab.segment {
  824. border: 0;
  825. padding: 10px 0 0;
  826. }
  827. textarea {
  828. height: 200px;
  829. font-family: @monospaced-fonts, monospace;
  830. }
  831. }
  832. }
  833. .label.list {
  834. list-style: none;
  835. padding-top: 15px;
  836. .item {
  837. padding-top: 10px;
  838. padding-bottom: 10px;
  839. border-bottom: 1px dashed #aaaaaa;
  840. a {
  841. font-size: 15px;
  842. padding-top: 5px;
  843. padding-right: 10px;
  844. color: #666666;
  845. &:hover {
  846. color: #000000;
  847. }
  848. &.open-issues {
  849. margin-right: 30px;
  850. }
  851. }
  852. .ui.label {
  853. font-size: 1em;
  854. }
  855. }
  856. }
  857. .milestone.list {
  858. list-style: none;
  859. padding-top: 15px;
  860. > .item {
  861. padding-top: 10px;
  862. padding-bottom: 10px;
  863. border-bottom: 1px dashed #aaaaaa;
  864. > a {
  865. padding-top: 5px;
  866. padding-right: 10px;
  867. color: #000000;
  868. &:hover {
  869. color: #4078c0;
  870. }
  871. }
  872. .ui.progress {
  873. width: 40%;
  874. padding: 0;
  875. border: 0;
  876. margin: 0;
  877. .bar {
  878. height: 20px;
  879. }
  880. }
  881. .meta {
  882. color: #999999;
  883. padding-top: 5px;
  884. .issue-stats .octicon {
  885. padding-left: 5px;
  886. }
  887. .overdue {
  888. color: red;
  889. }
  890. }
  891. .operate {
  892. margin-top: -15px;
  893. > a {
  894. font-size: 15px;
  895. padding-top: 5px;
  896. padding-right: 10px;
  897. color: #666666;
  898. &:hover {
  899. color: #000000;
  900. }
  901. }
  902. }
  903. .content {
  904. padding-top: 10px;
  905. }
  906. }
  907. }
  908. &.new.milestone {
  909. textarea {
  910. height: 200px;
  911. }
  912. #deadline {
  913. width: 150px;
  914. }
  915. }
  916. &.compare.pull {
  917. .show-form-container {
  918. text-align: left;
  919. }
  920. .choose.branch {
  921. .octicon {
  922. padding-right: 10px;
  923. }
  924. }
  925. .comment.form {
  926. .content {
  927. #avatar-arrow;
  928. &:after {
  929. border-right-color: #ffffff;
  930. }
  931. }
  932. }
  933. }
  934. .filter.dropdown .menu {
  935. margin-top: 1px !important;
  936. }
  937. &.branches {
  938. .commit-divergence {
  939. .bar-group {
  940. position: relative;
  941. float: left;
  942. padding-bottom: 6px;
  943. width: 90px;
  944. &:last-child {
  945. border-left: 1px solid #b4b4b4;
  946. }
  947. }
  948. .count {
  949. margin: 0 3px;
  950. &.count-ahead {
  951. text-align: left;
  952. }
  953. &.count-behind {
  954. text-align: right;
  955. }
  956. }
  957. .bar {
  958. height: 4px;
  959. position: absolute;
  960. background-color: #d4d4d5;
  961. &.bar-behind {
  962. right: 0;
  963. }
  964. &.bar-ahead {
  965. left: 0;
  966. }
  967. }
  968. }
  969. }
  970. &.commits {
  971. .header {
  972. .search {
  973. input {
  974. font-weight: normal;
  975. padding: 5px 10px;
  976. }
  977. }
  978. }
  979. }
  980. #commits-table {
  981. thead {
  982. th:first-of-type {
  983. padding-left: 15px;
  984. }
  985. .sha {
  986. &td {
  987. text-align: center;
  988. }
  989. width: 140px;
  990. }
  991. }
  992. td.sha .sha.label {
  993. margin: 0;
  994. }
  995. td.message {
  996. text-overflow: unset;
  997. }
  998. &.ui.basic.striped.table tbody tr:nth-child(2n) {
  999. background-color: rgba(0, 0, 0, 0.02) !important;
  1000. }
  1001. }
  1002. #commits-table td.sha .sha.label,
  1003. #repo-files-table .sha.label {
  1004. border: 1px solid #bbbbbb;
  1005. .detail.icon {
  1006. background: #fafafa;
  1007. margin: -6px -10px -4px 0;
  1008. padding: 5px 3px 5px 6px;
  1009. border-left: 1px solid #bbbbbb;
  1010. border-top-left-radius: 0;
  1011. border-bottom-left-radius: 0;
  1012. }
  1013. &.isSigned.isWarning {
  1014. border: 1px solid #db2828;
  1015. background: fade(#db2828, 10%);
  1016. .detail.icon {
  1017. border-left: 1px solid fade(#db2828, 50%);
  1018. }
  1019. }
  1020. &.isSigned.isVerified {
  1021. border: 1px solid #21ba45;
  1022. background: fade(#21ba45, 10%);
  1023. .detail.icon {
  1024. border-left: 1px solid #21ba45;
  1025. }
  1026. &:hover {
  1027. background: fade(#21ba45, 30%) !important;
  1028. }
  1029. }
  1030. }
  1031. .diff-detail-box {
  1032. padding: 7px 0;
  1033. background: #ffffff;
  1034. line-height: 30px;
  1035. > div:after {
  1036. clear: both;
  1037. content: "";
  1038. display: block;
  1039. }
  1040. span.status {
  1041. display: inline-block;
  1042. width: 12px;
  1043. height: 12px;
  1044. margin-right: 8px;
  1045. vertical-align: middle;
  1046. &.modify {
  1047. background-color: #f0db88;
  1048. }
  1049. &.add {
  1050. background-color: #b4e2b4;
  1051. }
  1052. &.del {
  1053. background-color: #e9aeae;
  1054. }
  1055. &.rename {
  1056. background-color: #dad8ff;
  1057. }
  1058. }
  1059. .detail-files {
  1060. background: #ffffff;
  1061. margin: 0;
  1062. }
  1063. }
  1064. .diff-box .header {
  1065. display: flex;
  1066. align-items: center;
  1067. .count {
  1068. margin-right: 12px;
  1069. font-size: 13px;
  1070. flex: 0 0 auto;
  1071. .bar {
  1072. background-color: #bd2c00;
  1073. height: 12px;
  1074. width: 40px;
  1075. display: inline-block;
  1076. margin: 2px 4px 0 4px;
  1077. vertical-align: text-top;
  1078. .add {
  1079. background-color: #55a532;
  1080. height: 12px;
  1081. }
  1082. }
  1083. }
  1084. .file {
  1085. flex: 1;
  1086. color: #888888;
  1087. word-break: break-all;
  1088. }
  1089. .button {
  1090. margin: -5px 0 -5px 12px;
  1091. padding: 8px 10px;
  1092. flex: 0 0 auto;
  1093. }
  1094. }
  1095. .diff-file-box {
  1096. .header {
  1097. background-color: #f7f7f7;
  1098. }
  1099. .file-body.file-code {
  1100. .lines-num {
  1101. text-align: right;
  1102. color: #a6a6a6;
  1103. background: #fafafa;
  1104. width: 1%;
  1105. min-width: 50px;
  1106. user-select: none;
  1107. vertical-align: top;
  1108. span.fold {
  1109. display: block;
  1110. text-align: center;
  1111. }
  1112. }
  1113. .lines-num-old {
  1114. border-right: 1px solid #dddddd;
  1115. }
  1116. }
  1117. .code-diff {
  1118. font-size: 12px;
  1119. td {
  1120. padding: 0 0 0 10px !important;
  1121. border-top: 0;
  1122. }
  1123. .lines-num {
  1124. border-color: #d4d4d5;
  1125. border-right-width: 1px;
  1126. border-right-style: solid;
  1127. padding: 0 5px !important;
  1128. }
  1129. tbody {
  1130. tr {
  1131. td.halfwidth {
  1132. // halfwidth is used in split view - and in that case, 1% of each
  1133. width: 49%;
  1134. }
  1135. td.center {
  1136. text-align: center;
  1137. }
  1138. .removed-code {
  1139. background-color: #ff9999;
  1140. }
  1141. .added-code {
  1142. background-color: #99ff99;
  1143. }
  1144. [data-line-num]::before {
  1145. content: attr(data-line-num);
  1146. text-align: right;
  1147. }
  1148. .lines-type-marker {
  1149. width: 10px;
  1150. min-width: 10px;
  1151. user-select: none;
  1152. }
  1153. [data-type-marker]::before {
  1154. content: attr(data-type-marker);
  1155. text-align: right;
  1156. display: inline-block;
  1157. }
  1158. }
  1159. }
  1160. }
  1161. .code-diff-unified tbody tr {
  1162. &.del-code td {
  1163. background-color: #ffe0e0 !important;
  1164. border-color: #f1c0c0 !important;
  1165. }
  1166. &.add-code td {
  1167. background-color: #d6fcd6 !important;
  1168. border-color: #c1e9c1 !important;
  1169. }
  1170. }
  1171. .code-diff-split {
  1172. table,
  1173. tbody {
  1174. width: 100%;
  1175. }
  1176. tbody tr {
  1177. // light gray for empty lines before / after commit
  1178. &.add-code td:nth-child(1),
  1179. &.add-code td:nth-child(2),
  1180. &.add-code td:nth-child(3),
  1181. &.del-code td:nth-child(4),
  1182. &.del-code td:nth-child(5),
  1183. &.del-code td:nth-child(6) {
  1184. background-color: #fafafa;
  1185. }
  1186. &.del-code td:nth-child(1),
  1187. &.del-code td:nth-child(2),
  1188. &.del-code td:nth-child(3),
  1189. td.del-code {
  1190. background-color: #ffe0e0 !important;
  1191. border-color: #f1c0c0 !important;
  1192. }
  1193. &.add-code td:nth-child(4),
  1194. &.add-code td:nth-child(5),
  1195. &.add-code td:nth-child(6),
  1196. td.add-code {
  1197. background-color: #d6fcd6 !important;
  1198. border-color: #c1e9c1 !important;
  1199. }
  1200. td:nth-child(4) {
  1201. border-left-width: 1px;
  1202. border-left-style: solid;
  1203. }
  1204. }
  1205. }
  1206. &.file-content {
  1207. img {
  1208. max-width: 100%;
  1209. padding: 5px 5px 0 5px;
  1210. }
  1211. img.emoji {
  1212. padding: 0;
  1213. }
  1214. clear: right;
  1215. }
  1216. }
  1217. .diff-stats {
  1218. clear: both;
  1219. margin-bottom: 5px;
  1220. max-height: 400px;
  1221. overflow: auto;
  1222. padding-left: 0;
  1223. li {
  1224. list-style: none;
  1225. padding-bottom: 4px;
  1226. margin-bottom: 4px;
  1227. border-bottom: 1px dashed #dddddd;
  1228. padding-left: 6px;
  1229. }
  1230. .diff-counter {
  1231. margin-right: 15px;
  1232. .del {
  1233. color: red;
  1234. }
  1235. .add {
  1236. color: green;
  1237. }
  1238. }
  1239. }
  1240. .repo-search-result {
  1241. padding-top: 10px;
  1242. padding-bottom: 10px;
  1243. .lines-num a {
  1244. color: inherit;
  1245. }
  1246. }
  1247. &.quickstart {
  1248. .guide {
  1249. .item {
  1250. padding: 1em;
  1251. small {
  1252. font-weight: normal;
  1253. }
  1254. }
  1255. .clone.button:first-child {
  1256. border-radius: 0.28571429rem 0 0 0.28571429rem;
  1257. }
  1258. .ui.action.small.input {
  1259. width: 100%;
  1260. }
  1261. #repo-clone-url {
  1262. border-radius: 0;
  1263. padding: 5px 10px;
  1264. font-size: 1.2em;
  1265. }
  1266. }
  1267. }
  1268. &.release {
  1269. #release-list {
  1270. border-top: 1px solid #dddddd;
  1271. margin-top: 20px;
  1272. padding-top: 15px;
  1273. > li {
  1274. list-style: none;
  1275. .meta,
  1276. .detail {
  1277. padding-top: 30px;
  1278. padding-bottom: 40px;
  1279. }
  1280. .meta {
  1281. text-align: right;
  1282. position: relative;
  1283. .tag:not(.icon) {
  1284. display: block;
  1285. margin-top: 15px;
  1286. }
  1287. .commit {
  1288. display: block;
  1289. margin-top: 10px;
  1290. }
  1291. }
  1292. .detail {
  1293. border-left: 1px solid #dddddd;
  1294. .author {
  1295. img {
  1296. margin-bottom: -3px;
  1297. }
  1298. }
  1299. .download {
  1300. margin-top: 20px;
  1301. > a {
  1302. .octicon {
  1303. margin-left: 5px;
  1304. margin-right: 5px;
  1305. }
  1306. }
  1307. .list {
  1308. padding-left: 0;
  1309. border-top: 1px solid #eeeeee;
  1310. li {
  1311. list-style: none;
  1312. display: block;
  1313. padding-top: 8px;
  1314. padding-bottom: 8px;
  1315. border-bottom: 1px solid #eeeeee;
  1316. }
  1317. }
  1318. }
  1319. .dot {
  1320. width: 9px;
  1321. height: 9px;
  1322. background-color: #cccccc;
  1323. z-index: 999;
  1324. position: absolute;
  1325. display: block;
  1326. left: -5px;
  1327. top: 40px;
  1328. border-radius: 6px;
  1329. border: 1px solid #ffffff;
  1330. }
  1331. }
  1332. }
  1333. }
  1334. }
  1335. &.new.release {
  1336. .target {
  1337. min-width: 500px;
  1338. #tag-name {
  1339. margin-top: -4px;
  1340. }
  1341. .at {
  1342. margin-left: -5px;
  1343. margin-right: 5px;
  1344. }
  1345. .dropdown.icon {
  1346. margin: 0;
  1347. padding-top: 3px;
  1348. }
  1349. .selection.dropdown {
  1350. padding-top: 10px;
  1351. padding-bottom: 10px;
  1352. }
  1353. }
  1354. .prerelease.field {
  1355. margin-bottom: 0;
  1356. }
  1357. .field {
  1358. button,
  1359. input {
  1360. @media only screen and (max-width: 438px) {
  1361. width: 100%;
  1362. }
  1363. }
  1364. button {
  1365. @media only screen and (max-width: 768px) {
  1366. margin-bottom: 1em;
  1367. }
  1368. }
  1369. }
  1370. }
  1371. &.forks {
  1372. .list {
  1373. margin-top: 0;
  1374. .item {
  1375. padding-top: 10px;
  1376. padding-bottom: 10px;
  1377. border-bottom: 1px solid #dddddd;
  1378. .ui.avatar {
  1379. float: left;
  1380. margin-right: 5px;
  1381. }
  1382. .link {
  1383. padding-top: 5px;
  1384. }
  1385. }
  1386. }
  1387. }
  1388. &.wiki {
  1389. &.start {
  1390. .ui.segment {
  1391. padding-top: 70px;
  1392. padding-bottom: 100px;
  1393. .mega-octicon {
  1394. font-size: 48px;
  1395. }
  1396. }
  1397. }
  1398. &.new {
  1399. .CodeMirror {
  1400. .CodeMirror-code {
  1401. font-family: @monospaced-fonts, monospace;
  1402. .cm-comment {
  1403. background: inherit;
  1404. }
  1405. }
  1406. }
  1407. .editor-preview {
  1408. background-color: white;
  1409. }
  1410. }
  1411. &.view {
  1412. .choose.page {
  1413. margin-top: -5px;
  1414. }
  1415. .ui.sub.header {
  1416. text-transform: none;
  1417. }
  1418. > .markdown {
  1419. padding: 15px 30px;
  1420. h1,
  1421. h2,
  1422. h3,
  1423. h4,
  1424. h5,
  1425. h6 {
  1426. &:first-of-type {
  1427. margin-top: 0;
  1428. }
  1429. }
  1430. }
  1431. }
  1432. @media only screen and (max-width: 767px) {
  1433. .dividing.header .stackable.grid .button {
  1434. margin-top: 2px;
  1435. margin-bottom: 2px;
  1436. }
  1437. }
  1438. }
  1439. &.settings {
  1440. &.collaboration {
  1441. .collaborator.list {
  1442. padding: 0;
  1443. > .item {
  1444. margin: 0;
  1445. line-height: 2em;
  1446. &:not(:last-child) {
  1447. border-bottom: 1px solid #dddddd;
  1448. }
  1449. }
  1450. }
  1451. #repo-collab-form {
  1452. #search-user-box {
  1453. .results {
  1454. left: 7px;
  1455. }
  1456. }
  1457. .ui.button {
  1458. margin-left: 5px;
  1459. margin-top: -3px;
  1460. }
  1461. }
  1462. #repo-collab-team-form {
  1463. #search-team-box {
  1464. .results {
  1465. left: 7px;
  1466. }
  1467. }
  1468. .ui.button {
  1469. margin-left: 5px;
  1470. margin-top: -3px;
  1471. }
  1472. }
  1473. }
  1474. &.branches {
  1475. .protected-branches {
  1476. .selection.dropdown {
  1477. width: 300px;
  1478. }
  1479. .item {
  1480. border: 1px solid #eaeaea;
  1481. padding: 10px 15px;
  1482. &:not(:last-child) {
  1483. border-bottom: 0;
  1484. }
  1485. }
  1486. }
  1487. .branch-protection {
  1488. .help {
  1489. margin-left: 26px;
  1490. padding-top: 0;
  1491. }
  1492. .fields {
  1493. margin-left: 20px;
  1494. display: block;
  1495. }
  1496. .whitelist {
  1497. margin-left: 26px;
  1498. .dropdown img {
  1499. display: inline-block;
  1500. }
  1501. }
  1502. }
  1503. }
  1504. &.webhook {
  1505. .events {
  1506. .column {
  1507. padding-bottom: 0;
  1508. }
  1509. .help {
  1510. font-size: 13px;
  1511. margin-left: 26px;
  1512. padding-top: 0;
  1513. }
  1514. }
  1515. }
  1516. }
  1517. .ui.attached.isSigned.isVerified {
  1518. &:not(.positive) {
  1519. border-left: 1px solid #a3c293;
  1520. border-right: 1px solid #a3c293;
  1521. }
  1522. &.top:not(.positive) {
  1523. border-top: 1px solid #a3c293;
  1524. }
  1525. &:not(.positive):last-child {
  1526. border-bottom: 1px solid #a3c293;
  1527. }
  1528. }
  1529. .ui.segment.sub-menu {
  1530. padding: 7px;
  1531. line-height: 0;
  1532. .list {
  1533. width: 100%;
  1534. display: flex;
  1535. .item {
  1536. width: 100%;
  1537. border-radius: 3px;
  1538. a {
  1539. color: black;
  1540. &:hover {
  1541. color: #666666;
  1542. }
  1543. }
  1544. &.active {
  1545. background: rgba(0, 0, 0, 0.05);
  1546. }
  1547. }
  1548. }
  1549. }
  1550. .segment.reactions,
  1551. .select-reaction {
  1552. &.dropdown .menu {
  1553. right: 0 !important;
  1554. left: auto !important;
  1555. > .header {
  1556. margin: 0.75rem 0 0.5rem;
  1557. }
  1558. > .item {
  1559. float: left;
  1560. padding: 0.5rem 0.5rem !important;
  1561. img.emoji {
  1562. margin-right: 0;
  1563. }
  1564. }
  1565. }
  1566. }
  1567. .segment.reactions {
  1568. padding: 0.3em 1em;
  1569. .ui.label {
  1570. padding: 0.4em;
  1571. &.disabled {
  1572. cursor: default;
  1573. }
  1574. > img {
  1575. height: 1.5em !important;
  1576. }
  1577. }
  1578. .select-reaction {
  1579. float: none;
  1580. &:not(.active) a {
  1581. display: none;
  1582. }
  1583. }
  1584. &:hover .select-reaction a {
  1585. display: block;
  1586. }
  1587. }
  1588. .ui.fluid.action.input {
  1589. .ui.search.action.input {
  1590. flex: auto;
  1591. }
  1592. }
  1593. }
  1594. // End of .repository
  1595. &.user-cards {
  1596. .list {
  1597. padding: 0;
  1598. display: flex;
  1599. flex-wrap: wrap;
  1600. .item {
  1601. list-style: none;
  1602. width: 32%;
  1603. margin: 10px 10px 10px 0;
  1604. padding-bottom: 14px;
  1605. float: left;
  1606. .avatar {
  1607. width: 48px;
  1608. height: 48px;
  1609. float: left;
  1610. display: block;
  1611. margin-right: 10px;
  1612. }
  1613. .name {
  1614. margin-top: 0;
  1615. margin-bottom: 0;
  1616. font-weight: normal;
  1617. }
  1618. .meta {
  1619. margin-top: 5px;
  1620. }
  1621. }
  1622. }
  1623. }
  1624. #search-repo-box,
  1625. #search-user-box {
  1626. .results {
  1627. .result {
  1628. .image {
  1629. float: left;
  1630. margin-right: 8px;
  1631. width: 2em;
  1632. height: 2em;
  1633. }
  1634. .content {
  1635. margin: 6px 0;
  1636. }
  1637. }
  1638. }
  1639. }
  1640. #search-team-box {
  1641. .results {
  1642. .result {
  1643. .content {
  1644. margin: 6px 0;
  1645. }
  1646. }
  1647. }
  1648. }
  1649. #issue-filters.hide {
  1650. display: none;
  1651. }
  1652. #issue-actions {
  1653. margin-top: -1rem !important; // counteract padding from Semantic
  1654. }
  1655. #issue-actions.hide {
  1656. display: none;
  1657. }
  1658. .ui.checkbox.issue-checkbox {
  1659. vertical-align: middle;
  1660. }
  1661. .issue.list {
  1662. list-style: none;
  1663. > .item {
  1664. padding-top: 15px;
  1665. padding-bottom: 10px;
  1666. border-bottom: 1px dashed #aaaaaa;
  1667. .title {
  1668. color: #444444;
  1669. font-size: 15px;
  1670. font-weight: bold;
  1671. margin: 0 6px;
  1672. &:hover {
  1673. color: #000000;
  1674. }
  1675. }
  1676. .comment {
  1677. padding-right: 10px;
  1678. color: #666666;
  1679. }
  1680. .desc {
  1681. padding-top: 5px;
  1682. color: #999999;
  1683. .checklist {
  1684. padding-left: 5px;
  1685. .progress-bar {
  1686. margin-left: 2px;
  1687. width: 80px;
  1688. height: 6px;
  1689. display: inline-block;
  1690. background-color: #eeeeee;
  1691. overflow: hidden;
  1692. border-radius: 3px;
  1693. vertical-align: 2px !important;
  1694. .progress {
  1695. background-color: #cccccc;
  1696. display: block;
  1697. height: 100%;
  1698. }
  1699. }
  1700. }
  1701. a.milestone {
  1702. margin-left: 5px;
  1703. color: #999999 !important;
  1704. &:hover {
  1705. color: #000000 !important;
  1706. }
  1707. }
  1708. a.ref {
  1709. margin-left: 8px;
  1710. color: #999999 !important;
  1711. &:hover {
  1712. color: #000000 !important;
  1713. }
  1714. span {
  1715. margin-right: -4px;
  1716. }
  1717. }
  1718. .assignee {
  1719. margin-top: -5px;
  1720. margin-right: 5px;
  1721. }
  1722. .overdue {
  1723. color: red;
  1724. }
  1725. }
  1726. }
  1727. }
  1728. .page.buttons {
  1729. padding-top: 15px;
  1730. }
  1731. .ui.form {
  1732. .dropzone {
  1733. width: 100%;
  1734. margin-bottom: 10px;
  1735. border: 2px dashed #0087f5;
  1736. box-shadow: none !important;
  1737. .dz-error-message {
  1738. top: 140px;
  1739. }
  1740. }
  1741. }
  1742. .settings {
  1743. .content {
  1744. margin-top: 2px;
  1745. > .header,
  1746. .segment {
  1747. box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15);
  1748. }
  1749. }
  1750. .list {
  1751. > .item {
  1752. .green:not(.ui.button) {
  1753. color: #21ba45;
  1754. }
  1755. &:not(:first-child) {
  1756. border-top: 1px solid #eaeaea;
  1757. padding: 1rem;
  1758. margin: 15px -1rem -1rem -1rem;
  1759. }
  1760. > .mega-octicon {
  1761. display: table-cell;
  1762. }
  1763. > .mega-octicon + .content {
  1764. display: table-cell;
  1765. padding: 0 0 0 0.5em;
  1766. vertical-align: top;
  1767. }
  1768. .info {
  1769. margin-top: 10px;
  1770. .tab.segment {
  1771. border: 0;
  1772. padding: 10px 0 0;
  1773. }
  1774. }
  1775. }
  1776. &.key {
  1777. .meta {
  1778. padding-top: 5px;
  1779. color: #666666;
  1780. }
  1781. }
  1782. &.email {
  1783. > .item:not(:first-child) {
  1784. min-height: 60px;
  1785. }
  1786. }
  1787. &.collaborator {
  1788. > .item {
  1789. padding: 0;
  1790. }
  1791. }
  1792. }
  1793. }
  1794. .ui.vertical.menu {
  1795. .header.item {
  1796. font-size: 1.1em;
  1797. background: #f0f0f0;
  1798. }
  1799. }
  1800. .edit-label.modal,
  1801. .new-label.segment {
  1802. .form {
  1803. .column {
  1804. padding-right: 0;
  1805. }
  1806. .buttons {
  1807. margin-left: auto;
  1808. padding-top: 15px;
  1809. }
  1810. .color.picker.column {
  1811. width: auto;
  1812. .color-picker {
  1813. height: 35px;
  1814. width: auto;
  1815. padding-left: 30px;
  1816. }
  1817. }
  1818. .minicolors-swatch.minicolors-sprite {
  1819. top: 10px;
  1820. left: 10px;
  1821. width: 15px;
  1822. height: 15px;
  1823. }
  1824. .precolors {
  1825. padding-left: 0;
  1826. padding-right: 0;
  1827. margin: 3px 10px auto 10px;
  1828. width: 120px;
  1829. .color {
  1830. float: left;
  1831. width: 15px;
  1832. height: 15px;
  1833. }
  1834. }
  1835. }
  1836. }
  1837. #avatar-arrow {
  1838. &:before,
  1839. &:after {
  1840. right: 100%;
  1841. top: 20px;
  1842. border: solid transparent;
  1843. content: " ";
  1844. height: 0;
  1845. width: 0;
  1846. position: absolute;
  1847. pointer-events: none;
  1848. }
  1849. &:before {
  1850. border-right-color: #d3d3d4;
  1851. border-width: 9px;
  1852. margin-top: -9px;
  1853. }
  1854. &:after {
  1855. border-right-color: #f7f7f7;
  1856. border-width: 8px;
  1857. margin-top: -8px;
  1858. }
  1859. }
  1860. #transfer-repo-modal,
  1861. #delete-repo-modal {
  1862. .ui.message {
  1863. width: 100% !important;
  1864. }
  1865. }
  1866. // generate .tab-size-{i} from 1 to 16
  1867. .generate-tab-size(16);
  1868. .generate-tab-size(@n, @i: 1) when (@i =< @n) {
  1869. .tab-size-@{i} {
  1870. tab-size: @i !important;
  1871. }
  1872. .generate-tab-size(@n, (@i + 1));
  1873. }
  1874. .stats-table {
  1875. display: table;
  1876. width: 100%;
  1877. .table-cell {
  1878. display: table-cell;
  1879. &.tiny {
  1880. height: 0.5em;
  1881. }
  1882. }
  1883. }
  1884. tbody.commit-list {
  1885. vertical-align: baseline;
  1886. }
  1887. .commit-list .message-wrapper {
  1888. overflow: hidden;
  1889. text-overflow: ellipsis;
  1890. max-width: calc(100% - 50px);
  1891. display: inline-block;
  1892. vertical-align: middle;
  1893. }
  1894. .commit-list .commit-summary a {
  1895. text-decoration: underline;
  1896. text-decoration-style: dashed;
  1897. &:hover {
  1898. text-decoration-style: solid;
  1899. }
  1900. &.default-link {
  1901. text-decoration: none;
  1902. &:hover {
  1903. text-decoration: underline;
  1904. text-decoration-style: solid;
  1905. }
  1906. }
  1907. }
  1908. .commit-list .commit-status-link {
  1909. display: inline-block;
  1910. vertical-align: middle;
  1911. }
  1912. .commit-body {
  1913. white-space: pre-wrap;
  1914. }
  1915. .git-notes {
  1916. &.top {
  1917. text-align: left;
  1918. }
  1919. .commit-body {
  1920. margin: 0;
  1921. }
  1922. }
  1923. @media only screen and (max-width: 767px) {
  1924. .ui.stackable.menu {
  1925. &.mobile--margin-between-items > .item {
  1926. margin-top: 5px;
  1927. margin-bottom: 5px;
  1928. }
  1929. &.mobile--no-negative-margins {
  1930. margin-left: 0;
  1931. margin-right: 0;
  1932. }
  1933. }
  1934. }
  1935. #topic_edit {
  1936. margin-top: 5px;
  1937. }
  1938. #repo-topics {
  1939. margin-top: 5px;
  1940. }
  1941. .repo-topic {
  1942. cursor: pointer;
  1943. }
  1944. #new-dependency-drop-list {
  1945. &.ui.selection.dropdown {
  1946. min-width: 0;
  1947. width: 100%;
  1948. border-radius: 4px 0 0 4px;
  1949. border-right: 0;
  1950. white-space: nowrap;
  1951. }
  1952. .text {
  1953. width: 100%;
  1954. overflow: hidden;
  1955. }
  1956. }
  1957. #manage_topic {
  1958. font-size: 12px;
  1959. }
  1960. .label + #manage_topic {
  1961. margin-left: 5px;
  1962. }
  1963. .repo-header {
  1964. display: flex;
  1965. align-items: center;
  1966. justify-content: space-between;
  1967. flex-wrap: wrap;
  1968. }
  1969. .repo-header .repo-buttons {
  1970. display: flex;
  1971. align-items: center;
  1972. }
  1973. .repo-buttons .disabled-repo-button .label {
  1974. opacity: 0.5;
  1975. }
  1976. .repo-buttons .disabled-repo-button a.button {
  1977. opacity: 0.5;
  1978. cursor: not-allowed;
  1979. }
  1980. .repo-buttons .disabled-repo-button a.button:hover {
  1981. background: none !important;
  1982. color: rgba(0, 0, 0, 0.6) !important;
  1983. box-shadow: 0 0 0 1px rgba(34, 36, 38, 0.15) inset !important;
  1984. }
  1985. .repo-buttons .ui.labeled.button > .label {
  1986. border-left: 0 !important;
  1987. margin: 0 !important;
  1988. }
  1989. .tag-code,
  1990. .tag-code td {
  1991. background-color: #f0f0f0 !important;
  1992. border-color: #d3cfcf !important;
  1993. padding-top: 8px;
  1994. padding-bottom: 8px;
  1995. }
  1996. .issue-keyword {
  1997. border-bottom: 1px dotted #959da5;
  1998. display: inline-block;
  1999. }
  2000. .file-header {
  2001. display: flex;
  2002. justify-content: space-between;
  2003. align-items: center;
  2004. padding: 8px 12px !important;
  2005. }
  2006. .file-info {
  2007. display: flex;
  2008. align-items: center;
  2009. }
  2010. .file-info-entry + .file-info-entry {
  2011. border-left: 1px solid currentColor;
  2012. margin-left: 8px;
  2013. padding-left: 8px;
  2014. }
  2015. .title_wip_desc {
  2016. margin-top: 1em;
  2017. }
上海开阖软件有限公司 沪ICP备12045867号-1