_repository.less 19 KB

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