gogs.css 23 KB

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