gogs.css 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046
  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. }
  1007. #repo-header-meta a > .btn i {
  1008. margin-right: 6px;
  1009. }
  1010. #repo-header-meta a > .btn .num {
  1011. margin-left: 6px;
  1012. }
  1013. #repo-header-download-btn > .btn > i {
  1014. margin-right: 0 !important;
  1015. }
  1016. #repo-header-download-btn:hover:after,
  1017. #repo-header-download-btn:hover .btn {
  1018. background-color: #383838;
  1019. color: #FFF;
  1020. }
  1021. #repo-header-download-btn:after {
  1022. background-color: #444444;
  1023. padding: 9px 16px 8px 0;
  1024. margin-left: -8px !important;
  1025. color: #FFF;
  1026. border-top: 1px solid #444444;
  1027. border-bottom: 1px solid #444444;
  1028. border-top-right-radius: .25em;
  1029. border-bottom-right-radius: .25em;
  1030. }
  1031. #repo-header-download-drop {
  1032. line-height: 24px;
  1033. width: 440px;
  1034. top: 50px;
  1035. left: -370px;
  1036. padding: 20px;
  1037. box-sizing: border-box;
  1038. z-index: 1;
  1039. }
  1040. #repo-header-download-drop .btn > i {
  1041. margin-right: 6px;
  1042. }
  1043. #repo-header-download-drop button,
  1044. #repo-header-download-drop input {
  1045. font-size: 11px;
  1046. }
  1047. #repo-content {
  1048. padding: 18px 0;
  1049. }
  1050. #repo-clone-url {
  1051. border-right: none;
  1052. width: 190px;
  1053. border-left: none;
  1054. }
  1055. #repo-clone-help {
  1056. clear: both;
  1057. line-height: 48px;
  1058. }
  1059. #repo-clone-zip {
  1060. line-height: 48px;
  1061. }
  1062. #repo-clone-zip a {
  1063. cursor: pointer;
  1064. color: white;
  1065. overflow: visible;
  1066. padding: .6em 1.2em;
  1067. }
  1068. #repo-clone-zip .btn {
  1069. margin: 0 6px;
  1070. }
  1071. #repo-desc {
  1072. font-size: 1.2em;
  1073. }
  1074. #repo-sidebar-nav .label {
  1075. font-size: 12px;
  1076. line-height: 1.4em;
  1077. margin-top: 2px;
  1078. }
  1079. #repo-sidebar-nav i {
  1080. margin-right: 6px;
  1081. }
  1082. #repo-sidebar-mini {
  1083. margin-top: 6px;
  1084. width: 60px;
  1085. }
  1086. #repo-sidebar-mini li {
  1087. margin-bottom: 4px;
  1088. }
  1089. #repo-sidebar-mini li > a {
  1090. position: relative;
  1091. }
  1092. #repo-sidebar-mini li > a > i.octicon {
  1093. font-size: 21px;
  1094. }
  1095. #repo-sidebar-mini .num {
  1096. position: absolute;
  1097. font-size: 12px;
  1098. top: 0;
  1099. left: 40px;
  1100. width: 20px;
  1101. height: 20px;
  1102. padding-left: 0;
  1103. padding-right: 0;
  1104. text-align: center;
  1105. line-height: 20px;
  1106. border-radius: 4px;
  1107. opacity: 0.7;
  1108. -webkit-transform: scale(0.85);
  1109. font-weight: bold;
  1110. }
  1111. #repo-file-nav {
  1112. padding: .6em 0 1em 0;
  1113. }
  1114. #repo-file-nav > li > a {
  1115. padding-left: 0;
  1116. }
  1117. #repo-file-nav > li > a:hover {
  1118. background-color: transparent;
  1119. }
  1120. #repo-file-nav li.repo-jump > a {
  1121. padding-right: 0;
  1122. }
  1123. #repo-file-nav li.repo-jump > a .btn {
  1124. margin-left: -1px;
  1125. }
  1126. #repo-branch-switch > a .btn {
  1127. padding-right: 30px;
  1128. }
  1129. #repo-branch-switch > a:after {
  1130. position: absolute;
  1131. top: 12px;
  1132. right: 30px;
  1133. margin-left: 0;
  1134. color: #444444;
  1135. }
  1136. #repo-branch-switch > .drop-down {
  1137. top: 40px;
  1138. left: 0;
  1139. }
  1140. #repo-branch-filter-ipt {
  1141. width: 100%;
  1142. border-left: none;
  1143. border-right: none;
  1144. box-sizing: border-box;
  1145. }
  1146. #repo-branch-tag .tab-nav {
  1147. border-bottom: 1px solid #EAEAEA;
  1148. }
  1149. #repo-branch-tag .tab-nav a {
  1150. padding: .3em .8em;
  1151. }
  1152. #repo-branch-tag .tab-nav .js-tab-nav-show {
  1153. background-color: #EEE;
  1154. font-weight: bold;
  1155. }
  1156. #repo-branch-list li i,
  1157. #repo-tag-list li i {
  1158. margin-right: 12px;
  1159. opacity: 0;
  1160. }
  1161. #repo-branch-list li.checked i,
  1162. #repo-tag-list li.checked i {
  1163. opacity: 1;
  1164. }
  1165. #repo-tag-list {
  1166. display: none;
  1167. }
  1168. #repo-bread .bread {
  1169. padding-right: 0;
  1170. font-size: 16px;
  1171. font-weight: bold;
  1172. }
  1173. #repo-main {
  1174. padding-right: 40px;
  1175. box-sizing: border-box;
  1176. }
  1177. #repo-files-table {
  1178. margin-bottom: 20px;
  1179. }
  1180. #repo-files-table th,
  1181. #repo-files-table td {
  1182. text-align: left;
  1183. line-height: 32px;
  1184. }
  1185. #repo-files-table td.icon {
  1186. width: 16px;
  1187. padding-right: .1em;
  1188. padding-left: 1em;
  1189. }
  1190. #repo-files-table td.name {
  1191. max-width: 120px;
  1192. }
  1193. #repo-files-table td.name .text-truncate {
  1194. max-width: 100%;
  1195. }
  1196. #repo-files-table td.age {
  1197. max-width: 120px;
  1198. text-align: right;
  1199. }
  1200. #repo-files-table td.msg {
  1201. max-width: 440px;
  1202. }
  1203. #repo-files-table td.msg .text-truncate {
  1204. max-width: 100%;
  1205. }
  1206. #repo-files-table td.age,
  1207. #repo-files-table td.size,
  1208. #repo-files-table td.msg a {
  1209. color: #888;
  1210. }
  1211. #repo-files-table td.msg a:hover {
  1212. color: #428BCA;
  1213. text-decoration: underline;
  1214. }
  1215. #repo-files-table tbody {
  1216. background-color: #FFF;
  1217. }
  1218. #repo-files-table tbody tr:hover {
  1219. background-color: #ffffEE;
  1220. }
  1221. #repo-files-table thead {
  1222. background-color: #F0F0F0;
  1223. }
  1224. #repo-files-table thead .author a {
  1225. margin: 0 .4em;
  1226. }
  1227. #repo-files-table thead .last-commit strong {
  1228. color: #444;
  1229. }
  1230. #repo-files-table thead .last-commit .text-truncate {
  1231. margin-left: .4em;
  1232. }
  1233. #repo-files-table thead .last-commit .text-truncate,
  1234. #repo-files-table thead .age {
  1235. font-weight: normal;
  1236. color: #888;
  1237. }
  1238. #repo-readme {
  1239. margin-bottom: 80px;
  1240. }
  1241. #repo-bare-start {
  1242. margin-bottom: 100px;
  1243. }
  1244. #repo-bare-start .panel-content {
  1245. background-color: #FFF;
  1246. }
  1247. #repo-bare-start pre {
  1248. margin: 0 40px;
  1249. padding: 6px 10px;
  1250. border: 1px solid #ddd;
  1251. background: #f8f8f8;
  1252. }
  1253. .repo-bare #repo-bare-start h2 {
  1254. margin-top: 30px;
  1255. margin-bottom: 24px;
  1256. }
  1257. .repo-bare #repo-header-meta {
  1258. display: none;
  1259. }
  1260. .repo-bare #repo-clone-ssh {
  1261. margin-left: 200px;
  1262. }
  1263. .repo-bare #repo-clone-copy {
  1264. margin-right: 200px;
  1265. }
  1266. .repo-bare #repo-clone-help {
  1267. clear: both;
  1268. width: 100%;
  1269. }
  1270. .repo-bare #repo-clone-url {
  1271. width: 520px;
  1272. }
  1273. /* repository create */
  1274. #team-create-form,
  1275. #repo-migrate-form,
  1276. #repo-create-form {
  1277. width: 800px;
  1278. margin: 60px auto auto auto;
  1279. background: white;
  1280. }
  1281. #team-create-form h2,
  1282. #repo-migrate-form h2,
  1283. #repo-create-form h2 {
  1284. margin: .5em 1em;
  1285. }
  1286. #team-create-form .field,
  1287. #repo-migrate-form .field,
  1288. #repo-create-form .field {
  1289. margin: 1.2em 0 2em 0;
  1290. }
  1291. #team-create-form .ipt,
  1292. #repo-migrate-form .ipt,
  1293. #repo-create-form .ipt {
  1294. width: 540px;
  1295. }
  1296. #team-create-form textarea,
  1297. #repo-migrate-form textarea,
  1298. #repo-create-form textarea {
  1299. height: 120px;
  1300. }
  1301. #team-create-form .avatar,
  1302. #repo-migrate-form .avatar,
  1303. #repo-create-form .avatar {
  1304. vertical-align: middle;
  1305. margin-right: .6em;
  1306. width: 28px;
  1307. height: 28px;
  1308. }
  1309. #team-create-form:hover,
  1310. #repo-migrate-form:hover,
  1311. #repo-create-form:hover {
  1312. box-shadow: 0px 0px 6px #CCC;
  1313. }
  1314. #repo-create-cancel {
  1315. margin-left: 4em;
  1316. }
  1317. #repo-create-owner-list {
  1318. top: 30px;
  1319. left: 0;
  1320. width: auto;
  1321. max-width: 300px;
  1322. }
  1323. #repo-create-owner-list .octicon {
  1324. margin-right: 12px;
  1325. opacity: 0;
  1326. }
  1327. #repo-create-owner-list .avatar {
  1328. width: 20px;
  1329. height: 20px;
  1330. }
  1331. #repo-create-owner-list li {
  1332. white-space: nowrap;
  1333. }
  1334. #repo-create-owner-list li.checked .octicon {
  1335. opacity: 1;
  1336. }
  1337. #repo-create-owner-list li a {
  1338. text-overflow: ellipsis;
  1339. -o-text-overflow: ellipsis;
  1340. overflow: hidden;
  1341. }
  1342. .file-name {
  1343. margin-left: 1em;
  1344. }
  1345. .file-size {
  1346. font-size: 13px;
  1347. color: #888;
  1348. margin-left: 1em;
  1349. }
  1350. .code-view {
  1351. overflow: auto;
  1352. overflow-x: auto;
  1353. overflow-y: hidden;
  1354. background: white;
  1355. }
  1356. .code-view .view-raw {
  1357. min-height: 40px;
  1358. text-align: center;
  1359. padding-top: 20px;
  1360. }
  1361. .code-view .view-raw .btn {
  1362. font-size: 1.05em;
  1363. line-height: 16px;
  1364. padding: 6px 8px;
  1365. }
  1366. .code-view table {
  1367. width: 100%;
  1368. }
  1369. .code-view table td {
  1370. padding: 0;
  1371. }
  1372. .code-view .lines-num {
  1373. vertical-align: top;
  1374. text-align: right;
  1375. color: #999;
  1376. background: #f5f5f5;
  1377. width: 1%;
  1378. }
  1379. .code-view .lines-num span {
  1380. font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
  1381. line-height: 18px;
  1382. padding: 0 8px 0 10px;
  1383. cursor: pointer;
  1384. display: block;
  1385. margin-top: 2px;
  1386. font-size: 12px;
  1387. }
  1388. .code-view .lines-code > pre {
  1389. border: none;
  1390. border-left: 1px solid #ddd;
  1391. }
  1392. .code-view .lines-code > pre > ol.linenums > li {
  1393. padding: 0 10px;
  1394. }
  1395. .code-view .lines-code > pre > ol.linenums > li.active {
  1396. background: #ffffdd;
  1397. }
  1398. .repo-setting-zone {
  1399. padding: 30px;
  1400. }
  1401. #team-repositories-list,
  1402. #team-members-list,
  1403. #repo-collab-list {
  1404. list-style: none;
  1405. padding: 10px 0 5px 0;
  1406. }
  1407. #team-repositories-list li.collab,
  1408. #team-members-list li.collab,
  1409. #repo-collab-list li.collab {
  1410. clear: both;
  1411. height: 50px;
  1412. padding: 0 15px 0 15px;
  1413. }
  1414. #team-repositories-list a.member,
  1415. #team-members-list a.member,
  1416. #repo-collab-list a.member {
  1417. color: #444;
  1418. height: 50px;
  1419. line-height: 50px;
  1420. }
  1421. #team-repositories-list a.member:hover,
  1422. #team-members-list a.member:hover,
  1423. #repo-collab-list a.member:hover {
  1424. color: #4183C4;
  1425. }
  1426. #team-repositories-list .avatar,
  1427. #team-members-list .avatar,
  1428. #repo-collab-list .avatar {
  1429. margin-right: 1em;
  1430. width: 40px;
  1431. }
  1432. #team-repositories-list .remove-collab,
  1433. #team-members-list .remove-collab,
  1434. #repo-collab-list .remove-collab {
  1435. color: #DD4B39;
  1436. }
  1437. .repo-user-list-block {
  1438. position: relative;
  1439. top: 5px;
  1440. }
  1441. .setting-list {
  1442. width: 100%;
  1443. list-style: none;
  1444. }
  1445. #admin-wrapper,
  1446. #setting-wrapper {
  1447. padding-bottom: 100px;
  1448. }
  1449. #setting-menu {
  1450. box-sizing: border-box;
  1451. }
  1452. #setting-menu li > a {
  1453. border-left: 2px solid #FFF;
  1454. background-color: #FFF;
  1455. }
  1456. #setting-menu li:hover {
  1457. border-color: #EAEAEA;
  1458. }
  1459. #setting-menu li:hover a {
  1460. border-left: 2px solid #EFEFEF;
  1461. background-color: #EFEFEF !important;
  1462. color: #000 !important;
  1463. }
  1464. #setting-menu li.current a {
  1465. color: #000 !important;
  1466. font-weight: bold;
  1467. border-left: 2px solid #d26911;
  1468. }
  1469. .setting-content {
  1470. margin-left: 32px;
  1471. }
  1472. #auth-setting-form,
  1473. #org-setting-form,
  1474. #repo-setting-form,
  1475. #user-profile-form,
  1476. .repo-setting-form {
  1477. background-color: #FFF;
  1478. padding: 30px 0;
  1479. }
  1480. #auth-setting-form textarea,
  1481. #org-setting-form textarea,
  1482. #repo-setting-form textarea,
  1483. #user-profile-form textarea,
  1484. .repo-setting-form textarea {
  1485. margin-left: 4px;
  1486. height: 100px;
  1487. }
  1488. #auth-setting-form label,
  1489. #org-setting-form label,
  1490. #repo-setting-form label,
  1491. #user-profile-form label,
  1492. .repo-setting-form label,
  1493. #auth-setting-form .form-label,
  1494. #org-setting-form .form-label,
  1495. #repo-setting-form .form-label,
  1496. #user-profile-form .form-label,
  1497. .repo-setting-form .form-label {
  1498. width: 240px;
  1499. }
  1500. #auth-setting-form .ipt,
  1501. #org-setting-form .ipt,
  1502. #repo-setting-form .ipt,
  1503. #user-profile-form .ipt,
  1504. .repo-setting-form .ipt {
  1505. width: 360px;
  1506. }
  1507. #auth-setting-form .field,
  1508. #org-setting-form .field,
  1509. #repo-setting-form .field,
  1510. #user-profile-form .field,
  1511. .repo-setting-form .field {
  1512. margin-bottom: 24px;
  1513. }
  1514. #hook-type {
  1515. padding: 10px 0 0 0;
  1516. background-color: #fff;
  1517. }
  1518. #hook-type .field {
  1519. margin-bottom: 24px;
  1520. }
  1521. #hook-type label {
  1522. width: 240px;
  1523. }
  1524. #repo-hooks-panel,
  1525. #repo-hooks-history-panel,
  1526. #user-social-panel,
  1527. #user-ssh-panel {
  1528. margin-bottom: 20px;
  1529. }
  1530. #repo-hooks-panel .setting-list,
  1531. #repo-hooks-history-panel .setting-list,
  1532. #user-social-panel .setting-list,
  1533. #user-ssh-panel .setting-list {
  1534. background-color: #FFF;
  1535. }
  1536. #repo-hooks-panel .setting-list li,
  1537. #repo-hooks-history-panel .setting-list li,
  1538. #user-social-panel .setting-list li,
  1539. #user-ssh-panel .setting-list li {
  1540. padding: 8px 20px;
  1541. border-bottom: 1px solid #eaeaea;
  1542. }
  1543. #repo-hooks-panel .setting-list li.ssh:hover,
  1544. #repo-hooks-history-panel .setting-list li.ssh:hover,
  1545. #user-social-panel .setting-list li.ssh:hover,
  1546. #user-ssh-panel .setting-list li.ssh:hover {
  1547. background-color: #ffffEE;
  1548. }
  1549. #repo-hooks-panel .setting-list li i,
  1550. #repo-hooks-history-panel .setting-list li i,
  1551. #user-social-panel .setting-list li i,
  1552. #user-ssh-panel .setting-list li i {
  1553. padding-right: 5px;
  1554. }
  1555. #repo-hooks-panel .active-icon,
  1556. #repo-hooks-history-panel .active-icon,
  1557. #user-social-panel .active-icon,
  1558. #user-ssh-panel .active-icon {
  1559. width: 10px;
  1560. height: 10px;
  1561. border-radius: 6px;
  1562. padding: 0;
  1563. margin-right: 20px;
  1564. margin-top: 10px;
  1565. }
  1566. #repo-hooks-panel .ssh-content,
  1567. #repo-hooks-history-panel .ssh-content,
  1568. #user-social-panel .ssh-content,
  1569. #user-ssh-panel .ssh-content {
  1570. margin-left: 24px;
  1571. }
  1572. #repo-hooks-panel .ssh-content .octicon,
  1573. #repo-hooks-history-panel .ssh-content .octicon,
  1574. #user-social-panel .ssh-content .octicon,
  1575. #user-ssh-panel .ssh-content .octicon {
  1576. margin-right: 4px;
  1577. }
  1578. #repo-hooks-panel .ssh-content .print,
  1579. #repo-hooks-history-panel .ssh-content .print,
  1580. #user-social-panel .ssh-content .print,
  1581. #user-ssh-panel .ssh-content .print,
  1582. #repo-hooks-panel .ssh-content .activity,
  1583. #repo-hooks-history-panel .ssh-content .activity,
  1584. #user-social-panel .ssh-content .activity,
  1585. #user-ssh-panel .ssh-content .activity {
  1586. color: #888;
  1587. }
  1588. #repo-hooks-panel .ssh-delete-btn,
  1589. #repo-hooks-history-panel .ssh-delete-btn,
  1590. #user-social-panel .ssh-delete-btn,
  1591. #user-ssh-panel .ssh-delete-btn {
  1592. margin-top: 6px;
  1593. }
  1594. #user-ssh-add-form .panel-body {
  1595. background-color: #FFF;
  1596. padding: 30px 0;
  1597. }
  1598. #user-ssh-add-form .ipt {
  1599. width: 500px;
  1600. }
  1601. #user-ssh-add-form textarea {
  1602. height: 120px;
  1603. margin-left: 3px;
  1604. }
  1605. #user-ssh-add-form .field {
  1606. margin-bottom: 24px;
  1607. }
  1608. .repo-issue-wrapper {
  1609. padding: 18px 0;
  1610. position: relative;
  1611. }
  1612. .pr-main {
  1613. margin-right: 100px;
  1614. }
  1615. .pr-sidebar {
  1616. border-left: 1px solid #DDD;
  1617. box-sizing: border-box;
  1618. position: absolute;
  1619. right: 0;
  1620. top: 12px;
  1621. }
  1622. .pr-title {
  1623. padding: 4px 0;
  1624. }
  1625. .pr-title .pr-num {
  1626. font-weight: normal;
  1627. color: #888;
  1628. }
  1629. .pr-meta {
  1630. color: #888;
  1631. padding: 4px 0 8px 0;
  1632. }
  1633. .pr-meta .pr-author {
  1634. margin: 0 8px;
  1635. color: #444;
  1636. }
  1637. .pr-meta .pr-author:hover {
  1638. text-decoration: underline;
  1639. }
  1640. .pr-meta .pr-branch {
  1641. margin: 0 4px;
  1642. font-size: 12px;
  1643. padding: 4px 6px;
  1644. }
  1645. .pr-nav {
  1646. border-bottom: 1px solid #DDD;
  1647. margin-top: 16px;
  1648. margin-bottom: 16px;
  1649. }
  1650. .pr-nav .octicon {
  1651. margin-right: 4px;
  1652. }
  1653. .pr-nav li > a {
  1654. padding: 3px 9px !important;
  1655. border: 1px solid transparent;
  1656. border-bottom: none;
  1657. border-top-left-radius: .2em;
  1658. border-top-right-radius: .2em;
  1659. }
  1660. .pr-nav li > a .label {
  1661. padding: 1px 5px;
  1662. font-size: 12px;
  1663. margin-left: 4px;
  1664. }
  1665. .pr-nav li.js-tab-nav-show > a {
  1666. background-color: #FFF;
  1667. border-color: #E6E6E6;
  1668. }
  1669. .diff-bar .diff-add {
  1670. color: #65ad4e;
  1671. }
  1672. .diff-bar .diff-delete {
  1673. color: #d9453d;
  1674. }
  1675. .diff-bar .diff-status {
  1676. width: 50px;
  1677. background-color: #d9453d;
  1678. height: 10px;
  1679. margin-top: 7px;
  1680. margin-left: 4px;
  1681. margin-right: 4px;
  1682. border-radius: .2em;
  1683. }
  1684. .diff-bar .diff-status-inner {
  1685. width: 45%;
  1686. background-color: #65ad4e;
  1687. height: 10px;
  1688. border-top-left-radius: .2em;
  1689. border-bottom-left-radius: .2em;
  1690. }
  1691. #pr-commit,
  1692. #pr-file-diff,
  1693. #issue-add-comment-preview {
  1694. display: none;
  1695. }
  1696. #pr-conversation-list {
  1697. padding-right: 30px;
  1698. box-sizing: border-box;
  1699. }
  1700. .issue-comment,
  1701. .issue-commit,
  1702. .issue-line,
  1703. .issue-merge,
  1704. .issue-add-comment {
  1705. margin-bottom: 24px;
  1706. }
  1707. .issue-comment .author-avatar img {
  1708. margin-right: 12px;
  1709. }
  1710. .issue-comment .panel {
  1711. margin-left: 60px;
  1712. margin-top: -40px;
  1713. }
  1714. .issue-comment .panel-header {
  1715. font-size: 13px;
  1716. }
  1717. .issue-comment .author-name {
  1718. font-weight: bold;
  1719. }
  1720. .issue-comment .date {
  1721. margin-left: 4px;
  1722. font-style: italic;
  1723. color: #888;
  1724. }
  1725. .issue-comment .action > * {
  1726. margin-left: 4px;
  1727. font-size: 12px;
  1728. }
  1729. .issue-comment .action i {
  1730. font-size: 13px;
  1731. }
  1732. .issue-commit {
  1733. line-height: 32px;
  1734. }
  1735. .issue-commit i,
  1736. .issue-commit .author-avatar img {
  1737. margin-right: 16px;
  1738. }
  1739. .issue-commit .sha {
  1740. margin-left: 24px;
  1741. }
  1742. .issue-commit .message {
  1743. display: block;
  1744. margin-left: 88px;
  1745. padding-top: 4px;
  1746. line-height: 24px;
  1747. }
  1748. .issue-merge .ico {
  1749. width: 40px;
  1750. height: 40px;
  1751. text-align: center;
  1752. color: #FFF;
  1753. margin-right: 12px;
  1754. }
  1755. .issue-merge .ico i {
  1756. margin-top: 8px;
  1757. font-size: 24px;
  1758. }
  1759. .issue-merge .panel {
  1760. margin-left: 60px;
  1761. margin-top: -40px;
  1762. }
  1763. .issue-merge .panel-header {
  1764. font-size: 13px;
  1765. }
  1766. .issue-merge-ok .ico {
  1767. background-color: #65AD4E;
  1768. }
  1769. .issue-merge-ok .panel,
  1770. .issue-merge-ok .panel-content,
  1771. .issue-merge-ok .panel-header {
  1772. border-color: #65AD4E;
  1773. background-color: #FFF;
  1774. }
  1775. .issue-merge-ok .panel-header {
  1776. color: #508a3e;
  1777. }
  1778. .issue-line {
  1779. height: 4px;
  1780. background-color: #E6E6E6;
  1781. }
  1782. .issue-add-comment .panel {
  1783. margin-left: 60px;
  1784. margin-top: -40px;
  1785. }
  1786. .issue-add-comment .panel-header {
  1787. font-size: 13px;
  1788. padding-bottom: 0;
  1789. }
  1790. .issue-add-comment .add-nav > li > a {
  1791. padding: 4px 12px;
  1792. color: #444;
  1793. border: 1px solid #CCC;
  1794. margin-bottom: -1px;
  1795. font-size: 14px;
  1796. border-top-left-radius: .3em;
  1797. border-top-right-radius: .3em;
  1798. }
  1799. .issue-add-comment .add-nav > li > a:hover {
  1800. background-color: #FFF;
  1801. }
  1802. .issue-add-comment .add-nav > li.js-tab-nav-show > a {
  1803. background-color: #FFF;
  1804. }
  1805. textarea#issue-add-content {
  1806. width: 100%;
  1807. box-sizing: border-box;
  1808. height: 120px;
  1809. resize: vertical;
  1810. }
  1811. .org-header-alert .alert {
  1812. margin-top: 10px;
  1813. }
  1814. .org-header {
  1815. padding: 16px 0;
  1816. background-color: #FFF;
  1817. border-bottom: 1px solid #DDD;
  1818. }
  1819. .org-header img {
  1820. padding-right: 10px;
  1821. }
  1822. #org-home-header {
  1823. min-height: 100px;
  1824. }
  1825. #org-header {
  1826. height: 48px;
  1827. }
  1828. #org-header .org-name {
  1829. padding-left: 10px;
  1830. font-size: 1.4em;
  1831. height: 50px;
  1832. line-height: 50px;
  1833. margin-bottom: 0;
  1834. }
  1835. #org-header > div > .menu-line > li.right > a {
  1836. font-size: 1.2em;
  1837. color: #444444;
  1838. }
  1839. #org-header > div > .menu-line > li.right > a:hover {
  1840. background-color: transparent;
  1841. color: #d9453d;
  1842. }
  1843. #org-header > div > .menu-line > li.right > a .octicon {
  1844. margin-right: 4px;
  1845. }
  1846. #org-header > div > .menu-line > li.right > a .label {
  1847. margin-left: 4px;
  1848. font-size: .6em;
  1849. }
  1850. #org-header > div > .menu-line > li.right .current {
  1851. border-bottom: 2px solid #D26911;
  1852. }
  1853. #org-home-header-info {
  1854. padding-top: 10px;
  1855. }
  1856. #org-home-header-info h2 {
  1857. font-size: 30px;
  1858. }
  1859. #org-home-header-info ul {
  1860. list-style: none;
  1861. }
  1862. #org-home-header-info ul li {
  1863. float: left;
  1864. padding-right: 5px;
  1865. }
  1866. #org-home-repo-list {
  1867. padding: 10px 0;
  1868. }
  1869. #org-repo-list {
  1870. padding: 10px 0;
  1871. }
  1872. #org-repo-list .org-repo-item {
  1873. border-top: 1px solid #eee;
  1874. padding: 30px 20px;
  1875. }
  1876. #org-repo-list .org-repo-item .org-repo-status {
  1877. list-style: none;
  1878. color: #888;
  1879. }
  1880. #org-repo-list .org-repo-item .org-repo-status li {
  1881. float: left;
  1882. margin-right: 6px;
  1883. }
  1884. #org-repo-list .org-repo-item h2 {
  1885. margin-bottom: 5px;
  1886. }
  1887. #org-repo-list .org-repo-item .org-repo-description {
  1888. margin: 0;
  1889. font-size: 14px;
  1890. color: #666;
  1891. }
  1892. #org-repo-list .org-repo-item .org-repo-updated {
  1893. font-size: 12px;
  1894. display: block;
  1895. margin: 5px 0 0;
  1896. color: #808080;
  1897. }
  1898. .org-sidebar {
  1899. margin: -80px 0 0 20px;
  1900. }
  1901. .org-sidebar .panel-footer {
  1902. padding: .8em 1.2em;
  1903. }
  1904. .org-sidebar .member-avatar-group {
  1905. padding: 15px;
  1906. }
  1907. .org-sidebar .member-avatar-group img {
  1908. width: 59px;
  1909. height: 59px;
  1910. border-radius: 3px;
  1911. }
  1912. #org-home-team-list {
  1913. padding: 0 15px;
  1914. }
  1915. #org-home-team-list ul {
  1916. list-style: none;
  1917. padding-top: 10px;
  1918. }
  1919. #org-home-team-list ul li {
  1920. padding: 10px 0;
  1921. border-bottom: 1px solid #eee;
  1922. }
  1923. #org-home-team-list ul li:last-child {
  1924. border-bottom: 0;
  1925. }
  1926. .team-name {
  1927. display: block;
  1928. font-size: 14px;
  1929. overflow: hidden;
  1930. text-overflow: ellipsis;
  1931. white-space: nowrap;
  1932. }
  1933. .team-meta {
  1934. margin-top: 0;
  1935. margin-bottom: 0;
  1936. color: #777;
  1937. }
  1938. .org-toolbar {
  1939. padding: 10px 0;
  1940. border-bottom: 1px solid #eee;
  1941. }
  1942. #org-member-list .org-member-item {
  1943. height: 50px;
  1944. line-height: 50px;
  1945. border-bottom: 1px solid #eee;
  1946. padding: 15px 20px;
  1947. }
  1948. #org-member-list .org-member-item .member-name {
  1949. padding-left: 15px;
  1950. }
  1951. #org-member-list .org-member-item ul {
  1952. list-style: none;
  1953. }
  1954. #org-member-list .org-member-item ul li {
  1955. text-align: center;
  1956. display: inline-block;
  1957. }
  1958. .invite-box {
  1959. padding: 50px 0;
  1960. min-height: 130px;
  1961. margin: 0 auto;
  1962. width: 50%;
  1963. }
  1964. .invite-box input {
  1965. width: 300px;
  1966. }
  1967. #org-member-list-block {
  1968. padding-top: 2px;
  1969. }
  1970. .org-team-list .org-team-list-item {
  1971. float: left;
  1972. padding: 15px;
  1973. width: 555px;
  1974. }
  1975. .org-team-list .org-team-list-item .member-avatar-group {
  1976. padding: 5px 15px;
  1977. }
  1978. .org-team-list .org-team-list-item .member-avatar-group img {
  1979. width: 38px;
  1980. height: 38px;
  1981. border-radius: 3px;
  1982. }
  1983. #team-create-form .note {
  1984. margin-left: 153px;
  1985. }
  1986. #org-team-card .desc {
  1987. font-size: 14px;
  1988. padding: 10px 20px;
  1989. }
  1990. #org-team-card .team-stats {
  1991. padding: 0 20px 10px 20px;
  1992. text-transform: uppercase;
  1993. border-bottom: 1px solid #dddddd;
  1994. }
  1995. #org-team-card .panel-footer {
  1996. padding: 10px 20px;
  1997. }
  1998. #team-repositories-list .panel-body .search,
  1999. #team-members-list .panel-body .search {
  2000. padding: 4px 0 10px 10px;
  2001. border-bottom: 1px solid #dddddd;
  2002. }
  2003. #team-repositories-list li.collab,
  2004. #team-members-list li.collab {
  2005. padding-top: 10px !important;
  2006. border-bottom: 1px solid #dddddd;
  2007. }
  2008. #team-repositories-list li:last-child,
  2009. #team-members-list li:last-child {
  2010. border-bottom: 0 !important;
  2011. }
  2012. #team-repositories-list li a .octicon {
  2013. color: #888;
  2014. }
  2015. #team-repositories-list li .member {
  2016. color: #428bca;
  2017. font-size: 14px;
  2018. height: 40px;
  2019. line-height: 40px;
  2020. }
  2021. .admin-panel {
  2022. padding: 10px 20px;
  2023. }
  2024. .admin-desc {
  2025. padding: 10px 20px;
  2026. }
  2027. .admin-table {
  2028. padding: 15px 0 5px 0;
  2029. }
  2030. .dl-horizontal dt {
  2031. float: left;
  2032. width: 160px;
  2033. clear: left;
  2034. overflow: hidden;
  2035. text-overflow: ellipsis;
  2036. white-space: nowrap;
  2037. }
  2038. .admin-dl-horizontal {
  2039. padding: 20px;
  2040. }
  2041. .admin-dl-horizontal > dt {
  2042. width: 250px;
  2043. }
  2044. .admin-dl-horizontal > dd {
  2045. margin-left: 240px;
  2046. }