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.

1429 lines
23 KiB

10 years ago
10 years ago
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. #commits-pager {
  535. margin-top: 0;
  536. }
  537. #source .source-toolbar:after {
  538. clear: both;
  539. }
  540. #source .source-toolbar .branch-switch {
  541. display: inline-block;
  542. }
  543. #source .source-toolbar .breadcrumb {
  544. margin: 0 .5em;
  545. padding: 6px 15px;
  546. font-size: 16px;
  547. vertical-align: middle;
  548. display: inline-block;
  549. background-color: transparent;
  550. }
  551. #source .source-toolbar,
  552. #source .info-box,
  553. #source .file-content {
  554. margin: 0 0 10px;
  555. }
  556. .info-box .info-head,
  557. .info-box .info-content {
  558. padding: 9px 20px;
  559. }
  560. .info-box .info-head {
  561. font-weight: normal;
  562. }
  563. .info-box .info-content a,
  564. .info-box .info-head a {
  565. color: #666;
  566. }
  567. .file-list {
  568. background-color: #fafafa;
  569. }
  570. .file-list .icon {
  571. font-size: 17px;
  572. padding: 5px 0 4px 10px;
  573. width: 50px;
  574. color: #999;
  575. text-align: right;
  576. }
  577. .file-list .wrap {
  578. display: inline-block;
  579. overflow: hidden;
  580. text-overflow: ellipsis;
  581. vertical-align: top;
  582. white-space: nowrap;
  583. }
  584. .file-list .name .wrap {
  585. max-width: 180px;
  586. }
  587. .file-list .text .wrap {
  588. max-width: 450px;
  589. }
  590. .file-list .date .wrap {
  591. max-width: 120px;
  592. padding: 0 20px 0 0;
  593. }
  594. .file-list .date {
  595. text-align: right;
  596. }
  597. .file-content .file-head {
  598. font-size: 18px;
  599. }
  600. .file-content .file-head .icon {
  601. color: #666;
  602. margin: 0 .5em 0 0;
  603. }
  604. .file-content .file-head .file-size {
  605. font-size: 13px;
  606. color: #888;
  607. margin-left: 1em;
  608. }
  609. .file-content .file-body {
  610. padding: 30px 30px 50px;
  611. border: none;
  612. background-color: #FFF;
  613. overflow: auto;
  614. overflow-x: auto;
  615. overflow-y: hidden;
  616. }
  617. .file-content .file-body.file-code pre {
  618. background-color: #FFF;
  619. border: none;
  620. }
  621. .file-content .file-body.file-code {
  622. padding: 0;
  623. }
  624. .file-content .file-body.file-code .lines-code > pre {
  625. border: none;
  626. background: none;
  627. border-left: 1px solid #ddd;
  628. }
  629. .file-content .file-body.file-code .lines-code ol.linenums > .active {
  630. background: #ffffdd;
  631. }
  632. .file-content .file-body.file-code .lines-num {
  633. text-align: right;
  634. color: #999;
  635. background: #fafafa;
  636. width: 1%;
  637. }
  638. .file-content .file-body.file-code .lines-ellipsis {
  639. background-color: #FAFAFA;
  640. color: #999;
  641. width: 1%;
  642. }
  643. .file-content .file-body.file-code .lines-num span {
  644. font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  645. line-height: 1.6;
  646. padding: 0 8px 0 10px;
  647. cursor: pointer;
  648. display: block;
  649. margin-top: 2px;
  650. font-size: 90%;
  651. }
  652. .file-content .file-body.file-code .lines-num span:first-child {
  653. margin-top: 0;
  654. }
  655. .file-content .file-body.file-code > table {
  656. width: 100%;
  657. }
  658. .file-content .file-body.file-code > table > tbody > tr,
  659. .file-content .file-body.file-code > table > tbody > tr > td,
  660. .file-content .file-body.file-code > table {
  661. border: none;
  662. background: none;
  663. }
  664. .branch-list th, .commit-list th {
  665. background-color: #FFF;
  666. line-height: 28px !important;
  667. }
  668. .branch-list td {
  669. line-height: 36px !important;
  670. }
  671. .branch-box tr:hover td, .commit-box tr:hover td {
  672. background-color: rgba(19, 95, 215, 0.06) !important;
  673. }
  674. .branch-box .name, .commit-box .author {
  675. padding-left: 20px;
  676. }
  677. .branch-box .name {
  678. font-size: 15px;
  679. }
  680. .branch-box .action {
  681. width: 150px;
  682. }
  683. .branch-box td.date, .branch-box td.behind, .branch-box td.ahead {
  684. width: 120px;
  685. font-family: Verdana, Arial, sans-serif;
  686. }
  687. .branch-box .graph {
  688. display: block;
  689. height: 3px;
  690. }
  691. .branch-box .behind {
  692. text-align: right;
  693. direction: rtl;
  694. }
  695. .branch-box .behind .graph {
  696. background-color: #888;
  697. }
  698. .branch-box .ahead .graph {
  699. background-color: #0093c4;
  700. }
  701. .branch-box .branch-main {
  702. background-color: #444;
  703. color: #FFF;
  704. border-color: #444;
  705. }
  706. .branch-box .branch-main a {
  707. color: #FFF;
  708. }
  709. .branch-box .branch-main .name .btn {
  710. margin-left: .5em;
  711. }
  712. #commits-search-form {
  713. margin-top: 4px;
  714. }
  715. .commit-box .avatar, .diff-head-box .avatar {
  716. width: 20px;
  717. height: 20px;
  718. margin-right: 8px;
  719. vertical-align: top;
  720. }
  721. .commit-box td {
  722. background-color: #FFF;
  723. }
  724. .commit-list .date {
  725. width: 120px;
  726. }
  727. .commit-list .author {
  728. min-width: 180px;
  729. }
  730. .commit-list .sha a {
  731. font-family: Consolas, Menlo, Monaco, "Lucida Console", monospace;
  732. font-size: 14px;
  733. }
  734. .guide-box pre, .guide-box .input-group {
  735. margin-top: 20px;
  736. margin-bottom: 30px;
  737. line-height: 24px;
  738. }
  739. .guide-box input[readonly] {
  740. background-color: #FFF;
  741. }
  742. .guide-box, .diff-head-box {
  743. margin-top: 4px;
  744. }
  745. .diff-head-box h4 {
  746. margin-top: 0;
  747. margin-bottom: 0;
  748. line-height: 26px;
  749. }
  750. .diff-head-box p {
  751. margin-bottom: 0;
  752. }
  753. .diff-head-box .sha {
  754. margin-left: 8px;
  755. }
  756. .diff-head-box a.name {
  757. color: #444;
  758. margin-right: 8px;
  759. }
  760. .diff-head-box span.time {
  761. color: #888;
  762. }
  763. .diff-detail-box {
  764. margin-bottom: 16px;
  765. line-height: 30px;
  766. }
  767. .diff-detail-box span.status {
  768. display: inline-block;
  769. width: 12px;
  770. height: 12px;
  771. margin-right: 8px;
  772. vertical-align: middle;
  773. }
  774. .diff-detail-box ol {
  775. padding-left: 0;
  776. margin-bottom: 28px;
  777. }
  778. .diff-detail-box li {
  779. list-style: none;
  780. padding-bottom: 4px;
  781. margin-bottom: 4px;
  782. border-bottom: 1px dashed #DDD;
  783. padding-left: 6px;
  784. }
  785. .diff-detail-box span.status.modify {
  786. background-color: #f0db88;
  787. }
  788. .diff-detail-box span.status.add {
  789. background-color: #b4e2b4;
  790. }
  791. .diff-detail-box span.status.del {
  792. background-color: #e9aeae;
  793. }
  794. .diff-detail-box span.status.rename {
  795. background-color: #dad8ff;
  796. }
  797. .diff-file-box .panel-heading {
  798. padding: 10px 20px;
  799. line-height: 26px;
  800. }
  801. .diff-box .count {
  802. margin-right: 12px;
  803. }
  804. .diff-box .count .bar {
  805. width: 40px;
  806. display: inline-block;
  807. margin: 2px 4px 0 4px;
  808. vertical-align: text-top;
  809. }
  810. .diff-box .file {
  811. color: #888;
  812. }
  813. #source .file-content.diff-file-box {
  814. margin-bottom: 20px;
  815. }
  816. .diff-box .count .bar .add {
  817. background-color: #77c64a;
  818. height: 12px;
  819. }
  820. .diff-box .count .bar .del, .diff-box .count .bar {
  821. background-color: #e75316;
  822. height: 12px;
  823. }
  824. .diff-file-box .file-body.file-code .lines-code > pre {
  825. margin: 0;
  826. padding: 3px;
  827. }
  828. .diff-file-box .file-body.file-code .lines-num-old {
  829. border-right: 1px solid #DDD;
  830. }
  831. .diff-file-box .code-bin td {
  832. padding: 20px;
  833. }
  834. .diff-file-box .code-diff tbody tr.tag-code td, .diff-file-box .code-diff tbody tr.tag-code pre {
  835. background-color: #E0E0E0 !important;
  836. border-color: #ADADAD !important;
  837. }
  838. .diff-file-box .code-diff tbody tr.add-code td, .diff-file-box .code-diff tbody tr.add-code pre {
  839. background-color: #d1ffd6 !important;
  840. border-color: #b4e2b4 !important;
  841. }
  842. .diff-file-box .code-diff tbody tr.del-code td, .diff-file-box .code-diff tbody tr.del-code pre {
  843. background-color: #ffe2dd !important;
  844. border-color: #e9aeae !important;
  845. }
  846. .diff-file-box .code-diff tbody tr:hover td, .diff-file-box .code-diff tbody tr:hover pre {
  847. background-color: #fff8d2 !important;
  848. border-color: #f0db88 !important;
  849. }
  850. .diff-file-box .ellipsis-code pre {
  851. color: #AAA;
  852. }
  853. /* issue */
  854. #issue-create-form .avatar {
  855. width: 50px;
  856. height: 50px;
  857. }
  858. #issue-create-form .panel-body {
  859. padding: 15px 0 0 0;
  860. }
  861. #issue-create-form .panel-body.form-group, #issue-create-form .tab-pane .form-group {
  862. margin-bottom: 0;
  863. }
  864. #issue-create-form .nav-tabs, #issue .issue-reply .nav-tabs {
  865. margin-bottom: 10px;
  866. }
  867. #issue .md-help {
  868. margin-top: 6px;
  869. }
  870. #issue .filter-list a {
  871. padding: 6px 10px;
  872. font-size: 14px;
  873. display: block;
  874. margin-bottom: 6px;
  875. border-radius: 3px;
  876. color: #444;
  877. }
  878. #issue .filter-list a.sm {
  879. font-size: 13px;
  880. }
  881. #issue .filter-list hr {
  882. border-color: #CCC;
  883. }
  884. #issue .filter-list a:hover {
  885. background-color: #DDD;
  886. text-decoration: none;
  887. }
  888. #issue .filter-list a.active {
  889. background-color: #4183c4;
  890. color: #FFF;
  891. }
  892. #issue .filter-option {
  893. margin-bottom: 12px;
  894. }
  895. #issue .list-group .list-group-item {
  896. background-color: #FFF;
  897. }
  898. #issue .issue-item:hover {
  899. background-color: rgba(19, 95, 215, 0.03);
  900. }
  901. #issue .list-group .list-group-item.unread {
  902. border-left: 2px solid #DD4B39;
  903. }
  904. #issue .issue-item .title {
  905. margin-bottom: 16px;
  906. font-weight: bold;
  907. }
  908. #issue .issue-item h5.title a {
  909. color: #444;
  910. }
  911. #issue .issue-item .info span {
  912. margin-right: 12px;
  913. color: #888;
  914. line-height: 20px;
  915. }
  916. #issue .issue-item .info a, #issue .issue-item .number {
  917. color: #888;
  918. }
  919. #issue .issue-item .number {
  920. margin-top: 8px;
  921. }
  922. #issue .issue-item .avatar {
  923. margin-right: 8px;
  924. width: 20px;
  925. height: 20px;
  926. vertical-align: top;
  927. }
  928. #issue .issue-whole .title {
  929. margin-top: 0;
  930. font-size: 28px;
  931. }
  932. #issue .issue-whole .number {
  933. font-size: 26px;
  934. color: #AAA;
  935. }
  936. #issue .issue-head .author .avatar {
  937. width: 48px;
  938. height: 48px;
  939. margin-right: 16px;
  940. }
  941. #issue .issue-head .info {
  942. width: 99%;
  943. margin-top: 10px;
  944. padding-left: 74px;
  945. margin-bottom: 16px;
  946. padding-bottom: 20px;
  947. border-bottom: 1px solid #CCC;
  948. }
  949. #issue .issue-head .status {
  950. font-size: 16px;
  951. font-weight: bold;
  952. padding: 6px 18px;
  953. border-radius: 3px;
  954. }
  955. #issue .issue-head a.author {
  956. margin-left: .6em;
  957. color: #444;
  958. }
  959. #issue .issue-main {
  960. padding-left: 0;
  961. }
  962. #issue .issue-content {
  963. border-bottom-width: 1px;
  964. }
  965. #issue .issue-child .user .avatar {
  966. width: 42px;
  967. height: 42px;
  968. margin-right: 12px;
  969. }
  970. #issue .issue-child .issue-content {
  971. margin-left: 56px;
  972. }
  973. #issue .issue-child .panel-heading {
  974. padding-top: 10px;
  975. padding-bottom: 10px;
  976. font-weight: normal;
  977. }
  978. #issue .issue-child .panel-heading .user, #issue .issue-closed a.user, #issue .issue-opened a.user {
  979. font-weight: bold;
  980. }
  981. #issue .issue-line {
  982. border-color: #CCC;
  983. }
  984. #issue .issue-is-closed .issue-line {
  985. display: none;
  986. }
  987. #issue .issue-head .info .btn {
  988. margin-top: -8px;
  989. margin-left: 8px;
  990. }
  991. #issue .issue-action {
  992. padding-left: 8px;
  993. color: #888;
  994. width: 24px;
  995. }
  996. #issue-edit-title {
  997. width: 60%;
  998. }
  999. #issue .issue-closed .issue-content, #issue .issue-opened .issue-content {
  1000. line-height: 42px;
  1001. }
  1002. #issue .issue-closed, #issue .issue-opened {
  1003. border-bottom: 2px solid #CCC;
  1004. margin-bottom: 24px;
  1005. padding-bottom: 24px;
  1006. }
  1007. #issue .issue-closed .label-danger, #issue .issue-opened .label-success {
  1008. margin: 0 .8em;
  1009. }
  1010. /* wrapper and footer */
  1011. #wrapper {
  1012. min-height: 100%;
  1013. height: auto !important;
  1014. height: 100%;
  1015. margin: 0 auto -100px;
  1016. padding: 0 0 100px;
  1017. }
  1018. #footer {
  1019. background: #fff;
  1020. -webkit-box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
  1021. box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);;
  1022. height: 100px;
  1023. }
  1024. #footer .footer-wrap {
  1025. padding: 20px 15px;
  1026. }
  1027. #footer a {
  1028. color: #000;
  1029. }
  1030. /* admin dashboard/configuration */
  1031. .admin-dl-horizontal > dt {
  1032. width: 220px;
  1033. }
  1034. .admin-dl-horizontal > dd {
  1035. margin-left: 240px;
  1036. }
  1037. /* release page */
  1038. #release-head {
  1039. margin-top: 0;
  1040. padding-bottom: 30px;
  1041. margin-bottom: 0;
  1042. border-bottom: 1px solid #DDD;
  1043. }
  1044. #release .release-item .col-md-10 {
  1045. border-left: 1px solid #DDD;
  1046. position: relative;
  1047. }
  1048. #release .release-item .commit, #release .release-item .tag {
  1049. display: block;
  1050. margin-top: 12px;
  1051. }
  1052. #release .release-item.release-tag .commit {
  1053. margin-top: 6px;
  1054. }
  1055. #release .release-item .title {
  1056. line-height: 30px;
  1057. margin-top: 0;
  1058. }
  1059. #release .release-item .dot {
  1060. width: 9px;
  1061. height: 9px;
  1062. background-color: #ccc;
  1063. z-index: 999;
  1064. position: absolute;
  1065. display: block;
  1066. left: -5px;
  1067. top: 30px;
  1068. border-radius: 6px;
  1069. border: 1px solid #FFF;
  1070. }
  1071. #release .release-item > div {
  1072. padding-top: 20px;
  1073. padding-bottom: 20px;
  1074. }
  1075. #release .release-item p.info {
  1076. line-height: 20px;
  1077. color: #666;
  1078. margin-bottom: 18px;
  1079. }
  1080. #release .release-item div.desc {
  1081. margin-bottom: 18px;
  1082. }
  1083. #release .release-item p.info > *, #release .release-item .download a {
  1084. margin-right: 12px;
  1085. }
  1086. #release .release-item .info .avatar {
  1087. vertical-align: middle;
  1088. }
  1089. #release-new-form {
  1090. margin-top: 24px;
  1091. }
  1092. #release-new-form .target-at {
  1093. margin: 0 1em;
  1094. }
  1095. #release-new-form .target-text {
  1096. color: #888;
  1097. }
  1098. #release-new-target-branch-list {
  1099. padding-top: 0;
  1100. padding-bottom: 0;
  1101. min-width: 200px;
  1102. }
  1103. #release-new-target-branch-list ul {
  1104. margin-bottom: 0;
  1105. }
  1106. #release-new-target-branch-list li {
  1107. padding: 8px 20px;
  1108. }
  1109. #release-new-target-branch-list li a {
  1110. margin-left: 0;
  1111. background-color: transparent;
  1112. padding: 0;
  1113. }
  1114. #release-new-target-branch-list li a:hover {
  1115. background-image: none;
  1116. }
  1117. #release-new-target-branch-list li:hover {
  1118. background-color: #0093c4;
  1119. }
  1120. #release-new-target-branch-list li:hover a {
  1121. color: #FFF;
  1122. }
  1123. #release-new-title {
  1124. width: 50%;
  1125. }
  1126. #release-new-content-div {
  1127. margin-top: 16px;
  1128. padding-left: 0;
  1129. }
  1130. #release-new-content-div .md-help {
  1131. margin-top: 6px;
  1132. }
  1133. #release-textarea .form-group {
  1134. display: block;
  1135. }
  1136. #release-new-content {
  1137. width: 100%;
  1138. margin: 16px 0;
  1139. }
  1140. #release-preview {
  1141. margin: 6px 0;
  1142. }