gogs.css 33 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834
  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. vertical-align: inherit;
  855. margin-bottom: -2px;
  856. }
  857. /*
  858. The register and sign-in page style
  859. */
  860. #sign-wrapper {
  861. padding: 60px 0;
  862. }
  863. .sign-panel {
  864. background-color: #ffffff;
  865. }
  866. .sign-form.form-align .field {
  867. margin: 1.2em 0 2em 0;
  868. }
  869. .sign-form.form-align .ipt-large {
  870. width: 300px;
  871. }
  872. .sign-form.form-align label,
  873. .sign-form.form-align .form-label {
  874. width: 160px;
  875. }
  876. .sign-form.form-align .alert {
  877. margin: 0 30px 24px 30px;
  878. }
  879. .sign-form.form-align:hover {
  880. box-shadow: 0 0 6px #CCC;
  881. }
  882. .sign-form.container {
  883. padding: 0;
  884. width: 600px;
  885. margin-bottom: 80px;
  886. }
  887. #sign-up-form .panel-content {
  888. margin-top: 1.2em;
  889. }
  890. #sign-up-form h2 {
  891. margin: .5em 1em;
  892. }
  893. #sign-social {
  894. position: relative;
  895. margin: 40px 0;
  896. }
  897. #sign-social .or {
  898. position: absolute;
  899. width: 30px;
  900. top: -52px;
  901. left: 50%;
  902. background-color: #FFF;
  903. margin-left: -15px;
  904. }
  905. /* repository main */
  906. #repo-wrapper {
  907. padding-bottom: 100px;
  908. }
  909. #repo-header {
  910. height: 69px;
  911. border-bottom: 1px solid #d6d6d6;
  912. background-color: #ffffff;
  913. }
  914. #repo-header-name {
  915. line-height: 66px;
  916. color: #888888;
  917. font-size: 1.6em;
  918. font-weight: normal;
  919. margin-bottom: 0;
  920. }
  921. #repo-header-name i {
  922. margin-right: 12px;
  923. vertical-align: middle;
  924. }
  925. #repo-header-name .divider {
  926. margin: 0 4px;
  927. }
  928. #repo-header-meta {
  929. line-height: 66px;
  930. }
  931. #repo-header-meta li > a {
  932. padding: 0;
  933. }
  934. #repo-header-meta li > a:hover {
  935. background-color: transparent;
  936. }
  937. #repo-header-meta a > .btn {
  938. font-size: 1.05em;
  939. margin-left: 16px;
  940. line-height: 16px;
  941. }
  942. #repo-header-meta a > .btn i {
  943. margin-right: 6px;
  944. }
  945. #repo-header-meta a > .btn .num {
  946. margin-left: 6px;
  947. }
  948. #repo-header-download-btn > .btn > i {
  949. margin-right: 0 !important;
  950. }
  951. #repo-header-download-btn:hover:after,
  952. #repo-header-download-btn:hover .btn {
  953. background-color: #383838;
  954. color: #FFF;
  955. }
  956. #repo-header-download-btn:after {
  957. background-color: #444444;
  958. padding: 9px 16px 8px 0;
  959. margin-left: -8px !important;
  960. color: #FFF;
  961. border-top: 1px solid #444444;
  962. border-bottom: 1px solid #444444;
  963. border-top-right-radius: .25em;
  964. border-bottom-right-radius: .25em;
  965. }
  966. #repo-header-download-drop {
  967. line-height: 24px;
  968. width: 440px;
  969. top: 50px;
  970. left: -354px;
  971. padding: 20px;
  972. box-sizing: border-box;
  973. }
  974. #repo-header-download-drop .btn > i {
  975. margin-right: 6px;
  976. }
  977. #repo-content {
  978. padding: 18px 0;
  979. }
  980. #repo-clone-url {
  981. border-right: none;
  982. width: 196px;
  983. border-left: none;
  984. }
  985. #repo-clone-help {
  986. clear: both;
  987. line-height: 48px;
  988. }
  989. #repo-clone-zip {
  990. line-height: 48px;
  991. }
  992. #repo-clone-zip a {
  993. cursor: pointer;
  994. color: white;
  995. overflow: visible;
  996. padding: .6em 1.2em;
  997. }
  998. #repo-clone-zip .btn {
  999. margin: 0 6px;
  1000. }
  1001. #repo-desc {
  1002. font-size: 1.2em;
  1003. }
  1004. #repo-sidebar-nav .label {
  1005. font-size: 12px;
  1006. line-height: 1.4em;
  1007. margin-top: 2px;
  1008. }
  1009. #repo-sidebar-nav i {
  1010. margin-right: 6px;
  1011. }
  1012. #repo-file-nav {
  1013. padding: .6em 0 1em 0;
  1014. }
  1015. #repo-file-nav > li > a {
  1016. padding-left: 0;
  1017. }
  1018. #repo-file-nav > li > a:hover {
  1019. background-color: transparent;
  1020. }
  1021. #repo-file-nav li.repo-jump > a {
  1022. padding-right: 0;
  1023. }
  1024. #repo-file-nav li.repo-jump > a .btn {
  1025. margin-left: -1px;
  1026. }
  1027. #repo-branch-switch > a .btn {
  1028. padding-right: 30px;
  1029. }
  1030. #repo-branch-switch > a:after {
  1031. position: absolute;
  1032. top: 12px;
  1033. right: 30px;
  1034. margin-left: 0;
  1035. color: #444444;
  1036. }
  1037. #repo-branch-switch > .drop-down {
  1038. top: 40px;
  1039. left: 0;
  1040. }
  1041. #repo-branch-filter-ipt {
  1042. width: 100%;
  1043. border-left: none;
  1044. border-right: none;
  1045. box-sizing: border-box;
  1046. }
  1047. #repo-branch-tag .tab-nav {
  1048. border-bottom: 1px solid #EAEAEA;
  1049. }
  1050. #repo-branch-tag .tab-nav a {
  1051. padding: .3em .8em;
  1052. }
  1053. #repo-branch-tag .tab-nav .js-tab-nav-show {
  1054. background-color: #EEE;
  1055. font-weight: bold;
  1056. }
  1057. #repo-branch-list li i,
  1058. #repo-tag-list li i {
  1059. margin-right: 12px;
  1060. opacity: 0;
  1061. }
  1062. #repo-branch-list li.checked i,
  1063. #repo-tag-list li.checked i {
  1064. opacity: 1;
  1065. }
  1066. #repo-tag-list {
  1067. display: none;
  1068. }
  1069. #repo-bread .bread {
  1070. padding-right: 0;
  1071. font-size: 16px;
  1072. font-weight: bold;
  1073. }
  1074. #repo-main {
  1075. padding-right: 40px;
  1076. box-sizing: border-box;
  1077. }
  1078. #repo-files-table {
  1079. margin-bottom: 20px;
  1080. }
  1081. #repo-files-table th,
  1082. #repo-files-table td {
  1083. text-align: left;
  1084. line-height: 32px;
  1085. }
  1086. #repo-files-table td.icon {
  1087. width: 16px;
  1088. padding-right: .1em;
  1089. padding-left: 1em;
  1090. }
  1091. #repo-files-table td.name {
  1092. max-width: 120px;
  1093. }
  1094. #repo-files-table td.name .text-truncate {
  1095. max-width: 100%;
  1096. }
  1097. #repo-files-table td.age {
  1098. max-width: 120px;
  1099. text-align: right;
  1100. }
  1101. #repo-files-table td.msg {
  1102. max-width: 440px;
  1103. }
  1104. #repo-files-table td.msg .text-truncate {
  1105. max-width: 100%;
  1106. }
  1107. #repo-files-table td.age,
  1108. #repo-files-table td.size,
  1109. #repo-files-table td.msg a {
  1110. color: #888;
  1111. }
  1112. #repo-files-table td.msg a:hover {
  1113. color: #428BCA;
  1114. text-decoration: underline;
  1115. }
  1116. #repo-files-table tbody {
  1117. background-color: #FFF;
  1118. }
  1119. #repo-files-table tbody tr:hover {
  1120. background-color: #ffffEE;
  1121. }
  1122. #repo-files-table thead {
  1123. background-color: #F0F0F0;
  1124. }
  1125. #repo-files-table thead .author a {
  1126. margin: 0 .4em;
  1127. }
  1128. #repo-files-table thead .last-commit strong {
  1129. color: #444;
  1130. }
  1131. #repo-files-table thead .last-commit .text-truncate {
  1132. margin-left: .4em;
  1133. }
  1134. #repo-files-table thead .last-commit .text-truncate,
  1135. #repo-files-table thead .age {
  1136. font-weight: normal;
  1137. color: #888;
  1138. }
  1139. #repo-readme {
  1140. margin-bottom: 80px;
  1141. }
  1142. #repo-bare-start {
  1143. margin-bottom: 100px;
  1144. }
  1145. #repo-bare-start .panel-content {
  1146. background-color: #FFF;
  1147. }
  1148. #repo-bare-start pre {
  1149. margin: 0 40px;
  1150. padding: 6px 10px;
  1151. border: 1px solid #ddd;
  1152. background: #f8f8f8;
  1153. }
  1154. .repo-bare #repo-bare-start h2 {
  1155. margin-top: 30px;
  1156. margin-bottom: 24px;
  1157. }
  1158. .repo-bare #repo-header-meta {
  1159. display: none;
  1160. }
  1161. .repo-bare #repo-clone-ssh {
  1162. margin-left: 200px;
  1163. }
  1164. .repo-bare #repo-clone-copy {
  1165. margin-right: 200px;
  1166. }
  1167. .repo-bare #repo-clone-help {
  1168. clear: both;
  1169. width: 100%;
  1170. }
  1171. .repo-bare #repo-clone-url {
  1172. width: 520px;
  1173. }
  1174. /* repository create */
  1175. #repo-migrate-form,
  1176. #repo-create-form {
  1177. width: 800px;
  1178. margin: 60px auto auto auto;
  1179. background: white;
  1180. }
  1181. #repo-migrate-form h2,
  1182. #repo-create-form h2 {
  1183. margin: .5em 1em;
  1184. }
  1185. #repo-migrate-form .field,
  1186. #repo-create-form .field {
  1187. margin: 1.2em 0 2em 0;
  1188. }
  1189. #repo-migrate-form .ipt,
  1190. #repo-create-form .ipt {
  1191. width: 540px;
  1192. }
  1193. #repo-migrate-form textarea,
  1194. #repo-create-form textarea {
  1195. height: 120px;
  1196. }
  1197. #repo-migrate-form .avatar,
  1198. #repo-create-form .avatar {
  1199. vertical-align: middle;
  1200. margin-right: .6em;
  1201. width: 28px;
  1202. height: 28px;
  1203. }
  1204. #repo-migrate-form:hover,
  1205. #repo-create-form:hover {
  1206. box-shadow: 0px 0px 6px #CCC;
  1207. }
  1208. #repo-create-cancel {
  1209. margin-left: 4em;
  1210. }
  1211. #repo-create-owner-list {
  1212. top: 30px;
  1213. left: 0;
  1214. width: auto;
  1215. max-width: 300px;
  1216. }
  1217. #repo-create-owner-list .octicon {
  1218. margin-right: 12px;
  1219. opacity: 0;
  1220. }
  1221. #repo-create-owner-list .avatar {
  1222. width: 20px;
  1223. height: 20px;
  1224. }
  1225. #repo-create-owner-list li {
  1226. white-space: nowrap;
  1227. }
  1228. #repo-create-owner-list li.checked .octicon {
  1229. opacity: 1;
  1230. }
  1231. #repo-create-owner-list li a {
  1232. text-overflow: ellipsis;
  1233. -o-text-overflow: ellipsis;
  1234. overflow: hidden;
  1235. }
  1236. .file-name {
  1237. margin-left: 1em;
  1238. }
  1239. .file-size {
  1240. font-size: 13px;
  1241. color: #888;
  1242. margin-left: 1em;
  1243. }
  1244. .code-view {
  1245. overflow: auto;
  1246. overflow-x: auto;
  1247. overflow-y: hidden;
  1248. background: white;
  1249. }
  1250. .code-view .view-raw {
  1251. min-height: 40px;
  1252. text-align: center;
  1253. padding-top: 20px;
  1254. }
  1255. .code-view .view-raw .btn {
  1256. font-size: 1.05em;
  1257. line-height: 16px;
  1258. padding: 6px 8px;
  1259. }
  1260. .code-view table {
  1261. width: 100%;
  1262. }
  1263. .code-view table td {
  1264. padding: 0;
  1265. }
  1266. .code-view .lines-num {
  1267. text-align: right;
  1268. color: #999;
  1269. background: #f5f5f5;
  1270. width: 1%;
  1271. }
  1272. .code-view .lines-num span {
  1273. font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
  1274. line-height: 18px;
  1275. padding: 0 8px 0 10px;
  1276. cursor: pointer;
  1277. display: block;
  1278. margin-top: 2px;
  1279. font-size: 12px;
  1280. }
  1281. .code-view .lines-code > pre {
  1282. border: none;
  1283. border-left: 1px solid #ddd;
  1284. }
  1285. .code-view .lines-code > pre > ol.linenums > li {
  1286. padding: 0 10px;
  1287. }
  1288. .code-view .lines-code > pre > ol.linenums > li.active {
  1289. background: #ffffdd;
  1290. }
  1291. .repo-setting-zone {
  1292. padding: 30px;
  1293. }
  1294. #repo-collab-list {
  1295. list-style: none;
  1296. padding: 10px 0 5px 0;
  1297. }
  1298. #repo-collab-list li.collab {
  1299. clear: both;
  1300. height: 50px;
  1301. padding: 0 15px 0 15px;
  1302. }
  1303. #repo-collab-list a.member {
  1304. color: #444;
  1305. height: 50px;
  1306. line-height: 50px;
  1307. }
  1308. #repo-collab-list a.member:hover {
  1309. color: #4183C4;
  1310. }
  1311. #repo-collab-list .avatar {
  1312. margin-right: 1em;
  1313. width: 40px;
  1314. }
  1315. #repo-collab-list .remove-collab {
  1316. color: #DD4B39;
  1317. }
  1318. .repo-user-list-block {
  1319. position: relative;
  1320. top: 5px;
  1321. }
  1322. .setting-list {
  1323. width: 100%;
  1324. list-style: none;
  1325. }
  1326. #setting-wrapper {
  1327. padding-bottom: 100px;
  1328. }
  1329. #setting-menu {
  1330. box-sizing: border-box;
  1331. }
  1332. #setting-menu li > a {
  1333. border-left: 2px solid #FFF;
  1334. background-color: #FFF;
  1335. }
  1336. #setting-menu li:hover {
  1337. border-color: #EAEAEA;
  1338. }
  1339. #setting-menu li:hover a {
  1340. border-left: 2px solid #EFEFEF;
  1341. background-color: #EFEFEF !important;
  1342. color: #000 !important;
  1343. }
  1344. #setting-menu li.current a {
  1345. color: #000 !important;
  1346. font-weight: bold;
  1347. border-left: 2px solid #d26911;
  1348. }
  1349. .setting-content {
  1350. margin-left: 32px;
  1351. }
  1352. #org-setting-form,
  1353. #repo-setting-form,
  1354. #user-profile-form {
  1355. background-color: #FFF;
  1356. padding: 30px 0;
  1357. }
  1358. #org-setting-form textarea,
  1359. #repo-setting-form textarea,
  1360. #user-profile-form textarea {
  1361. margin-left: 4px;
  1362. height: 100px;
  1363. }
  1364. #org-setting-form label,
  1365. #repo-setting-form label,
  1366. #user-profile-form label,
  1367. #org-setting-form .form-label,
  1368. #repo-setting-form .form-label,
  1369. #user-profile-form .form-label {
  1370. width: 240px;
  1371. }
  1372. #org-setting-form .ipt,
  1373. #repo-setting-form .ipt,
  1374. #user-profile-form .ipt {
  1375. width: 360px;
  1376. }
  1377. #org-setting-form .field,
  1378. #repo-setting-form .field,
  1379. #user-profile-form .field {
  1380. margin-bottom: 24px;
  1381. }
  1382. #repo-hooks-panel,
  1383. #repo-hooks-history-panel,
  1384. #user-social-panel,
  1385. #user-ssh-panel {
  1386. margin-bottom: 20px;
  1387. }
  1388. #repo-hooks-panel .setting-list,
  1389. #repo-hooks-history-panel .setting-list,
  1390. #user-social-panel .setting-list,
  1391. #user-ssh-panel .setting-list {
  1392. background-color: #FFF;
  1393. }
  1394. #repo-hooks-panel .setting-list li,
  1395. #repo-hooks-history-panel .setting-list li,
  1396. #user-social-panel .setting-list li,
  1397. #user-ssh-panel .setting-list li {
  1398. padding: 8px 20px;
  1399. border-bottom: 1px solid #eaeaea;
  1400. }
  1401. #repo-hooks-panel .setting-list li.ssh:hover,
  1402. #repo-hooks-history-panel .setting-list li.ssh:hover,
  1403. #user-social-panel .setting-list li.ssh:hover,
  1404. #user-ssh-panel .setting-list li.ssh:hover {
  1405. background-color: #ffffEE;
  1406. }
  1407. #repo-hooks-panel .setting-list li i,
  1408. #repo-hooks-history-panel .setting-list li i,
  1409. #user-social-panel .setting-list li i,
  1410. #user-ssh-panel .setting-list li i {
  1411. padding-right: 5px;
  1412. }
  1413. #repo-hooks-panel .active-icon,
  1414. #repo-hooks-history-panel .active-icon,
  1415. #user-social-panel .active-icon,
  1416. #user-ssh-panel .active-icon {
  1417. width: 10px;
  1418. height: 10px;
  1419. border-radius: 6px;
  1420. padding: 0;
  1421. margin-right: 20px;
  1422. margin-top: 10px;
  1423. }
  1424. #repo-hooks-panel .ssh-content,
  1425. #repo-hooks-history-panel .ssh-content,
  1426. #user-social-panel .ssh-content,
  1427. #user-ssh-panel .ssh-content {
  1428. margin-left: 24px;
  1429. }
  1430. #repo-hooks-panel .ssh-content .octicon,
  1431. #repo-hooks-history-panel .ssh-content .octicon,
  1432. #user-social-panel .ssh-content .octicon,
  1433. #user-ssh-panel .ssh-content .octicon {
  1434. margin-right: 4px;
  1435. }
  1436. #repo-hooks-panel .ssh-content .print,
  1437. #repo-hooks-history-panel .ssh-content .print,
  1438. #user-social-panel .ssh-content .print,
  1439. #user-ssh-panel .ssh-content .print,
  1440. #repo-hooks-panel .ssh-content .activity,
  1441. #repo-hooks-history-panel .ssh-content .activity,
  1442. #user-social-panel .ssh-content .activity,
  1443. #user-ssh-panel .ssh-content .activity {
  1444. color: #888;
  1445. }
  1446. #repo-hooks-panel .ssh-delete-btn,
  1447. #repo-hooks-history-panel .ssh-delete-btn,
  1448. #user-social-panel .ssh-delete-btn,
  1449. #user-ssh-panel .ssh-delete-btn {
  1450. margin-top: 6px;
  1451. }
  1452. #user-ssh-add-form .panel-body {
  1453. background-color: #FFF;
  1454. padding: 30px 0;
  1455. }
  1456. #user-ssh-add-form .ipt {
  1457. width: 500px;
  1458. }
  1459. #user-ssh-add-form textarea {
  1460. height: 120px;
  1461. margin-left: 3px;
  1462. }
  1463. #user-ssh-add-form .field {
  1464. margin-bottom: 24px;
  1465. }
  1466. .repo-issue-wrapper {
  1467. padding: 18px 0;
  1468. }
  1469. .pr-main {
  1470. padding-right: 40px;
  1471. box-sizing: border-box;
  1472. }
  1473. .pr-sidebar {
  1474. border-left: 1px solid #DDD;
  1475. box-sizing: border-box;
  1476. }
  1477. #pr-sidebar-nav {
  1478. margin-top: 6px;
  1479. }
  1480. #pr-sidebar-nav li {
  1481. margin-bottom: 4px;
  1482. }
  1483. #pr-sidebar-nav li > a {
  1484. border: 1px solid transparent;
  1485. border-left: none;
  1486. }
  1487. #pr-sidebar-nav li > a:hover {
  1488. background-color: #FFF;
  1489. border-color: #DDD;
  1490. }
  1491. #pr-sidebar-nav .label {
  1492. font-size: 12px;
  1493. line-height: 1.4em;
  1494. margin-top: 1px;
  1495. }
  1496. #pr-sidebar-nav li.current a {
  1497. background-color: #FFF;
  1498. border-color: #DDD;
  1499. }
  1500. .pr-title .pr-num {
  1501. font-weight: normal;
  1502. color: #888;
  1503. }
  1504. .pr-meta {
  1505. color: #888;
  1506. }
  1507. .pr-meta .pr-author {
  1508. margin: 0 8px;
  1509. color: #444;
  1510. }
  1511. .pr-meta .pr-author:hover {
  1512. text-decoration: underline;
  1513. }
  1514. .pr-meta .pr-branch {
  1515. margin: 0 4px;
  1516. font-size: 12px;
  1517. padding: 4px 6px;
  1518. }
  1519. .pr-nav {
  1520. border-bottom: 1px solid #DDD;
  1521. margin-top: 16px;
  1522. margin-bottom: 16px;
  1523. }
  1524. .pr-nav .octicon {
  1525. margin-right: 4px;
  1526. }
  1527. .pr-nav li > a {
  1528. padding: 3px 9px !important;
  1529. border: 1px solid transparent;
  1530. border-bottom: none;
  1531. border-top-left-radius: .2em;
  1532. border-top-right-radius: .2em;
  1533. }
  1534. .pr-nav li > a .label {
  1535. padding: 1px 5px;
  1536. font-size: 12px;
  1537. margin-left: 4px;
  1538. }
  1539. .pr-nav li.js-tab-nav-show > a {
  1540. background-color: #FFF;
  1541. border-color: #E6E6E6;
  1542. }
  1543. .diff-bar .diff-add {
  1544. color: #65ad4e;
  1545. }
  1546. .diff-bar .diff-delete {
  1547. color: #d9453d;
  1548. }
  1549. .diff-bar .diff-status {
  1550. width: 50px;
  1551. background-color: #d9453d;
  1552. height: 10px;
  1553. margin-top: 7px;
  1554. margin-left: 4px;
  1555. margin-right: 4px;
  1556. border-radius: .2em;
  1557. }
  1558. .diff-bar .diff-status-inner {
  1559. width: 45%;
  1560. background-color: #65ad4e;
  1561. height: 10px;
  1562. border-top-left-radius: .2em;
  1563. border-bottom-left-radius: .2em;
  1564. }
  1565. #pr-commit,
  1566. #pr-file-diff,
  1567. #issue-add-comment-preview {
  1568. display: none;
  1569. }
  1570. #pr-conversation-list {
  1571. padding-right: 30px;
  1572. box-sizing: border-box;
  1573. }
  1574. .issue-comment,
  1575. .issue-commit,
  1576. .issue-line,
  1577. .issue-merge,
  1578. .issue-add-comment {
  1579. margin-bottom: 16px;
  1580. }
  1581. .issue-comment .author-avatar img {
  1582. margin-right: 12px;
  1583. }
  1584. .issue-comment .panel {
  1585. margin-left: 60px;
  1586. margin-top: -40px;
  1587. }
  1588. .issue-comment .panel-header {
  1589. font-size: 13px;
  1590. }
  1591. .issue-comment .author-name {
  1592. font-weight: bold;
  1593. }
  1594. .issue-comment .date {
  1595. margin-left: 4px;
  1596. font-style: italic;
  1597. color: #888;
  1598. }
  1599. .issue-comment .action > * {
  1600. margin-left: 4px;
  1601. font-size: 12px;
  1602. }
  1603. .issue-comment .action i {
  1604. font-size: 13px;
  1605. }
  1606. .issue-commit {
  1607. line-height: 32px;
  1608. }
  1609. .issue-commit i,
  1610. .issue-commit .author-avatar img {
  1611. margin-right: 16px;
  1612. }
  1613. .issue-commit .sha {
  1614. margin-left: 24px;
  1615. }
  1616. .issue-commit .message {
  1617. display: block;
  1618. margin-left: 88px;
  1619. padding-top: 4px;
  1620. line-height: 24px;
  1621. }
  1622. .issue-merge .ico {
  1623. width: 40px;
  1624. height: 40px;
  1625. text-align: center;
  1626. color: #FFF;
  1627. margin-right: 12px;
  1628. }
  1629. .issue-merge .ico i {
  1630. margin-top: 8px;
  1631. font-size: 24px;
  1632. }
  1633. .issue-merge .panel {
  1634. margin-left: 60px;
  1635. margin-top: -40px;
  1636. }
  1637. .issue-merge .panel-header {
  1638. font-size: 13px;
  1639. }
  1640. .issue-merge-ok .ico {
  1641. background-color: #65AD4E;
  1642. }
  1643. .issue-merge-ok .panel,
  1644. .issue-merge-ok .panel-content,
  1645. .issue-merge-ok .panel-header {
  1646. border-color: #65AD4E;
  1647. background-color: #FFF;
  1648. }
  1649. .issue-merge-ok .panel-header {
  1650. color: #508a3e;
  1651. }
  1652. .issue-line {
  1653. height: 4px;
  1654. background-color: #E6E6E6;
  1655. }
  1656. .issue-add-comment .panel {
  1657. margin-left: 60px;
  1658. margin-top: -40px;
  1659. }
  1660. .issue-add-comment .panel-header {
  1661. font-size: 13px;
  1662. padding-bottom: 0;
  1663. }
  1664. .issue-add-comment .add-nav > li > a {
  1665. padding: 4px 12px;
  1666. color: #444;
  1667. border: 1px solid #CCC;
  1668. margin-bottom: -1px;
  1669. font-size: 14px;
  1670. border-top-left-radius: .3em;
  1671. border-top-right-radius: .3em;
  1672. }
  1673. .issue-add-comment .add-nav > li > a:hover {
  1674. background-color: #FFF;
  1675. }
  1676. .issue-add-comment .add-nav > li.js-tab-nav-show > a {
  1677. background-color: #FFF;
  1678. }
  1679. textarea#issue-add-content {
  1680. width: 100%;
  1681. box-sizing: border-box;
  1682. height: 120px;
  1683. }
  1684. .org-header {
  1685. padding: 16px 0;
  1686. background-color: #FFF;
  1687. border-bottom: 1px solid #DDD;
  1688. }
  1689. .org-header img {
  1690. padding-right: 10px;
  1691. }
  1692. #org-home-header {
  1693. min-height: 100px;
  1694. }
  1695. #org-header {
  1696. height: 48px;
  1697. }
  1698. #org-header .org-name {
  1699. padding-left: 10px;
  1700. font-size: 1.4em;
  1701. height: 50px;
  1702. line-height: 50px;
  1703. margin-bottom: 0;
  1704. }
  1705. #org-header > div > .menu-line > li.right > a {
  1706. font-size: 1.2em;
  1707. color: #444444;
  1708. }
  1709. #org-header > div > .menu-line > li.right > a:hover {
  1710. background-color: transparent;
  1711. color: #d9453d;
  1712. }
  1713. #org-header > div > .menu-line > li.right > a .octicon {
  1714. margin-right: 6px;
  1715. }
  1716. #org-header > div > .menu-line > li.right .current {
  1717. border-bottom: 2px solid #D26911;
  1718. }
  1719. #org-home-header-info {
  1720. padding-top: 10px;
  1721. }
  1722. #org-home-header-info h2 {
  1723. font-size: 30px;
  1724. }
  1725. #org-home-header-info ul {
  1726. list-style: none;
  1727. }
  1728. #org-home-header-info ul li {
  1729. float: left;
  1730. padding-right: 5px;
  1731. }
  1732. #org-home-repo-list {
  1733. padding: 10px 0;
  1734. }
  1735. #org-repo-list {
  1736. padding: 10px 0;
  1737. }
  1738. #org-repo-list .org-repo-item {
  1739. border-top: 1px solid #eee;
  1740. padding: 30px 20px;
  1741. }
  1742. #org-repo-list .org-repo-item .org-repo-status {
  1743. list-style: none;
  1744. color: #888;
  1745. }
  1746. #org-repo-list .org-repo-item .org-repo-status li {
  1747. float: left;
  1748. margin-right: 6px;
  1749. }
  1750. #org-repo-list .org-repo-item h2 {
  1751. margin-bottom: 5px;
  1752. }
  1753. #org-repo-list .org-repo-item .org-repo-description {
  1754. margin: 0;
  1755. font-size: 14px;
  1756. color: #666;
  1757. }
  1758. #org-repo-list .org-repo-item .org-repo-updated {
  1759. font-size: 12px;
  1760. display: block;
  1761. margin: 5px 0 0;
  1762. color: #808080;
  1763. }
  1764. .org-sidebar {
  1765. margin: -80px 0 0 20px;
  1766. }
  1767. .org-sidebar .panel-footer {
  1768. padding: .8em 1.2em;
  1769. }
  1770. #org-member-avatar-group {
  1771. padding: 15px;
  1772. }
  1773. #org-member-avatar-group img {
  1774. width: 59px;
  1775. height: 59px;
  1776. border-radius: 3px;
  1777. }
  1778. #org-home-team-list {
  1779. padding: 0 15px;
  1780. }
  1781. #org-home-team-list ul {
  1782. list-style: none;
  1783. padding-top: 10px;
  1784. }
  1785. #org-home-team-list ul li {
  1786. padding: 10px 0;
  1787. border-bottom: 1px solid #eee;
  1788. }
  1789. #org-home-team-list ul li:last-child {
  1790. border-bottom: 0;
  1791. }
  1792. .team-name {
  1793. display: block;
  1794. font-size: 14px;
  1795. overflow: hidden;
  1796. text-overflow: ellipsis;
  1797. white-space: nowrap;
  1798. }
  1799. .team-meta {
  1800. margin-top: 0;
  1801. margin-bottom: 0;
  1802. color: #777;
  1803. }
  1804. #org-member-toolbar {
  1805. padding: 10px 0;
  1806. }
  1807. #org-member-list .org-member-item {
  1808. height: 50px;
  1809. line-height: 50px;
  1810. border-top: 1px solid #eee;
  1811. padding: 15px 20px;
  1812. }
  1813. #org-member-list .org-member-item .member-name {
  1814. padding-left: 15px;
  1815. }
  1816. #org-member-list .org-member-item ul {
  1817. list-style: none;
  1818. }
  1819. #org-member-list .org-member-item ul li {
  1820. text-align: center;
  1821. display: inline-block;
  1822. }
  1823. .invite-box {
  1824. padding: 50px 0;
  1825. min-height: 130px;
  1826. margin: 0 auto;
  1827. width: 50%;
  1828. }
  1829. .invite-box input {
  1830. width: 300px;
  1831. }
  1832. #org-member-list-block {
  1833. padding-top: 2px;
  1834. }