gogs.css 24 KB

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