gogs.css 37 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002
  1. html,
  2. body {
  3. height: 100%;
  4. }
  5. .octicon,
  6. .fa {
  7. width: 16px;
  8. text-align: center;
  9. }
  10. .fa {
  11. font-size: 14px;
  12. }
  13. .container {
  14. max-width: 1170px;
  15. padding: 0 1.5em;
  16. margin: auto;
  17. }
  18. img.avatar-16 {
  19. width: 16px;
  20. height: 16px;
  21. vertical-align: middle;
  22. }
  23. img.avatar-24 {
  24. width: 24px;
  25. height: 24px;
  26. vertical-align: middle;
  27. }
  28. img.avatar-30 {
  29. width: 30px;
  30. height: 30px;
  31. vertical-align: middle;
  32. }
  33. img.avatar-40 {
  34. width: 40px;
  35. height: 40px;
  36. vertical-align: middle;
  37. }
  38. img.avatar-48 {
  39. width: 48px;
  40. height: 48px;
  41. vertical-align: middle;
  42. }
  43. img.avatar-100 {
  44. width: 100px;
  45. height: 100px;
  46. vertical-align: middle;
  47. }
  48. #wrapper {
  49. padding: 0;
  50. margin: 0 0 -55px 0;
  51. min-height: 100%;
  52. }
  53. #footer {
  54. background-color: white;
  55. border-top: 1px solid #d6d6d6;
  56. clear: both;
  57. width: 100%;
  58. color: #888888;
  59. }
  60. #footer .container {
  61. padding: 15px;
  62. }
  63. #footer .official,
  64. #footer .version {
  65. color: #888888;
  66. }
  67. #footer-links > * {
  68. border-left: 1px solid #d6d6d6;
  69. padding-left: 8px;
  70. margin-left: 5px;
  71. }
  72. #footer-links > *:first-child {
  73. border-left: none;
  74. }
  75. #footer-lang {
  76. position: relative;
  77. }
  78. #footer-lang .drop-down {
  79. top: -64px;
  80. left: -2px;
  81. position: absolute;
  82. height: 59px;
  83. z-index: 100;
  84. font-size: 12px;
  85. width: 120%;
  86. }
  87. #footer-lang .drop-down li > a {
  88. padding: 3px 9px;
  89. }
  90. #header {
  91. background-color: #428bca;
  92. height: 44px;
  93. }
  94. #header > .menu-line > li > a {
  95. display: inline-block;
  96. color: #ffffff;
  97. }
  98. #header > .menu-line > li > a:hover {
  99. background-color: transparent;
  100. color: #fff65f;
  101. }
  102. #header > .menu-line > li.head {
  103. color: #ffffff;
  104. }
  105. #header > .menu-line > li.hover a:after {
  106. bottom: -9px;
  107. color: #ffffff;
  108. }
  109. #header > .menu-line > li.current > a {
  110. color: #fff65f;
  111. font-weight: bold;
  112. }
  113. #header-nav-user {
  114. height: 44px;
  115. }
  116. #header-nav-user img {
  117. margin: -4px 10px 0 0;
  118. border-radius: 3px;
  119. }
  120. #header-nav-sign-out > a:hover {
  121. color: #ff908b !important;
  122. }
  123. #header-nav-logo {
  124. padding: 6px 1.2em;
  125. }
  126. #header-nav-explore,
  127. #header-nav-help {
  128. font-size: 14px;
  129. }
  130. #header-new-repo-menu {
  131. width: 180px;
  132. background-color: #FFF;
  133. top: 44px;
  134. border-top: none;
  135. left: -66px;
  136. }
  137. #header-new-repo-menu .octicon {
  138. margin-right: 6px;
  139. font-size: 1.1em;
  140. }
  141. .switching-list {
  142. width: 100%;
  143. list-style: none;
  144. }
  145. .switching-list > li {
  146. border-bottom: 1px solid #eaeaea;
  147. }
  148. .switching-list > li:last-child {
  149. border-bottom: none;
  150. }
  151. .switching-list > li > a {
  152. padding: .4em 1.2em;
  153. display: block;
  154. color: #444;
  155. }
  156. .switching-list > li > a:hover {
  157. background-color: #428bca !important;
  158. color: #fff !important;
  159. }
  160. .social-buttons .btn {
  161. border: none;
  162. font-size: 16px;
  163. border-radius: 4px;
  164. margin-right: 12px;
  165. font-family: 'PT Sans Narrow', sans-serif;
  166. padding: 5px 12px;
  167. color: #FFF;
  168. }
  169. .social-buttons .btn .fa {
  170. margin-right: 6px;
  171. font-size: 16px;
  172. }
  173. .social-buttons .twitter {
  174. background-color: #1c6399;
  175. }
  176. .social-buttons .twitter:hover {
  177. background-color: #1c5487;
  178. }
  179. .social-buttons .github {
  180. background-color: #444;
  181. }
  182. .social-buttons .github:hover {
  183. background-color: #333;
  184. }
  185. .social-buttons .google {
  186. background-color: #C03D20;
  187. }
  188. .social-buttons .google:hover {
  189. background-color: #D56060;
  190. }
  191. .social-buttons .weibo {
  192. background-color: #bf1324;
  193. }
  194. .social-buttons .weibo:hover {
  195. background-color: #b94c4a;
  196. }
  197. .social-buttons .qq {
  198. background-color: #03a2ef;
  199. }
  200. .social-buttons .qq:hover {
  201. background-color: #3cb3ff;
  202. }
  203. .main-wrapper {
  204. padding: 20px 0 40px;
  205. }
  206. .user-list {
  207. width: auto;
  208. min-width: 180px;
  209. max-width: 300px;
  210. }
  211. .user-list img {
  212. width: 28px;
  213. height: 28px;
  214. margin-right: 1em;
  215. margin-top: 1px;
  216. vertical-align: middle;
  217. }
  218. .user-list li {
  219. cursor: pointer;
  220. font-weight: bold;
  221. }
  222. .text-success {
  223. color: #3c763d;
  224. }
  225. .text-blue {
  226. color: #15c;
  227. }
  228. .text-red {
  229. color: #DD4B39;
  230. }
  231. .text-grey {
  232. color: #999999;
  233. }
  234. .text-black {
  235. color: #444444;
  236. }
  237. .table {
  238. width: 100%;
  239. max-width: 100%;
  240. }
  241. .table > thead > tr > th,
  242. .table > tbody > tr > th,
  243. .table > tfoot > tr > th,
  244. .table > thead > tr > td,
  245. .table > tbody > tr > td,
  246. .table > tfoot > tr > td {
  247. border-top: 1px solid #e7eaec;
  248. line-height: 1.42857;
  249. padding: 8px;
  250. vertical-align: top;
  251. }
  252. .table th {
  253. text-align: left;
  254. }
  255. .table-striped > tbody > tr:nth-child(odd) > td,
  256. .table-striped > tbody > tr:nth-child(odd) > th {
  257. background-color: #f9f9f9;
  258. }
  259. .pagination {
  260. display: inline-block;
  261. padding-left: 0;
  262. margin: 20px 0;
  263. border-radius: 4px;
  264. }
  265. .pagination li {
  266. display: inline;
  267. }
  268. .markdown {
  269. background-color: white;
  270. font-size: 16px;
  271. line-height: 24px;
  272. }
  273. .markdown .markdown-body {
  274. padding-left: 24px;
  275. padding-right: 16px;
  276. }
  277. .markdown h5,
  278. .markdown h6 {
  279. font-size: 1em;
  280. }
  281. .markdown ul {
  282. padding: 10px 0 0 15px;
  283. }
  284. .markdown ul li {
  285. list-style: inside;
  286. }
  287. .markdown ol li {
  288. list-style: decimal inside;
  289. }
  290. .markdown li {
  291. line-height: 1.6;
  292. margin-top: 6px;
  293. }
  294. .markdown li:first-child {
  295. margin-top: 0;
  296. }
  297. .markdown > pre {
  298. font-size: 14px;
  299. line-height: 1.6;
  300. overflow: auto;
  301. border: 1px solid #ddd;
  302. border-radius: .25em;
  303. margin: 5px 0;
  304. padding: 10px;
  305. background-color: #f8f8f8;
  306. }
  307. .markdown img {
  308. padding: 10px 0;
  309. max-width: 100%;
  310. }
  311. .markdown a {
  312. color: #428BCA;
  313. }
  314. .markdown h1,
  315. .markdown h2,
  316. .markdown h3,
  317. .markdown h4,
  318. .markdown h5,
  319. .markdown h6 {
  320. line-height: 1.7;
  321. padding: 15px 0 0;
  322. margin: 0 0 15px;
  323. color: #444;
  324. font-weight: bold;
  325. }
  326. .markdown h1,
  327. .markdown h2 {
  328. border-bottom: 1px solid #E0E0E0;
  329. }
  330. .markdown h2 {
  331. border-bottom: 1px solid #E0E0E0;
  332. }
  333. .markdown h1 {
  334. color: #000;
  335. font-size: 33px;
  336. }
  337. .markdown h2 {
  338. color: #333;
  339. font-size: 28px;
  340. }
  341. .markdown h3 {
  342. font-size: 22px;
  343. }
  344. .markdown h4 {
  345. font-size: 18px;
  346. }
  347. .markdown table {
  348. border-collapse: collapse;
  349. border-spacing: 0;
  350. display: block;
  351. overflow: auto;
  352. width: 100%;
  353. margin: 0 0 9px;
  354. }
  355. .markdown table th {
  356. font-weight: 700;
  357. }
  358. .markdown table th,
  359. .markdown table td {
  360. border: 1px solid #DDD;
  361. padding: 6px 13px;
  362. }
  363. .markdown table tr {
  364. background-color: #FFF;
  365. border-top: 1px solid #CCC;
  366. }
  367. .markdown table tr:nth-child(2n) {
  368. background-color: #f8f8f8;
  369. }
  370. .markdown dl dt {
  371. font-style: italic;
  372. margin-top: 9px;
  373. }
  374. .markdown dl dd {
  375. margin: 0 0 9px;
  376. padding: 0 9px;
  377. }
  378. .markdown blockquote,
  379. .markdown blockquote p {
  380. font-size: 14px;
  381. background-color: #f5f5f5;
  382. }
  383. .markdown > pre.linenums {
  384. padding: 0;
  385. }
  386. .markdown > pre > ol.linenums {
  387. list-style: none;
  388. padding: 0;
  389. }
  390. .markdown > pre > ol.linenums > li {
  391. margin-top: 2px;
  392. }
  393. .markdown > pre.nums-style > ol.linenums {
  394. list-style-type: decimal;
  395. padding: 0 0 0 40px;
  396. -webkit-box-shadow: inset 40px 0 0 #f5f5f5, inset 41px 0 0 #ccc;
  397. box-shadow: inset 40px 0 0 #f5f5f5, inset 41px 0 0 #ccc;
  398. }
  399. .markdown > pre > code {
  400. white-space: pre;
  401. word-wrap: normal;
  402. }
  403. .markdown > pre > ol.linenums > li {
  404. padding: 0 10px;
  405. }
  406. .markdown > pre > ol.linenums > li:first-child {
  407. padding-top: 12px;
  408. }
  409. .markdown > pre > ol.linenums > li:last-child {
  410. padding-bottom: 12px;
  411. }
  412. .markdown > pre.nums-style > ol.linenums > li {
  413. border-left: 1px solid #ddd;
  414. }
  415. .markdown hr {
  416. border: none;
  417. color: #ccc;
  418. height: 4px;
  419. padding: 0;
  420. margin: 15px 0;
  421. border-bottom: 2px solid #EEE;
  422. }
  423. .markdown blockquote:last-child,
  424. .markdown ul:last-child,
  425. .markdown ol:last-child,
  426. .markdown > pre:last-child,
  427. .markdown > pre:last-child,
  428. .markdown p:last-child {
  429. margin-bottom: 0;
  430. }
  431. .markdown .btn {
  432. color: #fff;
  433. }
  434. .markdown h1 a,
  435. .markdown h2 a,
  436. .markdown h3 a {
  437. text-decoration: none;
  438. }
  439. .markdown h1 a.anchor,
  440. .markdown h2 a.anchor,
  441. .markdown h3 a.anchor,
  442. .markdown h4 a.anchor,
  443. .markdown h5 a.anchor,
  444. .markdown h6 a.anchor {
  445. text-decoration: none;
  446. line-height: 1;
  447. padding-left: 0;
  448. margin-left: -24px;
  449. top: 15%;
  450. }
  451. .markdown a span.octicon {
  452. font-size: 16px;
  453. line-height: 1;
  454. display: inline-block;
  455. text-decoration: none;
  456. -webkit-font-smoothing: antialiased;
  457. margin-left: 30px;
  458. }
  459. .markdown a span.octicon-link {
  460. opacity: 0;
  461. color: #444;
  462. }
  463. .markdown h1:hover .octicon-link,
  464. .markdown h2:hover .octicon-link,
  465. .markdown h3:hover .octicon-link,
  466. .markdown h4:hover .octicon-link,
  467. .markdown h5:hover .octicon-link,
  468. .markdown h6:hover .octicon-link {
  469. display: inline-block;
  470. opacity: 1;
  471. }
  472. /* Author: jmblog */
  473. /* Project: https://github.com/jmblog/color-themes-for-google-code-prettify */
  474. /* GitHub Theme */
  475. /* Pretty printing styles. Used with prettify.js. */
  476. /* SPAN elements with the classes below are added by prettyprint. */
  477. /* plain text */
  478. .pln {
  479. color: #333333;
  480. }
  481. @media screen {
  482. /* string content */
  483. .str {
  484. color: #dd1144;
  485. }
  486. /* a keyword */
  487. .kwd {
  488. color: #333333;
  489. }
  490. /* a comment */
  491. .com {
  492. color: #999988;
  493. font-style: italic;
  494. }
  495. /* a type name */
  496. .typ {
  497. color: #445588;
  498. }
  499. /* a literal value */
  500. .lit {
  501. color: #445588;
  502. }
  503. /* punctuation */
  504. .pun {
  505. color: #333333;
  506. }
  507. /* lisp open bracket */
  508. .opn {
  509. color: #333333;
  510. }
  511. /* lisp close bracket */
  512. .clo {
  513. color: #333333;
  514. }
  515. /* a markup tag name */
  516. .tag {
  517. color: navy;
  518. }
  519. /* a markup attribute name */
  520. .atn {
  521. color: teal;
  522. }
  523. /* a markup attribute value */
  524. .atv {
  525. color: #dd1144;
  526. }
  527. /* a declaration */
  528. .dec {
  529. color: #333333;
  530. }
  531. /* a variable name */
  532. .var {
  533. color: teal;
  534. }
  535. /* a function name */
  536. .fun {
  537. color: #990000;
  538. }
  539. }
  540. /* Use higher contrast and text-weight for printable form. */
  541. @media print, projection {
  542. .str {
  543. color: #006600;
  544. }
  545. .kwd {
  546. color: #006;
  547. font-weight: bold;
  548. }
  549. .com {
  550. color: #600;
  551. font-style: italic;
  552. }
  553. .typ {
  554. color: #404;
  555. font-weight: bold;
  556. }
  557. .lit {
  558. color: #004444;
  559. }
  560. .pun,
  561. .opn,
  562. .clo {
  563. color: #444400;
  564. }
  565. .tag {
  566. color: #006;
  567. font-weight: bold;
  568. }
  569. .atn {
  570. color: #440044;
  571. }
  572. .atv {
  573. color: #006600;
  574. }
  575. }
  576. /* Specify class=linenums on a pre to get line numbering */
  577. ol.linenums {
  578. margin-top: 0;
  579. margin-bottom: 0;
  580. }
  581. #promo-wrapper {
  582. padding-top: 50px;
  583. background-color: #428bca;
  584. }
  585. #promo-logo {
  586. margin-right: 50px;
  587. padding-bottom: 50px;
  588. }
  589. #promo-logo img {
  590. max-width: 250px;
  591. }
  592. #promo-content {
  593. color: #FFF;
  594. margin-left: 300px;
  595. }
  596. #promo-content h1,
  597. #promo-content h2 {
  598. font-family: 'PT Sans Narrow', sans-serif;
  599. line-height: 60px;
  600. margin-bottom: 0;
  601. text-shadow: 0 2px 1px rgba(0, 0, 0, 0.5);
  602. }
  603. #promo-content h1 {
  604. font-size: 96px;
  605. line-height: 96px;
  606. margin-bottom: 30px;
  607. }
  608. #promo-content h2 {
  609. font-size: 52px;
  610. line-height: 70px;
  611. font-weight: normal;
  612. }
  613. #promo-form {
  614. padding: 40px 0;
  615. }
  616. #promo-form .ipt-large {
  617. border: none;
  618. border-radius: 4px;
  619. font-size: 18px;
  620. margin-right: 12px;
  621. }
  622. #promo-form .ipt-large:focus {
  623. box-shadow: 0 0 3px #FFF;
  624. }
  625. #promo-form .btn-large {
  626. border-radius: 4px;
  627. font-size: 18px;
  628. margin-right: 12px;
  629. }
  630. #promo-social {
  631. padding-bottom: 60px;
  632. }
  633. #promo-social .qq {
  634. box-shadow: 0 0 1px #1c6399;
  635. }
  636. #feature-wrapper {
  637. font-family: Lato, sans-serif;
  638. font-size: 18px;
  639. padding: 50px 0 100px 0;
  640. }
  641. #feature-wrapper .octicon {
  642. color: #d9453d;
  643. font-size: 60px;
  644. height: 60px;
  645. width: 60px;
  646. line-height: 60px;
  647. margin-right: 12px;
  648. vertical-align: middle;
  649. display: inline-block;
  650. }
  651. #feature-wrapper b {
  652. color: #000;
  653. font-size: 24px;
  654. display: inline-block;
  655. line-height: 60px;
  656. }
  657. #feature-wrapper p {
  658. margin: 1em 0;
  659. line-height: 40px;
  660. padding-right: 30px;
  661. }
  662. #feature-wrapper a {
  663. color: #d9453d;
  664. }
  665. #feature-wrapper a:hover {
  666. color: #ff635a;
  667. }
  668. #feature-wrapper .grid-1-2 {
  669. margin-bottom: 30px;
  670. }
  671. #install-form {
  672. padding: 15px;
  673. }
  674. #install-form label {
  675. width: 35%;
  676. }
  677. #install-form input {
  678. width: 30%;
  679. }
  680. #install-form input[type="checkbox"],
  681. #install-form input[type="radio"] {
  682. width: auto;
  683. }
  684. /*
  685. The dashboard page style
  686. */
  687. #dashboard-header {
  688. border-bottom: 1px solid #d6d6d6;
  689. height: 69px;
  690. }
  691. #dashboard-header > .menu-line > li {
  692. padding: 12px 0;
  693. }
  694. #dashboard-header > .menu-line > li.right > a {
  695. font-size: 1.2em;
  696. color: #444444;
  697. }
  698. #dashboard-header > .menu-line > li.right > a:hover {
  699. background-color: transparent;
  700. color: #d9453d;
  701. }
  702. #dashboard-header > .menu-line > li.right > a .octicon {
  703. margin-right: 6px;
  704. }
  705. #dashboard-header > .menu-line > li.right .current {
  706. border-bottom: 2px solid #D26911;
  707. }
  708. #dashboard-selection-menu a img {
  709. margin: -4px 10px 0 0;
  710. }
  711. #dashboard {
  712. padding: 24px 0;
  713. }
  714. #dashboard-sidebar .panel-header h4 {
  715. margin: 0;
  716. }
  717. #dashboard-sidebar > .panel {
  718. margin-bottom: 24px;
  719. border-bottom-left-radius: .3em;
  720. border-bottom-right-radius: .3em;
  721. }
  722. #dashboard-sidebar-menu {
  723. border-top-left-radius: .3em;
  724. border-top-right-radius: .3em;
  725. width: 100%;
  726. height: 35px;
  727. }
  728. #dashboard-sidebar-menu > li {
  729. border: 1px solid #d6d6d6;
  730. float: left;
  731. margin-right: -1px;
  732. border-bottom: none;
  733. }
  734. #dashboard-sidebar-menu > li > a {
  735. padding-top: .4em;
  736. padding-bottom: .4em;
  737. }
  738. #dashboard-sidebar-menu > li.first {
  739. border-top-left-radius: .3em;
  740. }
  741. #dashboard-sidebar-menu > li.first > a {
  742. border-top-left-radius: .3em;
  743. }
  744. #dashboard-sidebar-menu > li.drop {
  745. border: none;
  746. float: right;
  747. }
  748. #dashboard-sidebar-menu > li.js-tab-nav-show {
  749. background-color: #EEEEEE;
  750. }
  751. #dashboard-sidebar-menu > li.last {
  752. border-top-right-radius: .3em;
  753. }
  754. #dashboard-sidebar-menu > li.last > a {
  755. border-top-right-radius: .3em;
  756. }
  757. #dashboard-my-mirror li,
  758. #dashboard-my-org li,
  759. #dashboard-my-repo li {
  760. border-bottom: 1px solid #EAEAEA;
  761. }
  762. #dashboard-my-mirror li.private,
  763. #dashboard-my-org li.private,
  764. #dashboard-my-repo li.private {
  765. background-color: #fcf8e9;
  766. }
  767. #dashboard-my-mirror li:last-child,
  768. #dashboard-my-org li:last-child,
  769. #dashboard-my-repo li:last-child {
  770. border-bottom: none;
  771. }
  772. #dashboard-my-mirror li a,
  773. #dashboard-my-org li a,
  774. #dashboard-my-repo li a {
  775. padding: 6px 1.2em;
  776. display: block;
  777. }
  778. #dashboard-my-mirror li a .octicon,
  779. #dashboard-my-org li a .octicon,
  780. #dashboard-my-repo li a .octicon {
  781. margin-right: 6px;
  782. color: #888;
  783. }
  784. #dashboard-my-mirror li a:hover .repo-name,
  785. #dashboard-my-org li a:hover .repo-name,
  786. #dashboard-my-repo li a:hover .repo-name {
  787. text-decoration: underline;
  788. }
  789. #dashboard-my-mirror .repo-name,
  790. #dashboard-my-org .repo-name,
  791. #dashboard-my-repo .repo-name {
  792. font-size: 1.1em;
  793. }
  794. #dashboard-my-mirror .repo-star,
  795. #dashboard-my-org .repo-star,
  796. #dashboard-my-repo .repo-star {
  797. color: #888;
  798. }
  799. #dashboard-my-mirror .repo-contrib-header,
  800. #dashboard-my-org .repo-contrib-header,
  801. #dashboard-my-repo .repo-contrib-header {
  802. border-top: 1px solid #d6d6d6;
  803. }
  804. #dashboard-my-repo .panel-header .octicon {
  805. margin-right: 6px;
  806. font-size: 12px;
  807. }
  808. #dashboard-my-repo .repo-count {
  809. margin-left: 4px;
  810. }
  811. #dashboard-my-org,
  812. #dashboard-my-mirror {
  813. display: none;
  814. }
  815. #dashboard-new-repo {
  816. width: 50px;
  817. height: 35px;
  818. padding-top: 6px;
  819. margin-right: 1px;
  820. border-top-left-radius: .3em;
  821. border-top-right-radius: .3em;
  822. }
  823. #dashboard-new-repo .octicon {
  824. font-size: 2em;
  825. }
  826. #dashboard-new-repo-menu {
  827. top: 35px;
  828. width: 180px;
  829. background-color: #FFF;
  830. left: -132px;
  831. }
  832. #dashboard-new-repo-menu .octicon {
  833. margin-right: 6px;
  834. font-size: 1.1em;
  835. }
  836. #dashboard-selection-menu {
  837. width: auto;
  838. max-width: 300px;
  839. }
  840. #dashboard-selection-menu > .drop-down {
  841. top: 56px;
  842. }
  843. #dashboard-selection-menu li {
  844. white-space: nowrap;
  845. }
  846. #dashboard-selection-menu li.checked .octicon {
  847. opacity: 1;
  848. }
  849. #dashboard-selection-menu li a {
  850. text-overflow: ellipsis;
  851. -o-text-overflow: ellipsis;
  852. overflow: hidden;
  853. }
  854. #dashboard-switch-menu {
  855. border-bottom-left-radius: .3em;
  856. border-bottom-right-radius: .3em;
  857. }
  858. #dashboard-switch-menu > li > a img {
  859. margin-top: 0;
  860. }
  861. #dashboard-switch-menu > li > a .octicon {
  862. margin-right: 12px;
  863. }
  864. #dashboard-switch-menu > li:last-child > a {
  865. border-bottom-left-radius: .3em;
  866. border-bottom-right-radius: .3em;
  867. }
  868. #dashboard-switch-menu > li.org > a .octicon {
  869. opacity: 0;
  870. }
  871. #dashboard-switch-menu > li.checked > a {
  872. font-weight: bold;
  873. }
  874. #dashboard-switch-menu > li.checked > a .octicon {
  875. opacity: 1;
  876. }
  877. #dashboard-news .news {
  878. margin-right: 2.4em;
  879. padding-bottom: 1em;
  880. margin-bottom: 1em;
  881. border-bottom: 1px solid #E6E6E6;
  882. min-height: 30px;
  883. }
  884. #dashboard-news .news .mega-octicon {
  885. color: #CCC;
  886. }
  887. #dashboard-news .news .avatar {
  888. margin: 0 1.2em;
  889. }
  890. #dashboard-news .news .news-content,
  891. #dashboard-news .news .news-time {
  892. color: #888;
  893. }
  894. #dashboard-news .push-news .news-content li {
  895. margin-left: 1em;
  896. }
  897. #dashboard-news .push-news .news-content li img {
  898. vertical-align: inherit;
  899. margin-bottom: -2px;
  900. }
  901. /*
  902. The register and sign-in page style
  903. */
  904. #sign-wrapper {
  905. padding: 60px 0;
  906. }
  907. .sign-panel {
  908. background-color: #ffffff;
  909. }
  910. .sign-form.form-align .field {
  911. margin: 1.2em 0 2em 0;
  912. }
  913. .sign-form.form-align .ipt-large {
  914. width: 300px;
  915. }
  916. .sign-form.form-align label,
  917. .sign-form.form-align .form-label {
  918. width: 160px;
  919. }
  920. .sign-form.form-align .alert {
  921. margin: 0 30px 24px 30px;
  922. }
  923. .sign-form.form-align:hover {
  924. box-shadow: 0 0 6px #CCC;
  925. }
  926. .sign-form.container {
  927. padding: 0;
  928. width: 600px;
  929. margin-bottom: 80px;
  930. }
  931. #sign-up-form .panel-content {
  932. margin-top: 1.2em;
  933. }
  934. #sign-up-form h2 {
  935. margin: .5em 1em;
  936. }
  937. #sign-social {
  938. position: relative;
  939. margin: 40px 0;
  940. }
  941. #sign-social .or {
  942. position: absolute;
  943. width: 30px;
  944. top: -52px;
  945. left: 50%;
  946. background-color: #FFF;
  947. margin-left: -15px;
  948. }
  949. /* repository main */
  950. #repo-wrapper {
  951. padding-bottom: 100px;
  952. }
  953. #repo-header {
  954. height: 69px;
  955. border-bottom: 1px solid #d6d6d6;
  956. background-color: #ffffff;
  957. }
  958. #repo-header-name {
  959. line-height: 66px;
  960. color: #888888;
  961. font-size: 1.6em;
  962. font-weight: normal;
  963. margin-bottom: 0;
  964. }
  965. #repo-header-name i {
  966. margin-right: 12px;
  967. vertical-align: middle;
  968. }
  969. #repo-header-name .divider {
  970. margin: 0 4px;
  971. }
  972. #repo-header-meta {
  973. line-height: 66px;
  974. }
  975. #repo-header-meta li > a {
  976. padding: 0;
  977. }
  978. #repo-header-meta li > a:hover {
  979. background-color: transparent;
  980. }
  981. #repo-header-meta a > .btn {
  982. font-size: 1.05em;
  983. margin-left: 16px;
  984. line-height: 16px;
  985. }
  986. #repo-header-meta a > .btn i {
  987. margin-right: 6px;
  988. }
  989. #repo-header-meta a > .btn .num {
  990. margin-left: 6px;
  991. }
  992. #repo-header-download-btn > .btn > i {
  993. margin-right: 0 !important;
  994. }
  995. #repo-header-download-btn:hover:after,
  996. #repo-header-download-btn:hover .btn {
  997. background-color: #383838;
  998. color: #FFF;
  999. }
  1000. #repo-header-download-btn:after {
  1001. background-color: #444444;
  1002. padding: 9px 16px 8px 0;
  1003. margin-left: -8px !important;
  1004. color: #FFF;
  1005. border-top: 1px solid #444444;
  1006. border-bottom: 1px solid #444444;
  1007. border-top-right-radius: .25em;
  1008. border-bottom-right-radius: .25em;
  1009. }
  1010. #repo-header-download-drop {
  1011. line-height: 24px;
  1012. width: 440px;
  1013. top: 50px;
  1014. left: -354px;
  1015. padding: 20px;
  1016. box-sizing: border-box;
  1017. z-index: 1;
  1018. }
  1019. #repo-header-download-drop .btn > i {
  1020. margin-right: 6px;
  1021. }
  1022. #repo-content {
  1023. padding: 18px 0;
  1024. }
  1025. #repo-clone-url {
  1026. border-right: none;
  1027. width: 196px;
  1028. border-left: none;
  1029. }
  1030. #repo-clone-help {
  1031. clear: both;
  1032. line-height: 48px;
  1033. }
  1034. #repo-clone-zip {
  1035. line-height: 48px;
  1036. }
  1037. #repo-clone-zip a {
  1038. cursor: pointer;
  1039. color: white;
  1040. overflow: visible;
  1041. padding: .6em 1.2em;
  1042. }
  1043. #repo-clone-zip .btn {
  1044. margin: 0 6px;
  1045. }
  1046. #repo-desc {
  1047. font-size: 1.2em;
  1048. }
  1049. #repo-sidebar-nav .label {
  1050. font-size: 12px;
  1051. line-height: 1.4em;
  1052. margin-top: 2px;
  1053. }
  1054. #repo-sidebar-nav i {
  1055. margin-right: 6px;
  1056. }
  1057. #repo-file-nav {
  1058. padding: .6em 0 1em 0;
  1059. }
  1060. #repo-file-nav > li > a {
  1061. padding-left: 0;
  1062. }
  1063. #repo-file-nav > li > a:hover {
  1064. background-color: transparent;
  1065. }
  1066. #repo-file-nav li.repo-jump > a {
  1067. padding-right: 0;
  1068. }
  1069. #repo-file-nav li.repo-jump > a .btn {
  1070. margin-left: -1px;
  1071. }
  1072. #repo-branch-switch > a .btn {
  1073. padding-right: 30px;
  1074. }
  1075. #repo-branch-switch > a:after {
  1076. position: absolute;
  1077. top: 12px;
  1078. right: 30px;
  1079. margin-left: 0;
  1080. color: #444444;
  1081. }
  1082. #repo-branch-switch > .drop-down {
  1083. top: 40px;
  1084. left: 0;
  1085. }
  1086. #repo-branch-filter-ipt {
  1087. width: 100%;
  1088. border-left: none;
  1089. border-right: none;
  1090. box-sizing: border-box;
  1091. }
  1092. #repo-branch-tag .tab-nav {
  1093. border-bottom: 1px solid #EAEAEA;
  1094. }
  1095. #repo-branch-tag .tab-nav a {
  1096. padding: .3em .8em;
  1097. }
  1098. #repo-branch-tag .tab-nav .js-tab-nav-show {
  1099. background-color: #EEE;
  1100. font-weight: bold;
  1101. }
  1102. #repo-branch-list li i,
  1103. #repo-tag-list li i {
  1104. margin-right: 12px;
  1105. opacity: 0;
  1106. }
  1107. #repo-branch-list li.checked i,
  1108. #repo-tag-list li.checked i {
  1109. opacity: 1;
  1110. }
  1111. #repo-tag-list {
  1112. display: none;
  1113. }
  1114. #repo-bread .bread {
  1115. padding-right: 0;
  1116. font-size: 16px;
  1117. font-weight: bold;
  1118. }
  1119. #repo-main {
  1120. padding-right: 40px;
  1121. box-sizing: border-box;
  1122. }
  1123. #repo-files-table {
  1124. margin-bottom: 20px;
  1125. }
  1126. #repo-files-table th,
  1127. #repo-files-table td {
  1128. text-align: left;
  1129. line-height: 32px;
  1130. }
  1131. #repo-files-table td.icon {
  1132. width: 16px;
  1133. padding-right: .1em;
  1134. padding-left: 1em;
  1135. }
  1136. #repo-files-table td.name {
  1137. max-width: 120px;
  1138. }
  1139. #repo-files-table td.name .text-truncate {
  1140. max-width: 100%;
  1141. }
  1142. #repo-files-table td.age {
  1143. max-width: 120px;
  1144. text-align: right;
  1145. }
  1146. #repo-files-table td.msg {
  1147. max-width: 440px;
  1148. }
  1149. #repo-files-table td.msg .text-truncate {
  1150. max-width: 100%;
  1151. }
  1152. #repo-files-table td.age,
  1153. #repo-files-table td.size,
  1154. #repo-files-table td.msg a {
  1155. color: #888;
  1156. }
  1157. #repo-files-table td.msg a:hover {
  1158. color: #428BCA;
  1159. text-decoration: underline;
  1160. }
  1161. #repo-files-table tbody {
  1162. background-color: #FFF;
  1163. }
  1164. #repo-files-table tbody tr:hover {
  1165. background-color: #ffffEE;
  1166. }
  1167. #repo-files-table thead {
  1168. background-color: #F0F0F0;
  1169. }
  1170. #repo-files-table thead .author a {
  1171. margin: 0 .4em;
  1172. }
  1173. #repo-files-table thead .last-commit strong {
  1174. color: #444;
  1175. }
  1176. #repo-files-table thead .last-commit .text-truncate {
  1177. margin-left: .4em;
  1178. }
  1179. #repo-files-table thead .last-commit .text-truncate,
  1180. #repo-files-table thead .age {
  1181. font-weight: normal;
  1182. color: #888;
  1183. }
  1184. #repo-readme {
  1185. margin-bottom: 80px;
  1186. }
  1187. #repo-bare-start {
  1188. margin-bottom: 100px;
  1189. }
  1190. #repo-bare-start .panel-content {
  1191. background-color: #FFF;
  1192. }
  1193. #repo-bare-start pre {
  1194. margin: 0 40px;
  1195. padding: 6px 10px;
  1196. border: 1px solid #ddd;
  1197. background: #f8f8f8;
  1198. }
  1199. .repo-bare #repo-bare-start h2 {
  1200. margin-top: 30px;
  1201. margin-bottom: 24px;
  1202. }
  1203. .repo-bare #repo-header-meta {
  1204. display: none;
  1205. }
  1206. .repo-bare #repo-clone-ssh {
  1207. margin-left: 200px;
  1208. }
  1209. .repo-bare #repo-clone-copy {
  1210. margin-right: 200px;
  1211. }
  1212. .repo-bare #repo-clone-help {
  1213. clear: both;
  1214. width: 100%;
  1215. }
  1216. .repo-bare #repo-clone-url {
  1217. width: 520px;
  1218. }
  1219. /* repository create */
  1220. #team-create-form,
  1221. #repo-migrate-form,
  1222. #repo-create-form {
  1223. width: 800px;
  1224. margin: 60px auto auto auto;
  1225. background: white;
  1226. }
  1227. #team-create-form h2,
  1228. #repo-migrate-form h2,
  1229. #repo-create-form h2 {
  1230. margin: .5em 1em;
  1231. }
  1232. #team-create-form .field,
  1233. #repo-migrate-form .field,
  1234. #repo-create-form .field {
  1235. margin: 1.2em 0 2em 0;
  1236. }
  1237. #team-create-form .ipt,
  1238. #repo-migrate-form .ipt,
  1239. #repo-create-form .ipt {
  1240. width: 540px;
  1241. }
  1242. #team-create-form textarea,
  1243. #repo-migrate-form textarea,
  1244. #repo-create-form textarea {
  1245. height: 120px;
  1246. }
  1247. #team-create-form .avatar,
  1248. #repo-migrate-form .avatar,
  1249. #repo-create-form .avatar {
  1250. vertical-align: middle;
  1251. margin-right: .6em;
  1252. width: 28px;
  1253. height: 28px;
  1254. }
  1255. #team-create-form:hover,
  1256. #repo-migrate-form:hover,
  1257. #repo-create-form:hover {
  1258. box-shadow: 0px 0px 6px #CCC;
  1259. }
  1260. #repo-create-cancel {
  1261. margin-left: 4em;
  1262. }
  1263. #repo-create-owner-list {
  1264. top: 30px;
  1265. left: 0;
  1266. width: auto;
  1267. max-width: 300px;
  1268. }
  1269. #repo-create-owner-list .octicon {
  1270. margin-right: 12px;
  1271. opacity: 0;
  1272. }
  1273. #repo-create-owner-list .avatar {
  1274. width: 20px;
  1275. height: 20px;
  1276. }
  1277. #repo-create-owner-list li {
  1278. white-space: nowrap;
  1279. }
  1280. #repo-create-owner-list li.checked .octicon {
  1281. opacity: 1;
  1282. }
  1283. #repo-create-owner-list li a {
  1284. text-overflow: ellipsis;
  1285. -o-text-overflow: ellipsis;
  1286. overflow: hidden;
  1287. }
  1288. .file-name {
  1289. margin-left: 1em;
  1290. }
  1291. .file-size {
  1292. font-size: 13px;
  1293. color: #888;
  1294. margin-left: 1em;
  1295. }
  1296. .code-view {
  1297. overflow: auto;
  1298. overflow-x: auto;
  1299. overflow-y: hidden;
  1300. background: white;
  1301. }
  1302. .code-view .view-raw {
  1303. min-height: 40px;
  1304. text-align: center;
  1305. padding-top: 20px;
  1306. }
  1307. .code-view .view-raw .btn {
  1308. font-size: 1.05em;
  1309. line-height: 16px;
  1310. padding: 6px 8px;
  1311. }
  1312. .code-view table {
  1313. width: 100%;
  1314. }
  1315. .code-view table td {
  1316. padding: 0;
  1317. }
  1318. .code-view .lines-num {
  1319. 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. }