gogs.css 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133
  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. }
  713. #dashboard-header > .menu-line > li {
  714. padding: 12px 6px;
  715. }
  716. #dashboard-header > .menu-line > li.right > a {
  717. font-size: 1.2em;
  718. color: #444444;
  719. padding: .4em .8em;
  720. }
  721. #dashboard-header > .menu-line > li.right > a:hover {
  722. background-color: transparent;
  723. color: #d9453d;
  724. }
  725. #dashboard-header > .menu-line > li.right > a .octicon {
  726. margin-right: 6px;
  727. }
  728. #dashboard-header > .menu-line > li.right .current {
  729. border-bottom: 2px solid #D26911;
  730. }
  731. #dashboard-selection-menu a img {
  732. margin: -4px 10px 0 0;
  733. }
  734. #dashboard {
  735. padding: 24px 0;
  736. }
  737. #dashboard-sidebar .panel-header h4 {
  738. margin: 0;
  739. }
  740. #dashboard-sidebar > .panel {
  741. margin-bottom: 24px;
  742. border-bottom-left-radius: .3em;
  743. border-bottom-right-radius: .3em;
  744. }
  745. #dashboard-sidebar-menu {
  746. border-top-left-radius: .3em;
  747. border-top-right-radius: .3em;
  748. width: 100%;
  749. height: 32px;
  750. }
  751. #dashboard-sidebar-menu > li {
  752. border: 1px solid #d6d6d6;
  753. float: left;
  754. margin-right: -1px;
  755. border-bottom: none;
  756. }
  757. #dashboard-sidebar-menu > li > a {
  758. padding-top: .3em;
  759. padding-bottom: .3em;
  760. }
  761. #dashboard-sidebar-menu > li.first {
  762. border-top-left-radius: .3em;
  763. }
  764. #dashboard-sidebar-menu > li.first > a {
  765. border-top-left-radius: .3em;
  766. }
  767. #dashboard-sidebar-menu > li.drop {
  768. border: none;
  769. float: right;
  770. }
  771. #dashboard-sidebar-menu > li.js-tab-nav-show {
  772. background-color: #EEEEEE;
  773. }
  774. #dashboard-sidebar-menu > li.last {
  775. border-top-right-radius: .3em;
  776. }
  777. #dashboard-sidebar-menu > li.last > a {
  778. border-top-right-radius: .3em;
  779. }
  780. #dashboard-my-mirror li,
  781. #dashboard-my-org li,
  782. #dashboard-my-repo li {
  783. border-bottom: 1px solid #EAEAEA;
  784. }
  785. #dashboard-my-mirror li.private,
  786. #dashboard-my-org li.private,
  787. #dashboard-my-repo li.private {
  788. background-color: #fcf8e9;
  789. }
  790. #dashboard-my-mirror li:last-child,
  791. #dashboard-my-org li:last-child,
  792. #dashboard-my-repo li:last-child {
  793. border-bottom: none;
  794. }
  795. #dashboard-my-mirror li a,
  796. #dashboard-my-org li a,
  797. #dashboard-my-repo li a {
  798. padding: 6px 1.2em;
  799. display: block;
  800. }
  801. #dashboard-my-mirror li a .octicon,
  802. #dashboard-my-org li a .octicon,
  803. #dashboard-my-repo li a .octicon {
  804. margin-right: 6px;
  805. color: #888;
  806. }
  807. #dashboard-my-mirror li a:hover .repo-name,
  808. #dashboard-my-org li a:hover .repo-name,
  809. #dashboard-my-repo li a:hover .repo-name {
  810. text-decoration: underline;
  811. }
  812. #dashboard-my-mirror .repo-name,
  813. #dashboard-my-org .repo-name,
  814. #dashboard-my-repo .repo-name {
  815. font-size: 1.1em;
  816. }
  817. #dashboard-my-mirror .repo-star,
  818. #dashboard-my-org .repo-star,
  819. #dashboard-my-repo .repo-star {
  820. color: #888;
  821. }
  822. #dashboard-my-mirror .repo-contrib-header,
  823. #dashboard-my-org .repo-contrib-header,
  824. #dashboard-my-repo .repo-contrib-header {
  825. border-top: 1px solid #d6d6d6;
  826. }
  827. #dashboard-my-repo .panel-header .octicon {
  828. margin-right: 6px;
  829. font-size: 12px;
  830. }
  831. #dashboard-my-repo .repo-count {
  832. margin-left: 4px;
  833. font-size: .8em;
  834. }
  835. #dashboard-my-org,
  836. #dashboard-my-mirror {
  837. display: none;
  838. }
  839. #dashboard-new-repo {
  840. width: 50px;
  841. height: 33px;
  842. padding-top: 6px;
  843. margin-right: 1px;
  844. border-top-left-radius: .3em;
  845. border-top-right-radius: .3em;
  846. }
  847. #dashboard-new-repo .octicon {
  848. font-size: 2em;
  849. }
  850. #dashboard-new-repo-menu {
  851. top: 35px;
  852. width: 180px;
  853. background-color: #FFF;
  854. left: -132px;
  855. }
  856. #dashboard-new-repo-menu .octicon {
  857. margin-right: 6px;
  858. font-size: 1.1em;
  859. }
  860. #dashboard-selection-menu {
  861. width: auto;
  862. max-width: 300px;
  863. }
  864. #dashboard-selection-menu > .drop-down {
  865. top: 56px;
  866. }
  867. #dashboard-selection-menu li {
  868. white-space: nowrap;
  869. }
  870. #dashboard-selection-menu li.checked .octicon {
  871. opacity: 1;
  872. }
  873. #dashboard-selection-menu li a {
  874. text-overflow: ellipsis;
  875. -o-text-overflow: ellipsis;
  876. overflow: hidden;
  877. }
  878. #dashboard-switch-menu {
  879. border-bottom-left-radius: .3em;
  880. border-bottom-right-radius: .3em;
  881. }
  882. #dashboard-switch-menu > li > a img {
  883. margin-top: 0;
  884. }
  885. #dashboard-switch-menu > li > a .octicon {
  886. margin-right: 12px;
  887. }
  888. #dashboard-switch-menu > li:last-child > a {
  889. border-bottom-left-radius: .3em;
  890. border-bottom-right-radius: .3em;
  891. }
  892. #dashboard-switch-menu > li.org > a .octicon {
  893. opacity: 0;
  894. }
  895. #dashboard-switch-menu > li.checked > a {
  896. font-weight: bold;
  897. }
  898. #dashboard-switch-menu > li.checked > a .octicon {
  899. opacity: 1;
  900. }
  901. #dashboard-news {
  902. padding-bottom: 60px;
  903. }
  904. #dashboard-news .news {
  905. margin-right: 2.4em;
  906. padding-bottom: 1em;
  907. margin-bottom: 1em;
  908. border-bottom: 1px solid #E6E6E6;
  909. min-height: 30px;
  910. }
  911. #dashboard-news .news .mega-octicon {
  912. color: #CCC;
  913. }
  914. #dashboard-news .news .avatar {
  915. margin: 0 1.2em;
  916. }
  917. #dashboard-news .news .news-content,
  918. #dashboard-news .news .news-time {
  919. color: #888;
  920. }
  921. #dashboard-news .push-news .news-content li {
  922. margin-left: 1em;
  923. }
  924. #dashboard-news .push-news .news-content li img {
  925. vertical-align: inherit;
  926. margin-bottom: -2px;
  927. }
  928. /*
  929. The register and sign-in page style
  930. */
  931. #sign-wrapper {
  932. padding: 60px 0;
  933. }
  934. .sign-panel {
  935. background-color: #ffffff;
  936. }
  937. .sign-form.form-align .field {
  938. margin: 1.2em 0 2em 0;
  939. }
  940. .sign-form.form-align .ipt-large {
  941. width: 300px;
  942. }
  943. .sign-form.form-align label,
  944. .sign-form.form-align .form-label {
  945. width: 160px;
  946. }
  947. .sign-form.form-align .alert {
  948. margin: 0 30px 24px 30px;
  949. }
  950. .sign-form.form-align:hover {
  951. box-shadow: 0 0 6px #CCC;
  952. }
  953. .sign-form.container {
  954. padding: 0;
  955. width: 600px;
  956. margin-bottom: 80px;
  957. }
  958. #sign-up-form .panel-content {
  959. margin-top: 1.2em;
  960. }
  961. #sign-up-form h2 {
  962. margin: .5em 1em;
  963. }
  964. #sign-social {
  965. position: relative;
  966. margin: 40px 0;
  967. }
  968. #sign-social .or {
  969. position: absolute;
  970. width: 30px;
  971. top: -52px;
  972. left: 50%;
  973. background-color: #FFF;
  974. margin-left: -15px;
  975. }
  976. /* repository main */
  977. #repo-wrapper {
  978. padding-bottom: 100px;
  979. }
  980. #repo-header {
  981. height: 69px;
  982. border-bottom: 1px solid #d6d6d6;
  983. background-color: #ffffff;
  984. }
  985. #repo-header-name {
  986. line-height: 66px;
  987. color: #888888;
  988. font-size: 1.6em;
  989. font-weight: normal;
  990. margin-bottom: 0;
  991. }
  992. #repo-header-name i {
  993. margin-right: 12px;
  994. vertical-align: middle;
  995. }
  996. #repo-header-name .divider {
  997. margin: 0 4px;
  998. }
  999. #repo-header-meta {
  1000. line-height: 66px;
  1001. }
  1002. #repo-header-meta li > a {
  1003. padding: 0;
  1004. }
  1005. #repo-header-meta li > a:hover {
  1006. background-color: transparent;
  1007. }
  1008. #repo-header-meta a > .btn {
  1009. line-height: 16px;
  1010. margin-left: 16px;
  1011. font-size: 13px;
  1012. }
  1013. #repo-header-meta a > .btn i {
  1014. margin-right: 6px;
  1015. }
  1016. #repo-header-meta a > .btn .num {
  1017. margin-left: 6px;
  1018. }
  1019. #repo-header-download-btn > .btn > i {
  1020. margin-right: 0 !important;
  1021. }
  1022. #repo-header-download-btn:hover:after,
  1023. #repo-header-download-btn:hover .btn {
  1024. background-color: #383838;
  1025. color: #FFF;
  1026. }
  1027. #repo-header-download-btn:after {
  1028. background-color: #444444;
  1029. padding: 9px 16px 8px 0;
  1030. margin-left: -8px !important;
  1031. color: #FFF;
  1032. border-top: 1px solid #444444;
  1033. border-bottom: 1px solid #444444;
  1034. border-top-right-radius: .25em;
  1035. border-bottom-right-radius: .25em;
  1036. }
  1037. #repo-header-download-drop {
  1038. line-height: 24px;
  1039. width: 440px;
  1040. top: 50px;
  1041. left: -370px;
  1042. padding: 20px;
  1043. box-sizing: border-box;
  1044. z-index: 1;
  1045. }
  1046. #repo-header-download-drop .btn > i {
  1047. margin-right: 6px;
  1048. }
  1049. #repo-header-download-drop button,
  1050. #repo-header-download-drop input {
  1051. font-size: 11px;
  1052. }
  1053. #repo-content {
  1054. padding: 18px 0;
  1055. }
  1056. #repo-clone-url {
  1057. border-right: none;
  1058. width: 190px;
  1059. border-left: none;
  1060. }
  1061. #repo-clone-help {
  1062. clear: both;
  1063. line-height: 48px;
  1064. }
  1065. #repo-clone-zip {
  1066. line-height: 48px;
  1067. }
  1068. #repo-clone-zip a {
  1069. cursor: pointer;
  1070. color: white;
  1071. overflow: visible;
  1072. padding: .6em 1.2em;
  1073. }
  1074. #repo-clone-zip .btn {
  1075. margin: 0 6px;
  1076. }
  1077. #repo-desc {
  1078. font-size: 1.2em;
  1079. }
  1080. #repo-sidebar-nav .label {
  1081. font-size: 12px;
  1082. line-height: 1.4em;
  1083. margin-top: 2px;
  1084. }
  1085. #repo-sidebar-nav i {
  1086. margin-right: 6px;
  1087. }
  1088. #repo-sidebar-mini {
  1089. margin-top: 6px;
  1090. width: 60px;
  1091. }
  1092. #repo-sidebar-mini li {
  1093. margin-bottom: 4px;
  1094. }
  1095. #repo-sidebar-mini li > a {
  1096. position: relative;
  1097. padding-left: 12px;
  1098. width: 24px;
  1099. text-align: center;
  1100. }
  1101. #repo-sidebar-mini li > a > i.octicon {
  1102. font-size: 21px;
  1103. }
  1104. #repo-sidebar-mini .num {
  1105. position: absolute;
  1106. font-size: 12px;
  1107. top: 0;
  1108. left: 36px;
  1109. padding: 0 2px;
  1110. min-width: 16px;
  1111. height: 16px;
  1112. text-align: center;
  1113. line-height: 16px;
  1114. border-radius: 4px;
  1115. opacity: 0.7;
  1116. -webkit-transform: scale(0.9);
  1117. font-weight: bold;
  1118. }
  1119. #repo-file-nav {
  1120. padding: .6em 0 1em 0;
  1121. }
  1122. #repo-file-nav > li > a {
  1123. padding-left: 0;
  1124. }
  1125. #repo-file-nav > li > a:hover {
  1126. background-color: transparent;
  1127. }
  1128. #repo-file-nav li.repo-jump > a {
  1129. padding-right: 0;
  1130. }
  1131. #repo-file-nav li.repo-jump > a .btn {
  1132. margin-left: -1px;
  1133. }
  1134. #repo-branch-switch > a .btn {
  1135. padding-right: 30px;
  1136. }
  1137. #repo-branch-switch > a:after {
  1138. position: absolute;
  1139. top: 12px;
  1140. right: 30px;
  1141. margin-left: 0;
  1142. color: #444444;
  1143. }
  1144. #repo-branch-switch > .drop-down {
  1145. top: 40px;
  1146. left: 0;
  1147. }
  1148. #repo-branch-filter-ipt {
  1149. width: 100%;
  1150. border-left: none;
  1151. border-right: none;
  1152. box-sizing: border-box;
  1153. }
  1154. #repo-branch-tag .tab-nav {
  1155. border-bottom: 1px solid #EAEAEA;
  1156. }
  1157. #repo-branch-tag .tab-nav a {
  1158. padding: .3em .8em;
  1159. }
  1160. #repo-branch-tag .tab-nav .js-tab-nav-show {
  1161. background-color: #EEE;
  1162. font-weight: bold;
  1163. }
  1164. #repo-branch-tag .switching-list {
  1165. max-height: 300px;
  1166. overflow-y: auto;
  1167. }
  1168. #repo-branch-list li i,
  1169. #repo-tag-list li i {
  1170. margin-right: 12px;
  1171. opacity: 0;
  1172. }
  1173. #repo-branch-list li.checked i,
  1174. #repo-tag-list li.checked i {
  1175. opacity: 1;
  1176. }
  1177. #repo-bread .bread {
  1178. padding-right: 0;
  1179. font-size: 16px;
  1180. font-weight: bold;
  1181. }
  1182. #repo-main {
  1183. padding-right: 40px;
  1184. box-sizing: border-box;
  1185. }
  1186. #repo-files-table {
  1187. margin-bottom: 20px;
  1188. }
  1189. #repo-files-table th,
  1190. #repo-files-table td {
  1191. text-align: left;
  1192. line-height: 32px;
  1193. }
  1194. #repo-files-table td.icon {
  1195. width: 16px;
  1196. padding-right: .1em;
  1197. padding-left: 1em;
  1198. }
  1199. #repo-files-table td.name {
  1200. max-width: 120px;
  1201. }
  1202. #repo-files-table td.name .text-truncate {
  1203. max-width: 100%;
  1204. }
  1205. #repo-files-table td.age {
  1206. max-width: 120px;
  1207. text-align: right;
  1208. }
  1209. #repo-files-table td.msg {
  1210. max-width: 440px;
  1211. }
  1212. #repo-files-table td.msg .text-truncate {
  1213. max-width: 100%;
  1214. }
  1215. #repo-files-table td.age,
  1216. #repo-files-table td.size,
  1217. #repo-files-table td.msg a {
  1218. color: #888;
  1219. }
  1220. #repo-files-table td.msg a:hover {
  1221. color: #428BCA;
  1222. text-decoration: underline;
  1223. }
  1224. #repo-files-table tbody {
  1225. background-color: #FFF;
  1226. }
  1227. #repo-files-table tbody tr:hover {
  1228. background-color: #ffffEE;
  1229. }
  1230. #repo-files-table thead {
  1231. background-color: #F0F0F0;
  1232. }
  1233. #repo-files-table thead .author a {
  1234. margin: 0 .4em;
  1235. }
  1236. #repo-files-table thead .last-commit strong {
  1237. color: #444;
  1238. }
  1239. #repo-files-table thead .last-commit .text-truncate {
  1240. margin-left: .4em;
  1241. }
  1242. #repo-files-table thead .last-commit .text-truncate,
  1243. #repo-files-table thead .age {
  1244. font-weight: normal;
  1245. color: #888;
  1246. }
  1247. #repo-readme {
  1248. margin-bottom: 80px;
  1249. }
  1250. #repo-bare-start {
  1251. margin-bottom: 100px;
  1252. }
  1253. #repo-bare-start .panel-content {
  1254. background-color: #FFF;
  1255. }
  1256. #repo-bare-start pre {
  1257. margin: 0 40px;
  1258. padding: 6px 10px;
  1259. border: 1px solid #ddd;
  1260. background: #f8f8f8;
  1261. }
  1262. .repo-bare #repo-bare-start h2 {
  1263. margin-top: 30px;
  1264. margin-bottom: 24px;
  1265. }
  1266. .repo-bare #repo-header-meta {
  1267. display: none;
  1268. }
  1269. .repo-bare #repo-clone-ssh {
  1270. margin-left: 200px;
  1271. }
  1272. .repo-bare #repo-clone-copy {
  1273. margin-right: 200px;
  1274. }
  1275. .repo-bare #repo-clone-help {
  1276. clear: both;
  1277. width: 100%;
  1278. }
  1279. .repo-bare #repo-clone-url {
  1280. width: 520px;
  1281. }
  1282. /* repository create */
  1283. #team-create-form,
  1284. #repo-migrate-form,
  1285. #repo-create-form {
  1286. width: 800px;
  1287. margin: 60px auto auto auto;
  1288. background: white;
  1289. }
  1290. #team-create-form h2,
  1291. #repo-migrate-form h2,
  1292. #repo-create-form h2 {
  1293. margin: .5em 1em;
  1294. }
  1295. #team-create-form .field,
  1296. #repo-migrate-form .field,
  1297. #repo-create-form .field {
  1298. margin: 1.2em 0 2em 0;
  1299. }
  1300. #team-create-form .ipt,
  1301. #repo-migrate-form .ipt,
  1302. #repo-create-form .ipt {
  1303. width: 540px;
  1304. }
  1305. #team-create-form textarea,
  1306. #repo-migrate-form textarea,
  1307. #repo-create-form textarea {
  1308. height: 120px;
  1309. }
  1310. #team-create-form .avatar,
  1311. #repo-migrate-form .avatar,
  1312. #repo-create-form .avatar {
  1313. vertical-align: middle;
  1314. margin-right: .6em;
  1315. width: 28px;
  1316. height: 28px;
  1317. }
  1318. #team-create-form:hover,
  1319. #repo-migrate-form:hover,
  1320. #repo-create-form:hover {
  1321. box-shadow: 0px 0px 6px #CCC;
  1322. }
  1323. #repo-create-cancel {
  1324. margin-left: 4em;
  1325. }
  1326. #repo-create-owner-list {
  1327. top: 30px;
  1328. left: 0;
  1329. width: auto;
  1330. max-width: 300px;
  1331. }
  1332. #repo-create-owner-list .octicon {
  1333. margin-right: 12px;
  1334. opacity: 0;
  1335. }
  1336. #repo-create-owner-list .avatar {
  1337. width: 20px;
  1338. height: 20px;
  1339. }
  1340. #repo-create-owner-list li {
  1341. white-space: nowrap;
  1342. }
  1343. #repo-create-owner-list li.checked .octicon {
  1344. opacity: 1;
  1345. }
  1346. #repo-create-owner-list li a {
  1347. text-overflow: ellipsis;
  1348. -o-text-overflow: ellipsis;
  1349. overflow: hidden;
  1350. }
  1351. .file-name {
  1352. margin-left: 1em;
  1353. }
  1354. .file-size {
  1355. font-size: 13px;
  1356. color: #888;
  1357. margin-left: 1em;
  1358. }
  1359. .code-view {
  1360. overflow: auto;
  1361. overflow-x: auto;
  1362. overflow-y: hidden;
  1363. background: white;
  1364. }
  1365. .code-view .view-raw {
  1366. min-height: 40px;
  1367. text-align: center;
  1368. padding-top: 20px;
  1369. }
  1370. .code-view .view-raw .btn {
  1371. font-size: 1.05em;
  1372. line-height: 16px;
  1373. padding: 6px 8px;
  1374. }
  1375. .code-view table {
  1376. width: 100%;
  1377. }
  1378. .code-view table td {
  1379. padding: 0;
  1380. }
  1381. .code-view .lines-num {
  1382. vertical-align: top;
  1383. text-align: right;
  1384. color: #999;
  1385. background: #f5f5f5;
  1386. width: 1%;
  1387. }
  1388. .code-view .lines-num span {
  1389. font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
  1390. line-height: 18px;
  1391. padding: 0 8px 0 10px;
  1392. cursor: pointer;
  1393. display: block;
  1394. margin-top: 2px;
  1395. font-size: 12px;
  1396. }
  1397. .code-view .lines-code > pre {
  1398. border: none;
  1399. border-left: 1px solid #ddd;
  1400. }
  1401. .code-view .lines-code > pre > ol.linenums > li {
  1402. padding: 0 10px;
  1403. }
  1404. .code-view .lines-code > pre > ol.linenums > li.active {
  1405. background: #ffffdd;
  1406. }
  1407. .repo-setting-zone {
  1408. padding: 30px;
  1409. }
  1410. #team-repositories-list,
  1411. #team-members-list,
  1412. #repo-collab-list {
  1413. list-style: none;
  1414. padding: 10px 0 5px 0;
  1415. }
  1416. #team-repositories-list li.collab,
  1417. #team-members-list li.collab,
  1418. #repo-collab-list li.collab {
  1419. clear: both;
  1420. height: 50px;
  1421. padding: 0 15px 0 15px;
  1422. }
  1423. #team-repositories-list a.member,
  1424. #team-members-list a.member,
  1425. #repo-collab-list a.member {
  1426. color: #444;
  1427. height: 50px;
  1428. line-height: 50px;
  1429. }
  1430. #team-repositories-list a.member:hover,
  1431. #team-members-list a.member:hover,
  1432. #repo-collab-list a.member:hover {
  1433. color: #4183C4;
  1434. }
  1435. #team-repositories-list .avatar,
  1436. #team-members-list .avatar,
  1437. #repo-collab-list .avatar {
  1438. margin-right: 1em;
  1439. width: 40px;
  1440. }
  1441. #team-repositories-list .remove-collab,
  1442. #team-members-list .remove-collab,
  1443. #repo-collab-list .remove-collab {
  1444. color: #DD4B39;
  1445. }
  1446. .repo-user-list-block {
  1447. position: relative;
  1448. top: 5px;
  1449. }
  1450. .setting-list {
  1451. width: 100%;
  1452. list-style: none;
  1453. }
  1454. #commits-list {
  1455. padding-top: 20px;
  1456. }
  1457. .commit-list th {
  1458. background-color: #FFF;
  1459. line-height: 28px !important;
  1460. }
  1461. .commit-list .date {
  1462. width: 120px;
  1463. }
  1464. .commit-list .author {
  1465. padding-left: 20px;
  1466. min-width: 180px;
  1467. }
  1468. .commit-list .author img {
  1469. margin-top: -4px;
  1470. }
  1471. .commit-list .sha a {
  1472. font-family: Consolas, Menlo, Monaco, "Lucida Console", monospace;
  1473. font-size: 14px;
  1474. }
  1475. .no-desc {
  1476. color: #888;
  1477. font-style: italic;
  1478. }
  1479. #admin-wrapper,
  1480. #setting-wrapper {
  1481. padding-bottom: 100px;
  1482. }
  1483. #setting-menu {
  1484. box-sizing: border-box;
  1485. }
  1486. #setting-menu li > a {
  1487. border-left: 2px solid #FFF;
  1488. background-color: #FFF;
  1489. }
  1490. #setting-menu li:hover {
  1491. border-color: #EAEAEA;
  1492. }
  1493. #setting-menu li:hover a {
  1494. border-left: 2px solid #EFEFEF;
  1495. background-color: #EFEFEF !important;
  1496. color: #000 !important;
  1497. }
  1498. #setting-menu li.current a {
  1499. color: #000 !important;
  1500. font-weight: bold;
  1501. border-left: 2px solid #d26911;
  1502. }
  1503. .setting-content {
  1504. margin-left: 32px;
  1505. }
  1506. #auth-setting-form,
  1507. #org-setting-form,
  1508. #repo-setting-form,
  1509. #user-profile-form,
  1510. .repo-setting-form {
  1511. background-color: #FFF;
  1512. padding: 30px 0;
  1513. }
  1514. #auth-setting-form textarea,
  1515. #org-setting-form textarea,
  1516. #repo-setting-form textarea,
  1517. #user-profile-form textarea,
  1518. .repo-setting-form textarea {
  1519. margin-left: 4px;
  1520. height: 100px;
  1521. }
  1522. #auth-setting-form label,
  1523. #org-setting-form label,
  1524. #repo-setting-form label,
  1525. #user-profile-form label,
  1526. .repo-setting-form label,
  1527. #auth-setting-form .form-label,
  1528. #org-setting-form .form-label,
  1529. #repo-setting-form .form-label,
  1530. #user-profile-form .form-label,
  1531. .repo-setting-form .form-label {
  1532. width: 240px;
  1533. }
  1534. #auth-setting-form .ipt,
  1535. #org-setting-form .ipt,
  1536. #repo-setting-form .ipt,
  1537. #user-profile-form .ipt,
  1538. .repo-setting-form .ipt {
  1539. width: 360px;
  1540. }
  1541. #auth-setting-form .field,
  1542. #org-setting-form .field,
  1543. #repo-setting-form .field,
  1544. #user-profile-form .field,
  1545. .repo-setting-form .field {
  1546. margin-bottom: 24px;
  1547. }
  1548. #hook-type {
  1549. padding: 10px 0 0 0;
  1550. background-color: #fff;
  1551. }
  1552. #hook-type .field {
  1553. margin-bottom: 24px;
  1554. }
  1555. #hook-type label {
  1556. width: 240px;
  1557. }
  1558. #repo-hooks-panel,
  1559. #repo-hooks-history-panel,
  1560. #user-social-panel,
  1561. #user-ssh-panel {
  1562. margin-bottom: 20px;
  1563. }
  1564. #repo-hooks-panel .setting-list,
  1565. #repo-hooks-history-panel .setting-list,
  1566. #user-social-panel .setting-list,
  1567. #user-ssh-panel .setting-list {
  1568. background-color: #FFF;
  1569. }
  1570. #repo-hooks-panel .setting-list li,
  1571. #repo-hooks-history-panel .setting-list li,
  1572. #user-social-panel .setting-list li,
  1573. #user-ssh-panel .setting-list li {
  1574. padding: 8px 20px;
  1575. border-bottom: 1px solid #eaeaea;
  1576. }
  1577. #repo-hooks-panel .setting-list li.ssh:hover,
  1578. #repo-hooks-history-panel .setting-list li.ssh:hover,
  1579. #user-social-panel .setting-list li.ssh:hover,
  1580. #user-ssh-panel .setting-list li.ssh:hover {
  1581. background-color: #ffffEE;
  1582. }
  1583. #repo-hooks-panel .setting-list li i,
  1584. #repo-hooks-history-panel .setting-list li i,
  1585. #user-social-panel .setting-list li i,
  1586. #user-ssh-panel .setting-list li i {
  1587. padding-right: 5px;
  1588. }
  1589. #repo-hooks-panel .active-icon,
  1590. #repo-hooks-history-panel .active-icon,
  1591. #user-social-panel .active-icon,
  1592. #user-ssh-panel .active-icon {
  1593. width: 10px;
  1594. height: 10px;
  1595. border-radius: 6px;
  1596. padding: 0;
  1597. margin-right: 20px;
  1598. margin-top: 10px;
  1599. }
  1600. #repo-hooks-panel .ssh-content,
  1601. #repo-hooks-history-panel .ssh-content,
  1602. #user-social-panel .ssh-content,
  1603. #user-ssh-panel .ssh-content {
  1604. margin-left: 24px;
  1605. }
  1606. #repo-hooks-panel .ssh-content .octicon,
  1607. #repo-hooks-history-panel .ssh-content .octicon,
  1608. #user-social-panel .ssh-content .octicon,
  1609. #user-ssh-panel .ssh-content .octicon {
  1610. margin-right: 4px;
  1611. }
  1612. #repo-hooks-panel .ssh-content .print,
  1613. #repo-hooks-history-panel .ssh-content .print,
  1614. #user-social-panel .ssh-content .print,
  1615. #user-ssh-panel .ssh-content .print,
  1616. #repo-hooks-panel .ssh-content .activity,
  1617. #repo-hooks-history-panel .ssh-content .activity,
  1618. #user-social-panel .ssh-content .activity,
  1619. #user-ssh-panel .ssh-content .activity {
  1620. color: #888;
  1621. }
  1622. #repo-hooks-panel .ssh-delete-btn,
  1623. #repo-hooks-history-panel .ssh-delete-btn,
  1624. #user-social-panel .ssh-delete-btn,
  1625. #user-ssh-panel .ssh-delete-btn {
  1626. margin-top: 6px;
  1627. }
  1628. #user-ssh-add-form .panel-body {
  1629. background-color: #FFF;
  1630. padding: 30px 0;
  1631. }
  1632. #user-ssh-add-form .ipt {
  1633. width: 500px;
  1634. }
  1635. #user-ssh-add-form textarea {
  1636. height: 120px;
  1637. margin-left: 3px;
  1638. }
  1639. #user-ssh-add-form .field {
  1640. margin-bottom: 24px;
  1641. }
  1642. .repo-issue-wrapper {
  1643. padding: 18px 0;
  1644. position: relative;
  1645. }
  1646. .pr-main {
  1647. margin-right: 100px;
  1648. }
  1649. .pr-sidebar {
  1650. border-left: 1px solid #DDD;
  1651. box-sizing: border-box;
  1652. position: absolute;
  1653. right: 0;
  1654. top: 12px;
  1655. }
  1656. .pr-title {
  1657. padding: 4px 0;
  1658. }
  1659. .pr-title .pr-num {
  1660. font-weight: normal;
  1661. color: #888;
  1662. }
  1663. .pr-meta {
  1664. color: #888;
  1665. padding: 4px 0 8px 0;
  1666. }
  1667. .pr-meta .pr-author {
  1668. margin: 0 8px;
  1669. color: #444;
  1670. }
  1671. .pr-meta .pr-author:hover {
  1672. text-decoration: underline;
  1673. }
  1674. .pr-meta .pr-branch {
  1675. margin: 0 4px;
  1676. font-size: 12px;
  1677. padding: 4px 6px;
  1678. }
  1679. .pr-nav {
  1680. border-bottom: 1px solid #DDD;
  1681. margin-top: 16px;
  1682. margin-bottom: 16px;
  1683. }
  1684. .pr-nav .octicon {
  1685. margin-right: 4px;
  1686. }
  1687. .pr-nav li > a {
  1688. padding: 3px 9px !important;
  1689. border: 1px solid transparent;
  1690. border-bottom: none;
  1691. border-top-left-radius: .2em;
  1692. border-top-right-radius: .2em;
  1693. }
  1694. .pr-nav li > a .label {
  1695. padding: 1px 5px;
  1696. font-size: 12px;
  1697. margin-left: 4px;
  1698. }
  1699. .pr-nav li.js-tab-nav-show > a {
  1700. background-color: #FFF;
  1701. border-color: #E6E6E6;
  1702. }
  1703. .diff-bar .diff-add {
  1704. color: #65ad4e;
  1705. }
  1706. .diff-bar .diff-delete {
  1707. color: #d9453d;
  1708. }
  1709. .diff-bar .diff-status {
  1710. width: 50px;
  1711. background-color: #d9453d;
  1712. height: 10px;
  1713. margin-top: 7px;
  1714. margin-left: 4px;
  1715. margin-right: 4px;
  1716. border-radius: .2em;
  1717. }
  1718. .diff-bar .diff-status-inner {
  1719. width: 45%;
  1720. background-color: #65ad4e;
  1721. height: 10px;
  1722. border-top-left-radius: .2em;
  1723. border-bottom-left-radius: .2em;
  1724. }
  1725. #pr-commit,
  1726. #pr-file-diff,
  1727. #issue-add-comment-preview {
  1728. display: none;
  1729. }
  1730. #pr-conversation-list {
  1731. padding-right: 30px;
  1732. box-sizing: border-box;
  1733. }
  1734. .issue-comment,
  1735. .issue-commit,
  1736. .issue-line,
  1737. .issue-merge,
  1738. .issue-add-comment {
  1739. margin-bottom: 24px;
  1740. }
  1741. .issue-comment .author-avatar img {
  1742. margin-right: 12px;
  1743. }
  1744. .issue-comment .panel {
  1745. margin-left: 60px;
  1746. margin-top: -40px;
  1747. }
  1748. .issue-comment .panel-header {
  1749. font-size: 13px;
  1750. }
  1751. .issue-comment .author-name {
  1752. font-weight: bold;
  1753. }
  1754. .issue-comment .date {
  1755. margin-left: 4px;
  1756. font-style: italic;
  1757. color: #888;
  1758. }
  1759. .issue-comment .action > * {
  1760. margin-left: 4px;
  1761. font-size: 12px;
  1762. }
  1763. .issue-comment .action i {
  1764. font-size: 13px;
  1765. }
  1766. .issue-commit {
  1767. line-height: 32px;
  1768. }
  1769. .issue-commit i,
  1770. .issue-commit .author-avatar img {
  1771. margin-right: 16px;
  1772. }
  1773. .issue-commit .sha {
  1774. margin-left: 24px;
  1775. }
  1776. .issue-commit .message {
  1777. display: block;
  1778. margin-left: 88px;
  1779. padding-top: 4px;
  1780. line-height: 24px;
  1781. }
  1782. .issue-merge .ico {
  1783. width: 40px;
  1784. height: 40px;
  1785. text-align: center;
  1786. color: #FFF;
  1787. margin-right: 12px;
  1788. }
  1789. .issue-merge .ico i {
  1790. margin-top: 8px;
  1791. font-size: 24px;
  1792. }
  1793. .issue-merge .panel {
  1794. margin-left: 60px;
  1795. margin-top: -40px;
  1796. }
  1797. .issue-merge .panel-header {
  1798. font-size: 13px;
  1799. }
  1800. .issue-merge-ok .ico {
  1801. background-color: #65AD4E;
  1802. }
  1803. .issue-merge-ok .panel,
  1804. .issue-merge-ok .panel-content,
  1805. .issue-merge-ok .panel-header {
  1806. border-color: #65AD4E;
  1807. background-color: #FFF;
  1808. }
  1809. .issue-merge-ok .panel-header {
  1810. color: #508a3e;
  1811. }
  1812. .issue-line {
  1813. height: 4px;
  1814. background-color: #E6E6E6;
  1815. }
  1816. .issue-add-comment .panel {
  1817. margin-left: 60px;
  1818. margin-top: -40px;
  1819. }
  1820. .issue-add-comment .panel-header {
  1821. font-size: 13px;
  1822. padding-bottom: 0;
  1823. }
  1824. .issue-add-comment .add-nav > li > a {
  1825. padding: 4px 12px;
  1826. color: #444;
  1827. border: 1px solid #CCC;
  1828. margin-bottom: -1px;
  1829. font-size: 14px;
  1830. border-top-left-radius: .3em;
  1831. border-top-right-radius: .3em;
  1832. }
  1833. .issue-add-comment .add-nav > li > a:hover {
  1834. background-color: #FFF;
  1835. }
  1836. .issue-add-comment .add-nav > li.js-tab-nav-show > a {
  1837. background-color: #FFF;
  1838. }
  1839. textarea#issue-add-content {
  1840. width: 100%;
  1841. box-sizing: border-box;
  1842. height: 120px;
  1843. resize: vertical;
  1844. }
  1845. .org-header-alert .alert {
  1846. margin-top: 10px;
  1847. }
  1848. .org-header {
  1849. padding: 16px 0;
  1850. background-color: #FFF;
  1851. border-bottom: 1px solid #DDD;
  1852. }
  1853. .org-header img {
  1854. padding-right: 10px;
  1855. }
  1856. #org-home-header {
  1857. min-height: 100px;
  1858. }
  1859. #org-header {
  1860. height: 48px;
  1861. }
  1862. #org-header .org-name {
  1863. padding-left: 10px;
  1864. font-size: 1.4em;
  1865. height: 50px;
  1866. line-height: 50px;
  1867. margin-bottom: 0;
  1868. }
  1869. #org-header > div > .menu-line > li.right > a {
  1870. font-size: 1.2em;
  1871. color: #444444;
  1872. }
  1873. #org-header > div > .menu-line > li.right > a:hover {
  1874. background-color: transparent;
  1875. color: #d9453d;
  1876. }
  1877. #org-header > div > .menu-line > li.right > a .octicon {
  1878. margin-right: 4px;
  1879. }
  1880. #org-header > div > .menu-line > li.right > a .label {
  1881. margin-left: 4px;
  1882. font-size: .6em;
  1883. }
  1884. #org-header > div > .menu-line > li.right .current {
  1885. border-bottom: 2px solid #D26911;
  1886. }
  1887. #org-home-header-info {
  1888. padding-top: 10px;
  1889. }
  1890. #org-home-header-info h2 {
  1891. font-size: 30px;
  1892. }
  1893. #org-home-header-info ul {
  1894. list-style: none;
  1895. }
  1896. #org-home-header-info ul li {
  1897. float: left;
  1898. padding-right: 5px;
  1899. }
  1900. #org-home-repo-list {
  1901. padding: 10px 0;
  1902. }
  1903. #org-repo-list {
  1904. padding: 10px 0;
  1905. }
  1906. #org-repo-list .org-repo-item {
  1907. border-top: 1px solid #eee;
  1908. padding: 30px 20px;
  1909. }
  1910. #org-repo-list .org-repo-item .org-repo-status {
  1911. list-style: none;
  1912. color: #888;
  1913. }
  1914. #org-repo-list .org-repo-item .org-repo-status li {
  1915. float: left;
  1916. margin-right: 6px;
  1917. }
  1918. #org-repo-list .org-repo-item h2 {
  1919. margin-bottom: 5px;
  1920. }
  1921. #org-repo-list .org-repo-item .org-repo-description {
  1922. margin: 0;
  1923. font-size: 14px;
  1924. color: #666;
  1925. }
  1926. #org-repo-list .org-repo-item .org-repo-updated {
  1927. font-size: 12px;
  1928. display: block;
  1929. margin: 5px 0 0;
  1930. color: #808080;
  1931. }
  1932. .org-sidebar {
  1933. margin: -80px 0 0 20px;
  1934. }
  1935. .org-sidebar .panel-footer {
  1936. padding: .8em 1.2em;
  1937. }
  1938. .org-sidebar .member-avatar-group {
  1939. padding: 15px;
  1940. }
  1941. .org-sidebar .member-avatar-group img {
  1942. width: 59px;
  1943. height: 59px;
  1944. border-radius: 3px;
  1945. }
  1946. #org-home-team-list {
  1947. padding: 0 15px;
  1948. }
  1949. #org-home-team-list ul {
  1950. list-style: none;
  1951. padding-top: 10px;
  1952. }
  1953. #org-home-team-list ul li {
  1954. padding: 10px 0;
  1955. border-bottom: 1px solid #eee;
  1956. }
  1957. #org-home-team-list ul li:last-child {
  1958. border-bottom: 0;
  1959. }
  1960. .team-name {
  1961. display: block;
  1962. font-size: 14px;
  1963. overflow: hidden;
  1964. text-overflow: ellipsis;
  1965. white-space: nowrap;
  1966. }
  1967. .team-meta {
  1968. margin-top: 0;
  1969. margin-bottom: 0;
  1970. color: #777;
  1971. }
  1972. .org-toolbar {
  1973. padding: 10px 0;
  1974. border-bottom: 1px solid #eee;
  1975. }
  1976. #org-member-list .org-member-item {
  1977. height: 50px;
  1978. line-height: 50px;
  1979. border-bottom: 1px solid #eee;
  1980. padding: 15px 20px;
  1981. }
  1982. #org-member-list .org-member-item .member-name {
  1983. padding-left: 15px;
  1984. }
  1985. #org-member-list .org-member-item ul {
  1986. list-style: none;
  1987. }
  1988. #org-member-list .org-member-item ul li {
  1989. text-align: center;
  1990. display: inline-block;
  1991. }
  1992. .invite-box {
  1993. padding: 50px 0;
  1994. min-height: 130px;
  1995. margin: 0 auto;
  1996. width: 50%;
  1997. }
  1998. .invite-box input {
  1999. width: 300px;
  2000. }
  2001. #org-member-list-block {
  2002. padding-top: 2px;
  2003. }
  2004. .org-team-list .org-team-list-item {
  2005. float: left;
  2006. padding: 15px;
  2007. width: 555px;
  2008. }
  2009. .org-team-list .org-team-list-item .member-avatar-group {
  2010. padding: 5px 15px;
  2011. }
  2012. .org-team-list .org-team-list-item .member-avatar-group img {
  2013. width: 38px;
  2014. height: 38px;
  2015. border-radius: 3px;
  2016. }
  2017. #team-create-form .note {
  2018. margin-left: 153px;
  2019. }
  2020. #org-team-card .desc {
  2021. font-size: 14px;
  2022. padding: 10px 20px;
  2023. }
  2024. #org-team-card .team-stats {
  2025. padding: 0 20px 10px 20px;
  2026. text-transform: uppercase;
  2027. border-bottom: 1px solid #dddddd;
  2028. }
  2029. #org-team-card .panel-footer {
  2030. padding: 10px 20px;
  2031. }
  2032. #team-repositories-list .panel-body .search,
  2033. #team-members-list .panel-body .search {
  2034. padding: 4px 0 10px 10px;
  2035. border-bottom: 1px solid #dddddd;
  2036. }
  2037. #team-repositories-list li.collab,
  2038. #team-members-list li.collab {
  2039. padding-top: 10px !important;
  2040. border-bottom: 1px solid #dddddd;
  2041. }
  2042. #team-repositories-list li:last-child,
  2043. #team-members-list li:last-child {
  2044. border-bottom: 0 !important;
  2045. }
  2046. #team-repositories-list li a .octicon {
  2047. color: #888;
  2048. }
  2049. #team-repositories-list li .member {
  2050. color: #428bca;
  2051. font-size: 14px;
  2052. height: 40px;
  2053. line-height: 40px;
  2054. }
  2055. .admin-panel {
  2056. padding: 10px 20px;
  2057. }
  2058. .admin-desc {
  2059. padding: 10px 20px;
  2060. }
  2061. .admin-table {
  2062. padding: 15px 0 5px 0;
  2063. }
  2064. .dl-horizontal dt {
  2065. float: left;
  2066. width: 160px;
  2067. clear: left;
  2068. overflow: hidden;
  2069. text-overflow: ellipsis;
  2070. white-space: nowrap;
  2071. }
  2072. .admin-dl-horizontal {
  2073. padding: 20px;
  2074. }
  2075. .admin-dl-horizontal > dt {
  2076. width: 250px;
  2077. }
  2078. .admin-dl-horizontal > dd {
  2079. margin-left: 240px;
  2080. }
  2081. .profile-avatar {
  2082. width: 200px;
  2083. height: 200px;
  2084. border-radius: 6px;
  2085. }
  2086. #profile-name {
  2087. padding: 10px 0;
  2088. }
  2089. #profile-fullname {
  2090. font-size: 1.6em;
  2091. }
  2092. #profile-username {
  2093. font-size: 1.6em;
  2094. font-weight: bold;
  2095. }
  2096. .profile-info {
  2097. padding: 0 50px;
  2098. font-size: 14px;
  2099. }
  2100. .profile-info ul {
  2101. padding-bottom: 10px;
  2102. }
  2103. .profile-info ul .list-group-item {
  2104. background-color: transparent;
  2105. padding-top: 5px;
  2106. color: #666;
  2107. }
  2108. .profile-info ul .profile-rel {
  2109. width: 31%;
  2110. text-align: center;
  2111. display: inline-block;
  2112. }
  2113. .profile-info ul .profile-rel strong {
  2114. display: block;
  2115. font-size: 28px;
  2116. font-weight: bold;
  2117. line-height: 1;
  2118. }
  2119. .profile-info ul .profile-rel p {
  2120. font-size: 12px;
  2121. }
  2122. #profile-header li a {
  2123. font-size: 1.2em;
  2124. color: #444444;
  2125. padding: .4em .8em;
  2126. }
  2127. #profile-header li a:hover {
  2128. background-color: transparent;
  2129. color: #d9453d;
  2130. }
  2131. #profile-header li .current {
  2132. border-bottom: 2px solid #D26911;
  2133. }