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 19KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232
  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. &.file.list {
  89. #repo-desc {
  90. font-size: 1.2em;
  91. }
  92. .choose.reference {
  93. .header .icon {
  94. font-size: 1.4em;
  95. }
  96. }
  97. .head.meta {
  98. padding: 0;
  99. li {
  100. list-style: none;
  101. display: inline-block;
  102. .ui.breadcrumb {
  103. margin-top: -5px;
  104. span,
  105. a {
  106. font-size: 16px;
  107. }
  108. }
  109. }
  110. }
  111. .clone.input {
  112. margin-top: -8px;
  113. width: 100%;
  114. input {
  115. border-radius: 0;
  116. padding: 5px 10px;
  117. }
  118. .clone.button {
  119. font-size: 13px;
  120. padding: 0 5px;
  121. &:first-child {
  122. border-radius: .28571429rem 0 0 .28571429rem;
  123. }
  124. }
  125. .icon.button {
  126. padding: 0 10px;
  127. }
  128. .dropdown .menu {
  129. right: 0!important;
  130. left: auto!important;
  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. .sha.label {
  601. font-family: Consolas, Menlo, Monaco, "Lucida Console", monospace;
  602. font-size: 14px;
  603. padding: 6px 10px 4px 10px;
  604. font-weight: normal;
  605. }
  606. .diff-detail-box {
  607. margin: 15px 0;
  608. line-height: 30px;
  609. ol {
  610. clear: both;
  611. padding-left: 0;
  612. margin-top: 5px;
  613. margin-bottom: 28px;
  614. li {
  615. list-style: none;
  616. padding-bottom: 4px;
  617. margin-bottom: 4px;
  618. border-bottom: 1px dashed #DDD;
  619. padding-left: 6px;
  620. }
  621. }
  622. span.status{
  623. display: inline-block;
  624. width: 12px;
  625. height: 12px;
  626. margin-right: 8px;
  627. vertical-align: middle;
  628. &.modify {
  629. background-color: #f0db88;
  630. }
  631. &.add {
  632. background-color: #b4e2b4;
  633. }
  634. &.del {
  635. background-color: #e9aeae;
  636. }
  637. &.rename {
  638. background-color: #dad8ff;
  639. }
  640. }
  641. }
  642. .diff-box {
  643. .count {
  644. margin-right: 12px;
  645. .bar {
  646. background-color: #e75316;
  647. height: 12px;
  648. width: 40px;
  649. display: inline-block;
  650. margin: 2px 4px 0 4px;
  651. vertical-align: text-top;
  652. .add {
  653. background-color: #77c64a;
  654. height: 12px;
  655. }
  656. }
  657. }
  658. .file {
  659. color: #888;
  660. }
  661. }
  662. .diff-file-box {
  663. .header {
  664. border-bottom: 1px solid #d4d4d5!important;
  665. }
  666. .file-body.file-code {
  667. .lines-num {
  668. text-align: right;
  669. color: #999;
  670. background: #fafafa;
  671. width: 1%;
  672. }
  673. .lines-num-old {
  674. border-right: 1px solid #DDD;
  675. }
  676. }
  677. .code-diff {
  678. font-size: 13px;
  679. td {
  680. padding: 0;
  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: #E0E0E0 !important;
  695. border-color: #ADADAD!important;
  696. }
  697. // td.selected-line, td.selected-line pre {
  698. // background-color: #ffffdd !important;
  699. // }
  700. }
  701. // &.same-code {
  702. // td.selected-line, td.selected-line pre {
  703. // background-color: #ffffdd !important;
  704. // }
  705. // }
  706. &.del-code {
  707. td, pre {
  708. background-color: #ffe2dd !important;
  709. border-color: #e9aeae !important;
  710. }
  711. // td.selected-line, td.selected-line pre {
  712. // background-color: #ffffdd !important;
  713. // }
  714. }
  715. &.add-code {
  716. td, pre {
  717. background-color: #d1ffd6 !important;
  718. border-color: #b4e2b4 !important;
  719. }
  720. // td.selected-line, td.selected-line pre {
  721. // background-color: #ffffdd !important;
  722. // }
  723. }
  724. &:hover {
  725. td {
  726. background-color: #FFF8D2 !important;
  727. border-color: #F0DB88 !important;
  728. }
  729. pre {
  730. background-color: transparent !important;
  731. }
  732. }
  733. }
  734. }
  735. }
  736. &.file-content {
  737. img {
  738. max-width: 100%;
  739. padding: 5px 5px 0 5px;
  740. }
  741. }
  742. }
  743. .code-view {
  744. overflow: auto;
  745. overflow-x: auto;
  746. overflow-y: hidden;
  747. }
  748. &.quickstart {
  749. .guide {
  750. .item {
  751. padding: 1em;
  752. small {
  753. font-weight: normal;
  754. }
  755. }
  756. .clone.button:first-child {
  757. border-radius: .28571429rem 0 0 .28571429rem;
  758. }
  759. .ui.action.small.input {
  760. width: 100%;
  761. }
  762. #repo-clone-url {
  763. border-radius: 0;
  764. padding: 5px 10px;
  765. font-size: 1.2em;
  766. }
  767. }
  768. }
  769. &.release {
  770. #release-list {
  771. border-top: 1px solid #DDD;
  772. margin-top: 20px;
  773. padding-top: 15px;
  774. >li {
  775. list-style: none;
  776. .meta,
  777. .detail {
  778. padding-top: 30px;
  779. padding-bottom: 40px;
  780. }
  781. .meta {
  782. text-align: right;
  783. position: relative;
  784. .tag:not(.icon) {
  785. display: block;
  786. margin-top: 15px;
  787. }
  788. .commit {
  789. display: block;
  790. margin-top: 10px;
  791. }
  792. }
  793. .detail {
  794. border-left: 1px solid #DDD;
  795. .author {
  796. img {
  797. margin-bottom: -3px;
  798. }
  799. }
  800. .download {
  801. margin-top: 20px;
  802. >a {
  803. .octicon {
  804. margin-left: 5px;
  805. margin-right: 5px;
  806. }
  807. }
  808. .list {
  809. padding-left: 0;
  810. border-top: 1px solid #eee;
  811. li {
  812. list-style: none;
  813. display: block;
  814. padding-top: 8px;
  815. padding-bottom: 8px;
  816. border-bottom: 1px solid #eee;
  817. }
  818. }
  819. }
  820. .dot {
  821. width: 9px;
  822. height: 9px;
  823. background-color: #ccc;
  824. z-index: 999;
  825. position: absolute;
  826. display: block;
  827. left: -5px;
  828. top: 40px;
  829. border-radius: 6px;
  830. border: 1px solid #FFF;
  831. }
  832. }
  833. }
  834. }
  835. }
  836. &.new.release {
  837. .target {
  838. min-width: 500px;
  839. .at {
  840. margin-left: -5px;
  841. margin-right: 5px;
  842. }
  843. .dropdown.icon {
  844. margin: 0;
  845. padding-top: 3px;
  846. }
  847. .selection.dropdown {
  848. padding-top: 10px;
  849. padding-bottom: 10px;
  850. }
  851. }
  852. .prerelease.field {
  853. margin-bottom: 0;
  854. }
  855. }
  856. &.watchers {
  857. .list {
  858. padding: 0;
  859. .item {
  860. list-style: none;
  861. width: 32%;
  862. margin: 10px 10px 10px 0;
  863. padding-bottom: 14px;
  864. float: left;
  865. .avatar {
  866. width: 48px;
  867. height: 48px;
  868. float: left;
  869. display: block;
  870. margin-right: 10px;
  871. }
  872. .name {
  873. margin-top: 0;
  874. margin-bottom: 0;
  875. font-weight: normal;
  876. }
  877. .meta {
  878. margin-top: 5px;
  879. }
  880. }
  881. }
  882. }
  883. &.forks {
  884. .list {
  885. margin-top: 0;
  886. .item {
  887. padding-top: 10px;
  888. padding-bottom: 10px;
  889. border-bottom: 1px solid #DDD;
  890. .ui.avatar {
  891. float: left;
  892. margin-right: 5px;
  893. }
  894. .link {
  895. padding-top: 5px;
  896. }
  897. }
  898. }
  899. }
  900. &.wiki {
  901. &.start {
  902. .ui.segment {
  903. padding-top: 70px;
  904. padding-bottom: 100px;
  905. .mega-octicon {
  906. font-size: 48px;
  907. }
  908. }
  909. }
  910. &.new {
  911. .CodeMirror {
  912. .CodeMirror-code .cm-comment {
  913. background: inherit;
  914. }
  915. }
  916. .editor-preview {
  917. background-color: white;
  918. }
  919. }
  920. &.view {
  921. .header:not(.sub) {
  922. // padding-left: 30px;
  923. }
  924. .ui.sub.header {
  925. text-transform: none;
  926. }
  927. .markdown {
  928. padding: 15px 30px;
  929. h1, h2, h3, h4, h5, h6 {
  930. &:first-of-type {
  931. margin-top: 0;
  932. }
  933. }
  934. }
  935. }
  936. }
  937. &.settings {
  938. &.collaboration {
  939. .collaborator.list {
  940. padding: 0;
  941. .item {
  942. padding: 10px 20px;
  943. &:not(:last-child) {
  944. border-bottom: 1px solid #DDD;
  945. }
  946. }
  947. }
  948. #repo-collab-form {
  949. #search-user-box {
  950. .results {
  951. left: 7px;
  952. }
  953. }
  954. .ui.button {
  955. margin-left: 5px;
  956. margin-top: -3px;
  957. }
  958. }
  959. }
  960. }
  961. }
  962. // End of .repository
  963. #search-repo-box,
  964. #search-user-box {
  965. .results {
  966. padding: 0;
  967. position: absolute;
  968. .item {
  969. padding: 10px 15px;
  970. border-bottom: 1px solid #DDD;
  971. cursor: pointer;
  972. &:hover {
  973. background: rgba(0,0,0,.05)!important;
  974. color: rgba(0,0,0,.95)!important;
  975. }
  976. img {
  977. margin-right: 8px;
  978. }
  979. }
  980. }
  981. }
  982. .issue.list {
  983. list-style: none;
  984. padding-top: 15px;
  985. >.item {
  986. padding-top: 15px;
  987. padding-bottom: 10px;
  988. border-bottom: 1px dashed #AAA;
  989. .title {
  990. color: #444;
  991. font-size: 15px;
  992. font-weight: bold;
  993. margin: 0 6px;
  994. &:hover {
  995. color: #000;
  996. }
  997. }
  998. .comment {
  999. padding-right: 10px;
  1000. color: #666;
  1001. }
  1002. .desc {
  1003. padding-top: 5px;
  1004. color: #999;
  1005. a.milestone {
  1006. padding-left: 5px;
  1007. color: #999!important;
  1008. &:hover {
  1009. color: #000!important;
  1010. }
  1011. }
  1012. .assignee {
  1013. margin-top: -5px;
  1014. margin-right: 5px;
  1015. }
  1016. }
  1017. }
  1018. }
  1019. .page.buttons {
  1020. padding-top: 15px;
  1021. }
  1022. .ui.comments {
  1023. .dropzone {
  1024. width: 100%;
  1025. margin-bottom: 10px;
  1026. border: 2px dashed #0087F7;
  1027. box-shadow: none!important;
  1028. .dz-error-message {
  1029. top: 140px;
  1030. }
  1031. }
  1032. }
  1033. .settings {
  1034. .content {
  1035. margin-top: 2px;
  1036. >.header,
  1037. .segment {
  1038. box-shadow: 0 1px 2px 0 rgba(34,36,38,.15);
  1039. }
  1040. }
  1041. .key.list {
  1042. .item:not(:first-child) {
  1043. border-top: 1px solid #eaeaea;
  1044. }
  1045. .ssh-key-state-indicator {
  1046. float: left;
  1047. color: gray;
  1048. padding-left: 10px;
  1049. padding-top: 10px;
  1050. &.active {
  1051. color: #6cc644;
  1052. }
  1053. }
  1054. .meta {
  1055. padding-top: 5px;
  1056. }
  1057. .print {
  1058. color: #767676;
  1059. }
  1060. .activity {
  1061. color: #666;
  1062. }
  1063. }
  1064. .hook.list {
  1065. > .item:not(:first-child) {
  1066. border-top: 1px solid #eaeaea;
  1067. }
  1068. .item {
  1069. padding: 10px 20px;
  1070. .octicon,
  1071. .fa {
  1072. width: 20px;
  1073. text-align: center;
  1074. }
  1075. }
  1076. }
  1077. .hook.history.list {
  1078. .item {
  1079. padding-left: 13px;
  1080. .meta {
  1081. .ui.right {
  1082. margin-top: 5px;
  1083. .time {
  1084. font-size: 12px;
  1085. }
  1086. }
  1087. }
  1088. .info {
  1089. margin-top: 10px;
  1090. .tabular.menu {
  1091. .item {
  1092. font-weight: 500;
  1093. }
  1094. }
  1095. .tab.segment {
  1096. border: none;
  1097. padding: 0;
  1098. padding-top: 10px;
  1099. box-shadow: none;
  1100. > * {
  1101. color: #666;
  1102. }
  1103. pre {
  1104. word-wrap: break-word;
  1105. .hljs {
  1106. padding: 0;
  1107. background-color: inherit;
  1108. }
  1109. }
  1110. }
  1111. }
  1112. }
  1113. }
  1114. }
  1115. .ui.vertical.menu {
  1116. .header.item {
  1117. font-size: 1.1em;
  1118. background: #f0f0f0;
  1119. }
  1120. }
  1121. .edit-label.modal,
  1122. .new-label.segment {
  1123. .form {
  1124. .column {
  1125. padding-right: 0;
  1126. }
  1127. .buttons {
  1128. margin-left: auto;
  1129. padding-top: 15px;
  1130. }
  1131. .color.picker.column {
  1132. width: auto;
  1133. .color-picker {
  1134. height: 35px;
  1135. width: auto;
  1136. padding-left: 30px;
  1137. }
  1138. }
  1139. .minicolors-swatch.minicolors-sprite {
  1140. top: 10px;
  1141. left: 10px;
  1142. width: 15px;
  1143. height: 15px;
  1144. }
  1145. .precolors {
  1146. padding-left: 0;
  1147. padding-right: 0;
  1148. margin: 3px 10px auto 10px;
  1149. width: 120px;
  1150. .color {
  1151. float: left;
  1152. width: 15px;
  1153. height: 15px;
  1154. }
  1155. }
  1156. }
  1157. }
  1158. #transfer-repo-modal,
  1159. #delete-repo-modal {
  1160. .ui.message {
  1161. width: 100%!important;
  1162. }
  1163. }