_repository.less 19 KB

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