_repository.less 18 KB

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