gogs.css 37 KB

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