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.

gogs.css 20KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233
  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. /* gogits user setting */
  255. #user-setting-nav > h4, #user-setting-container > h4, #user-setting-container > div > h4,
  256. #ssh-keys > h4, #user-delete > h4, #repo-setting-container .tab-pane > h4 {
  257. padding-bottom: 18px;
  258. margin-bottom: 18px;
  259. border-bottom: 1px solid #CCC;
  260. }
  261. #user-setting-nav .list-group .list-group-item a {
  262. margin-left: 0;
  263. padding: .6em;
  264. font-size: 14px;
  265. color: #3B73AF;
  266. }
  267. #user-setting-nav .list-group .list-group-item {
  268. background-color: transparent;
  269. }
  270. #user-setting-nav .list-group .list-group-item-success a {
  271. font-weight: bold;
  272. color: #444;
  273. }
  274. .admin-nav {
  275. background-color: #FFF;
  276. padding-top: 10px;
  277. padding-left: 0;
  278. padding-right: 0;
  279. border: 1px solid #D8D8D8;
  280. }
  281. .admin-nav li {
  282. margin-bottom: 8px;
  283. border-left: 4px solid transparent;
  284. }
  285. .admin-nav li:hover {
  286. border-left-color: #EEE;
  287. }
  288. .admin-nav li.active:hover {
  289. border-left: 4px solid #DD4B39;
  290. }
  291. #repo-setting-container .form-horizontal label {
  292. line-height: 30px;
  293. }
  294. /* gogits user ssh keys */
  295. #ssh-keys .list-group-item {
  296. padding: 15px 0;
  297. border-bottom: 1px solid #DDD;
  298. }
  299. #ssh-keys .list-group-item .delete {
  300. margin: -5px 50px 0;
  301. }
  302. #ssh-keys .list-group-item:after {
  303. clear: both;
  304. }
  305. #ssh-keys .name {
  306. font-size: 14px;
  307. font-weight: bold;
  308. }
  309. #ssh-keys .print {
  310. padding-left: 1em;
  311. color: #888;
  312. }
  313. #ssh-add {
  314. display: inline-block;
  315. color: white;
  316. cursor: pointer;
  317. margin-left: 0;
  318. border-radius: 3px;
  319. }
  320. #ssh-form textarea {
  321. height: 16em;
  322. }
  323. /* #feed */
  324. #feed-right .repo-panel .panel-heading .btn {
  325. margin-top: -4px;
  326. }
  327. #feed-right .repo-panel .panel-body {
  328. padding: 0;
  329. }
  330. #feed-right .repo-panel .list-group {
  331. margin-bottom: 0;
  332. }
  333. #feed-right .repo-panel .list-group-item a {
  334. display: block;
  335. margin-left: 0;
  336. background-color: transparent;
  337. padding-left: 0;
  338. font-weight: bold;
  339. }
  340. #feed-right .repo-panel .list-group-item .fa {
  341. color: #666;
  342. }
  343. #feed-right .repo-panel .list-group-item {
  344. font-size: 14px;
  345. line-height: 32px;
  346. border-bottom: 1px solid #DDD;
  347. padding-left: 15px;
  348. clear: both;
  349. }
  350. #feed-right .repo-panel .list-group-item:last-child {
  351. border-bottom: none;
  352. }
  353. #feed-right .repo-panel .list-group-item:hover {
  354. background-color: #eafffd;
  355. background-color: rgba(65, 131, 196, 0.1);
  356. }
  357. #feed-right .repo-panel span.stars {
  358. color: #666;
  359. margin-right: 1em;
  360. }
  361. /* gogits repo single page */
  362. #body-nav.repo-nav {
  363. padding-top: 16px;
  364. padding-bottom: 30px;
  365. height: auto;
  366. }
  367. .repo-nav .name {
  368. margin-top: 15px;
  369. }
  370. .repo-nav .desc {
  371. color: #888;
  372. margin-bottom: 0;
  373. }
  374. .repo-nav h3 .fa {
  375. color: #BBB;
  376. margin-left: 0;
  377. }
  378. .repo-nav .actions {
  379. padding-top: 20px;
  380. }
  381. .repo-nav .btn-default {
  382. font-family: Tahoma, Arial, sans-serif;
  383. }
  384. #repo-watching .dropdown-menu {
  385. width: 280px;
  386. padding: 0;
  387. }
  388. #repo-watching .dropdown-menu .dropdown-item:hover .dropdown-header, #repo-watching .dropdown-item .dropdown-header.text-primary {
  389. color: rgb(65, 131, 196);
  390. cursor: pointer;
  391. }
  392. #repo-watching .dropdown-menu .description {
  393. padding: 0 20px;
  394. color: #888;
  395. }
  396. #repo-watching .dropdown-menu .dropdown-header {
  397. color: #444;
  398. font-weight: bold;
  399. font-size: 14px;
  400. margin-bottom: 4px;
  401. }
  402. #repo-toolbar {
  403. border-bottom: 1px solid #DDD;
  404. background-color: #FFF;
  405. height: 40px;
  406. font-size: 14px;
  407. }
  408. #repo-toolbar .navbar-default {
  409. border: none;
  410. height: 39px;
  411. }
  412. #repo-toolbar .nav > li > a {
  413. height: 39px;
  414. }
  415. #repo-toolbar .nav .tmp a:hover {
  416. text-decoration: none;
  417. }
  418. #repo-toolbar .nav .tmp .btn {
  419. margin-top: -2px;
  420. }
  421. #repo-toolbar .nav .active {
  422. color: #F6F6F6;
  423. }
  424. #repo-toolbar .nav > .active > a:after {
  425. border-bottom-color: #999;
  426. }
  427. #repo-toolbar .navbar.nav-toolbar {
  428. margin-bottom: 0;
  429. }
  430. #repo-toolbar .navbar-collapse {
  431. padding: 0;
  432. }
  433. .activity-list {
  434. font-size: 14px;
  435. }
  436. .activity-list .icon {
  437. font-size: 20px;
  438. color: #aaa;
  439. float: left;
  440. }
  441. .activity-list .info {
  442. margin: 0 0 0 40px;
  443. line-height: 1.7em;
  444. }
  445. .activity-list .meta {
  446. color: #aaa;
  447. }
  448. .activity-list li {
  449. padding: 15px 0;
  450. border-top: 1px solid #ddd;
  451. }
  452. .activity-list li:first-child {
  453. border-top: none;
  454. }
  455. .repo-list li {
  456. padding: 15px 0;
  457. border-top: 1px solid #ddd;
  458. }
  459. .repo-list li:first-child {
  460. border-top: none;
  461. }
  462. .repo-list h4 {
  463. font-weight: bold;
  464. font-size: 24px;
  465. }
  466. .repo-list .meta {
  467. margin: 15px 0 0;
  468. font-size: 14px;
  469. }
  470. .repo-list .desc {
  471. font-size: 15px;
  472. }
  473. .repo-list .meta .fa {
  474. margin: 0 0 0 20px;
  475. }
  476. .repo-list .meta,
  477. .repo-list .info {
  478. color: #999;
  479. }
  480. .popover .repo-clone-div {
  481. min-width: 200px;
  482. }
  483. #repo-clone .dropdown-menu {
  484. width: 400px;
  485. padding: 20px;
  486. }
  487. #repo-clone .input-group {
  488. margin-bottom: 15px;
  489. }
  490. /* #source */
  491. #source, #commits {
  492. margin-top: -20px;
  493. }
  494. #source .source-toolbar:after {
  495. clear: both;
  496. }
  497. #source .source-toolbar .branch-switch {
  498. display: inline-block;
  499. }
  500. #source .source-toolbar .breadcrumb {
  501. margin: 0 .5em;
  502. padding: 6px 15px;
  503. font-size: 16px;
  504. vertical-align: middle;
  505. display: inline-block;
  506. background-color: transparent;
  507. }
  508. #source .source-toolbar,
  509. #source .info-box,
  510. #source .file-content {
  511. margin: 0 0 10px;
  512. }
  513. .info-box .info-head,
  514. .info-box .info-content {
  515. padding: 9px 20px;
  516. }
  517. .info-box .info-head {
  518. font-weight: normal;
  519. }
  520. .info-box .info-content a,
  521. .info-box .info-head a {
  522. color: #666;
  523. }
  524. .file-list {
  525. background-color: #fafafa;
  526. }
  527. .file-list .icon {
  528. font-size: 17px;
  529. padding: 5px 0 4px 10px;
  530. width: 50px;
  531. color: #999;
  532. text-align: right;
  533. }
  534. .file-list .wrap {
  535. display: inline-block;
  536. overflow: hidden;
  537. text-overflow: ellipsis;
  538. vertical-align: top;
  539. white-space: nowrap;
  540. }
  541. .file-list .name .wrap {
  542. max-width: 180px;
  543. }
  544. .file-list .text .wrap {
  545. max-width: 450px;
  546. }
  547. .file-list .date .wrap {
  548. max-width: 120px;
  549. padding: 0 20px 0 0;
  550. }
  551. .file-list .date {
  552. text-align: right;
  553. }
  554. .file-content .file-head {
  555. font-size: 18px;
  556. }
  557. .file-content .file-head .icon {
  558. color: #666;
  559. margin: 0 .5em 0 0;
  560. }
  561. .file-content .file-head .file-size {
  562. font-size: 13px;
  563. color: #888;
  564. margin-left: 1em;
  565. }
  566. .file-content .file-body {
  567. padding: 30px 30px 50px;
  568. border: none;
  569. background-color: #FFF;
  570. overflow: auto;
  571. overflow-x: auto;
  572. overflow-y: hidden;
  573. }
  574. .file-content .file-body.file-code pre {
  575. background-color: #FFF;
  576. border: none;
  577. }
  578. .file-content .file-body.file-code {
  579. padding: 0;
  580. }
  581. .file-content .file-body.file-code .lines-code > pre {
  582. border: none;
  583. background: none;
  584. border-left: 1px solid #ddd;
  585. }
  586. .file-content .file-body.file-code .lines-code ol.linenums > .active {
  587. background: #ffffdd;
  588. }
  589. .file-content .file-body.file-code .lines-num {
  590. text-align: right;
  591. color: #999;
  592. background: #fafafa;
  593. width: 1%;
  594. }
  595. .file-content .file-body.file-code .lines-ellipsis {
  596. background-color: #FAFAFA;
  597. color: #999;
  598. width: 1%;
  599. }
  600. .file-content .file-body.file-code .lines-num span {
  601. font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  602. line-height: 1.6;
  603. padding: 0 8px 0 10px;
  604. cursor: pointer;
  605. display: block;
  606. margin-top: 2px;
  607. font-size: 90%;
  608. }
  609. .file-content .file-body.file-code .lines-num span:first-child {
  610. margin-top: 0;
  611. }
  612. .file-content .file-body.file-code > table {
  613. width: 100%;
  614. }
  615. .file-content .file-body.file-code > table > tbody > tr,
  616. .file-content .file-body.file-code > table > tbody > tr > td,
  617. .file-content .file-body.file-code > table {
  618. border: none;
  619. background: none;
  620. }
  621. .branch-list th, .commit-list th {
  622. background-color: #FFF;
  623. line-height: 28px !important;
  624. }
  625. .branch-list td {
  626. line-height: 36px !important;
  627. }
  628. .branch-box tr:hover td, .commit-box tr:hover td {
  629. background-color: rgba(19, 95, 215, 0.06) !important;
  630. }
  631. .branch-box .name, .commit-box .author {
  632. padding-left: 20px;
  633. }
  634. .branch-box .name {
  635. font-size: 15px;
  636. }
  637. .branch-box .action {
  638. width: 150px;
  639. }
  640. .branch-box td.date, .branch-box td.behind, .branch-box td.ahead {
  641. width: 120px;
  642. font-family: Verdana, Arial, sans-serif;
  643. }
  644. .branch-box .graph {
  645. display: block;
  646. height: 3px;
  647. }
  648. .branch-box .behind {
  649. text-align: right;
  650. direction: rtl;
  651. }
  652. .branch-box .behind .graph {
  653. background-color: #888;
  654. }
  655. .branch-box .ahead .graph {
  656. background-color: #0093c4;
  657. }
  658. .branch-box .branch-main {
  659. background-color: #444;
  660. color: #FFF;
  661. border-color: #444;
  662. }
  663. .branch-box .branch-main a {
  664. color: #FFF;
  665. }
  666. .branch-box .branch-main .name .btn {
  667. margin-left: .5em;
  668. }
  669. .commit-box .avatar, .diff-head-box .avatar {
  670. width: 20px;
  671. height: 20px;
  672. margin-right: 8px;
  673. vertical-align: top;
  674. }
  675. .commit-box .search {
  676. margin-top: 3px;
  677. }
  678. .commit-box td {
  679. background-color: #FFF;
  680. }
  681. .commit-list .date {
  682. width: 120px;
  683. }
  684. .commit-list .author {
  685. min-width: 180px;
  686. }
  687. .commit-list .sha a {
  688. font-family: Consolas, Menlo, Monaco, "Lucida Console", monospace;
  689. font-size: 14px;
  690. }
  691. .guide-box pre, .guide-box .input-group {
  692. margin-top: 20px;
  693. margin-bottom: 30px;
  694. line-height: 24px;
  695. }
  696. .guide-box input[readonly] {
  697. background-color: #FFF;
  698. }
  699. .guide-box, .diff-head-box {
  700. margin-top: 4px;
  701. }
  702. .diff-head-box h4 {
  703. margin-top: 0;
  704. margin-bottom: 0;
  705. line-height: 26px;
  706. }
  707. .diff-head-box p {
  708. margin-bottom: 0;
  709. }
  710. .diff-head-box .sha {
  711. margin-left: 8px;
  712. }
  713. .diff-head-box a.name {
  714. color: #444;
  715. margin-right: 8px;
  716. }
  717. .diff-head-box span.time {
  718. color: #888;
  719. }
  720. .diff-detail-box {
  721. margin-bottom: 16px;
  722. line-height: 30px;
  723. }
  724. .diff-detail-box span.status {
  725. display: inline-block;
  726. width: 12px;
  727. height: 12px;
  728. margin-right: 8px;
  729. vertical-align: middle;
  730. }
  731. .diff-detail-box ol {
  732. padding-left: 0;
  733. margin-bottom: 28px;
  734. }
  735. .diff-detail-box li {
  736. list-style: none;
  737. padding-bottom: 4px;
  738. margin-bottom: 4px;
  739. border-bottom: 1px dashed #DDD;
  740. padding-left: 6px;
  741. }
  742. .diff-detail-box span.status.modify {
  743. background-color: #f0db88;
  744. }
  745. .diff-detail-box span.status.add {
  746. background-color: #b4e2b4;
  747. }
  748. .diff-detail-box span.status.del {
  749. background-color: #e9aeae;
  750. }
  751. .diff-detail-box span.status.rename {
  752. background-color: #dad8ff;
  753. }
  754. .diff-file-box .panel-heading {
  755. padding: 10px 20px;
  756. line-height: 26px;
  757. }
  758. .diff-box .count {
  759. margin-right: 12px;
  760. }
  761. .diff-box .count .bar {
  762. width: 40px;
  763. display: inline-block;
  764. margin: 2px 4px 0 4px;
  765. vertical-align: text-top;
  766. }
  767. .diff-box .file {
  768. color: #888;
  769. }
  770. #source .file-content.diff-file-box {
  771. margin-bottom: 20px;
  772. }
  773. .diff-box .count .bar .add {
  774. background-color: #77c64a;
  775. height: 12px;
  776. }
  777. .diff-box .count .bar .del, .diff-box .count .bar {
  778. background-color: #e75316;
  779. height: 12px;
  780. }
  781. .diff-file-box .file-body.file-code .lines-code > pre {
  782. margin: 0;
  783. padding: 3px;
  784. }
  785. .diff-file-box .file-body.file-code .lines-num-old {
  786. border-right: 1px solid #DDD;
  787. }
  788. .diff-file-box .code-bin td {
  789. padding: 20px;
  790. }
  791. .diff-file-box .code-diff tbody tr.tag-code td, .diff-file-box .code-diff tbody tr.tag-code pre {
  792. background-color: #E0E0E0 !important;
  793. border-color: #ADADAD !important;
  794. }
  795. .diff-file-box .code-diff tbody tr.add-code td, .diff-file-box .code-diff tbody tr.add-code pre {
  796. background-color: #d1ffd6 !important;
  797. border-color: #b4e2b4 !important;
  798. }
  799. .diff-file-box .code-diff tbody tr.del-code td, .diff-file-box .code-diff tbody tr.del-code pre {
  800. background-color: #ffe2dd !important;
  801. border-color: #e9aeae !important;
  802. }
  803. .diff-file-box .code-diff tbody tr:hover td, .diff-file-box .code-diff tbody tr:hover pre {
  804. background-color: #fff8d2 !important;
  805. border-color: #f0db88 !important;
  806. }
  807. .diff-file-box .ellipsis-code pre {
  808. color: #AAA;
  809. }
  810. /* issue */
  811. #issue-create-form .avatar {
  812. width: 50px;
  813. height: 50px;
  814. }
  815. #issue-create-form .panel-body {
  816. padding: 15px 0 0 0;
  817. }
  818. #issue-create-form .panel-body.form-group, #issue-create-form .tab-pane .form-group {
  819. margin-bottom: 0;
  820. }
  821. #issue-create-form .nav-tabs, #issue .issue-reply .nav-tabs {
  822. margin-bottom: 10px;
  823. }
  824. #issue .md-help {
  825. margin-top: 6px;
  826. }
  827. #issue .filter-list a {
  828. padding: 6px 10px;
  829. font-size: 14px;
  830. display: block;
  831. margin-bottom: 6px;
  832. border-radius: 3px;
  833. color: #444;
  834. }
  835. #issue .filter-list a.sm {
  836. font-size: 13px;
  837. }
  838. #issue .filter-list hr {
  839. border-color: #CCC;
  840. }
  841. #issue .filter-list a:hover {
  842. background-color: #DDD;
  843. text-decoration: none;
  844. }
  845. #issue .filter-list a.active {
  846. background-color: #4183c4;
  847. color: #FFF;
  848. }
  849. #issue .filter-option {
  850. margin-bottom: 12px;
  851. }
  852. #issue .list-group .list-group-item {
  853. background-color: #FFF;
  854. }
  855. #issue .issue-item:hover {
  856. background-color: rgba(19, 95, 215, 0.03);
  857. }
  858. #issue .list-group .list-group-item.unread {
  859. border-left: 2px solid #DD4B39;
  860. }
  861. #issue .issue-item .title {
  862. margin-bottom: 16px;
  863. font-weight: bold;
  864. }
  865. #issue .issue-item h5.title a {
  866. color: #444;
  867. }
  868. #issue .issue-item .info span {
  869. margin-right: 12px;
  870. color: #888;
  871. line-height: 20px;
  872. }
  873. #issue .issue-item .info a, #issue .issue-item .number {
  874. color: #888;
  875. }
  876. #issue .issue-item .number {
  877. margin-top: 8px;
  878. }
  879. #issue .issue-item .avatar {
  880. margin-right: 8px;
  881. width: 20px;
  882. height: 20px;
  883. vertical-align: top;
  884. }
  885. #issue .issue-whole .title {
  886. margin-top: 0;
  887. font-size: 28px;
  888. }
  889. #issue .issue-whole .number {
  890. font-size: 26px;
  891. color: #AAA;
  892. }
  893. #issue .issue-head .author .avatar {
  894. width: 48px;
  895. height: 48px;
  896. margin-right: 16px;
  897. }
  898. #issue .issue-head .info {
  899. width: 99%;
  900. margin-top: 10px;
  901. padding-left: 74px;
  902. margin-bottom: 16px;
  903. padding-bottom: 20px;
  904. border-bottom: 1px solid #CCC;
  905. }
  906. #issue .issue-head .status {
  907. font-size: 16px;
  908. font-weight: bold;
  909. padding: 6px 18px;
  910. border-radius: 3px;
  911. }
  912. #issue .issue-head a.author {
  913. margin-left: .6em;
  914. color: #444;
  915. }
  916. #issue .issue-main {
  917. padding-left: 0;
  918. }
  919. #issue .issue-content {
  920. border-bottom-width: 1px;
  921. }
  922. #issue .issue-child .user .avatar {
  923. width: 42px;
  924. height: 42px;
  925. margin-right: 12px;
  926. }
  927. #issue .issue-child .issue-content {
  928. margin-left: 56px;
  929. }
  930. #issue .issue-child .panel-heading {
  931. padding-top: 10px;
  932. padding-bottom: 10px;
  933. font-weight: normal;
  934. }
  935. #issue .issue-child .panel-heading .user,#issue .issue-closed a.user,#issue .issue-opened a.user {
  936. font-weight: bold;
  937. }
  938. #issue .issue-line {
  939. border-color: #CCC;
  940. }
  941. #issue .issue-is-closed .issue-line{
  942. display: none;
  943. }
  944. #issue .issue-head .info .btn {
  945. margin-top: -8px;
  946. margin-left: 8px;
  947. }
  948. #issue .issue-action {
  949. padding-left: 8px;
  950. color: #888;
  951. width: 24px;
  952. }
  953. #issue-edit-title {
  954. width: 60%;
  955. }
  956. #issue .issue-closed .issue-content,#issue .issue-opened .issue-content{
  957. line-height: 42px;
  958. }
  959. #issue .issue-closed, #issue .issue-opened {
  960. border-bottom: 2px solid #CCC;
  961. margin-bottom: 24px;
  962. padding-bottom: 24px;
  963. }
  964. #issue .issue-closed .label-danger,#issue .issue-opened .label-success{
  965. margin: 0 .8em;
  966. }
  967. /* wrapper and footer */
  968. #wrapper {
  969. min-height: 100%;
  970. height: auto !important;
  971. height: 100%;
  972. margin: 0 auto -100px;
  973. padding: 0 0 100px;
  974. }
  975. #footer {
  976. background: #fff;
  977. -webkit-box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
  978. box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);;
  979. height: 100px;
  980. }
  981. #footer .footer-wrap {
  982. padding: 20px 15px;
  983. }
  984. #footer a {
  985. color: #000;
  986. }