gogs.css 25 KB

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