You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1425 lines
23 KiB

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