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

gogs.css 32KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772
  1. html,
  2. body {
  3. height: 100%;
  4. }
  5. .octicon,
  6. .fa {
  7. width: 16px;
  8. text-align: center;
  9. }
  10. .fa {
  11. font-size: 14px;
  12. }
  13. .container {
  14. max-width: 1170px;
  15. padding: 0 1.5em;
  16. margin: auto;
  17. }
  18. img.avatar-16 {
  19. width: 16px;
  20. height: 16px;
  21. vertical-align: middle;
  22. }
  23. img.avatar-24 {
  24. width: 24px;
  25. height: 24px;
  26. vertical-align: middle;
  27. }
  28. img.avatar-30 {
  29. width: 30px;
  30. height: 30px;
  31. vertical-align: middle;
  32. }
  33. img.avatar-40 {
  34. width: 40px;
  35. height: 40px;
  36. vertical-align: middle;
  37. }
  38. img.avatar-48 {
  39. width: 48px;
  40. height: 48px;
  41. vertical-align: middle;
  42. }
  43. img.avatar-100 {
  44. width: 100px;
  45. height: 100px;
  46. vertical-align: middle;
  47. }
  48. #wrapper {
  49. padding: 0;
  50. margin: 0 0 -55px 0;
  51. min-height: 100%;
  52. }
  53. #footer {
  54. background-color: white;
  55. border-top: 1px solid #d6d6d6;
  56. clear: both;
  57. width: 100%;
  58. color: #888888;
  59. }
  60. #footer .container {
  61. padding: 15px;
  62. }
  63. #footer .official,
  64. #footer .version {
  65. color: #888888;
  66. }
  67. #footer-links > * {
  68. border-left: 1px solid #d6d6d6;
  69. padding-left: 8px;
  70. margin-left: 5px;
  71. }
  72. #footer-links > *:first-child {
  73. border-left: none;
  74. }
  75. #footer-lang {
  76. position: relative;
  77. }
  78. #footer-lang .drop-down {
  79. top: -64px;
  80. left: -2px;
  81. position: absolute;
  82. height: 59px;
  83. z-index: 100;
  84. font-size: 12px;
  85. width: 120%;
  86. }
  87. #footer-lang .drop-down li > a {
  88. padding: 3px 9px;
  89. }
  90. #header {
  91. background-color: #428bca;
  92. height: 44px;
  93. }
  94. #header > .menu-line > li > a {
  95. display: inline-block;
  96. color: #ffffff;
  97. }
  98. #header > .menu-line > li > a:hover {
  99. background-color: transparent;
  100. color: #fff65f;
  101. }
  102. #header > .menu-line > li.head {
  103. color: #ffffff;
  104. }
  105. #header > .menu-line > li.hover a:after {
  106. bottom: -9px;
  107. color: #ffffff;
  108. }
  109. #header > .menu-line > li.current > a {
  110. color: #fff65f;
  111. font-weight: bold;
  112. }
  113. #header-nav-user {
  114. height: 44px;
  115. }
  116. #header-nav-user img {
  117. margin: -4px 10px 0 0;
  118. border-radius: 3px;
  119. }
  120. #header-nav-sign-out > a:hover {
  121. color: #ff908b !important;
  122. }
  123. #header-nav-logo {
  124. padding: 6px 1.2em;
  125. }
  126. #header-nav-explore,
  127. #header-nav-help {
  128. font-size: 14px;
  129. }
  130. #header-new-repo-menu {
  131. width: 180px;
  132. background-color: #FFF;
  133. top: 44px;
  134. border-top: none;
  135. left: -66px;
  136. }
  137. #header-new-repo-menu .octicon {
  138. margin-right: 6px;
  139. font-size: 1.1em;
  140. }
  141. .switching-list {
  142. width: 100%;
  143. list-style: none;
  144. }
  145. .switching-list > li {
  146. border-bottom: 1px solid #eaeaea;
  147. }
  148. .switching-list > li:last-child {
  149. border-bottom: none;
  150. }
  151. .switching-list > li > a {
  152. padding: .4em 1.2em;
  153. display: block;
  154. color: #444;
  155. }
  156. .switching-list > li > a:hover {
  157. background-color: #428bca !important;
  158. color: #fff !important;
  159. }
  160. .social-buttons .btn {
  161. border: none;
  162. font-size: 16px;
  163. border-radius: 4px;
  164. margin-right: 12px;
  165. font-family: 'PT Sans Narrow', sans-serif;
  166. padding: 5px 12px;
  167. color: #FFF;
  168. }
  169. .social-buttons .btn .fa {
  170. margin-right: 6px;
  171. font-size: 16px;
  172. }
  173. .social-buttons .twitter {
  174. background-color: #1c6399;
  175. }
  176. .social-buttons .twitter:hover {
  177. background-color: #1c5487;
  178. }
  179. .social-buttons .github {
  180. background-color: #444;
  181. }
  182. .social-buttons .github:hover {
  183. background-color: #333;
  184. }
  185. .social-buttons .google {
  186. background-color: #C03D20;
  187. }
  188. .social-buttons .google:hover {
  189. background-color: #D56060;
  190. }
  191. .social-buttons .weibo {
  192. background-color: #bf1324;
  193. }
  194. .social-buttons .weibo:hover {
  195. background-color: #b94c4a;
  196. }
  197. .social-buttons .qq {
  198. background-color: #03a2ef;
  199. }
  200. .social-buttons .qq:hover {
  201. background-color: #3cb3ff;
  202. }
  203. .main-wrapper {
  204. padding: 20px 0 40px;
  205. }
  206. .user-list {
  207. width: auto;
  208. min-width: 180px;
  209. max-width: 300px;
  210. }
  211. .user-list img {
  212. width: 28px;
  213. height: 28px;
  214. margin-right: 1em;
  215. margin-top: 1px;
  216. vertical-align: middle;
  217. }
  218. .user-list li {
  219. cursor: pointer;
  220. font-weight: bold;
  221. }
  222. .text-success {
  223. color: #3c763d;
  224. }
  225. .text-blue {
  226. color: #15c;
  227. }
  228. .text-red {
  229. color: #DD4B39;
  230. }
  231. .text-grey {
  232. color: #999999;
  233. }
  234. .text-black {
  235. color: #444444;
  236. }
  237. .markdown {
  238. background-color: white;
  239. font-size: 16px;
  240. line-height: 24px;
  241. }
  242. .markdown .markdown-body {
  243. padding-left: 24px;
  244. padding-right: 16px;
  245. }
  246. .markdown h5,
  247. .markdown h6 {
  248. font-size: 1em;
  249. }
  250. .markdown ul {
  251. padding: 10px 0 0 15px;
  252. }
  253. .markdown ul li {
  254. list-style: inside;
  255. }
  256. .markdown ol li {
  257. list-style: decimal inside;
  258. }
  259. .markdown li {
  260. line-height: 1.6;
  261. margin-top: 6px;
  262. }
  263. .markdown li:first-child {
  264. margin-top: 0;
  265. }
  266. .markdown > pre {
  267. font-size: 14px;
  268. line-height: 1.6;
  269. overflow: auto;
  270. border: 1px solid #ddd;
  271. border-radius: .25em;
  272. margin: 5px 0;
  273. padding: 10px;
  274. background-color: #f8f8f8;
  275. }
  276. .markdown img {
  277. padding: 10px 0;
  278. max-width: 100%;
  279. }
  280. .markdown a {
  281. color: #428BCA;
  282. }
  283. .markdown h1,
  284. .markdown h2,
  285. .markdown h3,
  286. .markdown h4,
  287. .markdown h5,
  288. .markdown h6 {
  289. line-height: 1.7;
  290. padding: 15px 0 0;
  291. margin: 0 0 15px;
  292. color: #444;
  293. font-weight: bold;
  294. }
  295. .markdown h1,
  296. .markdown h2 {
  297. border-bottom: 1px solid #E0E0E0;
  298. }
  299. .markdown h2 {
  300. border-bottom: 1px solid #E0E0E0;
  301. }
  302. .markdown h1 {
  303. color: #000;
  304. font-size: 33px;
  305. }
  306. .markdown h2 {
  307. color: #333;
  308. font-size: 28px;
  309. }
  310. .markdown h3 {
  311. font-size: 22px;
  312. }
  313. .markdown h4 {
  314. font-size: 18px;
  315. }
  316. .markdown table {
  317. border-collapse: collapse;
  318. border-spacing: 0;
  319. display: block;
  320. overflow: auto;
  321. width: 100%;
  322. margin: 0 0 9px;
  323. }
  324. .markdown table th {
  325. font-weight: 700;
  326. }
  327. .markdown table th,
  328. .markdown table td {
  329. border: 1px solid #DDD;
  330. padding: 6px 13px;
  331. }
  332. .markdown table tr {
  333. background-color: #FFF;
  334. border-top: 1px solid #CCC;
  335. }
  336. .markdown table tr:nth-child(2n) {
  337. background-color: #f8f8f8;
  338. }
  339. .markdown dl dt {
  340. font-style: italic;
  341. margin-top: 9px;
  342. }
  343. .markdown dl dd {
  344. margin: 0 0 9px;
  345. padding: 0 9px;
  346. }
  347. .markdown blockquote,
  348. .markdown blockquote p {
  349. font-size: 14px;
  350. background-color: #f5f5f5;
  351. }
  352. .markdown > pre.linenums {
  353. padding: 0;
  354. }
  355. .markdown > pre > ol.linenums {
  356. list-style: none;
  357. padding: 0;
  358. }
  359. .markdown > pre > ol.linenums > li {
  360. margin-top: 2px;
  361. }
  362. .markdown > pre.nums-style > ol.linenums {
  363. list-style-type: decimal;
  364. padding: 0 0 0 40px;
  365. -webkit-box-shadow: inset 40px 0 0 #f5f5f5, inset 41px 0 0 #ccc;
  366. box-shadow: inset 40px 0 0 #f5f5f5, inset 41px 0 0 #ccc;
  367. }
  368. .markdown > pre > code {
  369. white-space: pre;
  370. word-wrap: normal;
  371. }
  372. .markdown > pre > ol.linenums > li {
  373. padding: 0 10px;
  374. }
  375. .markdown > pre > ol.linenums > li:first-child {
  376. padding-top: 12px;
  377. }
  378. .markdown > pre > ol.linenums > li:last-child {
  379. padding-bottom: 12px;
  380. }
  381. .markdown > pre.nums-style > ol.linenums > li {
  382. border-left: 1px solid #ddd;
  383. }
  384. .markdown hr {
  385. border: none;
  386. color: #ccc;
  387. height: 4px;
  388. padding: 0;
  389. margin: 15px 0;
  390. border-bottom: 2px solid #EEE;
  391. }
  392. .markdown blockquote:last-child,
  393. .markdown ul:last-child,
  394. .markdown ol:last-child,
  395. .markdown > pre:last-child,
  396. .markdown > pre:last-child,
  397. .markdown p:last-child {
  398. margin-bottom: 0;
  399. }
  400. .markdown .btn {
  401. color: #fff;
  402. }
  403. .markdown h1 a,
  404. .markdown h2 a,
  405. .markdown h3 a {
  406. text-decoration: none;
  407. }
  408. .markdown h1 a.anchor,
  409. .markdown h2 a.anchor,
  410. .markdown h3 a.anchor,
  411. .markdown h4 a.anchor,
  412. .markdown h5 a.anchor,
  413. .markdown h6 a.anchor {
  414. text-decoration: none;
  415. line-height: 1;
  416. padding-left: 0;
  417. margin-left: -24px;
  418. top: 15%;
  419. }
  420. .markdown a span.octicon {
  421. font-size: 16px;
  422. line-height: 1;
  423. display: inline-block;
  424. text-decoration: none;
  425. -webkit-font-smoothing: antialiased;
  426. margin-left: 30px;
  427. }
  428. .markdown a span.octicon-link {
  429. opacity: 0;
  430. color: #444;
  431. }
  432. .markdown h1:hover .octicon-link,
  433. .markdown h2:hover .octicon-link,
  434. .markdown h3:hover .octicon-link,
  435. .markdown h4:hover .octicon-link,
  436. .markdown h5:hover .octicon-link,
  437. .markdown h6:hover .octicon-link {
  438. display: inline-block;
  439. opacity: 1;
  440. }
  441. /* Author: jmblog */
  442. /* Project: https://github.com/jmblog/color-themes-for-google-code-prettify */
  443. /* GitHub Theme */
  444. /* Pretty printing styles. Used with prettify.js. */
  445. /* SPAN elements with the classes below are added by prettyprint. */
  446. /* plain text */
  447. .pln {
  448. color: #333333;
  449. }
  450. @media screen {
  451. /* string content */
  452. .str {
  453. color: #dd1144;
  454. }
  455. /* a keyword */
  456. .kwd {
  457. color: #333333;
  458. }
  459. /* a comment */
  460. .com {
  461. color: #999988;
  462. font-style: italic;
  463. }
  464. /* a type name */
  465. .typ {
  466. color: #445588;
  467. }
  468. /* a literal value */
  469. .lit {
  470. color: #445588;
  471. }
  472. /* punctuation */
  473. .pun {
  474. color: #333333;
  475. }
  476. /* lisp open bracket */
  477. .opn {
  478. color: #333333;
  479. }
  480. /* lisp close bracket */
  481. .clo {
  482. color: #333333;
  483. }
  484. /* a markup tag name */
  485. .tag {
  486. color: navy;
  487. }
  488. /* a markup attribute name */
  489. .atn {
  490. color: teal;
  491. }
  492. /* a markup attribute value */
  493. .atv {
  494. color: #dd1144;
  495. }
  496. /* a declaration */
  497. .dec {
  498. color: #333333;
  499. }
  500. /* a variable name */
  501. .var {
  502. color: teal;
  503. }
  504. /* a function name */
  505. .fun {
  506. color: #990000;
  507. }
  508. }
  509. /* Use higher contrast and text-weight for printable form. */
  510. @media print, projection {
  511. .str {
  512. color: #006600;
  513. }
  514. .kwd {
  515. color: #006;
  516. font-weight: bold;
  517. }
  518. .com {
  519. color: #600;
  520. font-style: italic;
  521. }
  522. .typ {
  523. color: #404;
  524. font-weight: bold;
  525. }
  526. .lit {
  527. color: #004444;
  528. }
  529. .pun,
  530. .opn,
  531. .clo {
  532. color: #444400;
  533. }
  534. .tag {
  535. color: #006;
  536. font-weight: bold;
  537. }
  538. .atn {
  539. color: #440044;
  540. }
  541. .atv {
  542. color: #006600;
  543. }
  544. }
  545. /* Specify class=linenums on a pre to get line numbering */
  546. ol.linenums {
  547. margin-top: 0;
  548. margin-bottom: 0;
  549. }
  550. #promo-wrapper {
  551. padding-top: 50px;
  552. background-color: #428bca;
  553. }
  554. #promo-logo {
  555. margin-right: 50px;
  556. padding-bottom: 50px;
  557. }
  558. #promo-logo img {
  559. max-width: 250px;
  560. }
  561. #promo-content {
  562. color: #FFF;
  563. margin-left: 300px;
  564. }
  565. #promo-content h1,
  566. #promo-content h2 {
  567. font-family: 'PT Sans Narrow', sans-serif;
  568. line-height: 60px;
  569. margin-bottom: 0;
  570. text-shadow: 0 2px 1px rgba(0, 0, 0, 0.5);
  571. }
  572. #promo-content h1 {
  573. font-size: 96px;
  574. line-height: 96px;
  575. margin-bottom: 30px;
  576. }
  577. #promo-content h2 {
  578. font-size: 52px;
  579. line-height: 70px;
  580. font-weight: normal;
  581. }
  582. #promo-form {
  583. padding: 40px 0;
  584. }
  585. #promo-form .ipt-large {
  586. border: none;
  587. border-radius: 4px;
  588. font-size: 18px;
  589. margin-right: 12px;
  590. }
  591. #promo-form .ipt-large:focus {
  592. box-shadow: 0 0 3px #FFF;
  593. }
  594. #promo-form .btn-large {
  595. border-radius: 4px;
  596. font-size: 18px;
  597. margin-right: 12px;
  598. }
  599. #promo-social {
  600. padding-bottom: 60px;
  601. }
  602. #promo-social .qq {
  603. box-shadow: 0 0 1px #1c6399;
  604. }
  605. #feature-wrapper {
  606. font-family: Lato, sans-serif;
  607. font-size: 18px;
  608. padding: 50px 0 100px 0;
  609. }
  610. #feature-wrapper .octicon {
  611. color: #d9453d;
  612. font-size: 60px;
  613. height: 60px;
  614. width: 60px;
  615. line-height: 60px;
  616. margin-right: 12px;
  617. vertical-align: middle;
  618. display: inline-block;
  619. }
  620. #feature-wrapper b {
  621. color: #000;
  622. font-size: 24px;
  623. display: inline-block;
  624. line-height: 60px;
  625. }
  626. #feature-wrapper p {
  627. margin: 1em 0;
  628. line-height: 40px;
  629. padding-right: 30px;
  630. }
  631. #feature-wrapper a {
  632. color: #d9453d;
  633. }
  634. #feature-wrapper a:hover {
  635. color: #ff635a;
  636. }
  637. #feature-wrapper .grid-1-2 {
  638. margin-bottom: 30px;
  639. }
  640. /*
  641. The dashboard page style
  642. */
  643. #dashboard-header {
  644. border-bottom: 1px solid #d6d6d6;
  645. height: 69px;
  646. }
  647. #dashboard-header > .menu-line > li {
  648. padding: 12px 0;
  649. }
  650. #dashboard-header > .menu-line > li.right > a {
  651. font-size: 1.2em;
  652. color: #444444;
  653. }
  654. #dashboard-header > .menu-line > li.right > a:hover {
  655. background-color: transparent;
  656. color: #d9453d;
  657. }
  658. #dashboard-header > .menu-line > li.right > a .octicon {
  659. margin-right: 6px;
  660. }
  661. #dashboard-header > .menu-line > li.right .current {
  662. border-bottom: 2px solid #D26911;
  663. }
  664. #dashboard-selection-menu a img {
  665. margin: -4px 10px 0 0;
  666. }
  667. #dashboard {
  668. padding: 24px 0;
  669. }
  670. #dashboard-sidebar .panel-header h4 {
  671. margin: 0;
  672. }
  673. #dashboard-sidebar > .panel {
  674. margin-bottom: 24px;
  675. border-bottom-left-radius: .3em;
  676. border-bottom-right-radius: .3em;
  677. }
  678. #dashboard-sidebar-menu {
  679. border-top-left-radius: .3em;
  680. border-top-right-radius: .3em;
  681. width: 100%;
  682. height: 35px;
  683. }
  684. #dashboard-sidebar-menu > li {
  685. border: 1px solid #d6d6d6;
  686. float: left;
  687. margin-right: -1px;
  688. border-bottom: none;
  689. }
  690. #dashboard-sidebar-menu > li > a {
  691. padding-top: .4em;
  692. padding-bottom: .4em;
  693. }
  694. #dashboard-sidebar-menu > li.first {
  695. border-top-left-radius: .3em;
  696. }
  697. #dashboard-sidebar-menu > li.first > a {
  698. border-top-left-radius: .3em;
  699. }
  700. #dashboard-sidebar-menu > li.drop {
  701. border: none;
  702. float: right;
  703. }
  704. #dashboard-sidebar-menu > li.js-tab-nav-show {
  705. background-color: #EEEEEE;
  706. }
  707. #dashboard-sidebar-menu > li.last {
  708. border-top-right-radius: .3em;
  709. }
  710. #dashboard-sidebar-menu > li.last > a {
  711. border-top-right-radius: .3em;
  712. }
  713. #dashboard-my-mirror li,
  714. #dashboard-my-org li,
  715. #dashboard-my-repo li {
  716. border-bottom: 1px solid #EAEAEA;
  717. }
  718. #dashboard-my-mirror li.private,
  719. #dashboard-my-org li.private,
  720. #dashboard-my-repo li.private {
  721. background-color: #fcf8e9;
  722. }
  723. #dashboard-my-mirror li:last-child,
  724. #dashboard-my-org li:last-child,
  725. #dashboard-my-repo li:last-child {
  726. border-bottom: none;
  727. }
  728. #dashboard-my-mirror li a,
  729. #dashboard-my-org li a,
  730. #dashboard-my-repo li a {
  731. padding: 6px 1.2em;
  732. display: block;
  733. }
  734. #dashboard-my-mirror li a .octicon,
  735. #dashboard-my-org li a .octicon,
  736. #dashboard-my-repo li a .octicon {
  737. margin-right: 6px;
  738. color: #888;
  739. }
  740. #dashboard-my-mirror li a:hover .repo-name,
  741. #dashboard-my-org li a:hover .repo-name,
  742. #dashboard-my-repo li a:hover .repo-name {
  743. text-decoration: underline;
  744. }
  745. #dashboard-my-mirror .repo-name,
  746. #dashboard-my-org .repo-name,
  747. #dashboard-my-repo .repo-name {
  748. font-size: 1.1em;
  749. }
  750. #dashboard-my-mirror .repo-star,
  751. #dashboard-my-org .repo-star,
  752. #dashboard-my-repo .repo-star {
  753. color: #888;
  754. }
  755. #dashboard-my-mirror .repo-contrib-header,
  756. #dashboard-my-org .repo-contrib-header,
  757. #dashboard-my-repo .repo-contrib-header {
  758. border-top: 1px solid #d6d6d6;
  759. }
  760. #dashboard-my-repo .panel-header .octicon {
  761. margin-right: 6px;
  762. font-size: 12px;
  763. }
  764. #dashboard-my-repo .repo-count {
  765. margin-left: 4px;
  766. }
  767. #dashboard-my-org,
  768. #dashboard-my-mirror {
  769. display: none;
  770. }
  771. #dashboard-new-repo {
  772. width: 50px;
  773. height: 35px;
  774. padding-top: 6px;
  775. margin-right: 1px;
  776. border-top-left-radius: .3em;
  777. border-top-right-radius: .3em;
  778. }
  779. #dashboard-new-repo .octicon {
  780. font-size: 2em;
  781. }
  782. #dashboard-new-repo-menu {
  783. top: 35px;
  784. width: 180px;
  785. background-color: #FFF;
  786. left: -132px;
  787. }
  788. #dashboard-new-repo-menu .octicon {
  789. margin-right: 6px;
  790. font-size: 1.1em;
  791. }
  792. #dashboard-selection-menu {
  793. width: auto;
  794. max-width: 300px;
  795. }
  796. #dashboard-selection-menu > .drop-down {
  797. top: 56px;
  798. }
  799. #dashboard-selection-menu li {
  800. white-space: nowrap;
  801. }
  802. #dashboard-selection-menu li.checked .octicon {
  803. opacity: 1;
  804. }
  805. #dashboard-selection-menu li a {
  806. text-overflow: ellipsis;
  807. -o-text-overflow: ellipsis;
  808. overflow: hidden;
  809. }
  810. #dashboard-switch-menu {
  811. border-bottom-left-radius: .3em;
  812. border-bottom-right-radius: .3em;
  813. }
  814. #dashboard-switch-menu > li > a img {
  815. margin-top: 0;
  816. }
  817. #dashboard-switch-menu > li > a .octicon {
  818. margin-right: 12px;
  819. }
  820. #dashboard-switch-menu > li:last-child > a {
  821. border-bottom-left-radius: .3em;
  822. border-bottom-right-radius: .3em;
  823. }
  824. #dashboard-switch-menu > li.org > a .octicon {
  825. opacity: 0;
  826. }
  827. #dashboard-switch-menu > li.checked > a {
  828. font-weight: bold;
  829. }
  830. #dashboard-switch-menu > li.checked > a .octicon {
  831. opacity: 1;
  832. }
  833. #dashboard-news .news {
  834. margin-right: 2.4em;
  835. padding-bottom: 1em;
  836. margin-bottom: 1em;
  837. border-bottom: 1px solid #E6E6E6;
  838. min-height: 30px;
  839. }
  840. #dashboard-news .news .mega-octicon {
  841. color: #CCC;
  842. }
  843. #dashboard-news .news .avatar {
  844. margin: 0 1.2em;
  845. }
  846. #dashboard-news .news .news-content,
  847. #dashboard-news .news .news-time {
  848. color: #888;
  849. }
  850. #dashboard-news .push-news .news-content li {
  851. margin-left: 1em;
  852. }
  853. #dashboard-news .push-news .news-content li img {
  854. margin-bottom: -2px;
  855. }
  856. /*
  857. The register and sign-in page style
  858. */
  859. #sign-wrapper {
  860. padding: 60px 0;
  861. }
  862. .sign-panel {
  863. background-color: #ffffff;
  864. }
  865. .sign-form.form-align .field {
  866. margin: 1.2em 0 2em 0;
  867. }
  868. .sign-form.form-align .ipt-large {
  869. width: 300px;
  870. }
  871. .sign-form.form-align label,
  872. .sign-form.form-align .form-label {
  873. width: 160px;
  874. }
  875. .sign-form.form-align .alert {
  876. margin: 0 30px 24px 30px;
  877. }
  878. .sign-form.form-align:hover {
  879. box-shadow: 0 0 6px #CCC;
  880. }
  881. .sign-form.container {
  882. padding: 0;
  883. width: 600px;
  884. margin-bottom: 80px;
  885. }
  886. #sign-up-form .panel-content {
  887. margin-top: 1.2em;
  888. }
  889. #sign-up-form h2 {
  890. margin: .5em 1em;
  891. }
  892. #sign-social {
  893. position: relative;
  894. margin: 40px 0;
  895. }
  896. #sign-social .or {
  897. position: absolute;
  898. width: 30px;
  899. top: -52px;
  900. left: 50%;
  901. background-color: #FFF;
  902. margin-left: -15px;
  903. }
  904. /* repository main */
  905. #repo-wrapper {
  906. padding-bottom: 100px;
  907. }
  908. #repo-header {
  909. height: 69px;
  910. border-bottom: 1px solid #d6d6d6;
  911. background-color: #ffffff;
  912. }
  913. #repo-header-name {
  914. line-height: 66px;
  915. color: #888888;
  916. font-size: 1.6em;
  917. font-weight: normal;
  918. margin-bottom: 0;
  919. }
  920. #repo-header-name i {
  921. margin-right: 12px;
  922. vertical-align: middle;
  923. }
  924. #repo-header-name .divider {
  925. margin: 0 4px;
  926. }
  927. #repo-header-meta {
  928. line-height: 66px;
  929. }
  930. #repo-header-meta li > a {
  931. padding: 0;
  932. }
  933. #repo-header-meta li > a:hover {
  934. background-color: transparent;
  935. }
  936. #repo-header-meta a > .btn {
  937. font-size: 1.05em;
  938. margin-left: 16px;
  939. line-height: 16px;
  940. }
  941. #repo-header-meta a > .btn i {
  942. margin-right: 6px;
  943. }
  944. #repo-header-meta a > .btn .num {
  945. margin-left: 6px;
  946. }
  947. #repo-header-download-btn > .btn > i {
  948. margin-right: 0 !important;
  949. }
  950. #repo-header-download-btn:hover:after,
  951. #repo-header-download-btn:hover .btn {
  952. background-color: #383838;
  953. color: #FFF;
  954. }
  955. #repo-header-download-btn:after {
  956. background-color: #444444;
  957. padding: 9px 16px 8px 0;
  958. margin-left: -8px !important;
  959. color: #FFF;
  960. border-top: 1px solid #444444;
  961. border-bottom: 1px solid #444444;
  962. border-top-right-radius: .25em;
  963. border-bottom-right-radius: .25em;
  964. }
  965. #repo-header-download-drop {
  966. line-height: 24px;
  967. width: 440px;
  968. top: 50px;
  969. left: -354px;
  970. padding: 20px;
  971. box-sizing: border-box;
  972. }
  973. #repo-header-download-drop .btn > i {
  974. margin-right: 6px;
  975. }
  976. #repo-content {
  977. padding: 18px 0;
  978. }
  979. #repo-clone-url {
  980. border-right: none;
  981. width: 196px;
  982. border-left: none;
  983. }
  984. #repo-clone-help {
  985. clear: both;
  986. line-height: 48px;
  987. }
  988. #repo-clone-zip {
  989. line-height: 48px;
  990. }
  991. #repo-clone-zip a {
  992. cursor: pointer;
  993. color: white;
  994. overflow: visible;
  995. padding: .6em 1.2em;
  996. }
  997. #repo-clone-zip .btn {
  998. margin: 0 6px;
  999. }
  1000. #repo-desc {
  1001. font-size: 1.2em;
  1002. }
  1003. #repo-sidebar-nav .label {
  1004. font-size: 12px;
  1005. line-height: 1.4em;
  1006. margin-top: 2px;
  1007. }
  1008. #repo-sidebar-nav i {
  1009. margin-right: 6px;
  1010. }
  1011. #repo-file-nav {
  1012. padding: .6em 0 1em 0;
  1013. }
  1014. #repo-file-nav > li > a {
  1015. padding-left: 0;
  1016. }
  1017. #repo-file-nav > li > a:hover {
  1018. background-color: transparent;
  1019. }
  1020. #repo-file-nav li.repo-jump > a {
  1021. padding-right: 0;
  1022. }
  1023. #repo-file-nav li.repo-jump > a .btn {
  1024. margin-left: -1px;
  1025. }
  1026. #repo-branch-switch > a .btn {
  1027. padding-right: 30px;
  1028. }
  1029. #repo-branch-switch > a:after {
  1030. position: absolute;
  1031. top: 12px;
  1032. right: 30px;
  1033. margin-left: 0;
  1034. color: #444444;
  1035. }
  1036. #repo-branch-switch > .drop-down {
  1037. top: 40px;
  1038. left: 0;
  1039. }
  1040. #repo-branch-filter-ipt {
  1041. width: 100%;
  1042. border-left: none;
  1043. border-right: none;
  1044. box-sizing: border-box;
  1045. }
  1046. #repo-branch-tag .tab-nav {
  1047. border-bottom: 1px solid #EAEAEA;
  1048. }
  1049. #repo-branch-tag .tab-nav a {
  1050. padding: .3em .8em;
  1051. }
  1052. #repo-branch-tag .tab-nav .js-tab-nav-show {
  1053. background-color: #EEE;
  1054. font-weight: bold;
  1055. }
  1056. #repo-branch-list li i,
  1057. #repo-tag-list li i {
  1058. margin-right: 12px;
  1059. opacity: 0;
  1060. }
  1061. #repo-branch-list li.checked i,
  1062. #repo-tag-list li.checked i {
  1063. opacity: 1;
  1064. }
  1065. #repo-tag-list {
  1066. display: none;
  1067. }
  1068. #repo-bread .bread {
  1069. padding-right: 0;
  1070. font-size: 16px;
  1071. font-weight: bold;
  1072. }
  1073. #repo-main {
  1074. padding-right: 40px;
  1075. box-sizing: border-box;
  1076. }
  1077. #repo-files-table {
  1078. margin-bottom: 20px;
  1079. }
  1080. #repo-files-table th,
  1081. #repo-files-table td {
  1082. text-align: left;
  1083. line-height: 32px;
  1084. }
  1085. #repo-files-table td.icon {
  1086. width: 16px;
  1087. padding-right: .1em;
  1088. padding-left: 1em;
  1089. }
  1090. #repo-files-table td.name {
  1091. max-width: 120px;
  1092. }
  1093. #repo-files-table td.name .text-truncate {
  1094. max-width: 100%;
  1095. }
  1096. #repo-files-table td.age {
  1097. max-width: 120px;
  1098. text-align: right;
  1099. }
  1100. #repo-files-table td.msg {
  1101. max-width: 440px;
  1102. }
  1103. #repo-files-table td.msg .text-truncate {
  1104. max-width: 100%;
  1105. }
  1106. #repo-files-table td.age,
  1107. #repo-files-table td.size,
  1108. #repo-files-table td.msg a {
  1109. color: #888;
  1110. }
  1111. #repo-files-table td.msg a:hover {
  1112. color: #428BCA;
  1113. text-decoration: underline;
  1114. }
  1115. #repo-files-table tbody {
  1116. background-color: #FFF;
  1117. }
  1118. #repo-files-table tbody tr:hover {
  1119. background-color: #ffffEE;
  1120. }
  1121. #repo-files-table thead {
  1122. background-color: #F0F0F0;
  1123. }
  1124. #repo-files-table thead .author a {
  1125. margin: 0 .4em;
  1126. }
  1127. #repo-files-table thead .last-commit strong {
  1128. color: #444;
  1129. }
  1130. #repo-files-table thead .last-commit .text-truncate {
  1131. margin-left: .4em;
  1132. }
  1133. #repo-files-table thead .last-commit .text-truncate,
  1134. #repo-files-table thead .age {
  1135. font-weight: normal;
  1136. color: #888;
  1137. }
  1138. #repo-readme {
  1139. margin-bottom: 80px;
  1140. }
  1141. #repo-bare-start {
  1142. margin-bottom: 100px;
  1143. }
  1144. #repo-bare-start .panel-content {
  1145. background-color: #FFF;
  1146. }
  1147. #repo-bare-start pre {
  1148. margin: 0 40px;
  1149. padding: 6px 10px;
  1150. border: 1px solid #ddd;
  1151. background: #f8f8f8;
  1152. }
  1153. .repo-bare #repo-bare-start h2 {
  1154. margin-top: 30px;
  1155. margin-bottom: 24px;
  1156. }
  1157. .repo-bare #repo-header-meta {
  1158. display: none;
  1159. }
  1160. .repo-bare #repo-clone-ssh {
  1161. margin-left: 200px;
  1162. }
  1163. .repo-bare #repo-clone-copy {
  1164. margin-right: 200px;
  1165. }
  1166. .repo-bare #repo-clone-help {
  1167. clear: both;
  1168. width: 100%;
  1169. }
  1170. .repo-bare #repo-clone-url {
  1171. width: 520px;
  1172. }
  1173. /* repository create */
  1174. #repo-migrate-form,
  1175. #repo-create-form {
  1176. width: 800px;
  1177. margin: 60px auto auto auto;
  1178. background: white;
  1179. }
  1180. #repo-migrate-form h2,
  1181. #repo-create-form h2 {
  1182. margin: .5em 1em;
  1183. }
  1184. #repo-migrate-form .field,
  1185. #repo-create-form .field {
  1186. margin: 1.2em 0 2em 0;
  1187. }
  1188. #repo-migrate-form .ipt,
  1189. #repo-create-form .ipt {
  1190. width: 540px;
  1191. }
  1192. #repo-migrate-form textarea,
  1193. #repo-create-form textarea {
  1194. height: 120px;
  1195. }
  1196. #repo-migrate-form .avatar,
  1197. #repo-create-form .avatar {
  1198. vertical-align: middle;
  1199. margin-right: .6em;
  1200. width: 28px;
  1201. height: 28px;
  1202. }
  1203. #repo-migrate-form:hover,
  1204. #repo-create-form:hover {
  1205. box-shadow: 0px 0px 6px #CCC;
  1206. }
  1207. #repo-create-cancel {
  1208. margin-left: 4em;
  1209. }
  1210. #repo-create-owner-list {
  1211. top: 30px;
  1212. left: 0;
  1213. width: auto;
  1214. max-width: 300px;
  1215. }
  1216. #repo-create-owner-list .octicon {
  1217. margin-right: 12px;
  1218. opacity: 0;
  1219. }
  1220. #repo-create-owner-list .avatar {
  1221. width: 20px;
  1222. height: 20px;
  1223. }
  1224. #repo-create-owner-list li {
  1225. white-space: nowrap;
  1226. }
  1227. #repo-create-owner-list li.checked .octicon {
  1228. opacity: 1;
  1229. }
  1230. #repo-create-owner-list li a {
  1231. text-overflow: ellipsis;
  1232. -o-text-overflow: ellipsis;
  1233. overflow: hidden;
  1234. }
  1235. .file-name {
  1236. margin-left: 1em;
  1237. }
  1238. .file-size {
  1239. font-size: 13px;
  1240. color: #888;
  1241. margin-left: 1em;
  1242. }
  1243. .code-view {
  1244. overflow: auto;
  1245. overflow-x: auto;
  1246. overflow-y: hidden;
  1247. background: white;
  1248. }
  1249. .code-view .view-raw {
  1250. min-height: 40px;
  1251. text-align: center;
  1252. padding-top: 20px;
  1253. }
  1254. .code-view .view-raw .btn {
  1255. font-size: 1.05em;
  1256. line-height: 16px;
  1257. padding: 6px 8px;
  1258. }
  1259. .code-view table {
  1260. width: 100%;
  1261. }
  1262. .code-view table td {
  1263. padding: 0;
  1264. }
  1265. .code-view .lines-num {
  1266. text-align: right;
  1267. color: #999;
  1268. background: #f5f5f5;
  1269. width: 1%;
  1270. }
  1271. .code-view .lines-num span {
  1272. font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
  1273. line-height: 18px;
  1274. padding: 0 8px 0 10px;
  1275. cursor: pointer;
  1276. display: block;
  1277. margin-top: 2px;
  1278. font-size: 12px;
  1279. }
  1280. .code-view .lines-code > pre {
  1281. border: none;
  1282. border-left: 1px solid #ddd;
  1283. }
  1284. .code-view .lines-code > pre > ol.linenums > li {
  1285. padding: 0 10px;
  1286. }
  1287. .code-view .lines-code > pre > ol.linenums > li.active {
  1288. background: #ffffdd;
  1289. }
  1290. .repo-setting-zone {
  1291. padding: 30px;
  1292. }
  1293. #repo-collab-list {
  1294. list-style: none;
  1295. padding: 10px 0 5px 0;
  1296. }
  1297. #repo-collab-list li.collab {
  1298. clear: both;
  1299. height: 50px;
  1300. padding: 0 15px 0 15px;
  1301. }
  1302. #repo-collab-list a.member {
  1303. color: #444;
  1304. height: 50px;
  1305. line-height: 50px;
  1306. }
  1307. #repo-collab-list a.member:hover {
  1308. color: #4183C4;
  1309. }
  1310. #repo-collab-list .avatar {
  1311. margin-right: 1em;
  1312. width: 40px;
  1313. }
  1314. #repo-collab-list .remove-collab {
  1315. color: #DD4B39;
  1316. }
  1317. .repo-user-list-block {
  1318. position: relative;
  1319. top: 5px;
  1320. }
  1321. .setting-list {
  1322. width: 100%;
  1323. list-style: none;
  1324. }
  1325. #setting-wrapper {
  1326. padding-bottom: 100px;
  1327. }
  1328. #setting-menu {
  1329. box-sizing: border-box;
  1330. }
  1331. #setting-menu li > a {
  1332. border-left: 2px solid #FFF;
  1333. background-color: #FFF;
  1334. }
  1335. #setting-menu li:hover {
  1336. border-color: #EAEAEA;
  1337. }
  1338. #setting-menu li:hover a {
  1339. border-left: 2px solid #EFEFEF;
  1340. background-color: #EFEFEF !important;
  1341. color: #000 !important;
  1342. }
  1343. #setting-menu li.current a {
  1344. color: #000 !important;
  1345. font-weight: bold;
  1346. border-left: 2px solid #d26911;
  1347. }
  1348. .setting-content {
  1349. margin-left: 32px;
  1350. }
  1351. #repo-setting-form,
  1352. #user-profile-form {
  1353. background-color: #FFF;
  1354. padding: 30px 0;
  1355. }
  1356. #repo-setting-form textarea,
  1357. #user-profile-form textarea {
  1358. margin-left: 4px;
  1359. height: 100px;
  1360. }
  1361. #repo-setting-form label,
  1362. #user-profile-form label,
  1363. #repo-setting-form .form-label,
  1364. #user-profile-form .form-label {
  1365. width: 240px;
  1366. }
  1367. #repo-setting-form .ipt,
  1368. #user-profile-form .ipt {
  1369. width: 360px;
  1370. }
  1371. #repo-setting-form .field,
  1372. #user-profile-form .field {
  1373. margin-bottom: 24px;
  1374. }
  1375. #repo-hooks-panel,
  1376. #repo-hooks-history-panel,
  1377. #user-social-panel,
  1378. #user-ssh-panel {
  1379. margin-bottom: 20px;
  1380. }
  1381. #repo-hooks-panel .setting-list,
  1382. #repo-hooks-history-panel .setting-list,
  1383. #user-social-panel .setting-list,
  1384. #user-ssh-panel .setting-list {
  1385. background-color: #FFF;
  1386. }
  1387. #repo-hooks-panel .setting-list li,
  1388. #repo-hooks-history-panel .setting-list li,
  1389. #user-social-panel .setting-list li,
  1390. #user-ssh-panel .setting-list li {
  1391. padding: 8px 20px;
  1392. border-bottom: 1px solid #eaeaea;
  1393. }
  1394. #repo-hooks-panel .setting-list li.ssh:hover,
  1395. #repo-hooks-history-panel .setting-list li.ssh:hover,
  1396. #user-social-panel .setting-list li.ssh:hover,
  1397. #user-ssh-panel .setting-list li.ssh:hover {
  1398. background-color: #ffffEE;
  1399. }
  1400. #repo-hooks-panel .setting-list li i,
  1401. #repo-hooks-history-panel .setting-list li i,
  1402. #user-social-panel .setting-list li i,
  1403. #user-ssh-panel .setting-list li i {
  1404. padding-right: 5px;
  1405. }
  1406. #repo-hooks-panel .active-icon,
  1407. #repo-hooks-history-panel .active-icon,
  1408. #user-social-panel .active-icon,
  1409. #user-ssh-panel .active-icon {
  1410. width: 10px;
  1411. height: 10px;
  1412. border-radius: 6px;
  1413. padding: 0;
  1414. margin-right: 20px;
  1415. margin-top: 10px;
  1416. }
  1417. #repo-hooks-panel .ssh-content,
  1418. #repo-hooks-history-panel .ssh-content,
  1419. #user-social-panel .ssh-content,
  1420. #user-ssh-panel .ssh-content {
  1421. margin-left: 24px;
  1422. }
  1423. #repo-hooks-panel .ssh-content .octicon,
  1424. #repo-hooks-history-panel .ssh-content .octicon,
  1425. #user-social-panel .ssh-content .octicon,
  1426. #user-ssh-panel .ssh-content .octicon {
  1427. margin-right: 4px;
  1428. }
  1429. #repo-hooks-panel .ssh-content .print,
  1430. #repo-hooks-history-panel .ssh-content .print,
  1431. #user-social-panel .ssh-content .print,
  1432. #user-ssh-panel .ssh-content .print,
  1433. #repo-hooks-panel .ssh-content .activity,
  1434. #repo-hooks-history-panel .ssh-content .activity,
  1435. #user-social-panel .ssh-content .activity,
  1436. #user-ssh-panel .ssh-content .activity {
  1437. color: #888;
  1438. }
  1439. #repo-hooks-panel .ssh-delete-btn,
  1440. #repo-hooks-history-panel .ssh-delete-btn,
  1441. #user-social-panel .ssh-delete-btn,
  1442. #user-ssh-panel .ssh-delete-btn {
  1443. margin-top: 6px;
  1444. }
  1445. #user-ssh-add-form .panel-body {
  1446. background-color: #FFF;
  1447. padding: 30px 0;
  1448. }
  1449. #user-ssh-add-form .ipt {
  1450. width: 500px;
  1451. }
  1452. #user-ssh-add-form textarea {
  1453. height: 120px;
  1454. margin-left: 3px;
  1455. }
  1456. #user-ssh-add-form .field {
  1457. margin-bottom: 24px;
  1458. }
  1459. .repo-issue-wrapper {
  1460. padding: 18px 0;
  1461. }
  1462. .pr-main {
  1463. padding-right: 40px;
  1464. box-sizing: border-box;
  1465. }
  1466. .pr-sidebar {
  1467. border-left: 1px solid #DDD;
  1468. box-sizing: border-box;
  1469. }
  1470. #pr-sidebar-nav {
  1471. margin-top: 6px;
  1472. }
  1473. #pr-sidebar-nav li {
  1474. margin-bottom: 4px;
  1475. }
  1476. #pr-sidebar-nav li > a {
  1477. border: 1px solid transparent;
  1478. border-left: none;
  1479. }
  1480. #pr-sidebar-nav li > a:hover {
  1481. background-color: #FFF;
  1482. border-color: #DDD;
  1483. }
  1484. #pr-sidebar-nav .label {
  1485. font-size: 12px;
  1486. line-height: 1.4em;
  1487. margin-top: 1px;
  1488. }
  1489. #pr-sidebar-nav li.current a {
  1490. background-color: #FFF;
  1491. border-color: #DDD;
  1492. }
  1493. .pr-title .pr-num {
  1494. font-weight: normal;
  1495. color: #888;
  1496. }
  1497. .pr-meta {
  1498. color: #888;
  1499. }
  1500. .pr-meta .pr-author {
  1501. margin: 0 8px;
  1502. color: #444;
  1503. }
  1504. .pr-meta .pr-author:hover {
  1505. text-decoration: underline;
  1506. }
  1507. .pr-meta .pr-branch {
  1508. margin: 0 4px;
  1509. font-size: 12px;
  1510. padding: 4px 6px;
  1511. }
  1512. .pr-nav {
  1513. border-bottom: 1px solid #DDD;
  1514. margin-top: 16px;
  1515. margin-bottom: 16px;
  1516. }
  1517. .pr-nav .octicon {
  1518. margin-right: 4px;
  1519. }
  1520. .pr-nav li > a {
  1521. padding: 3px 9px !important;
  1522. border: 1px solid transparent;
  1523. border-bottom: none;
  1524. border-top-left-radius: .2em;
  1525. border-top-right-radius: .2em;
  1526. }
  1527. .pr-nav li > a .label {
  1528. padding: 1px 5px;
  1529. font-size: 12px;
  1530. margin-left: 4px;
  1531. }
  1532. .pr-nav li.js-tab-nav-show > a {
  1533. background-color: #FFF;
  1534. border-color: #E6E6E6;
  1535. }
  1536. .diff-bar .diff-add {
  1537. color: #65ad4e;
  1538. }
  1539. .diff-bar .diff-delete {
  1540. color: #d9453d;
  1541. }
  1542. .diff-bar .diff-status {
  1543. width: 50px;
  1544. background-color: #d9453d;
  1545. height: 10px;
  1546. margin-top: 7px;
  1547. margin-left: 4px;
  1548. margin-right: 4px;
  1549. border-radius: .2em;
  1550. }
  1551. .diff-bar .diff-status-inner {
  1552. width: 45%;
  1553. background-color: #65ad4e;
  1554. height: 10px;
  1555. border-top-left-radius: .2em;
  1556. border-bottom-left-radius: .2em;
  1557. }
  1558. #pr-commit,
  1559. #pr-file-diff,
  1560. #issue-add-comment-preview {
  1561. display: none;
  1562. }
  1563. #pr-conversation-list {
  1564. padding-right: 30px;
  1565. box-sizing: border-box;
  1566. }
  1567. .issue-comment,
  1568. .issue-commit,
  1569. .issue-line,
  1570. .issue-merge,
  1571. .issue-add-comment {
  1572. margin-bottom: 16px;
  1573. }
  1574. .issue-comment .author-avatar img {
  1575. margin-right: 12px;
  1576. }
  1577. .issue-comment .panel {
  1578. margin-left: 60px;
  1579. margin-top: -40px;
  1580. }
  1581. .issue-comment .panel-header {
  1582. font-size: 13px;
  1583. }
  1584. .issue-comment .author-name {
  1585. font-weight: bold;
  1586. }
  1587. .issue-comment .date {
  1588. margin-left: 4px;
  1589. font-style: italic;
  1590. color: #888;
  1591. }
  1592. .issue-comment .action > * {
  1593. margin-left: 4px;
  1594. font-size: 12px;
  1595. }
  1596. .issue-comment .action i {
  1597. font-size: 13px;
  1598. }
  1599. .issue-commit {
  1600. line-height: 32px;
  1601. }
  1602. .issue-commit i,
  1603. .issue-commit .author-avatar img {
  1604. margin-right: 16px;
  1605. }
  1606. .issue-commit .sha {
  1607. margin-left: 24px;
  1608. }
  1609. .issue-commit .message {
  1610. display: block;
  1611. margin-left: 88px;
  1612. padding-top: 4px;
  1613. line-height: 24px;
  1614. }
  1615. .issue-merge .ico {
  1616. width: 40px;
  1617. height: 40px;
  1618. text-align: center;
  1619. color: #FFF;
  1620. margin-right: 12px;
  1621. }
  1622. .issue-merge .ico i {
  1623. margin-top: 8px;
  1624. font-size: 24px;
  1625. }
  1626. .issue-merge .panel {
  1627. margin-left: 60px;
  1628. margin-top: -40px;
  1629. }
  1630. .issue-merge .panel-header {
  1631. font-size: 13px;
  1632. }
  1633. .issue-merge-ok .ico {
  1634. background-color: #65AD4E;
  1635. }
  1636. .issue-merge-ok .panel,
  1637. .issue-merge-ok .panel-content,
  1638. .issue-merge-ok .panel-header {
  1639. border-color: #65AD4E;
  1640. background-color: #FFF;
  1641. }
  1642. .issue-merge-ok .panel-header {
  1643. color: #508a3e;
  1644. }
  1645. .issue-line {
  1646. height: 4px;
  1647. background-color: #E6E6E6;
  1648. }
  1649. .issue-add-comment .panel {
  1650. margin-left: 60px;
  1651. margin-top: -40px;
  1652. }
  1653. .issue-add-comment .panel-header {
  1654. font-size: 13px;
  1655. padding-bottom: 0;
  1656. }
  1657. .issue-add-comment .add-nav > li > a {
  1658. padding: 4px 12px;
  1659. color: #444;
  1660. border: 1px solid #CCC;
  1661. margin-bottom: -1px;
  1662. font-size: 14px;
  1663. border-top-left-radius: .3em;
  1664. border-top-right-radius: .3em;
  1665. }
  1666. .issue-add-comment .add-nav > li > a:hover {
  1667. background-color: #FFF;
  1668. }
  1669. .issue-add-comment .add-nav > li.js-tab-nav-show > a {
  1670. background-color: #FFF;
  1671. }
  1672. textarea#issue-add-content {
  1673. width: 100%;
  1674. box-sizing: border-box;
  1675. height: 120px;
  1676. }
  1677. .org-header {
  1678. padding: 16px 0;
  1679. background-color: #FFF;
  1680. border-bottom: 1px solid #DDD;
  1681. }
  1682. .org-header img {
  1683. padding-right: 10px;
  1684. }
  1685. #org-home-header {
  1686. min-height: 100px;
  1687. }
  1688. #org-home-header-info {
  1689. padding-top: 10px;
  1690. }
  1691. #org-home-header-info h2 {
  1692. font-size: 30px;
  1693. }
  1694. #org-home-header-info ul {
  1695. list-style: none;
  1696. }
  1697. #org-home-header-info ul li {
  1698. float: left;
  1699. padding-right: 5px;
  1700. }
  1701. #org-home-repo-list {
  1702. padding: 10px 0;
  1703. }
  1704. #org-repo-list {
  1705. padding: 10px 0;
  1706. }
  1707. #org-repo-list .org-repo-item {
  1708. border-top: 1px solid #eee;
  1709. padding: 30px 20px;
  1710. }
  1711. #org-repo-list .org-repo-item .org-repo-status {
  1712. list-style: none;
  1713. color: #888;
  1714. }
  1715. #org-repo-list .org-repo-item .org-repo-status li {
  1716. float: left;
  1717. margin-right: 6px;
  1718. }
  1719. #org-repo-list .org-repo-item h2 {
  1720. margin-bottom: 5px;
  1721. }
  1722. #org-repo-list .org-repo-item .org-repo-description {
  1723. margin: 0;
  1724. font-size: 14px;
  1725. color: #666;
  1726. }
  1727. #org-repo-list .org-repo-item .org-repo-updated {
  1728. font-size: 12px;
  1729. display: block;
  1730. margin: 5px 0 0;
  1731. color: #808080;
  1732. }
  1733. .org-sidebar {
  1734. margin: -80px 0 0 20px;
  1735. }
  1736. .org-sidebar .panel-footer {
  1737. padding: .8em 1.2em;
  1738. }
  1739. #org-member-avatar-group {
  1740. padding: 15px;
  1741. }
  1742. #org-member-avatar-group img {
  1743. width: 59px;
  1744. height: 59px;
  1745. border-radius: 3px;
  1746. }
  1747. #org-home-team-list {
  1748. padding: 0 15px;
  1749. }
  1750. #org-home-team-list ul {
  1751. list-style: none;
  1752. padding-top: 10px;
  1753. }
  1754. #org-home-team-list ul li {
  1755. padding: 10px 0;
  1756. border-bottom: 1px solid #eee;
  1757. }
  1758. #org-home-team-list ul li:last-child {
  1759. border-bottom: 0;
  1760. }
  1761. .team-name {
  1762. display: block;
  1763. font-size: 14px;
  1764. overflow: hidden;
  1765. text-overflow: ellipsis;
  1766. white-space: nowrap;
  1767. }
  1768. .team-meta {
  1769. margin-top: 0;
  1770. margin-bottom: 0;
  1771. color: #777;
  1772. }