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.

1610 lines
26 KiB

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