gogs.css 38 KB

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