gitphpskin.css 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630
  1. /*
  2. * gitphpskin.css
  3. *
  4. * GitPHP look and feel stylesheet
  5. *
  6. * @author Christopher Han <xiphux@gmail.com>
  7. * @copyright Copyright (c) 2006-2011 Christopher Han
  8. * @package GitPHP
  9. */
  10. /*
  11. * Base styles
  12. */
  13. body {
  14. font-family: sans-serif;
  15. font-size: 12px;
  16. border: solid #d9d8d1;
  17. border-width: 1px;
  18. margin: 10px;
  19. background-color: #ffffff;
  20. color: #000000;
  21. }
  22. a {
  23. color: #0000cc;
  24. }
  25. a:hover, a:visited, a:active {
  26. color: #880000;
  27. }
  28. .empty {
  29. /* various empty / no data messages */
  30. color: gray;
  31. }
  32. /*
  33. * Page header
  34. * (topmost bar with project link, language bar, etc)
  35. */
  36. div.page_header {
  37. height: 25px;
  38. padding: 8px;
  39. font-size: 18px;
  40. font-weight: bold;
  41. background-color: #d9d8d1;
  42. }
  43. div.page_header a:visited, a.header {
  44. color: #0000cc;
  45. }
  46. div.page_header a:hover {
  47. color: #880000;
  48. }
  49. div.login {
  50. padding-top: 2px;
  51. font-size: 15px;
  52. font-weight: normal;
  53. }
  54. /*
  55. * Navigation header links
  56. */
  57. div.page_nav {
  58. padding: 8px;
  59. }
  60. div.page_nav a:visited {
  61. color: #0000cc;
  62. }
  63. /*
  64. * Path header
  65. * (tree/blob path navigation links)
  66. */
  67. div.page_path {
  68. padding: 8px;
  69. border: solid #d9d8d1;
  70. border-width: 0px 0px 1px;
  71. }
  72. /*
  73. * Page footer
  74. * (footer bar with project description and atom/rss links)
  75. */
  76. div.page_footer {
  77. height: 17px;
  78. padding: 4px 8px;
  79. background-color: #d9d8d1;
  80. }
  81. /*
  82. * Attribution footer
  83. * (bottommost footer)
  84. */
  85. div.attr_footer {
  86. text-align: center;
  87. padding: 4px 8px;
  88. color: #888888;
  89. font-style: italic;
  90. }
  91. div.attr_footer a {
  92. color: #888888;
  93. font-style: italic;
  94. text-decoration: none;
  95. }
  96. div.attr_footer a:hover {
  97. text-decoration: underline;
  98. }
  99. div.page_footer_text {
  100. float: left;
  101. color: #555555;
  102. font-style: italic;
  103. }
  104. div.page_footer_text a {
  105. color: #555555;
  106. font-style: italic;
  107. text-decoration: none;
  108. }
  109. div.page_footer_text a:hover {
  110. text-decoration: underline;
  111. }
  112. /*
  113. * Page body
  114. */
  115. div.page_body {
  116. padding: 8px;
  117. }
  118. /*
  119. * Table displays
  120. */
  121. table {
  122. padding: 8px 4px;
  123. }
  124. th {
  125. padding: 2px 5px;
  126. font-size: 12px;
  127. text-align: left;
  128. }
  129. tr.light:hover {
  130. /* odd rows */
  131. background-color: #edece6;
  132. }
  133. tr.dark {
  134. /* even rows */
  135. background-color: #f6f6f0;
  136. }
  137. tr.dark:hover {
  138. background-color: #edece6;
  139. }
  140. td {
  141. padding: 2px 5px;
  142. font-size: 12px;
  143. vertical-align: top;
  144. }
  145. td.link {
  146. /* navigation links on the right side of each row */
  147. padding: 2px 5px;
  148. font-family: sans-serif;
  149. font-size: 10px;
  150. }
  151. /*
  152. * Messages
  153. */
  154. div.message {
  155. /* used to display information/error message to user */
  156. padding: 12px;
  157. }
  158. div.error {
  159. /* highlights error messages */
  160. color: #ff0000;
  161. }
  162. /*
  163. * Badges
  164. */
  165. a.rss_logo {
  166. /* the rss/atom/opml/txt buttons */
  167. padding: 3px 0px;
  168. width: 35px;
  169. line-height: 10px;
  170. border: 1px solid;
  171. border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
  172. color: #ffffff;
  173. background-color: #ff6600;
  174. font-weight: bold;
  175. font-family: sans-serif;
  176. font-size: 10px;
  177. text-align: center;
  178. text-decoration: none;
  179. }
  180. a.rss_logo:hover {
  181. background-color: #ee5500;
  182. }
  183. span.refs a {
  184. /* for both tag and head badges */
  185. color: #000000;
  186. text-decoration: none;
  187. }
  188. span.refs a:hover {
  189. color: #880000;
  190. text-decoration: underline;
  191. }
  192. span.tag {
  193. /* tag badge */
  194. padding: 0px 4px;
  195. font-size: 10px;
  196. font-weight: normal;
  197. background-color: #ffffaa;
  198. border: 1px solid;
  199. border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
  200. }
  201. span.head {
  202. /* head badge */
  203. padding: 0px 4px;
  204. font-size: 10px;
  205. font-weight: normal;
  206. background-color: #aaffaa;
  207. border: 1px solid;
  208. border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
  209. }
  210. /*
  211. * Title bar
  212. * (main header with commit message)
  213. */
  214. div.title {
  215. padding: 6px 8px;
  216. background-color: #edece6;
  217. }
  218. div.title a.title {
  219. font-weight: bold;
  220. text-decoration: none;
  221. color: #000000;
  222. }
  223. div.title:hover {
  224. background-color: #d9d8d1;
  225. }
  226. div.title_text {
  227. padding: 6px 0px;
  228. border: solid #d9d8d1;
  229. border-width: 0px 0px 1px;
  230. }
  231. /*
  232. * Search box
  233. */
  234. div.search {
  235. font-size: 12px;
  236. font-weight: normal;
  237. }
  238. /*
  239. * Language selector
  240. */
  241. div.lang_select {
  242. font-size: 12px;
  243. font-weight: normal;
  244. }
  245. /*
  246. * Full log view
  247. */
  248. span.age {
  249. /* Age display by each log commit */
  250. font-style: italic;
  251. }
  252. div.log_link {
  253. /* Links by each log commit */
  254. font-size: 10px;
  255. font-family: sans-serif;
  256. font-style: normal;
  257. }
  258. /*
  259. * Commit view
  260. */
  261. div.list_head {
  262. /* Header above commit's changed files (shows # of changed files) */
  263. padding: 6px 8px 4px;
  264. border: solid #d9d8d1;
  265. border-width: 1px 0px 0px;
  266. font-style: italic;
  267. }
  268. a.list {
  269. /* Filename in list of changed files */
  270. text-decoration: none;
  271. color: #000000;
  272. }
  273. a.list:hover {
  274. text-decoration: underline;
  275. color: #880000;
  276. }
  277. span.commit_title {
  278. font-weight: bold;
  279. }
  280. span.merge_title {
  281. color: #777777;
  282. }
  283. span.newfile {
  284. color: #008000;
  285. }
  286. span.deletedfile {
  287. color: #c00000;
  288. }
  289. span.changedfile {
  290. color: #777777;
  291. }
  292. span.movedfile {
  293. color: #777777;
  294. }
  295. span.latenight {
  296. /* highlights the time if it's after hours */
  297. color: #cc0000;
  298. }
  299. span.signedOffBy {
  300. color: gray;
  301. }
  302. /*
  303. * Diff display
  304. */
  305. div.pre {
  306. /* the entire diff output block */
  307. font-family: monospace;
  308. font-size: 12px;
  309. }
  310. div.diff_info {
  311. /* the from -> to file header */
  312. font-family: monospace;
  313. color: #000099;
  314. background-color: #edece6;
  315. font-style: italic;
  316. }
  317. .diffplus {
  318. color: #008800;
  319. }
  320. .diffminus {
  321. color: #cc0000;
  322. }
  323. .diffat {
  324. color: #990099;
  325. }
  326. /*
  327. * side-by-side-diff diff
  328. */
  329. table.diffTable {
  330. font-family: monospace;
  331. }
  332. table.diffTable tr.diff-added {
  333. background-color: #C1FFC1;
  334. }
  335. table.diffTable tr.diff-modified {
  336. background-color: #DDEEFF;
  337. }
  338. table.diffTable tr.diff-deleted {
  339. background-color: #FFDDDD;
  340. }
  341. table.diffTable td.diff-left {
  342. border-right: 1px solid #d9d8d1;
  343. }
  344. /*
  345. * side-by-side commitdiff
  346. */
  347. div.commitDiffSBS
  348. {
  349. width: 100%;
  350. border-top: 2px solid #edece6;
  351. }
  352. div.commitDiffSBS div.SBSTOC
  353. {
  354. float: left;
  355. width: 19%;
  356. word-wrap: break-word;
  357. background-color: #ffffff;
  358. border-bottom: 1px solid #edece6;
  359. }
  360. div.commitDiffSBS div.SBSTOC a
  361. {
  362. text-decoration: none;
  363. }
  364. div.commitDiffSBS div.SBSTOC ul
  365. {
  366. margin-left: 8px;
  367. padding-left: 8px;
  368. }
  369. div.commitDiffSBS div.SBSTOC .listcount
  370. {
  371. list-style-type: none;
  372. }
  373. div.commitDiffSBS div.SBSTOC .activeItem
  374. {
  375. background-color: #edece6;
  376. }
  377. div.commitDiffSBS .SBSContent
  378. {
  379. float: right;
  380. width: 80%;
  381. border-left: 1px solid #edece6;
  382. }
  383. div.commitDiffSBS .SBSFooter
  384. {
  385. clear: both;
  386. }
  387. /*
  388. * Blob/blame display
  389. */
  390. a.linenr {
  391. /* Line numbers (non-geshi only) */
  392. color: #999999;
  393. text-decoration: none;
  394. }
  395. table.code td {
  396. /* code table (non-geshi only) */
  397. padding: 0px 0px;
  398. }
  399. table.code td.num {
  400. text-align: right;
  401. font-family: monospace;
  402. font-size: 12px;
  403. }
  404. table.code td.codeline {
  405. padding-left: 5px;
  406. font-family: monospace;
  407. font-size: 12px;
  408. }
  409. table.code tr.light:hover {
  410. background-color: #ffffff;
  411. }
  412. table.code tr.dark:hover {
  413. background-color: #f6f6f0;
  414. }
  415. td#blameData {
  416. /* the blame info column */
  417. text-align: left;
  418. }
  419. td#blameData div.light:hover {
  420. background-color: #edece6;
  421. }
  422. td#blameData div.dark {
  423. background-color: #f6f6f0;
  424. }
  425. td#blameData div.dark:hover {
  426. background-color: #edece6;
  427. }
  428. /*
  429. * Project list page
  430. */
  431. div.index_header {
  432. /* the customizable info header above the list of projects */
  433. border: solid #d9d8d1;
  434. border-width: 0px 0px 1px;
  435. padding: 12px 8px;
  436. }
  437. span.agehighlight {
  438. /* highlights recently changed project ages */
  439. color: #009900;
  440. }
  441. div.projectSearch {
  442. /* the project search box */
  443. padding: 8px;
  444. border: solid #d9d8d1;
  445. border-width: 0px 0px 1px;
  446. }
  447. .projectName .indent {
  448. /* indents projects underneath a category */
  449. margin-left: 8px;
  450. }
  451. .projectRow.disabled {
  452. color: #888;
  453. }
  454. /*
  455. * Tree view
  456. */
  457. table.treeTable td.filesize {
  458. /* the file size column */
  459. text-align: right;
  460. }
  461. table.treeTable td.expander {
  462. /* the javascript tree expander cell */
  463. padding-right: 0px;
  464. }
  465. /*
  466. * Tag view
  467. */
  468. table.tagTable td.link {
  469. /* links at the right end of each tag */
  470. text-align: right;
  471. }
  472. span.pgpSig {
  473. color: gray;
  474. }
  475. /*
  476. * Search view
  477. */
  478. span.searchmatch {
  479. /* highlights string matches */
  480. color: #e00000;
  481. }
  482. /*
  483. * Tooltips
  484. */
  485. .ui-tooltip-gitphp {
  486. font-size: inherit !important;
  487. line-height: inherit !important;
  488. border-width: 2px !important;
  489. max-width: 500px !important;
  490. }
  491. /*
  492. * Debug styles
  493. */
  494. .debug_toggle {
  495. color: #88a; border-bottom: 1px dashed blue;
  496. }
  497. .debug_key {
  498. background: #ccf; border-bottom: 1px solid #888;
  499. }
  500. .debug_value {
  501. background: #ccc; border-bottom: 1px solid #888;
  502. }
  503. .debug_value .debug_addl {
  504. font-style: italic;
  505. }
  506. .debug_time {
  507. background: #cff; border-bottom: 1px solid #888;
  508. }