_repository.less 19 KB

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