gogs.css 39 KB

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