gogs.css 39 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147
  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. .no-desc {
  1494. color: #888;
  1495. font-style: italic;
  1496. }
  1497. #admin-wrapper,
  1498. #setting-wrapper {
  1499. padding-bottom: 100px;
  1500. }
  1501. #setting-menu {
  1502. box-sizing: border-box;
  1503. }
  1504. #setting-menu li > a {
  1505. border-left: 2px solid #FFF;
  1506. background-color: #FFF;
  1507. }
  1508. #setting-menu li:hover {
  1509. border-color: #EAEAEA;
  1510. }
  1511. #setting-menu li:hover a {
  1512. border-left: 2px solid #EFEFEF;
  1513. background-color: #EFEFEF !important;
  1514. color: #000 !important;
  1515. }
  1516. #setting-menu li.current a {
  1517. color: #000 !important;
  1518. font-weight: bold;
  1519. border-left: 2px solid #d26911;
  1520. }
  1521. .setting-content {
  1522. margin-left: 32px;
  1523. }
  1524. #auth-setting-form,
  1525. #org-setting-form,
  1526. #repo-setting-form,
  1527. #user-profile-form,
  1528. .repo-setting-form {
  1529. background-color: #FFF;
  1530. padding: 30px 0;
  1531. }
  1532. #auth-setting-form textarea,
  1533. #org-setting-form textarea,
  1534. #repo-setting-form textarea,
  1535. #user-profile-form textarea,
  1536. .repo-setting-form textarea {
  1537. margin-left: 4px;
  1538. height: 100px;
  1539. }
  1540. #auth-setting-form label,
  1541. #org-setting-form label,
  1542. #repo-setting-form label,
  1543. #user-profile-form label,
  1544. .repo-setting-form label,
  1545. #auth-setting-form .form-label,
  1546. #org-setting-form .form-label,
  1547. #repo-setting-form .form-label,
  1548. #user-profile-form .form-label,
  1549. .repo-setting-form .form-label {
  1550. width: 240px;
  1551. }
  1552. #auth-setting-form .ipt,
  1553. #org-setting-form .ipt,
  1554. #repo-setting-form .ipt,
  1555. #user-profile-form .ipt,
  1556. .repo-setting-form .ipt {
  1557. width: 360px;
  1558. }
  1559. #auth-setting-form .field,
  1560. #org-setting-form .field,
  1561. #repo-setting-form .field,
  1562. #user-profile-form .field,
  1563. .repo-setting-form .field {
  1564. margin-bottom: 24px;
  1565. }
  1566. #hook-type {
  1567. padding: 10px 0 0 0;
  1568. background-color: #fff;
  1569. }
  1570. #hook-type .field {
  1571. margin-bottom: 24px;
  1572. }
  1573. #hook-type label {
  1574. width: 240px;
  1575. }
  1576. #repo-hooks-panel,
  1577. #repo-hooks-history-panel,
  1578. #user-social-panel,
  1579. #user-ssh-panel {
  1580. margin-bottom: 20px;
  1581. }
  1582. #repo-hooks-panel .setting-list,
  1583. #repo-hooks-history-panel .setting-list,
  1584. #user-social-panel .setting-list,
  1585. #user-ssh-panel .setting-list {
  1586. background-color: #FFF;
  1587. }
  1588. #repo-hooks-panel .setting-list li,
  1589. #repo-hooks-history-panel .setting-list li,
  1590. #user-social-panel .setting-list li,
  1591. #user-ssh-panel .setting-list li {
  1592. padding: 8px 20px;
  1593. border-bottom: 1px solid #eaeaea;
  1594. }
  1595. #repo-hooks-panel .setting-list li.ssh:hover,
  1596. #repo-hooks-history-panel .setting-list li.ssh:hover,
  1597. #user-social-panel .setting-list li.ssh:hover,
  1598. #user-ssh-panel .setting-list li.ssh:hover {
  1599. background-color: #ffffEE;
  1600. }
  1601. #repo-hooks-panel .setting-list li i,
  1602. #repo-hooks-history-panel .setting-list li i,
  1603. #user-social-panel .setting-list li i,
  1604. #user-ssh-panel .setting-list li i {
  1605. padding-right: 5px;
  1606. }
  1607. #repo-hooks-panel .active-icon,
  1608. #repo-hooks-history-panel .active-icon,
  1609. #user-social-panel .active-icon,
  1610. #user-ssh-panel .active-icon {
  1611. width: 10px;
  1612. height: 10px;
  1613. border-radius: 6px;
  1614. padding: 0;
  1615. margin-right: 20px;
  1616. margin-top: 10px;
  1617. }
  1618. #repo-hooks-panel .ssh-content,
  1619. #repo-hooks-history-panel .ssh-content,
  1620. #user-social-panel .ssh-content,
  1621. #user-ssh-panel .ssh-content {
  1622. margin-left: 24px;
  1623. }
  1624. #repo-hooks-panel .ssh-content .octicon,
  1625. #repo-hooks-history-panel .ssh-content .octicon,
  1626. #user-social-panel .ssh-content .octicon,
  1627. #user-ssh-panel .ssh-content .octicon {
  1628. margin-right: 4px;
  1629. }
  1630. #repo-hooks-panel .ssh-content .print,
  1631. #repo-hooks-history-panel .ssh-content .print,
  1632. #user-social-panel .ssh-content .print,
  1633. #user-ssh-panel .ssh-content .print,
  1634. #repo-hooks-panel .ssh-content .activity,
  1635. #repo-hooks-history-panel .ssh-content .activity,
  1636. #user-social-panel .ssh-content .activity,
  1637. #user-ssh-panel .ssh-content .activity {
  1638. color: #888;
  1639. }
  1640. #repo-hooks-panel .ssh-delete-btn,
  1641. #repo-hooks-history-panel .ssh-delete-btn,
  1642. #user-social-panel .ssh-delete-btn,
  1643. #user-ssh-panel .ssh-delete-btn {
  1644. margin-top: 6px;
  1645. }
  1646. #user-ssh-add-form .panel-body {
  1647. background-color: #FFF;
  1648. padding: 30px 0;
  1649. }
  1650. #user-ssh-add-form .ipt {
  1651. width: 500px;
  1652. }
  1653. #user-ssh-add-form textarea {
  1654. height: 120px;
  1655. margin-left: 3px;
  1656. }
  1657. #user-ssh-add-form .field {
  1658. margin-bottom: 24px;
  1659. }
  1660. .pr-main {
  1661. margin-right: 100px;
  1662. }
  1663. .pr-sidebar {
  1664. border-left: 1px solid #DDD;
  1665. box-sizing: border-box;
  1666. position: absolute;
  1667. right: 0;
  1668. top: 12px;
  1669. }
  1670. .pr-title {
  1671. padding: 4px 0;
  1672. }
  1673. .pr-title .pr-num {
  1674. font-weight: normal;
  1675. color: #888;
  1676. }
  1677. .pr-meta {
  1678. color: #888;
  1679. padding: 4px 0 8px 0;
  1680. }
  1681. .pr-meta .pr-author {
  1682. margin: 0 8px;
  1683. color: #444;
  1684. }
  1685. .pr-meta .pr-author:hover {
  1686. text-decoration: underline;
  1687. }
  1688. .pr-meta .pr-branch {
  1689. margin: 0 4px;
  1690. font-size: 12px;
  1691. padding: 4px 6px;
  1692. }
  1693. .pr-nav {
  1694. border-bottom: 1px solid #DDD;
  1695. margin-top: 16px;
  1696. margin-bottom: 16px;
  1697. }
  1698. .pr-nav .octicon {
  1699. margin-right: 4px;
  1700. }
  1701. .pr-nav li > a {
  1702. padding: 3px 9px !important;
  1703. border: 1px solid transparent;
  1704. border-bottom: none;
  1705. border-top-left-radius: .2em;
  1706. border-top-right-radius: .2em;
  1707. }
  1708. .pr-nav li > a .label {
  1709. padding: 1px 5px;
  1710. font-size: 12px;
  1711. margin-left: 4px;
  1712. }
  1713. .pr-nav li.js-tab-nav-show > a {
  1714. background-color: #FFF;
  1715. border-color: #E6E6E6;
  1716. }
  1717. .diff-bar .diff-add {
  1718. color: #65ad4e;
  1719. }
  1720. .diff-bar .diff-delete {
  1721. color: #d9453d;
  1722. }
  1723. .diff-bar .diff-status {
  1724. width: 50px;
  1725. background-color: #d9453d;
  1726. height: 10px;
  1727. margin-top: 7px;
  1728. margin-left: 4px;
  1729. margin-right: 4px;
  1730. border-radius: .2em;
  1731. }
  1732. .diff-bar .diff-status-inner {
  1733. width: 45%;
  1734. background-color: #65ad4e;
  1735. height: 10px;
  1736. border-top-left-radius: .2em;
  1737. border-bottom-left-radius: .2em;
  1738. }
  1739. #pr-commit,
  1740. #pr-file-diff,
  1741. #issue-add-comment-preview {
  1742. display: none;
  1743. }
  1744. #pr-conversation-list {
  1745. padding-right: 30px;
  1746. box-sizing: border-box;
  1747. }
  1748. .issue-comment,
  1749. .issue-commit,
  1750. .issue-line,
  1751. .issue-merge,
  1752. .issue-add-comment {
  1753. margin-bottom: 24px;
  1754. }
  1755. .issue-comment .author-avatar img {
  1756. margin-right: 12px;
  1757. }
  1758. .issue-comment .panel {
  1759. margin-left: 60px;
  1760. margin-top: -40px;
  1761. }
  1762. .issue-comment .panel-header {
  1763. font-size: 13px;
  1764. }
  1765. .issue-comment .author-name {
  1766. font-weight: bold;
  1767. }
  1768. .issue-comment .date {
  1769. margin-left: 4px;
  1770. font-style: italic;
  1771. color: #888;
  1772. }
  1773. .issue-comment .action > * {
  1774. margin-left: 4px;
  1775. font-size: 12px;
  1776. }
  1777. .issue-comment .action i {
  1778. font-size: 13px;
  1779. }
  1780. .issue-commit {
  1781. line-height: 32px;
  1782. }
  1783. .issue-commit i,
  1784. .issue-commit .author-avatar img {
  1785. margin-right: 16px;
  1786. }
  1787. .issue-commit .sha {
  1788. margin-left: 24px;
  1789. }
  1790. .issue-commit .message {
  1791. display: block;
  1792. margin-left: 88px;
  1793. padding-top: 4px;
  1794. line-height: 24px;
  1795. }
  1796. .issue-merge .ico {
  1797. width: 40px;
  1798. height: 40px;
  1799. text-align: center;
  1800. color: #FFF;
  1801. margin-right: 12px;
  1802. }
  1803. .issue-merge .ico i {
  1804. margin-top: 8px;
  1805. font-size: 24px;
  1806. }
  1807. .issue-merge .panel {
  1808. margin-left: 60px;
  1809. margin-top: -40px;
  1810. }
  1811. .issue-merge .panel-header {
  1812. font-size: 13px;
  1813. }
  1814. .issue-merge-ok .ico {
  1815. background-color: #65AD4E;
  1816. }
  1817. .issue-merge-ok .panel,
  1818. .issue-merge-ok .panel-content,
  1819. .issue-merge-ok .panel-header {
  1820. border-color: #65AD4E;
  1821. background-color: #FFF;
  1822. }
  1823. .issue-merge-ok .panel-header {
  1824. color: #508a3e;
  1825. }
  1826. .issue-line {
  1827. height: 4px;
  1828. background-color: #E6E6E6;
  1829. }
  1830. .issue-add-comment .panel {
  1831. margin-left: 60px;
  1832. margin-top: -40px;
  1833. }
  1834. .issue-add-comment .panel-header {
  1835. font-size: 13px;
  1836. padding-bottom: 0;
  1837. }
  1838. .issue-add-comment .add-nav > li > a {
  1839. padding: 4px 12px;
  1840. color: #444;
  1841. border: 1px solid #CCC;
  1842. margin-bottom: -1px;
  1843. font-size: 14px;
  1844. border-top-left-radius: .3em;
  1845. border-top-right-radius: .3em;
  1846. }
  1847. .issue-add-comment .add-nav > li > a:hover {
  1848. background-color: #FFF;
  1849. }
  1850. .issue-add-comment .add-nav > li.js-tab-nav-show > a {
  1851. background-color: #FFF;
  1852. }
  1853. textarea#issue-add-content {
  1854. width: 100%;
  1855. box-sizing: border-box;
  1856. height: 120px;
  1857. resize: vertical;
  1858. }
  1859. .org-header-alert .alert {
  1860. margin-top: 10px;
  1861. }
  1862. .org-header {
  1863. padding: 16px 0;
  1864. background-color: #FFF;
  1865. border-bottom: 1px solid #DDD;
  1866. }
  1867. .org-header img {
  1868. padding-right: 10px;
  1869. }
  1870. #org-home-header {
  1871. min-height: 100px;
  1872. }
  1873. #org-header {
  1874. height: 48px;
  1875. }
  1876. #org-header .org-name {
  1877. padding-left: 10px;
  1878. font-size: 1.4em;
  1879. height: 50px;
  1880. line-height: 50px;
  1881. margin-bottom: 0;
  1882. }
  1883. #org-header > div > .menu-line > li.right > a {
  1884. font-size: 1.2em;
  1885. color: #444444;
  1886. }
  1887. #org-header > div > .menu-line > li.right > a:hover {
  1888. background-color: transparent;
  1889. color: #d9453d;
  1890. }
  1891. #org-header > div > .menu-line > li.right > a .octicon {
  1892. margin-right: 4px;
  1893. }
  1894. #org-header > div > .menu-line > li.right > a .label {
  1895. margin-left: 4px;
  1896. font-size: .6em;
  1897. }
  1898. #org-header > div > .menu-line > li.right .current {
  1899. border-bottom: 2px solid #D26911;
  1900. }
  1901. #org-home-header-info {
  1902. padding-top: 10px;
  1903. }
  1904. #org-home-header-info h2 {
  1905. font-size: 30px;
  1906. }
  1907. #org-home-header-info ul {
  1908. list-style: none;
  1909. }
  1910. #org-home-header-info ul li {
  1911. float: left;
  1912. padding-right: 5px;
  1913. }
  1914. #org-home-repo-list {
  1915. padding: 10px 0;
  1916. }
  1917. #org-repo-list {
  1918. padding: 10px 0;
  1919. }
  1920. #org-repo-list .org-repo-item {
  1921. border-top: 1px solid #eee;
  1922. padding: 30px 20px;
  1923. }
  1924. #org-repo-list .org-repo-item .org-repo-status {
  1925. list-style: none;
  1926. color: #888;
  1927. }
  1928. #org-repo-list .org-repo-item .org-repo-status li {
  1929. float: left;
  1930. margin-right: 6px;
  1931. }
  1932. #org-repo-list .org-repo-item h2 {
  1933. margin-bottom: 5px;
  1934. }
  1935. #org-repo-list .org-repo-item .org-repo-description {
  1936. margin: 0;
  1937. font-size: 14px;
  1938. color: #666;
  1939. }
  1940. #org-repo-list .org-repo-item .org-repo-updated {
  1941. font-size: 12px;
  1942. display: block;
  1943. margin: 5px 0 0;
  1944. color: #808080;
  1945. }
  1946. .org-sidebar {
  1947. margin: -80px 0 0 20px;
  1948. }
  1949. .org-sidebar .panel-footer {
  1950. padding: .8em 1.2em;
  1951. }
  1952. .org-sidebar .member-avatar-group {
  1953. padding: 15px;
  1954. }
  1955. .org-sidebar .member-avatar-group img {
  1956. width: 59px;
  1957. height: 59px;
  1958. border-radius: 3px;
  1959. }
  1960. #org-home-team-list {
  1961. padding: 0 15px;
  1962. }
  1963. #org-home-team-list ul {
  1964. list-style: none;
  1965. padding-top: 10px;
  1966. }
  1967. #org-home-team-list ul li {
  1968. padding: 10px 0;
  1969. border-bottom: 1px solid #eee;
  1970. }
  1971. #org-home-team-list ul li:last-child {
  1972. border-bottom: 0;
  1973. }
  1974. .team-name {
  1975. display: block;
  1976. font-size: 14px;
  1977. overflow: hidden;
  1978. text-overflow: ellipsis;
  1979. white-space: nowrap;
  1980. }
  1981. .team-meta {
  1982. margin-top: 0;
  1983. margin-bottom: 0;
  1984. color: #777;
  1985. }
  1986. .org-toolbar {
  1987. padding: 10px 0;
  1988. border-bottom: 1px solid #eee;
  1989. }
  1990. #org-member-list .org-member-item {
  1991. height: 50px;
  1992. line-height: 50px;
  1993. border-bottom: 1px solid #eee;
  1994. padding: 15px 20px;
  1995. }
  1996. #org-member-list .org-member-item .member-name {
  1997. padding-left: 15px;
  1998. }
  1999. #org-member-list .org-member-item ul {
  2000. list-style: none;
  2001. }
  2002. #org-member-list .org-member-item ul li {
  2003. text-align: center;
  2004. display: inline-block;
  2005. }
  2006. .invite-box {
  2007. padding: 50px 0;
  2008. min-height: 130px;
  2009. margin: 0 auto;
  2010. width: 50%;
  2011. }
  2012. .invite-box input {
  2013. width: 300px;
  2014. }
  2015. #org-member-list-block {
  2016. padding-top: 2px;
  2017. }
  2018. .org-team-list .org-team-list-item {
  2019. float: left;
  2020. padding: 15px;
  2021. width: 555px;
  2022. }
  2023. .org-team-list .org-team-list-item .member-avatar-group {
  2024. padding: 5px 15px;
  2025. }
  2026. .org-team-list .org-team-list-item .member-avatar-group img {
  2027. width: 38px;
  2028. height: 38px;
  2029. border-radius: 3px;
  2030. }
  2031. #team-create-form .note {
  2032. margin-left: 153px;
  2033. }
  2034. #org-team-card .desc {
  2035. font-size: 14px;
  2036. padding: 10px 20px;
  2037. }
  2038. #org-team-card .team-stats {
  2039. padding: 0 20px 10px 20px;
  2040. text-transform: uppercase;
  2041. border-bottom: 1px solid #dddddd;
  2042. }
  2043. #org-team-card .panel-footer {
  2044. padding: 10px 20px;
  2045. }
  2046. #team-repositories-list .panel-body .search,
  2047. #team-members-list .panel-body .search {
  2048. padding: 4px 0 10px 10px;
  2049. border-bottom: 1px solid #dddddd;
  2050. }
  2051. #team-repositories-list li.collab,
  2052. #team-members-list li.collab {
  2053. padding-top: 10px !important;
  2054. border-bottom: 1px solid #dddddd;
  2055. }
  2056. #team-repositories-list li:last-child,
  2057. #team-members-list li:last-child {
  2058. border-bottom: 0 !important;
  2059. }
  2060. #team-repositories-list li a .octicon {
  2061. color: #888;
  2062. }
  2063. #team-repositories-list li .member {
  2064. color: #428bca;
  2065. font-size: 14px;
  2066. height: 40px;
  2067. line-height: 40px;
  2068. }
  2069. .admin-panel {
  2070. padding: 10px 20px;
  2071. }
  2072. .admin-desc {
  2073. padding: 10px 20px;
  2074. }
  2075. .admin-table {
  2076. padding: 15px 0 5px 0;
  2077. }
  2078. .dl-horizontal dt {
  2079. float: left;
  2080. width: 160px;
  2081. clear: left;
  2082. overflow: hidden;
  2083. text-overflow: ellipsis;
  2084. white-space: nowrap;
  2085. }
  2086. .admin-dl-horizontal {
  2087. padding: 20px;
  2088. }
  2089. .admin-dl-horizontal > dt {
  2090. width: 250px;
  2091. }
  2092. .admin-dl-horizontal > dd {
  2093. margin-left: 240px;
  2094. }
  2095. .profile-avatar {
  2096. width: 200px;
  2097. height: 200px;
  2098. border-radius: 6px;
  2099. }
  2100. #profile-name {
  2101. padding: 10px 0;
  2102. }
  2103. #profile-fullname {
  2104. font-size: 1.6em;
  2105. }
  2106. #profile-username {
  2107. font-size: 1.6em;
  2108. font-weight: bold;
  2109. }
  2110. .profile-info {
  2111. padding: 0 50px;
  2112. font-size: 14px;
  2113. }
  2114. .profile-info ul {
  2115. padding-bottom: 10px;
  2116. }
  2117. .profile-info ul .list-group-item {
  2118. background-color: transparent;
  2119. padding-top: 5px;
  2120. color: #666;
  2121. }
  2122. .profile-info ul .profile-rel {
  2123. width: 31%;
  2124. text-align: center;
  2125. display: inline-block;
  2126. }
  2127. .profile-info ul .profile-rel strong {
  2128. display: block;
  2129. font-size: 28px;
  2130. font-weight: bold;
  2131. line-height: 1;
  2132. }
  2133. .profile-info ul .profile-rel p {
  2134. font-size: 12px;
  2135. }
  2136. #profile-header li a {
  2137. font-size: 1.2em;
  2138. color: #444444;
  2139. padding: .4em .8em;
  2140. }
  2141. #profile-header li a:hover {
  2142. background-color: transparent;
  2143. color: #d9453d;
  2144. }
  2145. #profile-header li .current {
  2146. border-bottom: 2px solid #D26911;
  2147. }