gogs.css 30 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817
  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 {
  576. padding: 0 6px;
  577. }
  578. #repo-toolbar .nav .tmp a {
  579. display: inline-block;
  580. padding-left: 6px;
  581. padding-right: 6px;
  582. }
  583. #repo-toolbar .nav .tmp a:hover {
  584. text-decoration: none;
  585. }
  586. #repo-toolbar .nav .tmp .btn {
  587. margin-top: -2px;
  588. }
  589. #repo-toolbar .nav .active {
  590. color: #F6F6F6;
  591. }
  592. #repo-toolbar .nav > .active > a:after {
  593. border-bottom-color: #999;
  594. }
  595. #repo-toolbar .navbar.nav-toolbar {
  596. margin-bottom: 0;
  597. }
  598. #repo-toolbar .navbar-collapse {
  599. padding: 0;
  600. }
  601. #repo-toolbar ul.navbar-right {
  602. margin-right: 0;
  603. }
  604. .activity-list {
  605. font-size: 14px;
  606. }
  607. .activity-list .icon {
  608. font-size: 20px;
  609. color: #aaa;
  610. float: left;
  611. }
  612. .activity-list .info {
  613. margin: 0 0 0 40px;
  614. line-height: 1.7em;
  615. }
  616. .activity-list .meta {
  617. color: #aaa;
  618. }
  619. .activity-list li {
  620. padding: 15px 0;
  621. border-top: 1px solid #ddd;
  622. }
  623. .activity-list li:first-child {
  624. border-top: none;
  625. }
  626. .repo-list li {
  627. padding: 15px 0;
  628. border-top: 1px solid #ddd;
  629. }
  630. .repo-list li:first-child {
  631. border-top: none;
  632. }
  633. .repo-list h4 {
  634. font-weight: bold;
  635. font-size: 24px;
  636. }
  637. .repo-list .meta {
  638. margin: 15px 0 0;
  639. font-size: 14px;
  640. }
  641. .repo-list .desc {
  642. font-size: 15px;
  643. }
  644. .repo-list .meta .fa {
  645. margin: 0 0 0 20px;
  646. }
  647. .repo-list .meta,
  648. .repo-list .info {
  649. color: #999;
  650. }
  651. .popover .repo-clone-div {
  652. min-width: 200px;
  653. }
  654. #repo-clone .dropdown-menu {
  655. width: 400px;
  656. padding: 20px;
  657. }
  658. #repo-clone .input-group {
  659. margin-bottom: 15px;
  660. }
  661. #repo-clone .zclip {
  662. left: auto !important;
  663. }
  664. /* #source */
  665. #source, #commits {
  666. margin-top: -20px;
  667. }
  668. #commits-pager {
  669. margin-top: 0;
  670. }
  671. #source .source-toolbar:after {
  672. clear: both;
  673. }
  674. #source .source-toolbar .branch-switch {
  675. display: inline-block;
  676. }
  677. #source .source-toolbar .breadcrumb {
  678. margin: 0 .5em;
  679. padding: 6px 15px;
  680. font-size: 16px;
  681. vertical-align: middle;
  682. display: inline-block;
  683. background-color: transparent;
  684. }
  685. #source .source-toolbar,
  686. #source .info-box,
  687. #source .file-content {
  688. margin: 0 0 10px;
  689. }
  690. .info-box .info-head,
  691. .info-box .info-content {
  692. padding: 9px 20px;
  693. }
  694. .info-box .info-head {
  695. font-weight: normal;
  696. }
  697. .info-box .info-content a,
  698. .info-box .info-head a {
  699. color: #666;
  700. }
  701. .file-list {
  702. background-color: #fafafa;
  703. }
  704. .file-list .icon {
  705. font-size: 17px;
  706. padding: 5px 0 4px 10px;
  707. width: 50px;
  708. color: #999;
  709. text-align: right;
  710. }
  711. .file-list .wrap {
  712. display: inline-block;
  713. overflow: hidden;
  714. text-overflow: ellipsis;
  715. vertical-align: top;
  716. white-space: nowrap;
  717. }
  718. .file-list .name .wrap {
  719. max-width: 180px;
  720. }
  721. .file-list .text .wrap {
  722. max-width: 450px;
  723. }
  724. .file-list .date .wrap {
  725. max-width: 120px;
  726. padding: 0 20px 0 0;
  727. }
  728. .file-list .date {
  729. text-align: right;
  730. }
  731. .file-content .file-head {
  732. font-size: 18px;
  733. }
  734. .file-content .file-head .icon {
  735. color: #666;
  736. margin: 0 .5em 0 0;
  737. }
  738. .file-content .file-head .file-size {
  739. font-size: 13px;
  740. color: #888;
  741. margin-left: 1em;
  742. }
  743. .file-content .file-body {
  744. padding: 30px 30px 50px;
  745. border: none;
  746. background-color: #FFF;
  747. overflow: auto;
  748. overflow-x: auto;
  749. overflow-y: hidden;
  750. }
  751. .file-content .file-body.file-code pre {
  752. background-color: #FFF;
  753. border: none;
  754. }
  755. .file-content .file-body.file-code {
  756. padding: 0;
  757. }
  758. .file-content .file-body.file-code .lines-code > pre {
  759. border: none;
  760. background: none;
  761. border-left: 1px solid #ddd;
  762. }
  763. .file-content .file-body.file-code .lines-code ol.linenums > .active {
  764. background: #ffffdd;
  765. }
  766. .file-content .file-body.file-code .lines-num {
  767. text-align: right;
  768. color: #999;
  769. background: #fafafa;
  770. width: 1%;
  771. }
  772. .file-content .file-body.file-code .lines-ellipsis {
  773. background-color: #FAFAFA;
  774. color: #999;
  775. width: 1%;
  776. }
  777. .file-content .file-body.file-code .lines-num span {
  778. font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  779. line-height: 1.6;
  780. padding: 0 8px 0 10px;
  781. cursor: pointer;
  782. display: block;
  783. margin-top: 2px;
  784. font-size: 90%;
  785. }
  786. .file-content .file-body.file-code .lines-num span:first-child {
  787. margin-top: 0;
  788. }
  789. .file-content .file-body.file-code > table {
  790. width: 100%;
  791. }
  792. .file-content .file-body.file-code > table > tbody > tr,
  793. .file-content .file-body.file-code > table > tbody > tr > td,
  794. .file-content .file-body.file-code > table {
  795. border: none;
  796. background: none;
  797. }
  798. .branch-list th, .commit-list th {
  799. background-color: #FFF;
  800. line-height: 28px !important;
  801. }
  802. .branch-list td {
  803. line-height: 36px !important;
  804. }
  805. .branch-box tr:hover td, .commit-box tr:hover td {
  806. background-color: rgba(19, 95, 215, 0.06) !important;
  807. }
  808. .branch-box .name, .commit-box .author {
  809. padding-left: 20px;
  810. }
  811. .branch-box .name {
  812. font-size: 15px;
  813. }
  814. .branch-box .action {
  815. width: 150px;
  816. }
  817. .branch-box td.date, .branch-box td.behind, .branch-box td.ahead {
  818. width: 120px;
  819. font-family: Verdana, Arial, sans-serif;
  820. }
  821. .branch-box .graph {
  822. display: block;
  823. height: 3px;
  824. }
  825. .branch-box .behind {
  826. text-align: right;
  827. direction: rtl;
  828. }
  829. .branch-box .behind .graph {
  830. background-color: #888;
  831. }
  832. .branch-box .ahead .graph {
  833. background-color: #0093c4;
  834. }
  835. .branch-box .branch-main {
  836. background-color: #444;
  837. color: #FFF;
  838. border-color: #444;
  839. }
  840. .branch-box .branch-main a {
  841. color: #FFF;
  842. }
  843. .branch-box .branch-main .name .btn {
  844. margin-left: .5em;
  845. }
  846. #commits-search-form {
  847. margin-top: 4px;
  848. }
  849. .commit-box .avatar, .diff-head-box .avatar {
  850. width: 20px;
  851. height: 20px;
  852. margin-right: 8px;
  853. vertical-align: top;
  854. }
  855. .commit-box td {
  856. background-color: #FFF;
  857. }
  858. .commit-list .date {
  859. width: 120px;
  860. }
  861. .commit-list .author {
  862. min-width: 180px;
  863. }
  864. .commit-list .sha a {
  865. font-family: Consolas, Menlo, Monaco, "Lucida Console", monospace;
  866. font-size: 14px;
  867. }
  868. .guide-box pre, .guide-box .input-group {
  869. margin-top: 20px;
  870. margin-bottom: 30px;
  871. line-height: 24px;
  872. }
  873. .guide-box input[readonly] {
  874. background-color: #FFF;
  875. }
  876. .guide-box, .diff-head-box {
  877. margin-top: 4px;
  878. }
  879. .guide-box .zclip {
  880. left: auto !important;
  881. }
  882. .diff-head-box h4 {
  883. margin-top: 0;
  884. margin-bottom: 0;
  885. line-height: 26px;
  886. }
  887. .diff-head-box p {
  888. margin-bottom: 0;
  889. }
  890. .diff-head-box .sha {
  891. margin-left: 8px;
  892. }
  893. .diff-head-box a.name {
  894. color: #444;
  895. margin-right: 8px;
  896. }
  897. .diff-head-box span.time {
  898. color: #888;
  899. }
  900. .diff-detail-box {
  901. margin-bottom: 16px;
  902. line-height: 30px;
  903. }
  904. .diff-detail-box span.status {
  905. display: inline-block;
  906. width: 12px;
  907. height: 12px;
  908. margin-right: 8px;
  909. vertical-align: middle;
  910. }
  911. .diff-detail-box ol {
  912. padding-left: 0;
  913. margin-bottom: 28px;
  914. }
  915. .diff-detail-box li {
  916. list-style: none;
  917. padding-bottom: 4px;
  918. margin-bottom: 4px;
  919. border-bottom: 1px dashed #DDD;
  920. padding-left: 6px;
  921. }
  922. .diff-detail-box span.status.modify {
  923. background-color: #f0db88;
  924. }
  925. .diff-detail-box span.status.add {
  926. background-color: #b4e2b4;
  927. }
  928. .diff-detail-box span.status.del {
  929. background-color: #e9aeae;
  930. }
  931. .diff-detail-box span.status.rename {
  932. background-color: #dad8ff;
  933. }
  934. .diff-file-box .panel-heading {
  935. padding: 10px 20px;
  936. line-height: 26px;
  937. }
  938. .diff-box .count {
  939. margin-right: 12px;
  940. }
  941. .diff-box .count .bar {
  942. width: 40px;
  943. display: inline-block;
  944. margin: 2px 4px 0 4px;
  945. vertical-align: text-top;
  946. }
  947. .diff-box .file {
  948. color: #888;
  949. }
  950. #source .file-content.diff-file-box {
  951. margin-bottom: 20px;
  952. }
  953. .diff-box .count .bar .add {
  954. background-color: #77c64a;
  955. height: 12px;
  956. }
  957. .diff-box .count .bar .del, .diff-box .count .bar {
  958. background-color: #e75316;
  959. height: 12px;
  960. }
  961. .diff-file-box .file-body.file-code .lines-code > pre {
  962. margin: 0;
  963. padding: 3px;
  964. }
  965. .diff-file-box .file-body.file-code .lines-num-old {
  966. border-right: 1px solid #DDD;
  967. }
  968. .diff-file-box .code-bin td {
  969. padding: 20px;
  970. }
  971. .diff-file-box .code-diff tbody tr.tag-code td, .diff-file-box .code-diff tbody tr.tag-code pre {
  972. background-color: #E0E0E0 !important;
  973. border-color: #ADADAD !important;
  974. }
  975. .diff-file-box .code-diff tbody tr.add-code td, .diff-file-box .code-diff tbody tr.add-code pre {
  976. background-color: #d1ffd6 !important;
  977. border-color: #b4e2b4 !important;
  978. }
  979. .diff-file-box .code-diff tbody tr.del-code td, .diff-file-box .code-diff tbody tr.del-code pre {
  980. background-color: #ffe2dd !important;
  981. border-color: #e9aeae !important;
  982. }
  983. .diff-file-box .code-diff tbody tr:hover td, .diff-file-box .code-diff tbody tr:hover pre {
  984. background-color: #fff8d2 !important;
  985. border-color: #f0db88 !important;
  986. }
  987. .diff-file-box .ellipsis-code pre {
  988. color: #AAA;
  989. }
  990. /* issue */
  991. #issue-create-form .avatar {
  992. width: 50px;
  993. height: 50px;
  994. }
  995. #issue-create-form .panel-body {
  996. padding: 15px 0 0 0;
  997. }
  998. #issue-create-form .panel-body.form-group, #issue-create-form .tab-pane .form-group {
  999. margin-bottom: 0;
  1000. }
  1001. #issue-create-form .nav-tabs, #issue .issue-reply .nav-tabs, #issue .issue-edit-content .nav-tabs {
  1002. margin-bottom: 10px;
  1003. }
  1004. #issue .md-help {
  1005. margin-top: 6px;
  1006. }
  1007. #issue .filters ul {
  1008. margin-bottom: 0;
  1009. }
  1010. #issue .filter-list a {
  1011. padding: 6px 10px;
  1012. font-size: 14px;
  1013. display: block;
  1014. margin-bottom: 6px;
  1015. border-radius: 3px;
  1016. color: #444;
  1017. }
  1018. #issue .filter-list a.sm {
  1019. font-size: 13px;
  1020. }
  1021. #issue .filter-list hr {
  1022. border-color: #CCC;
  1023. }
  1024. #issue .filter-list li a:hover {
  1025. background-color: #DDD;
  1026. text-decoration: none;
  1027. }
  1028. #issue .filter-list li a.active {
  1029. background-color: #4183c4;
  1030. color: #FFF;
  1031. }
  1032. #issue .filter-option {
  1033. margin-bottom: 12px;
  1034. }
  1035. #issue .filters > div {
  1036. margin-bottom: 16px;
  1037. padding-bottom: 16px;
  1038. border-bottom: 1px solid #CCC;
  1039. }
  1040. #issue .label-filter li {
  1041. line-height: 24px;
  1042. margin-top: 4px;
  1043. }
  1044. #issue .label-filter a {
  1045. color: #666;
  1046. font-weight: bold;
  1047. padding: 0 4px;
  1048. display: block;
  1049. }
  1050. #issue .label-filter li.label-item:hover {
  1051. background-color: #FFF;
  1052. }
  1053. #issue .label-filter .count {
  1054. font-size: 12px;
  1055. margin-right: 6px;
  1056. color: #888;
  1057. }
  1058. #issue .label-filter .color {
  1059. float: left;
  1060. height: 12px;
  1061. width: 12px;
  1062. border-radius: 2px;
  1063. margin-right: 12px;
  1064. margin-top: 6px;
  1065. }
  1066. #issue .label-filter .del {
  1067. margin-top: -24px;
  1068. color: #888;
  1069. display: none;
  1070. }
  1071. #issue .label-filter .label-button {
  1072. margin-top: 16px;
  1073. }
  1074. #issue .list-group .list-group-item {
  1075. background-color: #FFF;
  1076. }
  1077. #issue .issue-item:hover {
  1078. background-color: rgba(19, 95, 215, 0.03);
  1079. }
  1080. #issue .list-group .list-group-item.unread {
  1081. border-left: 2px solid #DD4B39;
  1082. }
  1083. #issue .issue-item .title {
  1084. margin-bottom: 16px;
  1085. font-weight: bold;
  1086. }
  1087. #issue .issue-item h5.title a {
  1088. color: #444;
  1089. }
  1090. #issue .issue-item h5 .labels .label {
  1091. margin-left: 12px;
  1092. }
  1093. #issue .issue-item .info span {
  1094. margin-right: 12px;
  1095. color: #888;
  1096. line-height: 20px;
  1097. }
  1098. #issue .issue-item .info a, #issue .issue-item .number {
  1099. color: #888;
  1100. }
  1101. #issue .issue-item .number {
  1102. margin-top: 8px;
  1103. }
  1104. #issue .issue-item .avatar {
  1105. margin-right: 8px;
  1106. width: 20px;
  1107. height: 20px;
  1108. vertical-align: top;
  1109. }
  1110. #issue .issue-whole .title {
  1111. margin-top: 0;
  1112. font-size: 28px;
  1113. }
  1114. #issue .issue-whole .number {
  1115. font-size: 26px;
  1116. color: #AAA;
  1117. }
  1118. #issue .issue-head .author .avatar {
  1119. width: 48px;
  1120. height: 48px;
  1121. margin-right: 16px;
  1122. }
  1123. #issue .issue-head .info {
  1124. width: 99%;
  1125. margin-top: 10px;
  1126. padding-left: 74px;
  1127. margin-bottom: 16px;
  1128. padding-bottom: 20px;
  1129. border-bottom: 1px solid #CCC;
  1130. }
  1131. #issue .issue-head .status {
  1132. font-size: 16px;
  1133. font-weight: bold;
  1134. padding: 6px 18px;
  1135. border-radius: 3px;
  1136. }
  1137. #issue .issue-head a.author {
  1138. margin-left: .6em;
  1139. color: #444;
  1140. }
  1141. #issue .issue-main {
  1142. padding-left: 0;
  1143. }
  1144. #issue .issue-content {
  1145. border-bottom-width: 1px;
  1146. }
  1147. #issue .issue-child .user .avatar {
  1148. width: 42px;
  1149. height: 42px;
  1150. margin-right: 12px;
  1151. }
  1152. #issue .issue-child .issue-content {
  1153. margin-left: 56px;
  1154. }
  1155. #issue .issue-child .panel-heading {
  1156. padding-top: 10px;
  1157. padding-bottom: 10px;
  1158. font-weight: normal;
  1159. }
  1160. #issue .issue-child .panel-heading .user, #issue .issue-closed a.user, #issue .issue-opened a.user {
  1161. font-weight: bold;
  1162. }
  1163. #issue .issue-line {
  1164. border-color: #CCC;
  1165. }
  1166. #issue .issue-is-closed .issue-line {
  1167. display: none;
  1168. }
  1169. #issue .issue-head .info .btn {
  1170. margin-top: -8px;
  1171. margin-left: 8px;
  1172. }
  1173. #issue .issue-action {
  1174. padding-left: 8px;
  1175. color: #888;
  1176. width: 24px;
  1177. }
  1178. #issue-edit-title {
  1179. width: 60%;
  1180. }
  1181. #issue .issue-closed .issue-content, #issue .issue-opened .issue-content {
  1182. line-height: 42px;
  1183. }
  1184. #issue .issue-closed, #issue .issue-opened {
  1185. border-bottom: 2px solid #CCC;
  1186. margin-bottom: 24px;
  1187. padding-bottom: 24px;
  1188. }
  1189. #issue .issue-closed .label-danger, #issue .issue-opened .label-success {
  1190. margin: 0 .8em;
  1191. }
  1192. #issue .milestone-item .actions {
  1193. margin-top: 10px;
  1194. }
  1195. #issue .milestone-item .actions a {
  1196. margin-left: 8px;
  1197. }
  1198. #issue .milestone-item hr {
  1199. width: 100%;
  1200. padding-top: 8px;
  1201. margin-top: 48px;
  1202. margin-bottom: 8px;
  1203. }
  1204. #issue .milestone-item .label {
  1205. margin-top: 8px;
  1206. float: left;
  1207. padding: .5em;
  1208. margin-left: .8em;
  1209. }
  1210. #issue .assignee.dropdown-menu, #issue .assignee ul, #issue .milestone.dropdown-menu, #issue .milestone ul {
  1211. padding: 0;
  1212. margin: 0;
  1213. min-width: 300px;
  1214. }
  1215. #issue .issue-bar .assignee, #issue .issue-bar .assignee ul {
  1216. min-width: 160px;
  1217. }
  1218. #issue .issue-bar .assignee .dropdown-menu, #issue .issue-bar .milestone .dropdown-menu, #issue .issue-bar .labels .dropdown-menu {
  1219. padding: 0;
  1220. margin: 0;
  1221. }
  1222. #issue .assignee li, #issue .milestone li.clear-milestone {
  1223. padding: 4px 12px;
  1224. line-height: 30px;
  1225. }
  1226. #issue .milestone .milestone-item {
  1227. padding: 8px 12px;
  1228. }
  1229. #issue .milestone li.milestone-item {
  1230. border-bottom: 1px solid #CCC;
  1231. }
  1232. #issue .milestone li.milestone-item:last-child {
  1233. border-bottom: none;
  1234. }
  1235. #issue .milestone .milestone-item p {
  1236. margin-bottom: 0;
  1237. }
  1238. #issue .assignee li:hover, #issue .milestone li.clear-milestone:hover, #issue .milestone li.milestone-item:hover {
  1239. background-color: #e8f0ff;
  1240. cursor: pointer;
  1241. }
  1242. #issue .assignee li img, #issue .issue-bar .assignee img {
  1243. width: 28px;
  1244. height: 28px;
  1245. margin-right: 12px;
  1246. }
  1247. #issue .issue-bar > div {
  1248. padding-bottom: 8px;
  1249. margin-bottom: 40px;
  1250. border-bottom: 1px solid #CCC;
  1251. }
  1252. #issue .issue-bar .assignee {
  1253. line-height: 30px;
  1254. }
  1255. #issue .issue-bar .assignee .action, #issue .issue-bar .milestone .action, #issue .issue-bar .labels .action {
  1256. position: relative;
  1257. margin-top: -6px;
  1258. }
  1259. #issue .issue-bar .milestone .completion {
  1260. margin-top: 20px;
  1261. margin-bottom: 12px;
  1262. }
  1263. #issue .issue-bar .milestone .completion span {
  1264. display: block;
  1265. height: 12px;
  1266. background-color: #77c64a;
  1267. }
  1268. #issue .milestone .nav-tabs a {
  1269. padding: 4px 8px;
  1270. border-top: none;
  1271. }
  1272. #milestone {
  1273. margin-left: 24px;
  1274. margin-right: 12px;
  1275. }
  1276. #issue .issue-bar .labels .label-item {
  1277. padding: 2px 12px 4px 12px;
  1278. border-radius: 2px;
  1279. text-shadow: 0 0 2px #444;
  1280. }
  1281. #issue .label-selected .count, #issue .label-selected a {
  1282. color: #FAFAFA;
  1283. }
  1284. #issue .label-selected a {
  1285. text-shadow: 0 0 2px #444;
  1286. }
  1287. #issue .issue-bar .labels .label-white {
  1288. color: #FFF;
  1289. }
  1290. #issue .issue-bar .labels .label-black {
  1291. color: #444;
  1292. }
  1293. #issue .issue-bar .labels .dropdown-menu ul {
  1294. margin: 0;
  1295. width: 180px;
  1296. }
  1297. #issue .issue-bar .labels .dropdown-menu li {
  1298. line-height: 30px;
  1299. padding-left: 12px;
  1300. border-bottom: 1px solid #DDD;
  1301. }
  1302. #issue .issue-bar .labels .dropdown-menu li:hover {
  1303. background-color: #e8f0ff;
  1304. cursor: pointer;
  1305. }
  1306. #issue .issue-bar .labels .color {
  1307. display: inline-block;
  1308. width: 16px;
  1309. height: 16px;
  1310. vertical-align: text-top;
  1311. margin-right: 6px;
  1312. }
  1313. #issue .issue-bar .labels .no-checked .color {
  1314. margin-left: 26px;
  1315. }
  1316. #label-color-ipt2, #label-color-change-ipt2 {
  1317. width: 120px;
  1318. display: inline-block;
  1319. vertical-align: top;
  1320. }
  1321. #label-color-change-ipt2{
  1322. margin-top: 1px;
  1323. }
  1324. /* wrapper and footer */
  1325. #wrapper {
  1326. min-height: 100%;
  1327. height: auto !important;
  1328. height: 100%;
  1329. margin: 0 auto -100px;
  1330. padding: 0 0 100px;
  1331. }
  1332. #footer {
  1333. background: #fff;
  1334. -webkit-box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
  1335. box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);;
  1336. height: 100px;
  1337. }
  1338. #footer .footer-wrap {
  1339. padding: 20px 15px;
  1340. }
  1341. #footer a {
  1342. color: #000;
  1343. }
  1344. /* admin dashboard/configuration */
  1345. .admin-dl-horizontal > dt {
  1346. width: 220px;
  1347. }
  1348. .admin-dl-horizontal > dd {
  1349. margin-left: 240px;
  1350. }
  1351. /* release page */
  1352. #release-head {
  1353. margin-top: 0;
  1354. padding-bottom: 30px;
  1355. margin-bottom: 0;
  1356. border-bottom: 1px solid #DDD;
  1357. }
  1358. #release .release-item .col-md-10 {
  1359. border-left: 1px solid #DDD;
  1360. position: relative;
  1361. }
  1362. #release .release-item .commit, #release .release-item .tag {
  1363. display: block;
  1364. margin-top: 12px;
  1365. }
  1366. #release .release-item.release-tag .commit {
  1367. margin-top: 6px;
  1368. }
  1369. #release .release-item .title {
  1370. line-height: 30px;
  1371. margin-top: 0;
  1372. }
  1373. #release .release-item .dot {
  1374. width: 9px;
  1375. height: 9px;
  1376. background-color: #ccc;
  1377. z-index: 999;
  1378. position: absolute;
  1379. display: block;
  1380. left: -5px;
  1381. top: 30px;
  1382. border-radius: 6px;
  1383. border: 1px solid #FFF;
  1384. }
  1385. #release .release-item > div {
  1386. padding-top: 20px;
  1387. padding-bottom: 20px;
  1388. }
  1389. #release .release-item p.info {
  1390. line-height: 20px;
  1391. color: #666;
  1392. margin-bottom: 18px;
  1393. }
  1394. #release .release-item div.desc {
  1395. margin-bottom: 18px;
  1396. }
  1397. #release .release-item p.info > *, #release .release-item .download a {
  1398. margin-right: 12px;
  1399. }
  1400. #release .release-item .info .avatar {
  1401. vertical-align: middle;
  1402. }
  1403. #release-new-form {
  1404. margin-top: 24px;
  1405. }
  1406. #release-new-form .target-at {
  1407. margin: 0 1em;
  1408. }
  1409. #release-new-form .target-text {
  1410. color: #888;
  1411. }
  1412. #release-new-target-branch-list {
  1413. padding-top: 0;
  1414. padding-bottom: 0;
  1415. min-width: 200px;
  1416. }
  1417. #release-new-target-branch-list ul {
  1418. margin-bottom: 0;
  1419. }
  1420. #release-new-target-branch-list li {
  1421. padding: 8px 20px;
  1422. }
  1423. #release-new-target-branch-list li a {
  1424. margin-left: 0;
  1425. background-color: transparent;
  1426. padding: 0;
  1427. }
  1428. #release-new-target-branch-list li a:hover {
  1429. background-image: none;
  1430. }
  1431. #release-new-target-branch-list li:hover {
  1432. background-color: #0093c4;
  1433. }
  1434. #release-new-target-branch-list li:hover a {
  1435. color: #FFF;
  1436. }
  1437. #release-new-title {
  1438. width: 50%;
  1439. }
  1440. #release-new-content-div {
  1441. margin-top: 16px;
  1442. padding-left: 0;
  1443. }
  1444. #release-new-content-div .md-help {
  1445. margin-top: 6px;
  1446. }
  1447. #release-textarea .form-group {
  1448. display: block;
  1449. }
  1450. #release-new-content {
  1451. width: 100%;
  1452. margin: 16px 0;
  1453. }
  1454. #release-preview {
  1455. margin: 6px 0;
  1456. }