gogs.css 36 KB

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