gogs.css 39 KB

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