gogs.css 25 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555
  1. /*!
  2. * Gogs - Go Git Service (http://gogits.org)
  3. * Copyright 2014 Gogs.
  4. * Licensed under MIT (https://github.com/gogits/gogs/blob/master/LICENSE)
  5. */
  6. body {
  7. background: #F6F6F6;
  8. }
  9. html, body {
  10. height: 100%;
  11. font-family: Helvetica, Arial, sans-serif;
  12. }
  13. /* override bs3 */
  14. .tooltip-inner {
  15. border-radius: 3px;
  16. background: #333;
  17. border: none;
  18. }
  19. .tooltip-arrow {
  20. border-bottom-color: #333 !important;
  21. }
  22. .tooltip-arrow:before {
  23. border-bottom-color: transparent !important;
  24. }
  25. .fa {
  26. margin: 0 .5em;
  27. }
  28. .fa-m {
  29. margin: 0;
  30. }
  31. .list-group .list-group-item {
  32. background-color: transparent;
  33. }
  34. .btn {
  35. cursor: pointer;
  36. }
  37. .panel-default .panel-heading {
  38. background-color: #FAFAFA;
  39. border-bottom: 1px solid #DDD;
  40. font-weight: bold;
  41. }
  42. /* gogits nav header */
  43. .masthead {
  44. background-color: #428bca;
  45. box-shadow: inset 0 -2px 5px rgba(0, 0, 0, .1);
  46. margin: 0;
  47. }
  48. /* gogits nav item link */
  49. .nav-item {
  50. position: relative;
  51. display: inline-block;
  52. padding: 10px;
  53. font-weight: bold;
  54. color: #EEE;
  55. font-size: 100%;
  56. height: 46px;
  57. margin-top: 3px;
  58. }
  59. #nav-logo {
  60. padding-left: 0;
  61. padding-right: 0;
  62. margin-right: 10px;
  63. margin-top: 0;
  64. }
  65. .nav-item:hover,
  66. .nav-item:focus {
  67. color: #fff;
  68. text-decoration: none;
  69. }
  70. .nav-item.navbar-btn {
  71. cursor: pointer;
  72. margin-top: 8px;
  73. padding: 5px 15px;
  74. height: 30px;
  75. }
  76. .nav-item.navbar-right .fa {
  77. margin: 0;
  78. }
  79. #nav-search-form {
  80. width: 300px;
  81. margin-top: 0;
  82. }
  83. #nav-search-form button {
  84. margin-top: 0;
  85. background-image: none;
  86. background-color: #F6F6F6;
  87. }
  88. #nav-search-form input[type=search] {
  89. background-color: #F6F6F6;
  90. border-bottom-right-radius: 3px;
  91. border-top-right-radius: 3px;
  92. -webkit-transition: width linear .25s;
  93. }
  94. #nav-search-form input[type=search]:focus {
  95. background-color: #FFF;
  96. border-color: #D9D9D9;
  97. width: 320px;
  98. }
  99. /* gogits nav item active status */
  100. #masthead .nav .active {
  101. color: #fff;
  102. }
  103. #masthead .nav .active:after {
  104. position: absolute;
  105. bottom: -1px;
  106. left: 50%;
  107. width: 0;
  108. height: 0;
  109. margin-left: -5px;
  110. vertical-align: middle;
  111. content: " ";
  112. border-right: 5px solid transparent;
  113. border-bottom: 5px solid;
  114. border-left: 5px solid transparent;
  115. }
  116. #nav-logo:after {
  117. bottom: -4px !important;
  118. }
  119. #nav-avatar:after {
  120. bottom: -4px !important;
  121. }
  122. .nav .tooltip {
  123. border: none;
  124. }
  125. /* gogits logo */
  126. #nav-avatar {
  127. margin-top: 0;
  128. }
  129. #logo, #nav-avatar img {
  130. width: 28px;
  131. height: 28px;
  132. }
  133. #nav-out {
  134. margin-top: 10px;
  135. padding: 5px 0;
  136. margin-left: 10px;
  137. height: 28px;
  138. float: right;
  139. }
  140. #nav-signin, #nav-signup {
  141. float: right;
  142. margin-left: 1em;
  143. }
  144. #nav-out .fa {
  145. vertical-align: -10%;
  146. margin: 0 .5em;
  147. }
  148. /* gogits body */
  149. #body {
  150. padding-bottom: 60px;
  151. margin-top: 30px;
  152. }
  153. #body .btn-default {
  154. background-color: #FFF;
  155. background-image: linear-gradient(to bottom, #FFF 0, #FAFAFA 100%);
  156. }
  157. #body-nav {
  158. background-color: #FFF;
  159. border-bottom: 1px solid #DDD;
  160. height: 66px
  161. }
  162. #body-nav .nav {
  163. font-size: 14px;
  164. margin-top: 12px;
  165. }
  166. #body-nav .nav-pills li a {
  167. color: #444;
  168. }
  169. #body-nav .nav-pills li.active a {
  170. font-weight: bold;
  171. border-bottom: 2px solid #d26911;
  172. background-color: transparent;
  173. color: #444;
  174. }
  175. #body-nav .nav-pills li:hover a {
  176. background-color: transparent;
  177. text-decoration: underline;
  178. }
  179. /* gogits login card */
  180. .card {
  181. margin: auto;
  182. padding: 30px;
  183. background: #fff;
  184. border: 1px solid #ccc;
  185. border-radius: 5px;
  186. box-sizing: border-box;
  187. }
  188. .card h3 {
  189. margin-top: 0;
  190. margin-bottom: 30px;
  191. padding-bottom: 20px;
  192. border-bottom: 1px solid #ccc;
  193. }
  194. #login-card {
  195. width: 600px;
  196. }
  197. #login-card .form-control {
  198. padding: 6px 12px;
  199. box-sizing: content-box;
  200. }
  201. #login-card .control-label {
  202. height: 44px;
  203. line-height: 30px;
  204. }
  205. #install-card {
  206. width: 800px;
  207. }
  208. #install-card .form-group {
  209. margin-left: 0;
  210. margin-right: 0;
  211. }
  212. .card .btn {
  213. cursor: pointer;
  214. margin-right: 1.2em;
  215. }
  216. #social-login {
  217. margin-top: 40px;
  218. padding-top: 40px;
  219. border-top: 1px solid #ccc;
  220. position: relative;
  221. }
  222. #social-login .btn {
  223. float: none;
  224. margin: auto 4px;
  225. }
  226. #social-login .btn .fa {
  227. margin-left: 0;
  228. margin-right: 4px;
  229. }
  230. #social-login .btn span {
  231. display: inline-block;
  232. vertical-align: top;
  233. font-size: 16px;
  234. margin-top: 5px;
  235. }
  236. #social-login h4 {
  237. position: absolute;
  238. top: -20px;
  239. width: 100%;
  240. text-align: center;
  241. background-color: transparent;
  242. }
  243. #social-login h4 span {
  244. background-color: #FFF;
  245. padding: 0 12px;
  246. }
  247. /* gogs-user-profile */
  248. #user-avatar {
  249. width: 200px;
  250. height: 200px;
  251. border-radius: 6px;
  252. }
  253. #user-avatar-commit {
  254. width: 16px;
  255. height: 16px;
  256. border-radius: 2px;
  257. }
  258. #user-name {
  259. margin-top: 20px;
  260. font-size: 1.6em;
  261. font-weight: bold;
  262. margin-bottom: 20px;
  263. }
  264. #user-profile .profile-info .list-group-item {
  265. background-color: transparent;
  266. padding-top: 18px;
  267. color: #666;
  268. }
  269. #user-profile .profile-info .list-group-item a {
  270. margin: 0;
  271. padding: 0;
  272. display: inline;
  273. color: #0093c4;
  274. }
  275. #user-profile .profile-info .list-group {
  276. border-top: 1px solid #ccc;
  277. padding-bottom: 18px;
  278. border-bottom: 1px solid #ccc;
  279. padding-left: 18px;
  280. padding-right: 18px;
  281. }
  282. #user-profile .profile-rel .col-md-6 {
  283. text-align: center;
  284. padding-bottom: 12px;
  285. }
  286. #user-profile .profile-rel strong {
  287. font-size: 24px;
  288. color: #444;
  289. display: block;
  290. }
  291. #user-profile .profile-rel p {
  292. margin-right: 0;
  293. color: #888;
  294. }
  295. #user-activity .tab-pane {
  296. padding: 20px;
  297. }
  298. #user-act-tabs li.active a {
  299. border-bottom-color: #ddd;
  300. }
  301. /* gogits repo create */
  302. #repo-create {
  303. width: 800px;
  304. }
  305. #repo-create textarea[name=desc] {
  306. height: 8em;
  307. }
  308. #repo-import-auth {
  309. width: 100%;
  310. margin-top: 48px;
  311. box-sizing: border-box;
  312. }
  313. #repo-import-auth .form-group {
  314. box-sizing: border-box;
  315. margin-left: 0;
  316. margin-right: 0;
  317. }
  318. /* gogits user setting */
  319. #user-setting-nav {
  320. background-color: #FFF;
  321. border: 1px solid #CCC;
  322. padding: 0;
  323. }
  324. #user-setting-nav > h4, #user-setting-container > h4, #user-setting-container > div > h4,
  325. #ssh-keys > h4, #user-delete > h4, #repo-setting-container .tab-pane > h4 {
  326. padding-bottom: 18px;
  327. margin-bottom: 18px;
  328. border-bottom: 1px solid #CCC;
  329. }
  330. #user-setting-nav .list-group .list-group-item a {
  331. margin-left: 0;
  332. padding: .6em 1.2em;
  333. font-size: 14px;
  334. color: #3B73AF;
  335. }
  336. #user-setting-nav .list-group .list-group-item {
  337. background-color: transparent;
  338. margin-bottom: .6em;
  339. }
  340. #user-setting-nav .list-group .list-group-item-success a {
  341. font-weight: bold;
  342. color: #444;
  343. }
  344. .admin-nav {
  345. background-color: #FFF;
  346. padding-top: 10px;
  347. padding-left: 0;
  348. padding-right: 0;
  349. border: 1px solid #D8D8D8;
  350. }
  351. .admin-nav li {
  352. margin-bottom: 8px;
  353. border-left: 4px solid transparent;
  354. }
  355. .admin-nav li:hover {
  356. border-left-color: #EEE;
  357. }
  358. .admin-nav li.active:hover {
  359. border-left: 4px solid #DD4B39;
  360. }
  361. #repo-setting-container{
  362. padding-right: 0;
  363. }
  364. #repo-setting-container .form-horizontal label {
  365. line-height: 30px;
  366. }
  367. #repo-collab-list li.collab{
  368. margin-bottom: .6em;
  369. }
  370. #repo-collab-list .avatar{
  371. margin-right: 1em;
  372. width: 40px;
  373. }
  374. #repo-collab-list a.member{
  375. color: #444;
  376. }
  377. #repo-collab-list .remove-collab{
  378. color: #DD4B39;
  379. }
  380. #repo-collab-form .dropdown-menu{
  381. margin-left: 15px;
  382. margin-top: 4px;
  383. padding: 0;
  384. }
  385. #repo-collab-form .dropdown-menu li{
  386. padding: 0 1em;
  387. line-height: 36px;
  388. cursor: pointer;
  389. font-weight: bold;
  390. }
  391. #repo-collab-form .dropdown-menu li:hover{
  392. background-color: #e8f0ff;
  393. }
  394. #repo-collab-form .dropdown-menu img{
  395. width: 28px;
  396. height: 28px;
  397. margin-right: 1em;
  398. vertical-align: middle;
  399. margin-top: -3px;
  400. }
  401. #repo-collab-form .dropdown-menu ul{
  402. margin-bottom: 0;
  403. }
  404. /* gogits user ssh keys */
  405. #ssh-keys .list-group-item {
  406. padding: 15px 0;
  407. border-bottom: 1px solid #DDD;
  408. }
  409. #ssh-keys .list-group-item .delete {
  410. margin: -5px 50px 0;
  411. }
  412. #ssh-keys .list-group-item:after {
  413. clear: both;
  414. }
  415. #ssh-keys .name {
  416. font-size: 14px;
  417. font-weight: bold;
  418. }
  419. #ssh-keys .print {
  420. padding-left: 1em;
  421. color: #888;
  422. }
  423. #ssh-add {
  424. display: inline-block;
  425. color: white;
  426. cursor: pointer;
  427. margin-left: 0;
  428. border-radius: 3px;
  429. }
  430. #ssh-form textarea {
  431. height: 16em;
  432. }
  433. /* #feed */
  434. #feed-right .repo-panel .panel-heading .btn {
  435. margin-top: -4px;
  436. }
  437. #feed-right .repo-panel .panel-body {
  438. padding: 0;
  439. }
  440. #feed-right .repo-panel .list-group {
  441. margin-bottom: 0;
  442. }
  443. #feed-right .repo-panel .list-group-item a {
  444. display: block;
  445. margin-left: 0;
  446. background-color: transparent;
  447. padding-left: 0;
  448. font-weight: bold;
  449. }
  450. #feed-right .repo-panel .list-group-item .fa {
  451. color: #666;
  452. }
  453. #feed-right .repo-panel .list-group-item {
  454. font-size: 14px;
  455. line-height: 32px;
  456. border-bottom: 1px solid #DDD;
  457. padding-left: 15px;
  458. clear: both;
  459. }
  460. #feed-right .repo-panel .list-group-item:last-child {
  461. border-bottom: none;
  462. }
  463. #feed-right .repo-panel .list-group-item:hover {
  464. background-color: #eafffd;
  465. background-color: rgba(65, 131, 196, 0.1);
  466. }
  467. #feed-right .repo-panel span.stars {
  468. color: #666;
  469. margin-right: 1em;
  470. }
  471. #user-dashboard-repo-new .btn-sm.dropdown-toggle {
  472. padding: 3px 8px;
  473. }
  474. #user-dashboard-repo-new .dropdown-menu, #nav-repo-new .dropdown-menu {
  475. padding: 0;
  476. margin: 0;
  477. }
  478. #user-dashboard-repo-new ul, #nav-repo-new ul {
  479. margin: 0;
  480. width: 200px;
  481. }
  482. #user-dashboard-repo-new li a, #nav-repo-new li a {
  483. line-height: 36px;
  484. display: block;
  485. padding: 0 18px;
  486. color: #444;
  487. }
  488. #user-dashboard-repo-new li a:hover, #nav-repo-new li a:hover {
  489. background: #0093c4;
  490. color: #FFF;
  491. }
  492. #nav-repo-new button {
  493. border: none;
  494. background: transparent;
  495. padding: 0;
  496. width: 15px;
  497. }
  498. #nav-repo-new li .fa {
  499. margin: 0 .5em;
  500. }
  501. /* gogits repo single page */
  502. #body-nav.repo-nav {
  503. padding-top: 16px;
  504. padding-bottom: 30px;
  505. height: auto;
  506. }
  507. .repo-nav .name {
  508. margin-top: 15px;
  509. }
  510. .repo-nav .desc {
  511. color: #888;
  512. margin-bottom: 0;
  513. }
  514. .repo-nav h3 .fa {
  515. color: #BBB;
  516. margin-left: 0;
  517. }
  518. .repo-nav .actions {
  519. padding-top: 20px;
  520. }
  521. .repo-nav .btn-default {
  522. font-family: Tahoma, Arial, sans-serif;
  523. }
  524. #repo-watching .dropdown-menu {
  525. width: 280px;
  526. padding: 0;
  527. }
  528. #repo-watching .dropdown-menu .dropdown-item:hover .dropdown-header, #repo-watching .dropdown-item .dropdown-header.text-primary {
  529. color: rgb(65, 131, 196);
  530. cursor: pointer;
  531. }
  532. #repo-watching .dropdown-menu .description {
  533. padding: 0 20px;
  534. color: #888;
  535. }
  536. #repo-watching .dropdown-menu .dropdown-header {
  537. color: #444;
  538. font-weight: bold;
  539. font-size: 14px;
  540. margin-bottom: 4px;
  541. }
  542. #repo-toolbar {
  543. border-bottom: 1px solid #DDD;
  544. background-color: #FFF;
  545. height: 40px;
  546. font-size: 14px;
  547. }
  548. #repo-toolbar .navbar-default {
  549. border: none;
  550. height: 39px;
  551. }
  552. #repo-toolbar .nav > li > a {
  553. height: 39px;
  554. }
  555. #repo-toolbar .nav .tmp a:hover {
  556. text-decoration: none;
  557. }
  558. #repo-toolbar .nav .tmp .btn {
  559. margin-top: -2px;
  560. }
  561. #repo-toolbar .nav .active {
  562. color: #F6F6F6;
  563. }
  564. #repo-toolbar .nav > .active > a:after {
  565. border-bottom-color: #999;
  566. }
  567. #repo-toolbar .navbar.nav-toolbar {
  568. margin-bottom: 0;
  569. }
  570. #repo-toolbar .navbar-collapse {
  571. padding: 0;
  572. }
  573. #repo-toolbar ul.navbar-right {
  574. margin-right: 0;
  575. }
  576. .activity-list {
  577. font-size: 14px;
  578. }
  579. .activity-list .icon {
  580. font-size: 20px;
  581. color: #aaa;
  582. float: left;
  583. }
  584. .activity-list .info {
  585. margin: 0 0 0 40px;
  586. line-height: 1.7em;
  587. }
  588. .activity-list .meta {
  589. color: #aaa;
  590. }
  591. .activity-list li {
  592. padding: 15px 0;
  593. border-top: 1px solid #ddd;
  594. }
  595. .activity-list li:first-child {
  596. border-top: none;
  597. }
  598. .repo-list li {
  599. padding: 15px 0;
  600. border-top: 1px solid #ddd;
  601. }
  602. .repo-list li:first-child {
  603. border-top: none;
  604. }
  605. .repo-list h4 {
  606. font-weight: bold;
  607. font-size: 24px;
  608. }
  609. .repo-list .meta {
  610. margin: 15px 0 0;
  611. font-size: 14px;
  612. }
  613. .repo-list .desc {
  614. font-size: 15px;
  615. }
  616. .repo-list .meta .fa {
  617. margin: 0 0 0 20px;
  618. }
  619. .repo-list .meta,
  620. .repo-list .info {
  621. color: #999;
  622. }
  623. .popover .repo-clone-div {
  624. min-width: 200px;
  625. }
  626. #repo-clone .dropdown-menu {
  627. width: 400px;
  628. padding: 20px;
  629. }
  630. #repo-clone .input-group {
  631. margin-bottom: 15px;
  632. }
  633. /* #source */
  634. #source, #commits {
  635. margin-top: -20px;
  636. }
  637. #commits-pager {
  638. margin-top: 0;
  639. }
  640. #source .source-toolbar:after {
  641. clear: both;
  642. }
  643. #source .source-toolbar .branch-switch {
  644. display: inline-block;
  645. }
  646. #source .source-toolbar .breadcrumb {
  647. margin: 0 .5em;
  648. padding: 6px 15px;
  649. font-size: 16px;
  650. vertical-align: middle;
  651. display: inline-block;
  652. background-color: transparent;
  653. }
  654. #source .source-toolbar,
  655. #source .info-box,
  656. #source .file-content {
  657. margin: 0 0 10px;
  658. }
  659. .info-box .info-head,
  660. .info-box .info-content {
  661. padding: 9px 20px;
  662. }
  663. .info-box .info-head {
  664. font-weight: normal;
  665. }
  666. .info-box .info-content a,
  667. .info-box .info-head a {
  668. color: #666;
  669. }
  670. .file-list {
  671. background-color: #fafafa;
  672. }
  673. .file-list .icon {
  674. font-size: 17px;
  675. padding: 5px 0 4px 10px;
  676. width: 50px;
  677. color: #999;
  678. text-align: right;
  679. }
  680. .file-list .wrap {
  681. display: inline-block;
  682. overflow: hidden;
  683. text-overflow: ellipsis;
  684. vertical-align: top;
  685. white-space: nowrap;
  686. }
  687. .file-list .name .wrap {
  688. max-width: 180px;
  689. }
  690. .file-list .text .wrap {
  691. max-width: 450px;
  692. }
  693. .file-list .date .wrap {
  694. max-width: 120px;
  695. padding: 0 20px 0 0;
  696. }
  697. .file-list .date {
  698. text-align: right;
  699. }
  700. .file-content .file-head {
  701. font-size: 18px;
  702. }
  703. .file-content .file-head .icon {
  704. color: #666;
  705. margin: 0 .5em 0 0;
  706. }
  707. .file-content .file-head .file-size {
  708. font-size: 13px;
  709. color: #888;
  710. margin-left: 1em;
  711. }
  712. .file-content .file-body {
  713. padding: 30px 30px 50px;
  714. border: none;
  715. background-color: #FFF;
  716. overflow: auto;
  717. overflow-x: auto;
  718. overflow-y: hidden;
  719. }
  720. .file-content .file-body.file-code pre {
  721. background-color: #FFF;
  722. border: none;
  723. }
  724. .file-content .file-body.file-code {
  725. padding: 0;
  726. }
  727. .file-content .file-body.file-code .lines-code > pre {
  728. border: none;
  729. background: none;
  730. border-left: 1px solid #ddd;
  731. }
  732. .file-content .file-body.file-code .lines-code ol.linenums > .active {
  733. background: #ffffdd;
  734. }
  735. .file-content .file-body.file-code .lines-num {
  736. text-align: right;
  737. color: #999;
  738. background: #fafafa;
  739. width: 1%;
  740. }
  741. .file-content .file-body.file-code .lines-ellipsis {
  742. background-color: #FAFAFA;
  743. color: #999;
  744. width: 1%;
  745. }
  746. .file-content .file-body.file-code .lines-num span {
  747. font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  748. line-height: 1.6;
  749. padding: 0 8px 0 10px;
  750. cursor: pointer;
  751. display: block;
  752. margin-top: 2px;
  753. font-size: 90%;
  754. }
  755. .file-content .file-body.file-code .lines-num span:first-child {
  756. margin-top: 0;
  757. }
  758. .file-content .file-body.file-code > table {
  759. width: 100%;
  760. }
  761. .file-content .file-body.file-code > table > tbody > tr,
  762. .file-content .file-body.file-code > table > tbody > tr > td,
  763. .file-content .file-body.file-code > table {
  764. border: none;
  765. background: none;
  766. }
  767. .branch-list th, .commit-list th {
  768. background-color: #FFF;
  769. line-height: 28px !important;
  770. }
  771. .branch-list td {
  772. line-height: 36px !important;
  773. }
  774. .branch-box tr:hover td, .commit-box tr:hover td {
  775. background-color: rgba(19, 95, 215, 0.06) !important;
  776. }
  777. .branch-box .name, .commit-box .author {
  778. padding-left: 20px;
  779. }
  780. .branch-box .name {
  781. font-size: 15px;
  782. }
  783. .branch-box .action {
  784. width: 150px;
  785. }
  786. .branch-box td.date, .branch-box td.behind, .branch-box td.ahead {
  787. width: 120px;
  788. font-family: Verdana, Arial, sans-serif;
  789. }
  790. .branch-box .graph {
  791. display: block;
  792. height: 3px;
  793. }
  794. .branch-box .behind {
  795. text-align: right;
  796. direction: rtl;
  797. }
  798. .branch-box .behind .graph {
  799. background-color: #888;
  800. }
  801. .branch-box .ahead .graph {
  802. background-color: #0093c4;
  803. }
  804. .branch-box .branch-main {
  805. background-color: #444;
  806. color: #FFF;
  807. border-color: #444;
  808. }
  809. .branch-box .branch-main a {
  810. color: #FFF;
  811. }
  812. .branch-box .branch-main .name .btn {
  813. margin-left: .5em;
  814. }
  815. #commits-search-form {
  816. margin-top: 4px;
  817. }
  818. .commit-box .avatar, .diff-head-box .avatar {
  819. width: 20px;
  820. height: 20px;
  821. margin-right: 8px;
  822. vertical-align: top;
  823. }
  824. .commit-box td {
  825. background-color: #FFF;
  826. }
  827. .commit-list .date {
  828. width: 120px;
  829. }
  830. .commit-list .author {
  831. min-width: 180px;
  832. }
  833. .commit-list .sha a {
  834. font-family: Consolas, Menlo, Monaco, "Lucida Console", monospace;
  835. font-size: 14px;
  836. }
  837. .guide-box pre, .guide-box .input-group {
  838. margin-top: 20px;
  839. margin-bottom: 30px;
  840. line-height: 24px;
  841. }
  842. .guide-box input[readonly] {
  843. background-color: #FFF;
  844. }
  845. .guide-box, .diff-head-box {
  846. margin-top: 4px;
  847. }
  848. .diff-head-box h4 {
  849. margin-top: 0;
  850. margin-bottom: 0;
  851. line-height: 26px;
  852. }
  853. .diff-head-box p {
  854. margin-bottom: 0;
  855. }
  856. .diff-head-box .sha {
  857. margin-left: 8px;
  858. }
  859. .diff-head-box a.name {
  860. color: #444;
  861. margin-right: 8px;
  862. }
  863. .diff-head-box span.time {
  864. color: #888;
  865. }
  866. .diff-detail-box {
  867. margin-bottom: 16px;
  868. line-height: 30px;
  869. }
  870. .diff-detail-box span.status {
  871. display: inline-block;
  872. width: 12px;
  873. height: 12px;
  874. margin-right: 8px;
  875. vertical-align: middle;
  876. }
  877. .diff-detail-box ol {
  878. padding-left: 0;
  879. margin-bottom: 28px;
  880. }
  881. .diff-detail-box li {
  882. list-style: none;
  883. padding-bottom: 4px;
  884. margin-bottom: 4px;
  885. border-bottom: 1px dashed #DDD;
  886. padding-left: 6px;
  887. }
  888. .diff-detail-box span.status.modify {
  889. background-color: #f0db88;
  890. }
  891. .diff-detail-box span.status.add {
  892. background-color: #b4e2b4;
  893. }
  894. .diff-detail-box span.status.del {
  895. background-color: #e9aeae;
  896. }
  897. .diff-detail-box span.status.rename {
  898. background-color: #dad8ff;
  899. }
  900. .diff-file-box .panel-heading {
  901. padding: 10px 20px;
  902. line-height: 26px;
  903. }
  904. .diff-box .count {
  905. margin-right: 12px;
  906. }
  907. .diff-box .count .bar {
  908. width: 40px;
  909. display: inline-block;
  910. margin: 2px 4px 0 4px;
  911. vertical-align: text-top;
  912. }
  913. .diff-box .file {
  914. color: #888;
  915. }
  916. #source .file-content.diff-file-box {
  917. margin-bottom: 20px;
  918. }
  919. .diff-box .count .bar .add {
  920. background-color: #77c64a;
  921. height: 12px;
  922. }
  923. .diff-box .count .bar .del, .diff-box .count .bar {
  924. background-color: #e75316;
  925. height: 12px;
  926. }
  927. .diff-file-box .file-body.file-code .lines-code > pre {
  928. margin: 0;
  929. padding: 3px;
  930. }
  931. .diff-file-box .file-body.file-code .lines-num-old {
  932. border-right: 1px solid #DDD;
  933. }
  934. .diff-file-box .code-bin td {
  935. padding: 20px;
  936. }
  937. .diff-file-box .code-diff tbody tr.tag-code td, .diff-file-box .code-diff tbody tr.tag-code pre {
  938. background-color: #E0E0E0 !important;
  939. border-color: #ADADAD !important;
  940. }
  941. .diff-file-box .code-diff tbody tr.add-code td, .diff-file-box .code-diff tbody tr.add-code pre {
  942. background-color: #d1ffd6 !important;
  943. border-color: #b4e2b4 !important;
  944. }
  945. .diff-file-box .code-diff tbody tr.del-code td, .diff-file-box .code-diff tbody tr.del-code pre {
  946. background-color: #ffe2dd !important;
  947. border-color: #e9aeae !important;
  948. }
  949. .diff-file-box .code-diff tbody tr:hover td, .diff-file-box .code-diff tbody tr:hover pre {
  950. background-color: #fff8d2 !important;
  951. border-color: #f0db88 !important;
  952. }
  953. .diff-file-box .ellipsis-code pre {
  954. color: #AAA;
  955. }
  956. /* issue */
  957. #issue-create-form .avatar {
  958. width: 50px;
  959. height: 50px;
  960. }
  961. #issue-create-form .panel-body {
  962. padding: 15px 0 0 0;
  963. }
  964. #issue-create-form .panel-body.form-group, #issue-create-form .tab-pane .form-group {
  965. margin-bottom: 0;
  966. }
  967. #issue-create-form .nav-tabs, #issue .issue-reply .nav-tabs {
  968. margin-bottom: 10px;
  969. }
  970. #issue .md-help {
  971. margin-top: 6px;
  972. }
  973. #issue .filter-list a {
  974. padding: 6px 10px;
  975. font-size: 14px;
  976. display: block;
  977. margin-bottom: 6px;
  978. border-radius: 3px;
  979. color: #444;
  980. }
  981. #issue .filter-list a.sm {
  982. font-size: 13px;
  983. }
  984. #issue .filter-list hr {
  985. border-color: #CCC;
  986. }
  987. #issue .filter-list a:hover {
  988. background-color: #DDD;
  989. text-decoration: none;
  990. }
  991. #issue .filter-list a.active {
  992. background-color: #4183c4;
  993. color: #FFF;
  994. }
  995. #issue .filter-option {
  996. margin-bottom: 12px;
  997. }
  998. #issue .list-group .list-group-item {
  999. background-color: #FFF;
  1000. }
  1001. #issue .issue-item:hover {
  1002. background-color: rgba(19, 95, 215, 0.03);
  1003. }
  1004. #issue .list-group .list-group-item.unread {
  1005. border-left: 2px solid #DD4B39;
  1006. }
  1007. #issue .issue-item .title {
  1008. margin-bottom: 16px;
  1009. font-weight: bold;
  1010. }
  1011. #issue .issue-item h5.title a {
  1012. color: #444;
  1013. }
  1014. #issue .issue-item .info span {
  1015. margin-right: 12px;
  1016. color: #888;
  1017. line-height: 20px;
  1018. }
  1019. #issue .issue-item .info a, #issue .issue-item .number {
  1020. color: #888;
  1021. }
  1022. #issue .issue-item .number {
  1023. margin-top: 8px;
  1024. }
  1025. #issue .issue-item .avatar {
  1026. margin-right: 8px;
  1027. width: 20px;
  1028. height: 20px;
  1029. vertical-align: top;
  1030. }
  1031. #issue .issue-whole .title {
  1032. margin-top: 0;
  1033. font-size: 28px;
  1034. }
  1035. #issue .issue-whole .number {
  1036. font-size: 26px;
  1037. color: #AAA;
  1038. }
  1039. #issue .issue-head .author .avatar {
  1040. width: 48px;
  1041. height: 48px;
  1042. margin-right: 16px;
  1043. }
  1044. #issue .issue-head .info {
  1045. width: 99%;
  1046. margin-top: 10px;
  1047. padding-left: 74px;
  1048. margin-bottom: 16px;
  1049. padding-bottom: 20px;
  1050. border-bottom: 1px solid #CCC;
  1051. }
  1052. #issue .issue-head .status {
  1053. font-size: 16px;
  1054. font-weight: bold;
  1055. padding: 6px 18px;
  1056. border-radius: 3px;
  1057. }
  1058. #issue .issue-head a.author {
  1059. margin-left: .6em;
  1060. color: #444;
  1061. }
  1062. #issue .issue-main {
  1063. padding-left: 0;
  1064. }
  1065. #issue .issue-content {
  1066. border-bottom-width: 1px;
  1067. }
  1068. #issue .issue-child .user .avatar {
  1069. width: 42px;
  1070. height: 42px;
  1071. margin-right: 12px;
  1072. }
  1073. #issue .issue-child .issue-content {
  1074. margin-left: 56px;
  1075. }
  1076. #issue .issue-child .panel-heading {
  1077. padding-top: 10px;
  1078. padding-bottom: 10px;
  1079. font-weight: normal;
  1080. }
  1081. #issue .issue-child .panel-heading .user, #issue .issue-closed a.user, #issue .issue-opened a.user {
  1082. font-weight: bold;
  1083. }
  1084. #issue .issue-line {
  1085. border-color: #CCC;
  1086. }
  1087. #issue .issue-is-closed .issue-line {
  1088. display: none;
  1089. }
  1090. #issue .issue-head .info .btn {
  1091. margin-top: -8px;
  1092. margin-left: 8px;
  1093. }
  1094. #issue .issue-action {
  1095. padding-left: 8px;
  1096. color: #888;
  1097. width: 24px;
  1098. }
  1099. #issue-edit-title {
  1100. width: 60%;
  1101. }
  1102. #issue .issue-closed .issue-content, #issue .issue-opened .issue-content {
  1103. line-height: 42px;
  1104. }
  1105. #issue .issue-closed, #issue .issue-opened {
  1106. border-bottom: 2px solid #CCC;
  1107. margin-bottom: 24px;
  1108. padding-bottom: 24px;
  1109. }
  1110. #issue .issue-closed .label-danger, #issue .issue-opened .label-success {
  1111. margin: 0 .8em;
  1112. }
  1113. /* wrapper and footer */
  1114. #wrapper {
  1115. min-height: 100%;
  1116. height: auto !important;
  1117. height: 100%;
  1118. margin: 0 auto -100px;
  1119. padding: 0 0 100px;
  1120. }
  1121. #footer {
  1122. background: #fff;
  1123. -webkit-box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
  1124. box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);;
  1125. height: 100px;
  1126. }
  1127. #footer .footer-wrap {
  1128. padding: 20px 15px;
  1129. }
  1130. #footer a {
  1131. color: #000;
  1132. }
  1133. /* admin dashboard/configuration */
  1134. .admin-dl-horizontal > dt {
  1135. width: 220px;
  1136. }
  1137. .admin-dl-horizontal > dd {
  1138. margin-left: 240px;
  1139. }
  1140. /* release page */
  1141. #release-head {
  1142. margin-top: 0;
  1143. padding-bottom: 30px;
  1144. margin-bottom: 0;
  1145. border-bottom: 1px solid #DDD;
  1146. }
  1147. #release .release-item .col-md-10 {
  1148. border-left: 1px solid #DDD;
  1149. position: relative;
  1150. }
  1151. #release .release-item .commit, #release .release-item .tag {
  1152. display: block;
  1153. margin-top: 12px;
  1154. }
  1155. #release .release-item.release-tag .commit {
  1156. margin-top: 6px;
  1157. }
  1158. #release .release-item .title {
  1159. line-height: 30px;
  1160. margin-top: 0;
  1161. }
  1162. #release .release-item .dot {
  1163. width: 9px;
  1164. height: 9px;
  1165. background-color: #ccc;
  1166. z-index: 999;
  1167. position: absolute;
  1168. display: block;
  1169. left: -5px;
  1170. top: 30px;
  1171. border-radius: 6px;
  1172. border: 1px solid #FFF;
  1173. }
  1174. #release .release-item > div {
  1175. padding-top: 20px;
  1176. padding-bottom: 20px;
  1177. }
  1178. #release .release-item p.info {
  1179. line-height: 20px;
  1180. color: #666;
  1181. margin-bottom: 18px;
  1182. }
  1183. #release .release-item div.desc {
  1184. margin-bottom: 18px;
  1185. }
  1186. #release .release-item p.info > *, #release .release-item .download a {
  1187. margin-right: 12px;
  1188. }
  1189. #release .release-item .info .avatar {
  1190. vertical-align: middle;
  1191. }
  1192. #release-new-form {
  1193. margin-top: 24px;
  1194. }
  1195. #release-new-form .target-at {
  1196. margin: 0 1em;
  1197. }
  1198. #release-new-form .target-text {
  1199. color: #888;
  1200. }
  1201. #release-new-target-branch-list {
  1202. padding-top: 0;
  1203. padding-bottom: 0;
  1204. min-width: 200px;
  1205. }
  1206. #release-new-target-branch-list ul {
  1207. margin-bottom: 0;
  1208. }
  1209. #release-new-target-branch-list li {
  1210. padding: 8px 20px;
  1211. }
  1212. #release-new-target-branch-list li a {
  1213. margin-left: 0;
  1214. background-color: transparent;
  1215. padding: 0;
  1216. }
  1217. #release-new-target-branch-list li a:hover {
  1218. background-image: none;
  1219. }
  1220. #release-new-target-branch-list li:hover {
  1221. background-color: #0093c4;
  1222. }
  1223. #release-new-target-branch-list li:hover a {
  1224. color: #FFF;
  1225. }
  1226. #release-new-title {
  1227. width: 50%;
  1228. }
  1229. #release-new-content-div {
  1230. margin-top: 16px;
  1231. padding-left: 0;
  1232. }
  1233. #release-new-content-div .md-help {
  1234. margin-top: 6px;
  1235. }
  1236. #release-textarea .form-group {
  1237. display: block;
  1238. }
  1239. #release-new-content {
  1240. width: 100%;
  1241. margin: 16px 0;
  1242. }
  1243. #release-preview {
  1244. margin: 6px 0;
  1245. }