gogs.css 24 KB

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