_repository.less 18 KB

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