Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

_repository.less 20KB

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