_repository.less 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281
  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. #avatar-arrow;
  250. &:after {
  251. border-right-color: #fff;
  252. }
  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: 2.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. #avatar-arrow;
  361. font-weight: normal;
  362. padding: auto 15px;
  363. position: relative;
  364. color: #767676;
  365. background-color: #f7f7f7;
  366. border-bottom: 1px solid #eee;
  367. border-top-left-radius: 3px;
  368. border-top-right-radius: 3px;
  369. .text {
  370. max-width: 78%;
  371. padding-top: 10px;
  372. padding-bottom: 10px;
  373. }
  374. }
  375. .markdown {
  376. font-size: 14px;
  377. }
  378. .no-content {
  379. color: #767676;
  380. font-style: italic;
  381. }
  382. > .bottom.segment {
  383. background: #f3f4f5;
  384. .ui.image {
  385. max-height: 150px;
  386. }
  387. }
  388. }
  389. .ui.form {
  390. .field:first-child {
  391. clear: none;
  392. }
  393. .tab.segment {
  394. border: none;
  395. padding: 0;
  396. padding-top: 10px;
  397. }
  398. textarea {
  399. height: 200px;
  400. }
  401. }
  402. .edit.buttons {
  403. margin-top: 10px;
  404. }
  405. }
  406. .event {
  407. position: relative;
  408. margin: 15px 0 15px 79px;
  409. padding-left: 25px;
  410. .octicon {
  411. width: 30px;
  412. float: left;
  413. margin-left: -36px;
  414. text-align: center;
  415. &.octicon-circle-slash {
  416. margin-top: 5px;
  417. font-size: 20px;
  418. color: #bd2c00;
  419. }
  420. &.octicon-primitive-dot {
  421. font-size: 30px;
  422. color: #6cc644;
  423. }
  424. &.octicon-bookmark {
  425. margin-top: 3px;
  426. font-size: 25px;
  427. }
  428. }
  429. .detail {
  430. font-size: 0.9rem;
  431. margin-top: 5px;
  432. margin-left: 35px;
  433. .octicon {
  434. &.octicon-git-commit {
  435. margin-top: 2px;
  436. }
  437. }
  438. }
  439. }
  440. }
  441. .ui.segment.metas {
  442. margin-top: -3px;
  443. }
  444. .ui.participants {
  445. img {
  446. margin-top: 5px;
  447. margin-right: 5px;
  448. }
  449. }
  450. }
  451. .comment.form {
  452. .ui.comments {
  453. margin-top: -12px;
  454. max-width: 100%;
  455. }
  456. .content {
  457. .field:first-child {
  458. clear: none;
  459. }
  460. .form {
  461. #avatar-arrow;
  462. &:after {
  463. border-right-color: #fff;
  464. }
  465. }
  466. .tab.segment {
  467. border: none;
  468. padding: 0;
  469. padding-top: 10px;
  470. }
  471. textarea {
  472. height: 200px;
  473. }
  474. }
  475. }
  476. .label.list {
  477. list-style: none;
  478. padding-top: 15px;
  479. .item {
  480. padding-top: 10px;
  481. padding-bottom: 10px;
  482. border-bottom: 1px dashed #AAA;
  483. a {
  484. font-size: 15px;
  485. padding-top: 5px;
  486. padding-right: 10px;
  487. color: #666;
  488. &:hover {
  489. color: #000;
  490. }
  491. &.open-issues {
  492. margin-right: 30px;
  493. }
  494. }
  495. }
  496. }
  497. .milestone.list {
  498. list-style: none;
  499. padding-top: 15px;
  500. > .item {
  501. padding-top: 10px;
  502. padding-bottom: 10px;
  503. border-bottom: 1px dashed #AAA;
  504. > a {
  505. padding-top: 5px;
  506. padding-right: 10px;
  507. color: #000;
  508. &:hover {
  509. color: #4078c0;
  510. }
  511. }
  512. .ui.progress {
  513. width: 40%;
  514. padding: 0;
  515. border: 0;
  516. margin: 0;
  517. .bar {
  518. height: 20px;
  519. }
  520. }
  521. .meta {
  522. color: #999;
  523. padding-top: 5px;
  524. .issue-stats .octicon{
  525. padding-left: 5px;
  526. }
  527. .overdue {
  528. color: red;
  529. }
  530. }
  531. .operate {
  532. margin-top: -15px;
  533. > a {
  534. font-size: 15px;
  535. padding-top: 5px;
  536. padding-right: 10px;
  537. color: #666;
  538. &:hover {
  539. color: #000;
  540. }
  541. }
  542. }
  543. .content {
  544. padding-top: 10px;
  545. }
  546. }
  547. }
  548. &.new.milestone {
  549. textarea {
  550. height: 200px;
  551. }
  552. #deadline {
  553. width: 150px;
  554. }
  555. }
  556. &.compare.pull {
  557. .choose.branch {
  558. .octicon {
  559. padding-right: 10px;
  560. }
  561. }
  562. .comment.form {
  563. .content {
  564. #avatar-arrow;
  565. &:after {
  566. border-right-color: #fff;
  567. }
  568. }
  569. }
  570. }
  571. .filter.dropdown .menu {
  572. margin-top: 1px!important;
  573. }
  574. &.commits {
  575. .header {
  576. .ui.right {
  577. .search {
  578. input {
  579. font-weight: normal;
  580. padding: 5px 10px;
  581. }
  582. }
  583. }
  584. }
  585. }
  586. #commits-table {
  587. thead {
  588. th:first-of-type {
  589. padding-left: 15px;
  590. }
  591. .sha {
  592. font-size: 13px;
  593. padding: 6px 40px 4px 35px;
  594. }
  595. }
  596. &.ui.basic.striped.table tbody tr:nth-child(2n) {
  597. background-color: rgba(0, 0, 0, .02)!important;
  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. font-size: 13px;
  640. .bar {
  641. background-color: #bd2c00;
  642. height: 12px;
  643. width: 40px;
  644. display: inline-block;
  645. margin: 2px 4px 0 4px;
  646. vertical-align: text-top;
  647. .add {
  648. background-color: #55a532;
  649. height: 12px;
  650. }
  651. }
  652. }
  653. .file {
  654. color: #888;
  655. }
  656. }
  657. .diff-file-box {
  658. .header {
  659. background-color: #f7f7f7;
  660. }
  661. .file-body.file-code {
  662. .lines-num {
  663. text-align: right;
  664. color: #A7A7A7;
  665. background: #fafafa;
  666. width: 1%;
  667. span.fold {
  668. display: block;
  669. text-align: center;
  670. }
  671. }
  672. .lines-num-old {
  673. border-right: 1px solid #DDD;
  674. }
  675. }
  676. .code-diff {
  677. font-size: 12px;
  678. td {
  679. padding: 0;
  680. padding-left: 10px;
  681. border-top: none;
  682. }
  683. pre {
  684. margin: 0;
  685. }
  686. .lines-num {
  687. border-right: 1px solid #d4d4d5;
  688. padding: 0 5px;
  689. }
  690. tbody {
  691. tr {
  692. &.tag-code {
  693. td, pre {
  694. background-color: #F0F0F0 !important;
  695. border-color: #D2CECE!important;
  696. padding-top: 4px;
  697. padding-bottom: 4px;
  698. }
  699. td.halfwidth {
  700. width: 50%;
  701. }
  702. // td.selected-line, td.selected-line pre {
  703. // background-color: #ffffdd !important;
  704. // }
  705. }
  706. // &.same-code {
  707. // td.selected-line, td.selected-line pre {
  708. // background-color: #ffffdd !important;
  709. // }
  710. // }
  711. &.del-code {
  712. // Duplicate here to enforce add code color.
  713. td.add-code {
  714. background-color: #eaffea !important;
  715. border-color: #c1e9c1 !important;
  716. pre {
  717. background-color: #eaffea !important;
  718. border-color: #c1e9c1 !important;
  719. }
  720. }
  721. td, pre {
  722. background-color: #ffecec !important;
  723. border-color: #f1c0c0 !important;
  724. }
  725. td.halfwidth {
  726. width: 50%;
  727. }
  728. // td.selected-line, td.selected-line pre {
  729. // background-color: #ffffdd !important;
  730. // }
  731. }
  732. &.add-code {
  733. td, pre {
  734. background-color: #eaffea !important;
  735. border-color: #c1e9c1 !important;
  736. }
  737. td.halfwidth {
  738. width: 50%;
  739. }
  740. // td.selected-line, td.selected-line pre {
  741. // background-color: #ffffdd !important;
  742. // }
  743. }
  744. .removed-code {
  745. background-color: #ff9999;
  746. }
  747. .added-code {
  748. background-color: #99ff99;
  749. }
  750. }
  751. }
  752. }
  753. &.file-content {
  754. img {
  755. max-width: 100%;
  756. padding: 5px 5px 0 5px;
  757. }
  758. }
  759. }
  760. .code-view {
  761. overflow: auto;
  762. overflow-x: auto;
  763. overflow-y: hidden;
  764. }
  765. &.quickstart {
  766. .guide {
  767. .item {
  768. padding: 1em;
  769. small {
  770. font-weight: normal;
  771. }
  772. }
  773. .clone.button:first-child {
  774. border-radius: .28571429rem 0 0 .28571429rem;
  775. }
  776. .ui.action.small.input {
  777. width: 100%;
  778. }
  779. #repo-clone-url {
  780. border-radius: 0;
  781. padding: 5px 10px;
  782. font-size: 1.2em;
  783. }
  784. }
  785. }
  786. &.release {
  787. #release-list {
  788. border-top: 1px solid #DDD;
  789. margin-top: 20px;
  790. padding-top: 15px;
  791. >li {
  792. list-style: none;
  793. .meta,
  794. .detail {
  795. padding-top: 30px;
  796. padding-bottom: 40px;
  797. }
  798. .meta {
  799. text-align: right;
  800. position: relative;
  801. .tag:not(.icon) {
  802. display: block;
  803. margin-top: 15px;
  804. }
  805. .commit {
  806. display: block;
  807. margin-top: 10px;
  808. }
  809. }
  810. .detail {
  811. border-left: 1px solid #DDD;
  812. .author {
  813. img {
  814. margin-bottom: -3px;
  815. }
  816. }
  817. .download {
  818. margin-top: 20px;
  819. >a {
  820. .octicon {
  821. margin-left: 5px;
  822. margin-right: 5px;
  823. }
  824. }
  825. .list {
  826. padding-left: 0;
  827. border-top: 1px solid #eee;
  828. li {
  829. list-style: none;
  830. display: block;
  831. padding-top: 8px;
  832. padding-bottom: 8px;
  833. border-bottom: 1px solid #eee;
  834. }
  835. }
  836. }
  837. .dot {
  838. width: 9px;
  839. height: 9px;
  840. background-color: #ccc;
  841. z-index: 999;
  842. position: absolute;
  843. display: block;
  844. left: -5px;
  845. top: 40px;
  846. border-radius: 6px;
  847. border: 1px solid #FFF;
  848. }
  849. }
  850. }
  851. }
  852. }
  853. &.new.release {
  854. .target {
  855. min-width: 500px;
  856. .at {
  857. margin-left: -5px;
  858. margin-right: 5px;
  859. }
  860. .dropdown.icon {
  861. margin: 0;
  862. padding-top: 3px;
  863. }
  864. .selection.dropdown {
  865. padding-top: 10px;
  866. padding-bottom: 10px;
  867. }
  868. }
  869. .prerelease.field {
  870. margin-bottom: 0;
  871. }
  872. }
  873. &.forks {
  874. .list {
  875. margin-top: 0;
  876. .item {
  877. padding-top: 10px;
  878. padding-bottom: 10px;
  879. border-bottom: 1px solid #DDD;
  880. .ui.avatar {
  881. float: left;
  882. margin-right: 5px;
  883. }
  884. .link {
  885. padding-top: 5px;
  886. }
  887. }
  888. }
  889. }
  890. &.wiki {
  891. &.start {
  892. .ui.segment {
  893. padding-top: 70px;
  894. padding-bottom: 100px;
  895. .mega-octicon {
  896. font-size: 48px;
  897. }
  898. }
  899. }
  900. &.new {
  901. .CodeMirror {
  902. .CodeMirror-code .cm-comment {
  903. background: inherit;
  904. }
  905. }
  906. .editor-preview {
  907. background-color: white;
  908. }
  909. }
  910. &.view {
  911. .choose.page {
  912. margin-top: -5px;
  913. }
  914. .ui.sub.header {
  915. text-transform: none;
  916. }
  917. .markdown {
  918. padding: 15px 30px;
  919. h1, h2, h3, h4, h5, h6 {
  920. &:first-of-type {
  921. margin-top: 0;
  922. }
  923. }
  924. }
  925. }
  926. }
  927. &.settings {
  928. &.collaboration {
  929. .collaborator.list {
  930. padding: 0;
  931. .item {
  932. padding: 10px 20px;
  933. &:not(:last-child) {
  934. border-bottom: 1px solid #DDD;
  935. }
  936. }
  937. }
  938. #repo-collab-form {
  939. #search-user-box {
  940. .results {
  941. left: 7px;
  942. }
  943. }
  944. .ui.button {
  945. margin-left: 5px;
  946. margin-top: -3px;
  947. }
  948. }
  949. }
  950. }
  951. }
  952. // End of .repository
  953. &.user-cards {
  954. .list {
  955. padding: 0;
  956. .item {
  957. list-style: none;
  958. width: 32%;
  959. margin: 10px 10px 10px 0;
  960. padding-bottom: 14px;
  961. float: left;
  962. .avatar {
  963. width: 48px;
  964. height: 48px;
  965. float: left;
  966. display: block;
  967. margin-right: 10px;
  968. }
  969. .name {
  970. margin-top: 0;
  971. margin-bottom: 0;
  972. font-weight: normal;
  973. }
  974. .meta {
  975. margin-top: 5px;
  976. }
  977. }
  978. }
  979. }
  980. #search-repo-box,
  981. #search-user-box {
  982. .results {
  983. padding: 0;
  984. position: absolute;
  985. .item {
  986. padding: 10px 15px;
  987. border-bottom: 1px solid #DDD;
  988. cursor: pointer;
  989. &:hover {
  990. background: rgba(0,0,0,.05)!important;
  991. color: rgba(0,0,0,.95)!important;
  992. }
  993. img {
  994. margin-right: 8px;
  995. }
  996. }
  997. }
  998. }
  999. .issue.list {
  1000. list-style: none;
  1001. padding-top: 15px;
  1002. >.item {
  1003. padding-top: 15px;
  1004. padding-bottom: 10px;
  1005. border-bottom: 1px dashed #AAA;
  1006. .title {
  1007. color: #444;
  1008. font-size: 15px;
  1009. font-weight: bold;
  1010. margin: 0 6px;
  1011. &:hover {
  1012. color: #000;
  1013. }
  1014. }
  1015. .comment {
  1016. padding-right: 10px;
  1017. color: #666;
  1018. }
  1019. .desc {
  1020. padding-top: 5px;
  1021. color: #999;
  1022. a.milestone {
  1023. padding-left: 5px;
  1024. color: #999!important;
  1025. &:hover {
  1026. color: #000!important;
  1027. }
  1028. }
  1029. .assignee {
  1030. margin-top: -5px;
  1031. margin-right: 5px;
  1032. }
  1033. }
  1034. }
  1035. }
  1036. .page.buttons {
  1037. padding-top: 15px;
  1038. }
  1039. .ui.comments {
  1040. .dropzone {
  1041. width: 100%;
  1042. margin-bottom: 10px;
  1043. border: 2px dashed #0087F7;
  1044. box-shadow: none!important;
  1045. .dz-error-message {
  1046. top: 140px;
  1047. }
  1048. }
  1049. }
  1050. .settings {
  1051. .content {
  1052. margin-top: 2px;
  1053. >.header,
  1054. .segment {
  1055. box-shadow: 0 1px 2px 0 rgba(34,36,38,.15);
  1056. }
  1057. }
  1058. .key.list {
  1059. .item:not(:first-child) {
  1060. border-top: 1px solid #eaeaea;
  1061. }
  1062. .ssh-key-state-indicator {
  1063. float: left;
  1064. color: gray;
  1065. padding-left: 10px;
  1066. padding-top: 10px;
  1067. &.active {
  1068. color: #6cc644;
  1069. }
  1070. }
  1071. .meta {
  1072. padding-top: 5px;
  1073. }
  1074. .print {
  1075. color: #767676;
  1076. }
  1077. .activity {
  1078. color: #666;
  1079. }
  1080. }
  1081. .hook.list {
  1082. > .item:not(:first-child) {
  1083. border-top: 1px solid #eaeaea;
  1084. }
  1085. .item {
  1086. padding: 10px 20px;
  1087. .octicon,
  1088. .fa {
  1089. width: 20px;
  1090. text-align: center;
  1091. }
  1092. }
  1093. }
  1094. .hook.history.list {
  1095. .item {
  1096. padding-left: 13px;
  1097. .meta {
  1098. .ui.right {
  1099. margin-top: 5px;
  1100. .time {
  1101. font-size: 12px;
  1102. }
  1103. }
  1104. }
  1105. .info {
  1106. margin-top: 10px;
  1107. .tabular.menu {
  1108. .item {
  1109. font-weight: 500;
  1110. }
  1111. }
  1112. .tab.segment {
  1113. border: none;
  1114. padding: 0;
  1115. padding-top: 10px;
  1116. box-shadow: none;
  1117. > * {
  1118. color: #666;
  1119. }
  1120. pre {
  1121. word-wrap: break-word;
  1122. .hljs {
  1123. padding: 0;
  1124. background-color: inherit;
  1125. }
  1126. }
  1127. }
  1128. }
  1129. }
  1130. }
  1131. }
  1132. .ui.vertical.menu {
  1133. .header.item {
  1134. font-size: 1.1em;
  1135. background: #f0f0f0;
  1136. }
  1137. }
  1138. .edit-label.modal,
  1139. .new-label.segment {
  1140. .form {
  1141. .column {
  1142. padding-right: 0;
  1143. }
  1144. .buttons {
  1145. margin-left: auto;
  1146. padding-top: 15px;
  1147. }
  1148. .color.picker.column {
  1149. width: auto;
  1150. .color-picker {
  1151. height: 35px;
  1152. width: auto;
  1153. padding-left: 30px;
  1154. }
  1155. }
  1156. .minicolors-swatch.minicolors-sprite {
  1157. top: 10px;
  1158. left: 10px;
  1159. width: 15px;
  1160. height: 15px;
  1161. }
  1162. .precolors {
  1163. padding-left: 0;
  1164. padding-right: 0;
  1165. margin: 3px 10px auto 10px;
  1166. width: 120px;
  1167. .color {
  1168. float: left;
  1169. width: 15px;
  1170. height: 15px;
  1171. }
  1172. }
  1173. }
  1174. }
  1175. #avatar-arrow {
  1176. &:before, &:after {
  1177. right: 100%;
  1178. top: 20px;
  1179. border: solid transparent;
  1180. content: " ";
  1181. height: 0;
  1182. width: 0;
  1183. position: absolute;
  1184. pointer-events: none;
  1185. }
  1186. &:before {
  1187. border-right-color: #D4D4D5;
  1188. border-width: 9px;
  1189. margin-top: -9px;
  1190. }
  1191. &:after {
  1192. border-right-color: #f7f7f7;
  1193. border-width: 8px;
  1194. margin-top: -8px;
  1195. }
  1196. }
  1197. #transfer-repo-modal,
  1198. #delete-repo-modal {
  1199. .ui.message {
  1200. width: 100%!important;
  1201. }
  1202. }