_repository.less 27 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733
  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. .octicon.octicon-repo-forked {
  32. margin-top: -1px;
  33. font-size: 15px;
  34. }
  35. }
  36. .navbar {
  37. .ui.label {
  38. margin-top: -2px;
  39. margin-left: 7px;
  40. padding: 3px 5px;
  41. }
  42. }
  43. .owner.dropdown {
  44. min-width: 40% !important;
  45. }
  46. .metas {
  47. .menu {
  48. max-height: 300px;
  49. overflow-x: auto;
  50. }
  51. .ui.list {
  52. .hide {
  53. display: none!important;
  54. }
  55. .item {
  56. padding: 0px;
  57. }
  58. .label.color {
  59. padding: 0 8px;
  60. margin-right: 5px;
  61. }
  62. a {
  63. margin: 2px 0;
  64. .text {
  65. color: #444;
  66. &:hover {
  67. color: #000;
  68. }
  69. }
  70. }
  71. }
  72. }
  73. .header-wrapper {
  74. background-color: #FAFAFA;
  75. margin-top: -15px;
  76. padding-top: 15px;
  77. .ui.tabs.divider {
  78. border-bottom: none;
  79. }
  80. .ui.tabular .octicon {
  81. margin-right: 5px;
  82. }
  83. }
  84. .filter.menu {
  85. .label.color {
  86. border-radius: 3px;
  87. margin-left: 15px;
  88. padding: 0 10px;
  89. }
  90. .octicon {
  91. float: left;
  92. margin-left: -5px;
  93. margin-right: -7px;
  94. width: 16px;
  95. }
  96. .menu {
  97. max-height: 300px;
  98. overflow-x: auto;
  99. right: 0!important;
  100. left: auto!important;
  101. }
  102. .dropdown.item {
  103. margin: 1px;
  104. padding-right: 0;
  105. }
  106. }
  107. .ui.tabs {
  108. &.container {
  109. margin-top: 14px;
  110. margin-bottom: 0px;
  111. .ui.menu {
  112. border-bottom: none;
  113. }
  114. }
  115. &.divider {
  116. margin-top: 0;
  117. margin-bottom: 20px;
  118. }
  119. }
  120. #clone-panel {
  121. margin-top: -8px;
  122. margin-left: 5px;
  123. width: 350px;
  124. input {
  125. border-radius: 0;
  126. padding: 5px 10px;
  127. }
  128. .clone.button {
  129. font-size: 13px;
  130. padding: 0 5px;
  131. &:first-child {
  132. border-radius: .28571429rem 0 0 .28571429rem;
  133. }
  134. }
  135. .icon.button {
  136. padding: 0 10px;
  137. }
  138. .dropdown .menu {
  139. right: 0!important;
  140. left: auto!important;
  141. }
  142. }
  143. &.branches:not(.settings) {
  144. .ui.list {
  145. padding: 0;
  146. >.item {
  147. margin: 0;
  148. line-height: 31px;
  149. &:not(:last-child) {
  150. border-bottom: 1px solid #DDD;
  151. }
  152. .column {
  153. padding: 5px 15px;
  154. .octicon {
  155. vertical-align: text-bottom;
  156. }
  157. code {
  158. padding: 4px 0;
  159. font-size: 12px;
  160. }
  161. .ui.text:not(i) {
  162. font-size: 12px;
  163. }
  164. .ui.button {
  165. font-size: 12px;
  166. padding: 8px 10px;
  167. }
  168. }
  169. }
  170. }
  171. }
  172. &.file.list {
  173. #repo-desc {
  174. font-size: 1.2em;
  175. }
  176. .choose.reference {
  177. .header .icon {
  178. font-size: 1.4em;
  179. }
  180. }
  181. #file-buttons {
  182. font-weight: normal;
  183. .ui.button {
  184. padding: 8px 10px;
  185. font-weight: normal;
  186. }
  187. }
  188. #git-stats {
  189. padding: 10px;
  190. line-height: 0;
  191. .list {
  192. width: 100%;
  193. .item {
  194. margin-left: 0;
  195. width: 33.33%;
  196. .text b {
  197. font-size: 15px;
  198. }
  199. }
  200. }
  201. }
  202. #repo-files-table {
  203. thead {
  204. th {
  205. padding-top: 8px;
  206. padding-bottom: 5px;
  207. font-weight: normal;
  208. &:first-child {
  209. display: block;
  210. position: relative;
  211. width: 325%;
  212. }
  213. }
  214. .ui.avatar {
  215. margin-bottom: 5px;
  216. }
  217. }
  218. tbody {
  219. .octicon {
  220. margin-left: 3px;
  221. margin-right: 5px;
  222. color: #777;
  223. &.octicon-mail-reply {
  224. margin-right: 10px;
  225. }
  226. &.octicon-file-directory, &.octicon-file-submodule {
  227. color: #1e70bf;
  228. }
  229. }
  230. }
  231. td {
  232. padding-top: 8px;
  233. padding-bottom: 8px;
  234. }
  235. tr:hover {
  236. background-color: #ffffEE;
  237. }
  238. }
  239. #file-content {
  240. .header {
  241. .octicon {
  242. padding-right: 5px;
  243. }
  244. .icon {
  245. font-size: 1em;
  246. margin-top: -2px;
  247. }
  248. .file-actions {
  249. padding-left: 20px;
  250. .btn-octicon {
  251. display: inline-block;
  252. padding: 5px;
  253. margin-left: 5px;
  254. line-height: 1;
  255. color: #767676;
  256. vertical-align: middle;
  257. background: transparent;
  258. border: 0;
  259. outline: none;
  260. }
  261. .btn-octicon:hover {
  262. color: #4078c0;
  263. }
  264. .btn-octicon-danger:hover {
  265. color: #bd2c00;
  266. }
  267. .btn-octicon.disabled {
  268. color: #bbb;
  269. cursor: default;
  270. }
  271. #delete-file-form {
  272. display: inline-block;
  273. }
  274. }
  275. }
  276. .view-raw {
  277. padding: 5px;
  278. * {
  279. max-width: 100%;
  280. }
  281. img {
  282. margin-bottom: -5px;
  283. }
  284. }
  285. #ipython-notebook {
  286. margin-left: 95px;
  287. padding-top: 1px;
  288. .nb-notebook {
  289. line-height: 1.5;
  290. }
  291. .nb-stdout, .nb-stderr {
  292. white-space: pre-wrap;
  293. margin: 1em 0;
  294. padding: 0.1em 0.5em;
  295. }
  296. .nb-stderr {
  297. background-color: #FAA;
  298. }
  299. .nb-cell + .nb-cell {
  300. margin-top: 0.5em;
  301. }
  302. .nb-cell {
  303. position: relative;
  304. &.nb-heading-cell {
  305. margin-top: 0.5em;
  306. }
  307. img {
  308. max-width: 100%;
  309. }
  310. }
  311. .nb-raw-cell {
  312. white-space: pre-wrap;
  313. background-color: #f5f2f0;
  314. font-family: Consolas, Monaco, 'Andale Mono', monospace;
  315. padding: 1em;
  316. margin: .5em 0;
  317. }
  318. .nb-input:before,
  319. .nb-output:before {
  320. position: absolute;
  321. font-family: monospace;
  322. color: #999;
  323. left: -7.5em;
  324. width: 7em;
  325. text-align: right;
  326. }
  327. .nb-input {
  328. &:before {
  329. content: "In [" attr(data-prompt-number) "]:";
  330. }
  331. pre {
  332. background-color: #f7f7f7;
  333. margin-right: 10px;
  334. padding: 5px 10px;
  335. code {
  336. min-height: 18px;
  337. line-height: 18px;
  338. font-size: 14px;
  339. }
  340. }
  341. }
  342. .nb-output{
  343. &:before {
  344. content: "Out [" attr(data-prompt-number) "]:";
  345. }
  346. pre {
  347. padding: 5px 10px;
  348. font-size: 14px;
  349. }
  350. img {
  351. max-width: 100%;
  352. }
  353. table {
  354. border: 1px solid #000;
  355. border-collapse: collapse;
  356. }
  357. th {
  358. font-weight: bold;
  359. }
  360. th,
  361. td {
  362. border: 1px solid #000;
  363. padding: 0.25em;
  364. text-align: left;
  365. vertical-align: middle;
  366. border-collapse: collapse;
  367. }
  368. }
  369. .nb-markdown-cell {
  370. margin-top: 10px;
  371. margin-right: 10px;
  372. padding: 10px;
  373. }
  374. // Fix pandas dataframe formatting
  375. div[style="max-height:1000px;max-width:1500px;overflow:auto;"] {
  376. max-height: none !important;
  377. }
  378. }
  379. .plain-text {
  380. font-size: 14px;
  381. padding: 15px 15px 10px 15px;
  382. font-family: Consolas;
  383. }
  384. .code-view {
  385. * {
  386. font-size: 12px;
  387. font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
  388. line-height: 20px;
  389. }
  390. table {
  391. width: 100%;
  392. tbody {
  393. tr {
  394. padding: 0 !important;
  395. }
  396. }
  397. }
  398. .lines-num {
  399. vertical-align: top;
  400. text-align: right;
  401. color: #999;
  402. background: #f5f5f5;
  403. width: 42px;
  404. span {
  405. line-height: 20px;
  406. padding: 0 10px;
  407. cursor: pointer;
  408. display: block;
  409. }
  410. }
  411. .lines-num,
  412. .lines-code {
  413. display: table-cell !important;
  414. padding: 0 !important;
  415. pre,
  416. ol,
  417. .hljs {
  418. background-color: white;
  419. margin: 0;
  420. padding: 0 !important;
  421. li {
  422. display: inline-block;
  423. width: 100%;
  424. &.active {
  425. background: #ffffdd;
  426. }
  427. &:before {
  428. content: ' ';
  429. }
  430. }
  431. }
  432. }
  433. }
  434. }
  435. .sidebar {
  436. padding-left: 0;
  437. .octicon {
  438. width: 16px;
  439. }
  440. }
  441. }
  442. &.file.editor {
  443. .treepath {
  444. width: 100%;
  445. input {
  446. vertical-align: middle;
  447. box-shadow: rgba(0, 0, 0, 0.0745098) 0px 1px 2px inset;
  448. width: inherit;
  449. padding: 7px 8px;
  450. margin-right: 5px;
  451. }
  452. }
  453. .tabular.menu {
  454. .octicon {
  455. margin-right: 5px;
  456. }
  457. }
  458. .commit-form-wrapper {
  459. padding-left: 64px;
  460. .commit-avatar {
  461. float: left;
  462. margin-left: -64px;
  463. width: 3em;
  464. height: auto;
  465. }
  466. .commit-form {
  467. position: relative;
  468. padding: 15px;
  469. margin-bottom: 10px;
  470. border: 1px solid #ddd;
  471. border-radius: 3px;
  472. #avatar-arrow;
  473. &:after {
  474. border-right-color: #fff;
  475. }
  476. .quick-pull-choice {
  477. .branch-name {
  478. display: inline-block;
  479. padding: 3px 6px;
  480. font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
  481. color: rgba(0,0,0,0.65);
  482. background-color: rgba(209,227,237,0.45);
  483. border-radius: 3px;
  484. }
  485. .new-branch-name-input {
  486. position: relative;
  487. margin-left: 25px;
  488. input {
  489. width: 240px !important;
  490. padding-left: 26px !important;
  491. }
  492. }
  493. .octicon-git-branch {
  494. position: absolute;
  495. top: 9px;
  496. left: 10px;
  497. color: #b0c4ce;
  498. }
  499. }
  500. }
  501. }
  502. }
  503. &.options {
  504. #interval {
  505. width: 100px!important;
  506. min-width: 100px;
  507. }
  508. .danger {
  509. .item {
  510. padding: 20px 15px;
  511. }
  512. .ui.divider {
  513. margin: 0;
  514. }
  515. }
  516. }
  517. @comment-avatar-width: 3em;
  518. &.new.issue {
  519. .comment.form {
  520. .comment {
  521. .avatar {
  522. width: @comment-avatar-width;
  523. }
  524. }
  525. .content {
  526. margin-left: 4em;
  527. #avatar-arrow;
  528. &:after {
  529. border-right-color: #fff;
  530. }
  531. .markdown {
  532. font-size: 14px;
  533. }
  534. }
  535. .metas {
  536. min-width: 220px;
  537. .filter.menu {
  538. max-height: 300px;
  539. overflow-x: auto;
  540. }
  541. }
  542. }
  543. }
  544. &.view.issue {
  545. .title {
  546. padding-bottom: 0!important;
  547. h1 {
  548. font-weight: 300;
  549. font-size: 2.3rem;
  550. margin-bottom: 5px;
  551. .ui.input {
  552. font-size: 0.5em;
  553. vertical-align: top;
  554. width: 50%;
  555. min-width: 600px;
  556. input {
  557. font-size: 1.5em;
  558. padding: 6px 10px;
  559. }
  560. }
  561. }
  562. .index {
  563. font-weight: 300;
  564. color: #aaa;
  565. letter-spacing: -1px;
  566. }
  567. .label {
  568. margin-right: 10px;
  569. }
  570. .edit-zone {
  571. margin-top: 10px;
  572. }
  573. }
  574. .pull-desc {
  575. code {
  576. color: #0166E6;
  577. }
  578. }
  579. .pull {
  580. &.tabular.menu {
  581. margin-bottom: 10px;
  582. .octicon {
  583. margin-right: 5px;
  584. }
  585. }
  586. &.tab.segment {
  587. border: none;
  588. padding: 0;
  589. padding-top: 10px;
  590. box-shadow: none;
  591. background-color: inherit;
  592. }
  593. .merge.box {
  594. .avatar {
  595. margin-left: 10px;
  596. margin-top: 10px;
  597. }
  598. #commit_description {
  599. height: auto;
  600. }
  601. }
  602. }
  603. .comment-list {
  604. &:before {
  605. display: block;
  606. content: "";
  607. position: absolute;
  608. margin-top: 12px;
  609. margin-bottom: 14px;
  610. top: 0;
  611. bottom: 0;
  612. left: 96px;
  613. width: 2px;
  614. background-color: #f3f3f3;
  615. z-index: -1;
  616. }
  617. .comment {
  618. .avatar {
  619. width: @comment-avatar-width;
  620. }
  621. .tag {
  622. color: #767676;
  623. margin-top: 3px;
  624. padding: 2px 5px;
  625. font-size: 12px;
  626. border: 1px solid rgba(0,0,0,0.1);
  627. border-radius: 3px;
  628. }
  629. .actions {
  630. .item {
  631. float: left;
  632. &.tag {
  633. margin-right: 5px;
  634. }
  635. &.action {
  636. margin-top: 6px;
  637. margin-left: 10px;
  638. }
  639. }
  640. }
  641. .content {
  642. margin-left: 4em;
  643. .header {
  644. #avatar-arrow;
  645. font-weight: normal;
  646. padding: auto 15px;
  647. position: relative;
  648. color: #767676;
  649. background-color: #f7f7f7;
  650. border-bottom: 1px solid #eee;
  651. border-top-left-radius: 3px;
  652. border-top-right-radius: 3px;
  653. .text {
  654. max-width: 78%;
  655. padding-top: 10px;
  656. padding-bottom: 10px;
  657. }
  658. }
  659. .markdown {
  660. font-size: 14px;
  661. }
  662. .no-content {
  663. color: #767676;
  664. font-style: italic;
  665. }
  666. > .bottom.segment {
  667. background: #f3f4f5;
  668. .ui.images::after {
  669. clear: both;
  670. content: ' ';
  671. display: block;
  672. }
  673. a {
  674. display: block;
  675. float: left;
  676. margin: 5px;
  677. padding: 5px;
  678. height: 150px;
  679. border: solid 1px #eee;
  680. border-radius: 3px;
  681. max-width: 150px;
  682. background-color: #fff;
  683. &:before {
  684. content:' ';
  685. display: inline-block;
  686. height: 100%;
  687. vertical-align: middle;
  688. }
  689. }
  690. .ui.image {
  691. max-height: 100%;
  692. width: auto;
  693. margin: 0;
  694. vertical-align: middle;
  695. }
  696. span.ui.image {
  697. font-size: 8vw;
  698. color: #000000;
  699. }
  700. span.ui.image:hover {
  701. color: #000000;
  702. }
  703. }
  704. }
  705. .ui.form {
  706. .field:first-child {
  707. clear: none;
  708. }
  709. .tab.segment {
  710. border: none;
  711. padding: 0;
  712. padding-top: 10px;
  713. }
  714. textarea {
  715. height: 200px;
  716. font-family: "Consolas", monospace;
  717. }
  718. }
  719. .edit.buttons {
  720. margin-top: 10px;
  721. }
  722. }
  723. .event {
  724. position: relative;
  725. margin: 15px 0 15px 79px;
  726. padding-left: 25px;
  727. .octicon {
  728. width: 30px;
  729. float: left;
  730. text-align: center;
  731. &.octicon-circle-slash {
  732. margin-top: 5px;
  733. margin-left: -34.5px;
  734. font-size: 20px;
  735. color: #bd2c00;
  736. }
  737. &.octicon-primitive-dot {
  738. margin-left: -28.5px;
  739. margin-right: -1px;
  740. font-size: 30px;
  741. color: #6cc644;
  742. }
  743. &.octicon-bookmark {
  744. margin-top: 3px;
  745. margin-left: -31px;
  746. margin-right: -1px;
  747. font-size: 25px;
  748. }
  749. }
  750. .detail {
  751. font-size: 0.9rem;
  752. margin-top: 5px;
  753. margin-left: 35px;
  754. .octicon {
  755. &.octicon-git-commit {
  756. margin-top: 2px;
  757. }
  758. }
  759. }
  760. }
  761. }
  762. .ui.segment.metas {
  763. margin-top: -3px;
  764. }
  765. .ui.participants {
  766. img {
  767. margin-top: 5px;
  768. margin-right: 5px;
  769. }
  770. }
  771. }
  772. .comment.form {
  773. .ui.comments {
  774. margin-top: -12px;
  775. max-width: 100%;
  776. }
  777. .content {
  778. .field:first-child {
  779. clear: none;
  780. }
  781. .form {
  782. #avatar-arrow;
  783. &:after {
  784. border-right-color: #fff;
  785. }
  786. }
  787. .tab.segment {
  788. border: none;
  789. padding: 0;
  790. padding-top: 10px;
  791. }
  792. textarea {
  793. height: 200px;
  794. font-family: "Consolas", monospace;
  795. }
  796. }
  797. }
  798. .label.list {
  799. list-style: none;
  800. padding-top: 15px;
  801. >.item {
  802. padding-top: 10px;
  803. padding-bottom: 10px;
  804. border-bottom: 1px dashed #AAA;
  805. a {
  806. font-size: 15px;
  807. padding-top: 5px;
  808. padding-right: 10px;
  809. color: #666;
  810. &:hover {
  811. color: #000;
  812. }
  813. &.open-issues {
  814. margin-right: 30px;
  815. }
  816. }
  817. .ui.label {
  818. font-size: 1em;
  819. }
  820. }
  821. }
  822. .milestone.list {
  823. list-style: none;
  824. padding-top: 15px;
  825. > .item {
  826. padding-top: 10px;
  827. padding-bottom: 10px;
  828. border-bottom: 1px dashed #AAA;
  829. > a {
  830. padding-top: 5px;
  831. padding-right: 10px;
  832. color: #000;
  833. &:hover {
  834. color: #4078c0;
  835. }
  836. }
  837. .ui.progress {
  838. width: 40%;
  839. padding: 0;
  840. border: 0;
  841. margin: 0;
  842. .bar {
  843. height: 20px;
  844. }
  845. }
  846. .meta {
  847. color: #999;
  848. padding-top: 5px;
  849. .issue-stats .octicon{
  850. padding-left: 5px;
  851. }
  852. .overdue {
  853. color: red;
  854. }
  855. }
  856. .operate {
  857. margin-top: -15px;
  858. > a {
  859. font-size: 15px;
  860. padding-top: 5px;
  861. padding-right: 10px;
  862. color: #666;
  863. &:hover {
  864. color: #000;
  865. }
  866. }
  867. }
  868. .content {
  869. padding-top: 10px;
  870. }
  871. }
  872. }
  873. &.new.milestone {
  874. textarea {
  875. height: 200px;
  876. }
  877. #deadline {
  878. width: 150px;
  879. }
  880. }
  881. &.compare.pull {
  882. .choose.branch {
  883. .octicon {
  884. padding-right: 10px;
  885. }
  886. }
  887. .comment.form {
  888. .content {
  889. #avatar-arrow;
  890. &:after {
  891. border-right-color: #fff;
  892. }
  893. }
  894. }
  895. }
  896. .filter.dropdown .menu {
  897. margin-top: 1px!important;
  898. }
  899. &.commits {
  900. .header {
  901. .ui.right {
  902. .search {
  903. input {
  904. font-weight: normal;
  905. padding: 5px 10px;
  906. }
  907. }
  908. }
  909. }
  910. }
  911. #commits-table {
  912. thead {
  913. th:first-of-type {
  914. padding-left: 15px;
  915. }
  916. .sha {
  917. font-size: 13px;
  918. padding: 6px 40px 4px 35px;
  919. }
  920. }
  921. &.ui.basic.striped.table tbody tr:nth-child(2n) {
  922. background-color: rgba(0, 0, 0, .02)!important;
  923. }
  924. }
  925. .diff-detail-box {
  926. margin: 15px 0;
  927. line-height: 30px;
  928. ol {
  929. clear: both;
  930. padding-left: 0;
  931. margin-top: 5px;
  932. margin-bottom: 28px;
  933. li {
  934. list-style: none;
  935. padding-bottom: 4px;
  936. margin-bottom: 4px;
  937. border-bottom: 1px dashed #DDD;
  938. padding-left: 6px;
  939. }
  940. }
  941. span.status{
  942. display: inline-block;
  943. width: 12px;
  944. height: 12px;
  945. margin-right: 8px;
  946. vertical-align: middle;
  947. &.modify {
  948. background-color: #f0db88;
  949. }
  950. &.add {
  951. background-color: #b4e2b4;
  952. }
  953. &.del {
  954. background-color: #e9aeae;
  955. }
  956. &.rename {
  957. background-color: #dad8ff;
  958. }
  959. }
  960. }
  961. .diff-box {
  962. .count {
  963. margin-right: 12px;
  964. font-size: 13px;
  965. .bar {
  966. background-color: #bd2c00;
  967. height: 12px;
  968. width: 40px;
  969. display: inline-block;
  970. margin: 2px 4px 0 4px;
  971. vertical-align: text-top;
  972. .add {
  973. background-color: #55a532;
  974. height: 12px;
  975. }
  976. }
  977. }
  978. .file {
  979. color: #888;
  980. }
  981. }
  982. .diff-file-box {
  983. .header {
  984. background-color: #f7f7f7;
  985. }
  986. .file-body.file-code {
  987. .lines-num {
  988. text-align: right;
  989. color: #A7A7A7;
  990. background: #fafafa;
  991. width: 1%;
  992. span.fold {
  993. display: block;
  994. text-align: center;
  995. }
  996. }
  997. .lines-num-old {
  998. border-right: 1px solid #DDD;
  999. }
  1000. }
  1001. .code-diff {
  1002. font-size: 12px;
  1003. td {
  1004. padding: 0;
  1005. padding-left: 10px;
  1006. border-top: none;
  1007. }
  1008. pre {
  1009. margin: 0;
  1010. }
  1011. .lines-num {
  1012. border-right: 1px solid #d4d4d5;
  1013. padding: 0 5px;
  1014. user-select: none;
  1015. &::before {
  1016. content: attr(data-line-number);
  1017. }
  1018. &.lines-num-old, &.lines-num-new {
  1019. cursor: pointer;
  1020. &:hover {
  1021. color: #383636;
  1022. }
  1023. }
  1024. }
  1025. tbody {
  1026. tr {
  1027. &.tag-code {
  1028. td {
  1029. background-color: #F0F0F0 !important;
  1030. border-color: #D2CECE!important;
  1031. padding-top: 4px;
  1032. padding-bottom: 4px;
  1033. }
  1034. td.halfwidth {
  1035. width: 50%;
  1036. }
  1037. }
  1038. &.same-code {
  1039. td.active {
  1040. background-color: #ffffdd !important;
  1041. }
  1042. }
  1043. &.del-code {
  1044. // Duplicate here to enforce add code color.
  1045. td.add-code {
  1046. background-color: #eaffea !important;
  1047. border-color: #c1e9c1 !important;
  1048. pre {
  1049. background-color: #eaffea !important;
  1050. border-color: #c1e9c1 !important;
  1051. }
  1052. }
  1053. td {
  1054. background-color: #ffecec !important;
  1055. border-color: #f1c0c0 !important;
  1056. }
  1057. td.active {
  1058. background-color: #ffffdd !important;
  1059. }
  1060. td.halfwidth {
  1061. width: 50%;
  1062. }
  1063. }
  1064. &.add-code {
  1065. td {
  1066. background-color: #eaffea !important;
  1067. border-color: #c1e9c1 !important;
  1068. }
  1069. td.halfwidth {
  1070. width: 50%;
  1071. }
  1072. td.active {
  1073. background-color: #ffffdd !important;
  1074. }
  1075. }
  1076. .removed-code {
  1077. background-color: #ff9999;
  1078. }
  1079. .added-code {
  1080. background-color: #99ff99;
  1081. }
  1082. }
  1083. }
  1084. }
  1085. &.file-content {
  1086. img {
  1087. max-width: 100%;
  1088. padding: 5px 5px 0 5px;
  1089. }
  1090. }
  1091. }
  1092. .code-view {
  1093. overflow: auto;
  1094. overflow-x: auto;
  1095. overflow-y: hidden;
  1096. table {
  1097. width: 100%;
  1098. border-spacing: 0;
  1099. }
  1100. }
  1101. &.quickstart {
  1102. .guide {
  1103. .item {
  1104. padding: 1em;
  1105. small {
  1106. font-weight: normal;
  1107. }
  1108. }
  1109. .clone.button:first-child {
  1110. border-radius: .28571429rem 0 0 .28571429rem;
  1111. }
  1112. .ui.action.small.input {
  1113. width: 100%;
  1114. }
  1115. #repo-clone-url {
  1116. border-radius: 0;
  1117. padding: 5px 10px;
  1118. font-size: 1.2em;
  1119. }
  1120. }
  1121. }
  1122. &.release {
  1123. #release-list {
  1124. border-top: 1px solid #DDD;
  1125. margin-top: 20px;
  1126. padding-top: 15px;
  1127. >li {
  1128. list-style: none;
  1129. .meta,
  1130. .detail {
  1131. padding-top: 30px;
  1132. padding-bottom: 40px;
  1133. }
  1134. .meta {
  1135. text-align: right;
  1136. position: relative;
  1137. .tag:not(.icon) {
  1138. display: block;
  1139. margin-top: 6px;
  1140. }
  1141. .commit {
  1142. display: block;
  1143. margin-top: 6px;
  1144. }
  1145. }
  1146. .detail {
  1147. border-left: 1px solid #DDD;
  1148. .author {
  1149. img {
  1150. margin-bottom: -3px;
  1151. }
  1152. }
  1153. .download {
  1154. margin-top: 20px;
  1155. >a {
  1156. .octicon {
  1157. margin-left: 5px;
  1158. margin-right: 5px;
  1159. }
  1160. }
  1161. .list {
  1162. padding-left: 0;
  1163. border-top: 1px solid #eee;
  1164. li {
  1165. list-style: none;
  1166. display: block;
  1167. padding-top: 8px;
  1168. padding-bottom: 8px;
  1169. border-bottom: 1px solid #eee;
  1170. }
  1171. }
  1172. }
  1173. .dot {
  1174. width: 9px;
  1175. height: 9px;
  1176. background-color: #ccc;
  1177. z-index: 999;
  1178. position: absolute;
  1179. display: block;
  1180. left: -5px;
  1181. top: 40px;
  1182. border-radius: 6px;
  1183. border: 1px solid #FFF;
  1184. }
  1185. }
  1186. }
  1187. }
  1188. }
  1189. &.new.release {
  1190. .target {
  1191. min-width: 500px;
  1192. #tag-name {
  1193. margin-top: -4px;
  1194. }
  1195. .at {
  1196. margin-left: -5px;
  1197. margin-right: 5px;
  1198. }
  1199. .dropdown.icon {
  1200. margin: 0;
  1201. padding-top: 3px;
  1202. }
  1203. .selection.dropdown {
  1204. padding-top: 10px;
  1205. padding-bottom: 10px;
  1206. }
  1207. }
  1208. .prerelease.field {
  1209. margin-bottom: 0;
  1210. }
  1211. }
  1212. &.forks {
  1213. .list {
  1214. margin-top: 0;
  1215. .item {
  1216. padding-top: 10px;
  1217. padding-bottom: 10px;
  1218. border-bottom: 1px solid #DDD;
  1219. .ui.avatar {
  1220. float: left;
  1221. margin-right: 5px;
  1222. }
  1223. .link {
  1224. padding-top: 5px;
  1225. }
  1226. }
  1227. }
  1228. }
  1229. &.wiki {
  1230. &.start {
  1231. .ui.segment {
  1232. padding-top: 70px;
  1233. padding-bottom: 100px;
  1234. .mega-octicon {
  1235. font-size: 48px;
  1236. }
  1237. }
  1238. }
  1239. &.new {
  1240. .CodeMirror {
  1241. .CodeMirror-code {
  1242. font-family: "Consolas", monospace;
  1243. .cm-comment {
  1244. background: inherit;
  1245. }
  1246. }
  1247. }
  1248. .editor-preview {
  1249. background-color: white;
  1250. }
  1251. }
  1252. &.view {
  1253. .choose.page {
  1254. margin-top: -5px;
  1255. }
  1256. .ui.sub.header {
  1257. text-transform: none;
  1258. }
  1259. .markdown {
  1260. padding-left: 25px;
  1261. margin-left: -25px;
  1262. h1, h2, h3, h4, h5, h6 {
  1263. &:first-of-type {
  1264. margin-top: 0;
  1265. }
  1266. }
  1267. }
  1268. }
  1269. }
  1270. &.settings {
  1271. &.collaboration {
  1272. .collaborator.list {
  1273. padding: 0;
  1274. >.item {
  1275. margin: 0;
  1276. line-height: 2em;
  1277. &:not(:last-child) {
  1278. border-bottom: 1px solid #DDD;
  1279. }
  1280. }
  1281. }
  1282. #repo-collab-form {
  1283. #search-user-box {
  1284. .results {
  1285. left: 7px;
  1286. }
  1287. }
  1288. .ui.button {
  1289. margin-left: 5px;
  1290. margin-top: -3px;
  1291. }
  1292. }
  1293. }
  1294. &.settings.branches {
  1295. .protected-branches {
  1296. .selection.dropdown {
  1297. width: 300px;
  1298. }
  1299. .item {
  1300. border: 1px solid #eaeaea;
  1301. padding: 10px 15px;
  1302. &:not(:last-child) {
  1303. border-bottom: 0;
  1304. }
  1305. }
  1306. }
  1307. .branch-protection {
  1308. .help {
  1309. margin-left: 26px;
  1310. padding-top: 0;
  1311. }
  1312. .fields {
  1313. margin-left: 20px;
  1314. display: block;
  1315. }
  1316. .whitelist {
  1317. margin-left: 26px;
  1318. .dropdown img {
  1319. display: inline-block;
  1320. }
  1321. }
  1322. }
  1323. }
  1324. &.webhooks {
  1325. .types {
  1326. .menu .item {
  1327. padding: 10px !important;
  1328. }
  1329. }
  1330. .logo.item img {
  1331. margin-top: -4px;
  1332. }
  1333. }
  1334. &.webhook {
  1335. .text.desc {
  1336. margin-top: 5px;
  1337. }
  1338. .events {
  1339. .column {
  1340. padding-bottom: 0;
  1341. }
  1342. .help {
  1343. font-size: 13px;
  1344. margin-left: 26px;
  1345. padding-top: 0;
  1346. }
  1347. }
  1348. }
  1349. }
  1350. }
  1351. // End of .repository
  1352. // Should apply organization webhooks page
  1353. .webhook .hook.history.list {
  1354. .right.menu {
  1355. .redelivery.button {
  1356. font-size: 12px;
  1357. margin-top: 6px;
  1358. height: 30px;
  1359. .octicon {
  1360. font: normal normal normal 13px/1 Octicons;
  1361. width: 12px;
  1362. }
  1363. }
  1364. }
  1365. }
  1366. &.user-cards {
  1367. .list {
  1368. padding: 0;
  1369. .item {
  1370. list-style: none;
  1371. width: 32%;
  1372. margin: 10px 10px 10px 0;
  1373. padding-bottom: 14px;
  1374. float: left;
  1375. .avatar {
  1376. width: 48px;
  1377. height: 48px;
  1378. float: left;
  1379. display: block;
  1380. margin-right: 10px;
  1381. }
  1382. .name {
  1383. margin-top: 0;
  1384. margin-bottom: 0;
  1385. font-weight: normal;
  1386. }
  1387. .meta {
  1388. margin-top: 5px;
  1389. }
  1390. }
  1391. }
  1392. }
  1393. #search-repo-box,
  1394. #search-user-box {
  1395. .results {
  1396. padding: 0;
  1397. position: absolute;
  1398. .item {
  1399. padding: 10px 15px;
  1400. border-bottom: 1px solid #DDD;
  1401. cursor: pointer;
  1402. &:hover {
  1403. background: rgba(0,0,0,.05)!important;
  1404. color: rgba(0,0,0,.95)!important;
  1405. }
  1406. img {
  1407. margin-right: 8px;
  1408. }
  1409. }
  1410. }
  1411. }
  1412. .issue.list {
  1413. list-style: none;
  1414. padding-top: 15px;
  1415. >.item {
  1416. padding-top: 15px;
  1417. padding-bottom: 10px;
  1418. border-bottom: 1px dashed #AAA;
  1419. .title {
  1420. color: #444;
  1421. font-size: 15px;
  1422. font-weight: bold;
  1423. margin: 0 6px;
  1424. &:hover {
  1425. color: #000;
  1426. }
  1427. }
  1428. .comment {
  1429. padding-right: 10px;
  1430. color: #666;
  1431. }
  1432. .desc {
  1433. padding-top: 5px;
  1434. color: #999;
  1435. a.milestone {
  1436. padding-left: 5px;
  1437. color: #999!important;
  1438. &:hover {
  1439. color: #000!important;
  1440. }
  1441. }
  1442. .assignee {
  1443. margin-top: -5px;
  1444. margin-right: 5px;
  1445. }
  1446. }
  1447. }
  1448. }
  1449. .page.buttons {
  1450. padding-top: 15px;
  1451. }
  1452. .ui.form {
  1453. .dropzone {
  1454. width: 100%;
  1455. margin-bottom: 10px;
  1456. border: 2px dashed #0087F7;
  1457. box-shadow: none!important;
  1458. .dz-error-message {
  1459. top: 140px;
  1460. }
  1461. }
  1462. }
  1463. .settings {
  1464. .content {
  1465. margin-top: 2px;
  1466. }
  1467. .key.list {
  1468. .item:not(:first-child) {
  1469. border-top: 1px solid #eaeaea;
  1470. }
  1471. .ssh-key-state-indicator {
  1472. float: left;
  1473. color: gray;
  1474. padding-left: 10px;
  1475. padding-top: 10px;
  1476. &.active {
  1477. color: #6cc644;
  1478. }
  1479. }
  1480. .meta {
  1481. padding-top: 5px;
  1482. }
  1483. .print {
  1484. color: #767676;
  1485. }
  1486. .activity {
  1487. color: #666;
  1488. }
  1489. }
  1490. .hook.list {
  1491. > .item:not(:first-child) {
  1492. border-top: 1px solid #eaeaea;
  1493. }
  1494. .item {
  1495. padding: 10px 20px;
  1496. .octicon,
  1497. .fa {
  1498. width: 20px;
  1499. text-align: center;
  1500. }
  1501. a {
  1502. .dont-break-out;
  1503. }
  1504. }
  1505. }
  1506. .hook.history.list {
  1507. .item {
  1508. padding-left: 13px;
  1509. .meta {
  1510. .ui.right {
  1511. margin-top: 5px;
  1512. .time {
  1513. font-size: 12px;
  1514. }
  1515. }
  1516. }
  1517. .info {
  1518. margin-top: 10px;
  1519. .tabular.menu {
  1520. .item {
  1521. font-weight: 500;
  1522. }
  1523. }
  1524. .tab.segment {
  1525. border: none;
  1526. padding: 0;
  1527. padding-top: 10px;
  1528. box-shadow: none;
  1529. > * {
  1530. color: #666;
  1531. }
  1532. pre {
  1533. word-wrap: break-word;
  1534. .hljs {
  1535. padding: 0;
  1536. background-color: inherit;
  1537. }
  1538. }
  1539. }
  1540. }
  1541. }
  1542. }
  1543. }
  1544. .ui.vertical.menu {
  1545. .header.item {
  1546. font-size: 1.1em;
  1547. background: #f0f0f0;
  1548. }
  1549. }
  1550. .edit-label.modal,
  1551. .new-label.segment {
  1552. .form {
  1553. .column {
  1554. padding-right: 0;
  1555. }
  1556. .buttons {
  1557. margin-left: auto;
  1558. padding-top: 15px;
  1559. }
  1560. .color.picker.column {
  1561. width: auto;
  1562. .color-picker {
  1563. height: 35px;
  1564. width: auto;
  1565. padding-left: 30px;
  1566. }
  1567. }
  1568. .minicolors-swatch.minicolors-sprite {
  1569. top: 10px;
  1570. left: 10px;
  1571. width: 15px;
  1572. height: 15px;
  1573. }
  1574. .precolors {
  1575. padding-left: 0;
  1576. padding-right: 0;
  1577. margin: 3px 10px auto 10px;
  1578. width: 120px;
  1579. .color {
  1580. float: left;
  1581. width: 15px;
  1582. height: 15px;
  1583. }
  1584. }
  1585. }
  1586. }
  1587. #avatar-arrow {
  1588. &:before, &:after {
  1589. right: 100%;
  1590. top: 20px;
  1591. border: solid transparent;
  1592. content: " ";
  1593. height: 0;
  1594. width: 0;
  1595. position: absolute;
  1596. pointer-events: none;
  1597. }
  1598. &:before {
  1599. border-right-color: #D4D4D5;
  1600. border-width: 9px;
  1601. margin-top: -9px;
  1602. }
  1603. &:after {
  1604. border-right-color: #f7f7f7;
  1605. border-width: 8px;
  1606. margin-top: -8px;
  1607. }
  1608. }
  1609. #transfer-repo-modal,
  1610. #delete-repo-modal {
  1611. .ui.message {
  1612. width: 100%!important;
  1613. }
  1614. }
  1615. // generate .tab-size-{i} from 1 to 16
  1616. .generate-tab-size(16);
  1617. .generate-tab-size(@n, @i: 1) when (@i =< @n) {
  1618. .tab-size-@{i} {
  1619. tab-size: @i !important;
  1620. -moz-tab-size: @i !important;
  1621. }
  1622. .generate-tab-size(@n, (@i + 1));
  1623. }
