gogs.css 37 KB

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