You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_repository.less 18KB

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