gogs.css 24 KB

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