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 30KB

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