gogs.css 39 KB

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