gogs.css 37 KB

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