You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

gogs.css 26KB

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