gogs.css 38 KB

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