_repository.less 18 KB

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