_repository.less 19 KB

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