You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

gogs.css 38KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076
  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. #admin-wrapper,
  1476. #setting-wrapper {
  1477. padding-bottom: 100px;
  1478. }
  1479. #setting-menu {
  1480. box-sizing: border-box;
  1481. }
  1482. #setting-menu li > a {
  1483. border-left: 2px solid #FFF;
  1484. background-color: #FFF;
  1485. }
  1486. #setting-menu li:hover {
  1487. border-color: #EAEAEA;
  1488. }
  1489. #setting-menu li:hover a {
  1490. border-left: 2px solid #EFEFEF;
  1491. background-color: #EFEFEF !important;
  1492. color: #000 !important;
  1493. }
  1494. #setting-menu li.current a {
  1495. color: #000 !important;
  1496. font-weight: bold;
  1497. border-left: 2px solid #d26911;
  1498. }
  1499. .setting-content {
  1500. margin-left: 32px;
  1501. }
  1502. #auth-setting-form,
  1503. #org-setting-form,
  1504. #repo-setting-form,
  1505. #user-profile-form,
  1506. .repo-setting-form {
  1507. background-color: #FFF;
  1508. padding: 30px 0;
  1509. }
  1510. #auth-setting-form textarea,
  1511. #org-setting-form textarea,
  1512. #repo-setting-form textarea,
  1513. #user-profile-form textarea,
  1514. .repo-setting-form textarea {
  1515. margin-left: 4px;
  1516. height: 100px;
  1517. }
  1518. #auth-setting-form label,
  1519. #org-setting-form label,
  1520. #repo-setting-form label,
  1521. #user-profile-form label,
  1522. .repo-setting-form label,
  1523. #auth-setting-form .form-label,
  1524. #org-setting-form .form-label,
  1525. #repo-setting-form .form-label,
  1526. #user-profile-form .form-label,
  1527. .repo-setting-form .form-label {
  1528. width: 240px;
  1529. }
  1530. #auth-setting-form .ipt,
  1531. #org-setting-form .ipt,
  1532. #repo-setting-form .ipt,
  1533. #user-profile-form .ipt,
  1534. .repo-setting-form .ipt {
  1535. width: 360px;
  1536. }
  1537. #auth-setting-form .field,
  1538. #org-setting-form .field,
  1539. #repo-setting-form .field,
  1540. #user-profile-form .field,
  1541. .repo-setting-form .field {
  1542. margin-bottom: 24px;
  1543. }
  1544. #hook-type {
  1545. padding: 10px 0 0 0;
  1546. background-color: #fff;
  1547. }
  1548. #hook-type .field {
  1549. margin-bottom: 24px;
  1550. }
  1551. #hook-type label {
  1552. width: 240px;
  1553. }
  1554. #repo-hooks-panel,
  1555. #repo-hooks-history-panel,
  1556. #user-social-panel,
  1557. #user-ssh-panel {
  1558. margin-bottom: 20px;
  1559. }
  1560. #repo-hooks-panel .setting-list,
  1561. #repo-hooks-history-panel .setting-list,
  1562. #user-social-panel .setting-list,
  1563. #user-ssh-panel .setting-list {
  1564. background-color: #FFF;
  1565. }
  1566. #repo-hooks-panel .setting-list li,
  1567. #repo-hooks-history-panel .setting-list li,
  1568. #user-social-panel .setting-list li,
  1569. #user-ssh-panel .setting-list li {
  1570. padding: 8px 20px;
  1571. border-bottom: 1px solid #eaeaea;
  1572. }
  1573. #repo-hooks-panel .setting-list li.ssh:hover,
  1574. #repo-hooks-history-panel .setting-list li.ssh:hover,
  1575. #user-social-panel .setting-list li.ssh:hover,
  1576. #user-ssh-panel .setting-list li.ssh:hover {
  1577. background-color: #ffffEE;
  1578. }
  1579. #repo-hooks-panel .setting-list li i,
  1580. #repo-hooks-history-panel .setting-list li i,
  1581. #user-social-panel .setting-list li i,
  1582. #user-ssh-panel .setting-list li i {
  1583. padding-right: 5px;
  1584. }
  1585. #repo-hooks-panel .active-icon,
  1586. #repo-hooks-history-panel .active-icon,
  1587. #user-social-panel .active-icon,
  1588. #user-ssh-panel .active-icon {
  1589. width: 10px;
  1590. height: 10px;
  1591. border-radius: 6px;
  1592. padding: 0;
  1593. margin-right: 20px;
  1594. margin-top: 10px;
  1595. }
  1596. #repo-hooks-panel .ssh-content,
  1597. #repo-hooks-history-panel .ssh-content,
  1598. #user-social-panel .ssh-content,
  1599. #user-ssh-panel .ssh-content {
  1600. margin-left: 24px;
  1601. }
  1602. #repo-hooks-panel .ssh-content .octicon,
  1603. #repo-hooks-history-panel .ssh-content .octicon,
  1604. #user-social-panel .ssh-content .octicon,
  1605. #user-ssh-panel .ssh-content .octicon {
  1606. margin-right: 4px;
  1607. }
  1608. #repo-hooks-panel .ssh-content .print,
  1609. #repo-hooks-history-panel .ssh-content .print,
  1610. #user-social-panel .ssh-content .print,
  1611. #user-ssh-panel .ssh-content .print,
  1612. #repo-hooks-panel .ssh-content .activity,
  1613. #repo-hooks-history-panel .ssh-content .activity,
  1614. #user-social-panel .ssh-content .activity,
  1615. #user-ssh-panel .ssh-content .activity {
  1616. color: #888;
  1617. }
  1618. #repo-hooks-panel .ssh-delete-btn,
  1619. #repo-hooks-history-panel .ssh-delete-btn,
  1620. #user-social-panel .ssh-delete-btn,
  1621. #user-ssh-panel .ssh-delete-btn {
  1622. margin-top: 6px;
  1623. }
  1624. #user-ssh-add-form .panel-body {
  1625. background-color: #FFF;
  1626. padding: 30px 0;
  1627. }
  1628. #user-ssh-add-form .ipt {
  1629. width: 500px;
  1630. }
  1631. #user-ssh-add-form textarea {
  1632. height: 120px;
  1633. margin-left: 3px;
  1634. }
  1635. #user-ssh-add-form .field {
  1636. margin-bottom: 24px;
  1637. }
  1638. .repo-issue-wrapper {
  1639. padding: 18px 0;
  1640. position: relative;
  1641. }
  1642. .pr-main {
  1643. margin-right: 100px;
  1644. }
  1645. .pr-sidebar {
  1646. border-left: 1px solid #DDD;
  1647. box-sizing: border-box;
  1648. position: absolute;
  1649. right: 0;
  1650. top: 12px;
  1651. }
  1652. .pr-title {
  1653. padding: 4px 0;
  1654. }
  1655. .pr-title .pr-num {
  1656. font-weight: normal;
  1657. color: #888;
  1658. }
  1659. .pr-meta {
  1660. color: #888;
  1661. padding: 4px 0 8px 0;
  1662. }
  1663. .pr-meta .pr-author {
  1664. margin: 0 8px;
  1665. color: #444;
  1666. }
  1667. .pr-meta .pr-author:hover {
  1668. text-decoration: underline;
  1669. }
  1670. .pr-meta .pr-branch {
  1671. margin: 0 4px;
  1672. font-size: 12px;
  1673. padding: 4px 6px;
  1674. }
  1675. .pr-nav {
  1676. border-bottom: 1px solid #DDD;
  1677. margin-top: 16px;
  1678. margin-bottom: 16px;
  1679. }
  1680. .pr-nav .octicon {
  1681. margin-right: 4px;
  1682. }
  1683. .pr-nav li > a {
  1684. padding: 3px 9px !important;
  1685. border: 1px solid transparent;
  1686. border-bottom: none;
  1687. border-top-left-radius: .2em;
  1688. border-top-right-radius: .2em;
  1689. }
  1690. .pr-nav li > a .label {
  1691. padding: 1px 5px;
  1692. font-size: 12px;
  1693. margin-left: 4px;
  1694. }
  1695. .pr-nav li.js-tab-nav-show > a {
  1696. background-color: #FFF;
  1697. border-color: #E6E6E6;
  1698. }
  1699. .diff-bar .diff-add {
  1700. color: #65ad4e;
  1701. }
  1702. .diff-bar .diff-delete {
  1703. color: #d9453d;
  1704. }
  1705. .diff-bar .diff-status {
  1706. width: 50px;
  1707. background-color: #d9453d;
  1708. height: 10px;
  1709. margin-top: 7px;
  1710. margin-left: 4px;
  1711. margin-right: 4px;
  1712. border-radius: .2em;
  1713. }
  1714. .diff-bar .diff-status-inner {
  1715. width: 45%;
  1716. background-color: #65ad4e;
  1717. height: 10px;
  1718. border-top-left-radius: .2em;
  1719. border-bottom-left-radius: .2em;
  1720. }
  1721. #pr-commit,
  1722. #pr-file-diff,
  1723. #issue-add-comment-preview {
  1724. display: none;
  1725. }
  1726. #pr-conversation-list {
  1727. padding-right: 30px;
  1728. box-sizing: border-box;
  1729. }
  1730. .issue-comment,
  1731. .issue-commit,
  1732. .issue-line,
  1733. .issue-merge,
  1734. .issue-add-comment {
  1735. margin-bottom: 24px;
  1736. }
  1737. .issue-comment .author-avatar img {
  1738. margin-right: 12px;
  1739. }
  1740. .issue-comment .panel {
  1741. margin-left: 60px;
  1742. margin-top: -40px;
  1743. }
  1744. .issue-comment .panel-header {
  1745. font-size: 13px;
  1746. }
  1747. .issue-comment .author-name {
  1748. font-weight: bold;
  1749. }
  1750. .issue-comment .date {
  1751. margin-left: 4px;
  1752. font-style: italic;
  1753. color: #888;
  1754. }
  1755. .issue-comment .action > * {
  1756. margin-left: 4px;
  1757. font-size: 12px;
  1758. }
  1759. .issue-comment .action i {
  1760. font-size: 13px;
  1761. }
  1762. .issue-commit {
  1763. line-height: 32px;
  1764. }
  1765. .issue-commit i,
  1766. .issue-commit .author-avatar img {
  1767. margin-right: 16px;
  1768. }
  1769. .issue-commit .sha {
  1770. margin-left: 24px;
  1771. }
  1772. .issue-commit .message {
  1773. display: block;
  1774. margin-left: 88px;
  1775. padding-top: 4px;
  1776. line-height: 24px;
  1777. }
  1778. .issue-merge .ico {
  1779. width: 40px;
  1780. height: 40px;
  1781. text-align: center;
  1782. color: #FFF;
  1783. margin-right: 12px;
  1784. }
  1785. .issue-merge .ico i {
  1786. margin-top: 8px;
  1787. font-size: 24px;
  1788. }
  1789. .issue-merge .panel {
  1790. margin-left: 60px;
  1791. margin-top: -40px;
  1792. }
  1793. .issue-merge .panel-header {
  1794. font-size: 13px;
  1795. }
  1796. .issue-merge-ok .ico {
  1797. background-color: #65AD4E;
  1798. }
  1799. .issue-merge-ok .panel,
  1800. .issue-merge-ok .panel-content,
  1801. .issue-merge-ok .panel-header {
  1802. border-color: #65AD4E;
  1803. background-color: #FFF;
  1804. }
  1805. .issue-merge-ok .panel-header {
  1806. color: #508a3e;
  1807. }
  1808. .issue-line {
  1809. height: 4px;
  1810. background-color: #E6E6E6;
  1811. }
  1812. .issue-add-comment .panel {
  1813. margin-left: 60px;
  1814. margin-top: -40px;
  1815. }
  1816. .issue-add-comment .panel-header {
  1817. font-size: 13px;
  1818. padding-bottom: 0;
  1819. }
  1820. .issue-add-comment .add-nav > li > a {
  1821. padding: 4px 12px;
  1822. color: #444;
  1823. border: 1px solid #CCC;
  1824. margin-bottom: -1px;
  1825. font-size: 14px;
  1826. border-top-left-radius: .3em;
  1827. border-top-right-radius: .3em;
  1828. }
  1829. .issue-add-comment .add-nav > li > a:hover {
  1830. background-color: #FFF;
  1831. }
  1832. .issue-add-comment .add-nav > li.js-tab-nav-show > a {
  1833. background-color: #FFF;
  1834. }
  1835. textarea#issue-add-content {
  1836. width: 100%;
  1837. box-sizing: border-box;
  1838. height: 120px;
  1839. resize: vertical;
  1840. }
  1841. .org-header-alert .alert {
  1842. margin-top: 10px;
  1843. }
  1844. .org-header {
  1845. padding: 16px 0;
  1846. background-color: #FFF;
  1847. border-bottom: 1px solid #DDD;
  1848. }
  1849. .org-header img {
  1850. padding-right: 10px;
  1851. }
  1852. #org-home-header {
  1853. min-height: 100px;
  1854. }
  1855. #org-header {
  1856. height: 48px;
  1857. }
  1858. #org-header .org-name {
  1859. padding-left: 10px;
  1860. font-size: 1.4em;
  1861. height: 50px;
  1862. line-height: 50px;
  1863. margin-bottom: 0;
  1864. }
  1865. #org-header > div > .menu-line > li.right > a {
  1866. font-size: 1.2em;
  1867. color: #444444;
  1868. }
  1869. #org-header > div > .menu-line > li.right > a:hover {
  1870. background-color: transparent;
  1871. color: #d9453d;
  1872. }
  1873. #org-header > div > .menu-line > li.right > a .octicon {
  1874. margin-right: 4px;
  1875. }
  1876. #org-header > div > .menu-line > li.right > a .label {
  1877. margin-left: 4px;
  1878. font-size: .6em;
  1879. }
  1880. #org-header > div > .menu-line > li.right .current {
  1881. border-bottom: 2px solid #D26911;
  1882. }
  1883. #org-home-header-info {
  1884. padding-top: 10px;
  1885. }
  1886. #org-home-header-info h2 {
  1887. font-size: 30px;
  1888. }
  1889. #org-home-header-info ul {
  1890. list-style: none;
  1891. }
  1892. #org-home-header-info ul li {
  1893. float: left;
  1894. padding-right: 5px;
  1895. }
  1896. #org-home-repo-list {
  1897. padding: 10px 0;
  1898. }
  1899. #org-repo-list {
  1900. padding: 10px 0;
  1901. }
  1902. #org-repo-list .org-repo-item {
  1903. border-top: 1px solid #eee;
  1904. padding: 30px 20px;
  1905. }
  1906. #org-repo-list .org-repo-item .org-repo-status {
  1907. list-style: none;
  1908. color: #888;
  1909. }
  1910. #org-repo-list .org-repo-item .org-repo-status li {
  1911. float: left;
  1912. margin-right: 6px;
  1913. }
  1914. #org-repo-list .org-repo-item h2 {
  1915. margin-bottom: 5px;
  1916. }
  1917. #org-repo-list .org-repo-item .org-repo-description {
  1918. margin: 0;
  1919. font-size: 14px;
  1920. color: #666;
  1921. }
  1922. #org-repo-list .org-repo-item .org-repo-updated {
  1923. font-size: 12px;
  1924. display: block;
  1925. margin: 5px 0 0;
  1926. color: #808080;
  1927. }
  1928. .org-sidebar {
  1929. margin: -80px 0 0 20px;
  1930. }
  1931. .org-sidebar .panel-footer {
  1932. padding: .8em 1.2em;
  1933. }
  1934. .org-sidebar .member-avatar-group {
  1935. padding: 15px;
  1936. }
  1937. .org-sidebar .member-avatar-group img {
  1938. width: 59px;
  1939. height: 59px;
  1940. border-radius: 3px;
  1941. }
  1942. #org-home-team-list {
  1943. padding: 0 15px;
  1944. }
  1945. #org-home-team-list ul {
  1946. list-style: none;
  1947. padding-top: 10px;
  1948. }
  1949. #org-home-team-list ul li {
  1950. padding: 10px 0;
  1951. border-bottom: 1px solid #eee;
  1952. }
  1953. #org-home-team-list ul li:last-child {
  1954. border-bottom: 0;
  1955. }
  1956. .team-name {
  1957. display: block;
  1958. font-size: 14px;
  1959. overflow: hidden;
  1960. text-overflow: ellipsis;
  1961. white-space: nowrap;
  1962. }
  1963. .team-meta {
  1964. margin-top: 0;
  1965. margin-bottom: 0;
  1966. color: #777;
  1967. }
  1968. .org-toolbar {
  1969. padding: 10px 0;
  1970. border-bottom: 1px solid #eee;
  1971. }
  1972. #org-member-list .org-member-item {
  1973. height: 50px;
  1974. line-height: 50px;
  1975. border-bottom: 1px solid #eee;
  1976. padding: 15px 20px;
  1977. }
  1978. #org-member-list .org-member-item .member-name {
  1979. padding-left: 15px;
  1980. }
  1981. #org-member-list .org-member-item ul {
  1982. list-style: none;
  1983. }
  1984. #org-member-list .org-member-item ul li {
  1985. text-align: center;
  1986. display: inline-block;
  1987. }
  1988. .invite-box {
  1989. padding: 50px 0;
  1990. min-height: 130px;
  1991. margin: 0 auto;
  1992. width: 50%;
  1993. }
  1994. .invite-box input {
  1995. width: 300px;
  1996. }
  1997. #org-member-list-block {
  1998. padding-top: 2px;
  1999. }
  2000. .org-team-list .org-team-list-item {
  2001. float: left;
  2002. padding: 15px;
  2003. width: 555px;
  2004. }
  2005. .org-team-list .org-team-list-item .member-avatar-group {
  2006. padding: 5px 15px;
  2007. }
  2008. .org-team-list .org-team-list-item .member-avatar-group img {
  2009. width: 38px;
  2010. height: 38px;
  2011. border-radius: 3px;
  2012. }
  2013. #team-create-form .note {
  2014. margin-left: 153px;
  2015. }
  2016. #org-team-card .desc {
  2017. font-size: 14px;
  2018. padding: 10px 20px;
  2019. }
  2020. #org-team-card .team-stats {
  2021. padding: 0 20px 10px 20px;
  2022. text-transform: uppercase;
  2023. border-bottom: 1px solid #dddddd;
  2024. }
  2025. #org-team-card .panel-footer {
  2026. padding: 10px 20px;
  2027. }
  2028. #team-repositories-list .panel-body .search,
  2029. #team-members-list .panel-body .search {
  2030. padding: 4px 0 10px 10px;
  2031. border-bottom: 1px solid #dddddd;
  2032. }
  2033. #team-repositories-list li.collab,
  2034. #team-members-list li.collab {
  2035. padding-top: 10px !important;
  2036. border-bottom: 1px solid #dddddd;
  2037. }
  2038. #team-repositories-list li:last-child,
  2039. #team-members-list li:last-child {
  2040. border-bottom: 0 !important;
  2041. }
  2042. #team-repositories-list li a .octicon {
  2043. color: #888;
  2044. }
  2045. #team-repositories-list li .member {
  2046. color: #428bca;
  2047. font-size: 14px;
  2048. height: 40px;
  2049. line-height: 40px;
  2050. }
  2051. .admin-panel {
  2052. padding: 10px 20px;
  2053. }
  2054. .admin-desc {
  2055. padding: 10px 20px;
  2056. }
  2057. .admin-table {
  2058. padding: 15px 0 5px 0;
  2059. }
  2060. .dl-horizontal dt {
  2061. float: left;
  2062. width: 160px;
  2063. clear: left;
  2064. overflow: hidden;
  2065. text-overflow: ellipsis;
  2066. white-space: nowrap;
  2067. }
  2068. .admin-dl-horizontal {
  2069. padding: 20px;
  2070. }
  2071. .admin-dl-horizontal > dt {
  2072. width: 250px;
  2073. }
  2074. .admin-dl-horizontal > dd {
  2075. margin-left: 240px;
  2076. }