PANIC: session(release): write data/sessions/7/d/7d43db675b1b7c3e: no space left on device

PANIC

session(release): write data/sessions/7/d/7d43db675b1b7c3e: no space left on device
github.com/go-macaron/session@v0.0.0-20190805070824-1a3cdc6f5659/session.go:199 (0x8b2934)
gopkg.in/macaron.v1@v1.3.9/context.go:79 (0x83d0a0)
github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:157 (0x80ab07)
github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:135 (0x80a8a8)
gopkg.in/macaron.v1@v1.3.9/context.go:121 (0x83d1f8)
gopkg.in/macaron.v1@v1.3.9/context.go:112 (0x84fdb5)
gopkg.in/macaron.v1@v1.3.9/recovery.go:161 (0x84fda8)
gopkg.in/macaron.v1@v1.3.9/logger.go:40 (0x840c73)
github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:157 (0x80ab07)
github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:135 (0x80a8a8)
gopkg.in/macaron.v1@v1.3.9/context.go:121 (0x83d1f8)
gopkg.in/macaron.v1@v1.3.9/router.go:187 (0x850fc6)
gopkg.in/macaron.v1@v1.3.9/router.go:303 (0x8493e5)
gopkg.in/macaron.v1@v1.3.9/macaron.go:220 (0x841fca)
net/http/server.go:2836 (0x7a79b2)
net/http/server.go:1924 (0x7a341b)
runtime/asm_amd64.s:1373 (0x46f9f0)