_repository.less 19 KB

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