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

_repository.less 18KB

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