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

gogs.css 35KB

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