gogs.css 37 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003
  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. #install-form {
  672. padding: 15px;
  673. }
  674. #install-form label {
  675. width: 35%;
  676. }
  677. #install-form input {
  678. width: 30%;
  679. }
  680. #install-form input[type="checkbox"],
  681. #install-form input[type="radio"] {
  682. width: auto;
  683. }
  684. /*
  685. The dashboard page style
  686. */
  687. #dashboard-header {
  688. border-bottom: 1px solid #d6d6d6;
  689. height: 69px;
  690. }
  691. #dashboard-header > .menu-line > li {
  692. padding: 12px 0;
  693. }
  694. #dashboard-header > .menu-line > li.right > a {
  695. font-size: 1.2em;
  696. color: #444444;
  697. }
  698. #dashboard-header > .menu-line > li.right > a:hover {
  699. background-color: transparent;
  700. color: #d9453d;
  701. }
  702. #dashboard-header > .menu-line > li.right > a .octicon {
  703. margin-right: 6px;
  704. }
  705. #dashboard-header > .menu-line > li.right .current {
  706. border-bottom: 2px solid #D26911;
  707. }
  708. #dashboard-selection-menu a img {
  709. margin: -4px 10px 0 0;
  710. }
  711. #dashboard {
  712. padding: 24px 0;
  713. }
  714. #dashboard-sidebar .panel-header h4 {
  715. margin: 0;
  716. }
  717. #dashboard-sidebar > .panel {
  718. margin-bottom: 24px;
  719. border-bottom-left-radius: .3em;
  720. border-bottom-right-radius: .3em;
  721. }
  722. #dashboard-sidebar-menu {
  723. border-top-left-radius: .3em;
  724. border-top-right-radius: .3em;
  725. width: 100%;
  726. height: 35px;
  727. }
  728. #dashboard-sidebar-menu > li {
  729. border: 1px solid #d6d6d6;
  730. float: left;
  731. margin-right: -1px;
  732. border-bottom: none;
  733. }
  734. #dashboard-sidebar-menu > li > a {
  735. padding-top: .4em;
  736. padding-bottom: .4em;
  737. }
  738. #dashboard-sidebar-menu > li.first {
  739. border-top-left-radius: .3em;
  740. }
  741. #dashboard-sidebar-menu > li.first > a {
  742. border-top-left-radius: .3em;
  743. }
  744. #dashboard-sidebar-menu > li.drop {
  745. border: none;
  746. float: right;
  747. }
  748. #dashboard-sidebar-menu > li.js-tab-nav-show {
  749. background-color: #EEEEEE;
  750. }
  751. #dashboard-sidebar-menu > li.last {
  752. border-top-right-radius: .3em;
  753. }
  754. #dashboard-sidebar-menu > li.last > a {
  755. border-top-right-radius: .3em;
  756. }
  757. #dashboard-my-mirror li,
  758. #dashboard-my-org li,
  759. #dashboard-my-repo li {
  760. border-bottom: 1px solid #EAEAEA;
  761. }
  762. #dashboard-my-mirror li.private,
  763. #dashboard-my-org li.private,
  764. #dashboard-my-repo li.private {
  765. background-color: #fcf8e9;
  766. }
  767. #dashboard-my-mirror li:last-child,
  768. #dashboard-my-org li:last-child,
  769. #dashboard-my-repo li:last-child {
  770. border-bottom: none;
  771. }
  772. #dashboard-my-mirror li a,
  773. #dashboard-my-org li a,
  774. #dashboard-my-repo li a {
  775. padding: 6px 1.2em;
  776. display: block;
  777. }
  778. #dashboard-my-mirror li a .octicon,
  779. #dashboard-my-org li a .octicon,
  780. #dashboard-my-repo li a .octicon {
  781. margin-right: 6px;
  782. color: #888;
  783. }
  784. #dashboard-my-mirror li a:hover .repo-name,
  785. #dashboard-my-org li a:hover .repo-name,
  786. #dashboard-my-repo li a:hover .repo-name {
  787. text-decoration: underline;
  788. }
  789. #dashboard-my-mirror .repo-name,
  790. #dashboard-my-org .repo-name,
  791. #dashboard-my-repo .repo-name {
  792. font-size: 1.1em;
  793. }
  794. #dashboard-my-mirror .repo-star,
  795. #dashboard-my-org .repo-star,
  796. #dashboard-my-repo .repo-star {
  797. color: #888;
  798. }
  799. #dashboard-my-mirror .repo-contrib-header,
  800. #dashboard-my-org .repo-contrib-header,
  801. #dashboard-my-repo .repo-contrib-header {
  802. border-top: 1px solid #d6d6d6;
  803. }
  804. #dashboard-my-repo .panel-header .octicon {
  805. margin-right: 6px;
  806. font-size: 12px;
  807. }
  808. #dashboard-my-repo .repo-count {
  809. margin-left: 4px;
  810. }
  811. #dashboard-my-org,
  812. #dashboard-my-mirror {
  813. display: none;
  814. }
  815. #dashboard-new-repo {
  816. width: 50px;
  817. height: 35px;
  818. padding-top: 6px;
  819. margin-right: 1px;
  820. border-top-left-radius: .3em;
  821. border-top-right-radius: .3em;
  822. }
  823. #dashboard-new-repo .octicon {
  824. font-size: 2em;
  825. }
  826. #dashboard-new-repo-menu {
  827. top: 35px;
  828. width: 180px;
  829. background-color: #FFF;
  830. left: -132px;
  831. }
  832. #dashboard-new-repo-menu .octicon {
  833. margin-right: 6px;
  834. font-size: 1.1em;
  835. }
  836. #dashboard-selection-menu {
  837. width: auto;
  838. max-width: 300px;
  839. }
  840. #dashboard-selection-menu > .drop-down {
  841. top: 56px;
  842. }
  843. #dashboard-selection-menu li {
  844. white-space: nowrap;
  845. }
  846. #dashboard-selection-menu li.checked .octicon {
  847. opacity: 1;
  848. }
  849. #dashboard-selection-menu li a {
  850. text-overflow: ellipsis;
  851. -o-text-overflow: ellipsis;
  852. overflow: hidden;
  853. }
  854. #dashboard-switch-menu {
  855. border-bottom-left-radius: .3em;
  856. border-bottom-right-radius: .3em;
  857. }
  858. #dashboard-switch-menu > li > a img {
  859. margin-top: 0;
  860. }
  861. #dashboard-switch-menu > li > a .octicon {
  862. margin-right: 12px;
  863. }
  864. #dashboard-switch-menu > li:last-child > a {
  865. border-bottom-left-radius: .3em;
  866. border-bottom-right-radius: .3em;
  867. }
  868. #dashboard-switch-menu > li.org > a .octicon {
  869. opacity: 0;
  870. }
  871. #dashboard-switch-menu > li.checked > a {
  872. font-weight: bold;
  873. }
  874. #dashboard-switch-menu > li.checked > a .octicon {
  875. opacity: 1;
  876. }
  877. #dashboard-news .news {
  878. margin-right: 2.4em;
  879. padding-bottom: 1em;
  880. margin-bottom: 1em;
  881. border-bottom: 1px solid #E6E6E6;
  882. min-height: 30px;
  883. }
  884. #dashboard-news .news .mega-octicon {
  885. color: #CCC;
  886. }
  887. #dashboard-news .news .avatar {
  888. margin: 0 1.2em;
  889. }
  890. #dashboard-news .news .news-content,
  891. #dashboard-news .news .news-time {
  892. color: #888;
  893. }
  894. #dashboard-news .push-news .news-content li {
  895. margin-left: 1em;
  896. }
  897. #dashboard-news .push-news .news-content li img {
  898. vertical-align: inherit;
  899. margin-bottom: -2px;
  900. }
  901. /*
  902. The register and sign-in page style
  903. */
  904. #sign-wrapper {
  905. padding: 60px 0;
  906. }
  907. .sign-panel {
  908. background-color: #ffffff;
  909. }
  910. .sign-form.form-align .field {
  911. margin: 1.2em 0 2em 0;
  912. }
  913. .sign-form.form-align .ipt-large {
  914. width: 300px;
  915. }
  916. .sign-form.form-align label,
  917. .sign-form.form-align .form-label {
  918. width: 160px;
  919. }
  920. .sign-form.form-align .alert {
  921. margin: 0 30px 24px 30px;
  922. }
  923. .sign-form.form-align:hover {
  924. box-shadow: 0 0 6px #CCC;
  925. }
  926. .sign-form.container {
  927. padding: 0;
  928. width: 600px;
  929. margin-bottom: 80px;
  930. }
  931. #sign-up-form .panel-content {
  932. margin-top: 1.2em;
  933. }
  934. #sign-up-form h2 {
  935. margin: .5em 1em;
  936. }
  937. #sign-social {
  938. position: relative;
  939. margin: 40px 0;
  940. }
  941. #sign-social .or {
  942. position: absolute;
  943. width: 30px;
  944. top: -52px;
  945. left: 50%;
  946. background-color: #FFF;
  947. margin-left: -15px;
  948. }
  949. /* repository main */
  950. #repo-wrapper {
  951. padding-bottom: 100px;
  952. }
  953. #repo-header {
  954. height: 69px;
  955. border-bottom: 1px solid #d6d6d6;
  956. background-color: #ffffff;
  957. }
  958. #repo-header-name {
  959. line-height: 66px;
  960. color: #888888;
  961. font-size: 1.6em;
  962. font-weight: normal;
  963. margin-bottom: 0;
  964. }
  965. #repo-header-name i {
  966. margin-right: 12px;
  967. vertical-align: middle;
  968. }
  969. #repo-header-name .divider {
  970. margin: 0 4px;
  971. }
  972. #repo-header-meta {
  973. line-height: 66px;
  974. }
  975. #repo-header-meta li > a {
  976. padding: 0;
  977. }
  978. #repo-header-meta li > a:hover {
  979. background-color: transparent;
  980. }
  981. #repo-header-meta a > .btn {
  982. font-size: 1.05em;
  983. margin-left: 16px;
  984. line-height: 16px;
  985. }
  986. #repo-header-meta a > .btn i {
  987. margin-right: 6px;
  988. }
  989. #repo-header-meta a > .btn .num {
  990. margin-left: 6px;
  991. }
  992. #repo-header-download-btn > .btn > i {
  993. margin-right: 0 !important;
  994. }
  995. #repo-header-download-btn:hover:after,
  996. #repo-header-download-btn:hover .btn {
  997. background-color: #383838;
  998. color: #FFF;
  999. }
  1000. #repo-header-download-btn:after {
  1001. background-color: #444444;
  1002. padding: 9px 16px 8px 0;
  1003. margin-left: -8px !important;
  1004. color: #FFF;
  1005. border-top: 1px solid #444444;
  1006. border-bottom: 1px solid #444444;
  1007. border-top-right-radius: .25em;
  1008. border-bottom-right-radius: .25em;
  1009. }
  1010. #repo-header-download-drop {
  1011. line-height: 24px;
  1012. width: 440px;
  1013. top: 50px;
  1014. left: -354px;
  1015. padding: 20px;
  1016. box-sizing: border-box;
  1017. z-index: 1;
  1018. }
  1019. #repo-header-download-drop .btn > i {
  1020. margin-right: 6px;
  1021. }
  1022. #repo-content {
  1023. padding: 18px 0;
  1024. }
  1025. #repo-clone-url {
  1026. border-right: none;
  1027. width: 196px;
  1028. border-left: none;
  1029. }
  1030. #repo-clone-help {
  1031. clear: both;
  1032. line-height: 48px;
  1033. }
  1034. #repo-clone-zip {
  1035. line-height: 48px;
  1036. }
  1037. #repo-clone-zip a {
  1038. cursor: pointer;
  1039. color: white;
  1040. overflow: visible;
  1041. padding: .6em 1.2em;
  1042. }
  1043. #repo-clone-zip .btn {
  1044. margin: 0 6px;
  1045. }
  1046. #repo-desc {
  1047. font-size: 1.2em;
  1048. }
  1049. #repo-sidebar-nav .label {
  1050. font-size: 12px;
  1051. line-height: 1.4em;
  1052. margin-top: 2px;
  1053. }
  1054. #repo-sidebar-nav i {
  1055. margin-right: 6px;
  1056. }
  1057. #repo-file-nav {
  1058. padding: .6em 0 1em 0;
  1059. }
  1060. #repo-file-nav > li > a {
  1061. padding-left: 0;
  1062. }
  1063. #repo-file-nav > li > a:hover {
  1064. background-color: transparent;
  1065. }
  1066. #repo-file-nav li.repo-jump > a {
  1067. padding-right: 0;
  1068. }
  1069. #repo-file-nav li.repo-jump > a .btn {
  1070. margin-left: -1px;
  1071. }
  1072. #repo-branch-switch > a .btn {
  1073. padding-right: 30px;
  1074. }
  1075. #repo-branch-switch > a:after {
  1076. position: absolute;
  1077. top: 12px;
  1078. right: 30px;
  1079. margin-left: 0;
  1080. color: #444444;
  1081. }
  1082. #repo-branch-switch > .drop-down {
  1083. top: 40px;
  1084. left: 0;
  1085. }
  1086. #repo-branch-filter-ipt {
  1087. width: 100%;
  1088. border-left: none;
  1089. border-right: none;
  1090. box-sizing: border-box;
  1091. }
  1092. #repo-branch-tag .tab-nav {
  1093. border-bottom: 1px solid #EAEAEA;
  1094. }
  1095. #repo-branch-tag .tab-nav a {
  1096. padding: .3em .8em;
  1097. }
  1098. #repo-branch-tag .tab-nav .js-tab-nav-show {
  1099. background-color: #EEE;
  1100. font-weight: bold;
  1101. }
  1102. #repo-branch-list li i,
  1103. #repo-tag-list li i {
  1104. margin-right: 12px;
  1105. opacity: 0;
  1106. }
  1107. #repo-branch-list li.checked i,
  1108. #repo-tag-list li.checked i {
  1109. opacity: 1;
  1110. }
  1111. #repo-tag-list {
  1112. display: none;
  1113. }
  1114. #repo-bread .bread {
  1115. padding-right: 0;
  1116. font-size: 16px;
  1117. font-weight: bold;
  1118. }
  1119. #repo-main {
  1120. padding-right: 40px;
  1121. box-sizing: border-box;
  1122. }
  1123. #repo-files-table {
  1124. margin-bottom: 20px;
  1125. }
  1126. #repo-files-table th,
  1127. #repo-files-table td {
  1128. text-align: left;
  1129. line-height: 32px;
  1130. }
  1131. #repo-files-table td.icon {
  1132. width: 16px;
  1133. padding-right: .1em;
  1134. padding-left: 1em;
  1135. }
  1136. #repo-files-table td.name {
  1137. max-width: 120px;
  1138. }
  1139. #repo-files-table td.name .text-truncate {
  1140. max-width: 100%;
  1141. }
  1142. #repo-files-table td.age {
  1143. max-width: 120px;
  1144. text-align: right;
  1145. }
  1146. #repo-files-table td.msg {
  1147. max-width: 440px;
  1148. }
  1149. #repo-files-table td.msg .text-truncate {
  1150. max-width: 100%;
  1151. }
  1152. #repo-files-table td.age,
  1153. #repo-files-table td.size,
  1154. #repo-files-table td.msg a {
  1155. color: #888;
  1156. }
  1157. #repo-files-table td.msg a:hover {
  1158. color: #428BCA;
  1159. text-decoration: underline;
  1160. }
  1161. #repo-files-table tbody {
  1162. background-color: #FFF;
  1163. }
  1164. #repo-files-table tbody tr:hover {
  1165. background-color: #ffffEE;
  1166. }
  1167. #repo-files-table thead {
  1168. background-color: #F0F0F0;
  1169. }
  1170. #repo-files-table thead .author a {
  1171. margin: 0 .4em;
  1172. }
  1173. #repo-files-table thead .last-commit strong {
  1174. color: #444;
  1175. }
  1176. #repo-files-table thead .last-commit .text-truncate {
  1177. margin-left: .4em;
  1178. }
  1179. #repo-files-table thead .last-commit .text-truncate,
  1180. #repo-files-table thead .age {
  1181. font-weight: normal;
  1182. color: #888;
  1183. }
  1184. #repo-readme {
  1185. margin-bottom: 80px;
  1186. }
  1187. #repo-bare-start {
  1188. margin-bottom: 100px;
  1189. }
  1190. #repo-bare-start .panel-content {
  1191. background-color: #FFF;
  1192. }
  1193. #repo-bare-start pre {
  1194. margin: 0 40px;
  1195. padding: 6px 10px;
  1196. border: 1px solid #ddd;
  1197. background: #f8f8f8;
  1198. }
  1199. .repo-bare #repo-bare-start h2 {
  1200. margin-top: 30px;
  1201. margin-bottom: 24px;
  1202. }
  1203. .repo-bare #repo-header-meta {
  1204. display: none;
  1205. }
  1206. .repo-bare #repo-clone-ssh {
  1207. margin-left: 200px;
  1208. }
  1209. .repo-bare #repo-clone-copy {
  1210. margin-right: 200px;
  1211. }
  1212. .repo-bare #repo-clone-help {
  1213. clear: both;
  1214. width: 100%;
  1215. }
  1216. .repo-bare #repo-clone-url {
  1217. width: 520px;
  1218. }
  1219. /* repository create */
  1220. #team-create-form,
  1221. #repo-migrate-form,
  1222. #repo-create-form {
  1223. width: 800px;
  1224. margin: 60px auto auto auto;
  1225. background: white;
  1226. }
  1227. #team-create-form h2,
  1228. #repo-migrate-form h2,
  1229. #repo-create-form h2 {
  1230. margin: .5em 1em;
  1231. }
  1232. #team-create-form .field,
  1233. #repo-migrate-form .field,
  1234. #repo-create-form .field {
  1235. margin: 1.2em 0 2em 0;
  1236. }
  1237. #team-create-form .ipt,
  1238. #repo-migrate-form .ipt,
  1239. #repo-create-form .ipt {
  1240. width: 540px;
  1241. }
  1242. #team-create-form textarea,
  1243. #repo-migrate-form textarea,
  1244. #repo-create-form textarea {
  1245. height: 120px;
  1246. }
  1247. #team-create-form .avatar,
  1248. #repo-migrate-form .avatar,
  1249. #repo-create-form .avatar {
  1250. vertical-align: middle;
  1251. margin-right: .6em;
  1252. width: 28px;
  1253. height: 28px;
  1254. }
  1255. #team-create-form:hover,
  1256. #repo-migrate-form:hover,
  1257. #repo-create-form:hover {
  1258. box-shadow: 0px 0px 6px #CCC;
  1259. }
  1260. #repo-create-cancel {
  1261. margin-left: 4em;
  1262. }
  1263. #repo-create-owner-list {
  1264. top: 30px;
  1265. left: 0;
  1266. width: auto;
  1267. max-width: 300px;
  1268. }
  1269. #repo-create-owner-list .octicon {
  1270. margin-right: 12px;
  1271. opacity: 0;
  1272. }
  1273. #repo-create-owner-list .avatar {
  1274. width: 20px;
  1275. height: 20px;
  1276. }
  1277. #repo-create-owner-list li {
  1278. white-space: nowrap;
  1279. }
  1280. #repo-create-owner-list li.checked .octicon {
  1281. opacity: 1;
  1282. }
  1283. #repo-create-owner-list li a {
  1284. text-overflow: ellipsis;
  1285. -o-text-overflow: ellipsis;
  1286. overflow: hidden;
  1287. }
  1288. .file-name {
  1289. margin-left: 1em;
  1290. }
  1291. .file-size {
  1292. font-size: 13px;
  1293. color: #888;
  1294. margin-left: 1em;
  1295. }
  1296. .code-view {
  1297. overflow: auto;
  1298. overflow-x: auto;
  1299. overflow-y: hidden;
  1300. background: white;
  1301. }
  1302. .code-view .view-raw {
  1303. min-height: 40px;
  1304. text-align: center;
  1305. padding-top: 20px;
  1306. }
  1307. .code-view .view-raw .btn {
  1308. font-size: 1.05em;
  1309. line-height: 16px;
  1310. padding: 6px 8px;
  1311. }
  1312. .code-view table {
  1313. width: 100%;
  1314. }
  1315. .code-view table td {
  1316. padding: 0;
  1317. }
  1318. .code-view .lines-num {
  1319. vertical-align: top;
  1320. text-align: right;
  1321. color: #999;
  1322. background: #f5f5f5;
  1323. width: 1%;
  1324. }
  1325. .code-view .lines-num span {
  1326. font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
  1327. line-height: 18px;
  1328. padding: 0 8px 0 10px;
  1329. cursor: pointer;
  1330. display: block;
  1331. margin-top: 2px;
  1332. font-size: 12px;
  1333. }
  1334. .code-view .lines-code > pre {
  1335. border: none;
  1336. border-left: 1px solid #ddd;
  1337. }
  1338. .code-view .lines-code > pre > ol.linenums > li {
  1339. padding: 0 10px;
  1340. }
  1341. .code-view .lines-code > pre > ol.linenums > li.active {
  1342. background: #ffffdd;
  1343. }
  1344. .repo-setting-zone {
  1345. padding: 30px;
  1346. }
  1347. #team-repositories-list,
  1348. #team-members-list,
  1349. #repo-collab-list {
  1350. list-style: none;
  1351. padding: 10px 0 5px 0;
  1352. }
  1353. #team-repositories-list li.collab,
  1354. #team-members-list li.collab,
  1355. #repo-collab-list li.collab {
  1356. clear: both;
  1357. height: 50px;
  1358. padding: 0 15px 0 15px;
  1359. }
  1360. #team-repositories-list a.member,
  1361. #team-members-list a.member,
  1362. #repo-collab-list a.member {
  1363. color: #444;
  1364. height: 50px;
  1365. line-height: 50px;
  1366. }
  1367. #team-repositories-list a.member:hover,
  1368. #team-members-list a.member:hover,
  1369. #repo-collab-list a.member:hover {
  1370. color: #4183C4;
  1371. }
  1372. #team-repositories-list .avatar,
  1373. #team-members-list .avatar,
  1374. #repo-collab-list .avatar {
  1375. margin-right: 1em;
  1376. width: 40px;
  1377. }
  1378. #team-repositories-list .remove-collab,
  1379. #team-members-list .remove-collab,
  1380. #repo-collab-list .remove-collab {
  1381. color: #DD4B39;
  1382. }
  1383. .repo-user-list-block {
  1384. position: relative;
  1385. top: 5px;
  1386. }
  1387. .setting-list {
  1388. width: 100%;
  1389. list-style: none;
  1390. }
  1391. #admin-wrapper,
  1392. #setting-wrapper {
  1393. padding-bottom: 100px;
  1394. }
  1395. #setting-menu {
  1396. box-sizing: border-box;
  1397. }
  1398. #setting-menu li > a {
  1399. border-left: 2px solid #FFF;
  1400. background-color: #FFF;
  1401. }
  1402. #setting-menu li:hover {
  1403. border-color: #EAEAEA;
  1404. }
  1405. #setting-menu li:hover a {
  1406. border-left: 2px solid #EFEFEF;
  1407. background-color: #EFEFEF !important;
  1408. color: #000 !important;
  1409. }
  1410. #setting-menu li.current a {
  1411. color: #000 !important;
  1412. font-weight: bold;
  1413. border-left: 2px solid #d26911;
  1414. }
  1415. .setting-content {
  1416. margin-left: 32px;
  1417. }
  1418. #auth-setting-form,
  1419. #org-setting-form,
  1420. #repo-setting-form,
  1421. #user-profile-form,
  1422. .repo-setting-form {
  1423. background-color: #FFF;
  1424. padding: 30px 0;
  1425. }
  1426. #auth-setting-form textarea,
  1427. #org-setting-form textarea,
  1428. #repo-setting-form textarea,
  1429. #user-profile-form textarea,
  1430. .repo-setting-form textarea {
  1431. margin-left: 4px;
  1432. height: 100px;
  1433. }
  1434. #auth-setting-form label,
  1435. #org-setting-form label,
  1436. #repo-setting-form label,
  1437. #user-profile-form label,
  1438. .repo-setting-form label,
  1439. #auth-setting-form .form-label,
  1440. #org-setting-form .form-label,
  1441. #repo-setting-form .form-label,
  1442. #user-profile-form .form-label,
  1443. .repo-setting-form .form-label {
  1444. width: 240px;
  1445. }
  1446. #auth-setting-form .ipt,
  1447. #org-setting-form .ipt,
  1448. #repo-setting-form .ipt,
  1449. #user-profile-form .ipt,
  1450. .repo-setting-form .ipt {
  1451. width: 360px;
  1452. }
  1453. #auth-setting-form .field,
  1454. #org-setting-form .field,
  1455. #repo-setting-form .field,
  1456. #user-profile-form .field,
  1457. .repo-setting-form .field {
  1458. margin-bottom: 24px;
  1459. }
  1460. #hook-type {
  1461. padding: 10px 0 0 0;
  1462. background-color: #fff;
  1463. }
  1464. #hook-type .field {
  1465. margin-bottom: 24px;
  1466. }
  1467. #hook-type label {
  1468. width: 240px;
  1469. }
  1470. #repo-hooks-panel,
  1471. #repo-hooks-history-panel,
  1472. #user-social-panel,
  1473. #user-ssh-panel {
  1474. margin-bottom: 20px;
  1475. }
  1476. #repo-hooks-panel .setting-list,
  1477. #repo-hooks-history-panel .setting-list,
  1478. #user-social-panel .setting-list,
  1479. #user-ssh-panel .setting-list {
  1480. background-color: #FFF;
  1481. }
  1482. #repo-hooks-panel .setting-list li,
  1483. #repo-hooks-history-panel .setting-list li,
  1484. #user-social-panel .setting-list li,
  1485. #user-ssh-panel .setting-list li {
  1486. padding: 8px 20px;
  1487. border-bottom: 1px solid #eaeaea;
  1488. }
  1489. #repo-hooks-panel .setting-list li.ssh:hover,
  1490. #repo-hooks-history-panel .setting-list li.ssh:hover,
  1491. #user-social-panel .setting-list li.ssh:hover,
  1492. #user-ssh-panel .setting-list li.ssh:hover {
  1493. background-color: #ffffEE;
  1494. }
  1495. #repo-hooks-panel .setting-list li i,
  1496. #repo-hooks-history-panel .setting-list li i,
  1497. #user-social-panel .setting-list li i,
  1498. #user-ssh-panel .setting-list li i {
  1499. padding-right: 5px;
  1500. }
  1501. #repo-hooks-panel .active-icon,
  1502. #repo-hooks-history-panel .active-icon,
  1503. #user-social-panel .active-icon,
  1504. #user-ssh-panel .active-icon {
  1505. width: 10px;
  1506. height: 10px;
  1507. border-radius: 6px;
  1508. padding: 0;
  1509. margin-right: 20px;
  1510. margin-top: 10px;
  1511. }
  1512. #repo-hooks-panel .ssh-content,
  1513. #repo-hooks-history-panel .ssh-content,
  1514. #user-social-panel .ssh-content,
  1515. #user-ssh-panel .ssh-content {
  1516. margin-left: 24px;
  1517. }
  1518. #repo-hooks-panel .ssh-content .octicon,
  1519. #repo-hooks-history-panel .ssh-content .octicon,
  1520. #user-social-panel .ssh-content .octicon,
  1521. #user-ssh-panel .ssh-content .octicon {
  1522. margin-right: 4px;
  1523. }
  1524. #repo-hooks-panel .ssh-content .print,
  1525. #repo-hooks-history-panel .ssh-content .print,
  1526. #user-social-panel .ssh-content .print,
  1527. #user-ssh-panel .ssh-content .print,
  1528. #repo-hooks-panel .ssh-content .activity,
  1529. #repo-hooks-history-panel .ssh-content .activity,
  1530. #user-social-panel .ssh-content .activity,
  1531. #user-ssh-panel .ssh-content .activity {
  1532. color: #888;
  1533. }
  1534. #repo-hooks-panel .ssh-delete-btn,
  1535. #repo-hooks-history-panel .ssh-delete-btn,
  1536. #user-social-panel .ssh-delete-btn,
  1537. #user-ssh-panel .ssh-delete-btn {
  1538. margin-top: 6px;
  1539. }
  1540. #user-ssh-add-form .panel-body {
  1541. background-color: #FFF;
  1542. padding: 30px 0;
  1543. }
  1544. #user-ssh-add-form .ipt {
  1545. width: 500px;
  1546. }
  1547. #user-ssh-add-form textarea {
  1548. height: 120px;
  1549. margin-left: 3px;
  1550. }
  1551. #user-ssh-add-form .field {
  1552. margin-bottom: 24px;
  1553. }
  1554. .repo-issue-wrapper {
  1555. padding: 18px 0;
  1556. }
  1557. .pr-main {
  1558. padding-right: 40px;
  1559. box-sizing: border-box;
  1560. }
  1561. .pr-sidebar {
  1562. border-left: 1px solid #DDD;
  1563. box-sizing: border-box;
  1564. }
  1565. #pr-sidebar-nav {
  1566. margin-top: 6px;
  1567. }
  1568. #pr-sidebar-nav li {
  1569. margin-bottom: 4px;
  1570. }
  1571. #pr-sidebar-nav li > a {
  1572. border: 1px solid transparent;
  1573. border-left: none;
  1574. }
  1575. #pr-sidebar-nav li > a:hover {
  1576. background-color: #FFF;
  1577. border-color: #DDD;
  1578. }
  1579. #pr-sidebar-nav .label {
  1580. font-size: 12px;
  1581. line-height: 1.4em;
  1582. margin-top: 1px;
  1583. }
  1584. #pr-sidebar-nav li.current a {
  1585. background-color: #FFF;
  1586. border-color: #DDD;
  1587. }
  1588. .pr-title .pr-num {
  1589. font-weight: normal;
  1590. color: #888;
  1591. }
  1592. .pr-meta {
  1593. color: #888;
  1594. }
  1595. .pr-meta .pr-author {
  1596. margin: 0 8px;
  1597. color: #444;
  1598. }
  1599. .pr-meta .pr-author:hover {
  1600. text-decoration: underline;
  1601. }
  1602. .pr-meta .pr-branch {
  1603. margin: 0 4px;
  1604. font-size: 12px;
  1605. padding: 4px 6px;
  1606. }
  1607. .pr-nav {
  1608. border-bottom: 1px solid #DDD;
  1609. margin-top: 16px;
  1610. margin-bottom: 16px;
  1611. }
  1612. .pr-nav .octicon {
  1613. margin-right: 4px;
  1614. }
  1615. .pr-nav li > a {
  1616. padding: 3px 9px !important;
  1617. border: 1px solid transparent;
  1618. border-bottom: none;
  1619. border-top-left-radius: .2em;
  1620. border-top-right-radius: .2em;
  1621. }
  1622. .pr-nav li > a .label {
  1623. padding: 1px 5px;
  1624. font-size: 12px;
  1625. margin-left: 4px;
  1626. }
  1627. .pr-nav li.js-tab-nav-show > a {
  1628. background-color: #FFF;
  1629. border-color: #E6E6E6;
  1630. }
  1631. .diff-bar .diff-add {
  1632. color: #65ad4e;
  1633. }
  1634. .diff-bar .diff-delete {
  1635. color: #d9453d;
  1636. }
  1637. .diff-bar .diff-status {
  1638. width: 50px;
  1639. background-color: #d9453d;
  1640. height: 10px;
  1641. margin-top: 7px;
  1642. margin-left: 4px;
  1643. margin-right: 4px;
  1644. border-radius: .2em;
  1645. }
  1646. .diff-bar .diff-status-inner {
  1647. width: 45%;
  1648. background-color: #65ad4e;
  1649. height: 10px;
  1650. border-top-left-radius: .2em;
  1651. border-bottom-left-radius: .2em;
  1652. }
  1653. #pr-commit,
  1654. #pr-file-diff,
  1655. #issue-add-comment-preview {
  1656. display: none;
  1657. }
  1658. #pr-conversation-list {
  1659. padding-right: 30px;
  1660. box-sizing: border-box;
  1661. }
  1662. .issue-comment,
  1663. .issue-commit,
  1664. .issue-line,
  1665. .issue-merge,
  1666. .issue-add-comment {
  1667. margin-bottom: 16px;
  1668. }
  1669. .issue-comment .author-avatar img {
  1670. margin-right: 12px;
  1671. }
  1672. .issue-comment .panel {
  1673. margin-left: 60px;
  1674. margin-top: -40px;
  1675. }
  1676. .issue-comment .panel-header {
  1677. font-size: 13px;
  1678. }
  1679. .issue-comment .author-name {
  1680. font-weight: bold;
  1681. }
  1682. .issue-comment .date {
  1683. margin-left: 4px;
  1684. font-style: italic;
  1685. color: #888;
  1686. }
  1687. .issue-comment .action > * {
  1688. margin-left: 4px;
  1689. font-size: 12px;
  1690. }
  1691. .issue-comment .action i {
  1692. font-size: 13px;
  1693. }
  1694. .issue-commit {
  1695. line-height: 32px;
  1696. }
  1697. .issue-commit i,
  1698. .issue-commit .author-avatar img {
  1699. margin-right: 16px;
  1700. }
  1701. .issue-commit .sha {
  1702. margin-left: 24px;
  1703. }
  1704. .issue-commit .message {
  1705. display: block;
  1706. margin-left: 88px;
  1707. padding-top: 4px;
  1708. line-height: 24px;
  1709. }
  1710. .issue-merge .ico {
  1711. width: 40px;
  1712. height: 40px;
  1713. text-align: center;
  1714. color: #FFF;
  1715. margin-right: 12px;
  1716. }
  1717. .issue-merge .ico i {
  1718. margin-top: 8px;
  1719. font-size: 24px;
  1720. }
  1721. .issue-merge .panel {
  1722. margin-left: 60px;
  1723. margin-top: -40px;
  1724. }
  1725. .issue-merge .panel-header {
  1726. font-size: 13px;
  1727. }
  1728. .issue-merge-ok .ico {
  1729. background-color: #65AD4E;
  1730. }
  1731. .issue-merge-ok .panel,
  1732. .issue-merge-ok .panel-content,
  1733. .issue-merge-ok .panel-header {
  1734. border-color: #65AD4E;
  1735. background-color: #FFF;
  1736. }
  1737. .issue-merge-ok .panel-header {
  1738. color: #508a3e;
  1739. }
  1740. .issue-line {
  1741. height: 4px;
  1742. background-color: #E6E6E6;
  1743. }
  1744. .issue-add-comment .panel {
  1745. margin-left: 60px;
  1746. margin-top: -40px;
  1747. }
  1748. .issue-add-comment .panel-header {
  1749. font-size: 13px;
  1750. padding-bottom: 0;
  1751. }
  1752. .issue-add-comment .add-nav > li > a {
  1753. padding: 4px 12px;
  1754. color: #444;
  1755. border: 1px solid #CCC;
  1756. margin-bottom: -1px;
  1757. font-size: 14px;
  1758. border-top-left-radius: .3em;
  1759. border-top-right-radius: .3em;
  1760. }
  1761. .issue-add-comment .add-nav > li > a:hover {
  1762. background-color: #FFF;
  1763. }
  1764. .issue-add-comment .add-nav > li.js-tab-nav-show > a {
  1765. background-color: #FFF;
  1766. }
  1767. textarea#issue-add-content {
  1768. width: 100%;
  1769. box-sizing: border-box;
  1770. height: 120px;
  1771. }
  1772. .org-header-alert .alert {
  1773. margin-top: 10px;
  1774. }
  1775. .org-header {
  1776. padding: 16px 0;
  1777. background-color: #FFF;
  1778. border-bottom: 1px solid #DDD;
  1779. }
  1780. .org-header img {
  1781. padding-right: 10px;
  1782. }
  1783. #org-home-header {
  1784. min-height: 100px;
  1785. }
  1786. #org-header {
  1787. height: 48px;
  1788. }
  1789. #org-header .org-name {
  1790. padding-left: 10px;
  1791. font-size: 1.4em;
  1792. height: 50px;
  1793. line-height: 50px;
  1794. margin-bottom: 0;
  1795. }
  1796. #org-header > div > .menu-line > li.right > a {
  1797. font-size: 1.2em;
  1798. color: #444444;
  1799. }
  1800. #org-header > div > .menu-line > li.right > a:hover {
  1801. background-color: transparent;
  1802. color: #d9453d;
  1803. }
  1804. #org-header > div > .menu-line > li.right > a .octicon {
  1805. margin-right: 6px;
  1806. }
  1807. #org-header > div > .menu-line > li.right .current {
  1808. border-bottom: 2px solid #D26911;
  1809. }
  1810. #org-home-header-info {
  1811. padding-top: 10px;
  1812. }
  1813. #org-home-header-info h2 {
  1814. font-size: 30px;
  1815. }
  1816. #org-home-header-info ul {
  1817. list-style: none;
  1818. }
  1819. #org-home-header-info ul li {
  1820. float: left;
  1821. padding-right: 5px;
  1822. }
  1823. #org-home-repo-list {
  1824. padding: 10px 0;
  1825. }
  1826. #org-repo-list {
  1827. padding: 10px 0;
  1828. }
  1829. #org-repo-list .org-repo-item {
  1830. border-top: 1px solid #eee;
  1831. padding: 30px 20px;
  1832. }
  1833. #org-repo-list .org-repo-item .org-repo-status {
  1834. list-style: none;
  1835. color: #888;
  1836. }
  1837. #org-repo-list .org-repo-item .org-repo-status li {
  1838. float: left;
  1839. margin-right: 6px;
  1840. }
  1841. #org-repo-list .org-repo-item h2 {
  1842. margin-bottom: 5px;
  1843. }
  1844. #org-repo-list .org-repo-item .org-repo-description {
  1845. margin: 0;
  1846. font-size: 14px;
  1847. color: #666;
  1848. }
  1849. #org-repo-list .org-repo-item .org-repo-updated {
  1850. font-size: 12px;
  1851. display: block;
  1852. margin: 5px 0 0;
  1853. color: #808080;
  1854. }
  1855. .org-sidebar {
  1856. margin: -80px 0 0 20px;
  1857. }
  1858. .org-sidebar .panel-footer {
  1859. padding: .8em 1.2em;
  1860. }
  1861. .org-sidebar .member-avatar-group {
  1862. padding: 15px;
  1863. }
  1864. .org-sidebar .member-avatar-group img {
  1865. width: 59px;
  1866. height: 59px;
  1867. border-radius: 3px;
  1868. }
  1869. #org-home-team-list {
  1870. padding: 0 15px;
  1871. }
  1872. #org-home-team-list ul {
  1873. list-style: none;
  1874. padding-top: 10px;
  1875. }
  1876. #org-home-team-list ul li {
  1877. padding: 10px 0;
  1878. border-bottom: 1px solid #eee;
  1879. }
  1880. #org-home-team-list ul li:last-child {
  1881. border-bottom: 0;
  1882. }
  1883. .team-name {
  1884. display: block;
  1885. font-size: 14px;
  1886. overflow: hidden;
  1887. text-overflow: ellipsis;
  1888. white-space: nowrap;
  1889. }
  1890. .team-meta {
  1891. margin-top: 0;
  1892. margin-bottom: 0;
  1893. color: #777;
  1894. }
  1895. .org-toolbar {
  1896. padding: 10px 0;
  1897. border-bottom: 1px solid #eee;
  1898. }
  1899. #org-member-list .org-member-item {
  1900. height: 50px;
  1901. line-height: 50px;
  1902. border-bottom: 1px solid #eee;
  1903. padding: 15px 20px;
  1904. }
  1905. #org-member-list .org-member-item .member-name {
  1906. padding-left: 15px;
  1907. }
  1908. #org-member-list .org-member-item ul {
  1909. list-style: none;
  1910. }
  1911. #org-member-list .org-member-item ul li {
  1912. text-align: center;
  1913. display: inline-block;
  1914. }
  1915. .invite-box {
  1916. padding: 50px 0;
  1917. min-height: 130px;
  1918. margin: 0 auto;
  1919. width: 50%;
  1920. }
  1921. .invite-box input {
  1922. width: 300px;
  1923. }
  1924. #org-member-list-block {
  1925. padding-top: 2px;
  1926. }
  1927. .org-team-list .org-team-list-item {
  1928. float: left;
  1929. padding: 15px;
  1930. width: 555px;
  1931. }
  1932. .org-team-list .org-team-list-item .member-avatar-group {
  1933. padding: 5px 15px;
  1934. }
  1935. .org-team-list .org-team-list-item .member-avatar-group img {
  1936. width: 38px;
  1937. height: 38px;
  1938. border-radius: 3px;
  1939. }
  1940. #team-create-form .note {
  1941. margin-left: 153px;
  1942. }
  1943. #org-team-card .desc {
  1944. font-size: 14px;
  1945. padding: 10px 20px;
  1946. }
  1947. #org-team-card .team-stats {
  1948. padding: 0 20px 10px 20px;
  1949. text-transform: uppercase;
  1950. border-bottom: 1px solid #dddddd;
  1951. }
  1952. #org-team-card .panel-footer {
  1953. padding: 10px 20px;
  1954. }
  1955. #team-repositories-list .panel-body .search,
  1956. #team-members-list .panel-body .search {
  1957. padding: 4px 0 10px 10px;
  1958. border-bottom: 1px solid #dddddd;
  1959. }
  1960. #team-repositories-list li.collab,
  1961. #team-members-list li.collab {
  1962. padding-top: 10px !important;
  1963. border-bottom: 1px solid #dddddd;
  1964. }
  1965. #team-repositories-list li:last-child,
  1966. #team-members-list li:last-child {
  1967. border-bottom: 0 !important;
  1968. }
  1969. #team-repositories-list li a .octicon {
  1970. color: #888;
  1971. }
  1972. #team-repositories-list li .member {
  1973. color: #428bca;
  1974. font-size: 14px;
  1975. height: 40px;
  1976. line-height: 40px;
  1977. }
  1978. .admin-panel {
  1979. padding: 10px 20px;
  1980. }
  1981. .admin-desc {
  1982. padding: 10px 20px;
  1983. }
  1984. .admin-table {
  1985. padding: 15px 0 5px 0;
  1986. }
  1987. .dl-horizontal dt {
  1988. float: left;
  1989. width: 160px;
  1990. clear: left;
  1991. overflow: hidden;
  1992. text-overflow: ellipsis;
  1993. white-space: nowrap;
  1994. }
  1995. .admin-dl-horizontal {
  1996. padding: 20px;
  1997. }
  1998. .admin-dl-horizontal > dt {
  1999. width: 250px;
  2000. }
  2001. .admin-dl-horizontal > dd {
  2002. margin-left: 240px;
  2003. }