gogs.css 39 KB

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