gogs.css 25 KB

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