cgit.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840
  1. :root {
  2. --background: #212529;
  3. --bg-strong: #131618;
  4. --p-color: #131618;
  5. --bd-color: #0062cc;
  6. --brand-color: #0062cc;
  7. --brand-lg-color: #3395ff;
  8. --add-color: #00e676;
  9. --cscroll: #0062cc;
  10. --bscroll: transparent;
  11. --text: #FFF;
  12. --text-secondary: #333;
  13. --h1: #FFF;
  14. --h2: #FFF;
  15. --h3: #FFF;
  16. --h4: #FFF;
  17. --h5: #FFF;
  18. --h6: #FFF;
  19. }
  20. * {
  21. scrollbar-width: thin;
  22. scrollbar-color: var(--cscroll) var(--bscroll);
  23. }
  24. *::-webkit-scrollbar {
  25. width: 12px;
  26. }
  27. *::-webkit-scrollbar-track {
  28. background: var(--bscroll);
  29. }
  30. *::-webkit-scrollbar-thumb {
  31. background-color: var(--cscroll);
  32. border-radius: 20px;
  33. border: 3px solid var(--bscroll);
  34. }
  35. body, table, form {
  36. padding: 0em;
  37. margin: 0em;
  38. }
  39. body {
  40. font-family: sans-serif;
  41. font-size: 10pt;
  42. color: var(--text);
  43. background: var(--background);
  44. padding: 7px;
  45. }
  46. a {
  47. color: var(--brand-lg-color);
  48. text-decoration: none;
  49. }
  50. a:hover {
  51. text-decoration: underline;
  52. }
  53. table {
  54. border-collapse: collapse;
  55. }
  56. table#header {
  57. width: 100%;
  58. margin-bottom: 1em;
  59. }
  60. table#header td.logo {
  61. width: 96px;
  62. }
  63. table#header td.main {
  64. text-align: left;
  65. font-size: 250%;
  66. padding-left: 10px;
  67. white-space: nowrap;
  68. }
  69. table#header td.main a {
  70. color: var(--text);
  71. }
  72. table#header td.form {
  73. text-align: right;
  74. vertical-align: bottom;
  75. padding-right: 1em;
  76. padding-bottom: 2px;
  77. white-space: nowrap;
  78. }
  79. table#header td.form form,
  80. table#header td.form input,
  81. table#header td.form select {
  82. font-size: 90%;
  83. }
  84. table#header td.sub {
  85. color: var(--text);
  86. border-top: solid 1px var(--bd-color);
  87. padding-left: 10px;
  88. }
  89. table.tabs {
  90. border-bottom: solid 3px var(--brand-color);
  91. border-collapse: collapse;
  92. margin-top: 2em;
  93. margin-bottom: 0px;
  94. width: 100%;
  95. }
  96. table.tabs td {
  97. padding: 0px 1em;
  98. vertical-align: bottom;
  99. }
  100. table.tabs td a {
  101. padding: 2px 0.75em;
  102. color: var(--text);
  103. font-size: 110%;
  104. }
  105. table.tabs td a.active {
  106. color: var(--text);
  107. background-color: var(--brand-color);
  108. }
  109. table.tabs td.form {
  110. text-align: right;
  111. }
  112. table.tabs td.form form {
  113. padding-bottom: 2px;
  114. font-size: 90%;
  115. white-space: nowrap;
  116. }
  117. table.tabs td.form input,
  118. table.tabs td.form select {
  119. font-size: 90%;
  120. }
  121. div.path {
  122. margin: 0px;
  123. padding: 5px 2em 2px 2em;
  124. color: var(--text);
  125. background-color: var(--bg-strong);
  126. }
  127. div.content {
  128. margin: 0px;
  129. padding: 2em;
  130. border-bottom: solid 3px var(--brand-color);
  131. }
  132. table.list {
  133. width: 100%;
  134. border: none;
  135. border-collapse: collapse;
  136. }
  137. table.list tr {
  138. background: var(--background);
  139. }
  140. table.list tr.logheader {
  141. background: var(--background);
  142. }
  143. table.list tr:hover {
  144. background: var(--background);
  145. }
  146. table.list tr.nohover:hover {
  147. background: var(--background);
  148. }
  149. table.list th {
  150. font-weight: bold;
  151. color: var(--text);
  152. /*border-top: dashed 1px #888;
  153. border-bottom: dashed 1px #888;*/
  154. padding: 0.1em 0.5em 0.05em 0.5em;
  155. vertical-align: baseline;
  156. }
  157. table.list th a {
  158. color: var(--text);
  159. }
  160. table.list td {
  161. border: none;
  162. padding: 0.1em 0.5em 0.1em 0.5em;
  163. }
  164. table.list td.logsubject {
  165. font-family: monospace;
  166. font-weight: bold;
  167. }
  168. table.list td.logmsg {
  169. font-family: monospace;
  170. white-space: pre;
  171. padding: 1em 0.5em 2em 0.5em;
  172. }
  173. table.list td.lognotes-label {
  174. text-align:right;
  175. vertical-align:top;
  176. }
  177. table.list td.lognotes {
  178. font-family: monospace;
  179. white-space: pre;
  180. padding: 0em 0.5em 2em 0.5em;
  181. }
  182. table.list td a {
  183. color: var(--text);
  184. }
  185. table.list td .decoration > a {
  186. color: var(--text-secondary);
  187. }
  188. table.list td a.ls-dir {
  189. font-weight: bold;
  190. color: var(--text);
  191. }
  192. table.list td a:hover {
  193. color: var(--brand-lg-color);
  194. }
  195. img {
  196. border: none;
  197. }
  198. input#switch-btn {
  199. margin: 2px 0px 0px 0px;
  200. }
  201. td#sidebar input.txt {
  202. width: 100%;
  203. margin: 2px 0px 0px 0px;
  204. }
  205. table#grid {
  206. margin: 0px;
  207. }
  208. td#content {
  209. vertical-align: top;
  210. padding: 1em 2em 1em 1em;
  211. border: none;
  212. }
  213. div#summary {
  214. vertical-align: top;
  215. margin-bottom: 1em;
  216. }
  217. table#downloads {
  218. float: right;
  219. border-collapse: collapse;
  220. border: solid 1px #777;
  221. margin-left: 0.5em;
  222. margin-bottom: 0.5em;
  223. }
  224. table#downloads th {
  225. background-color: var(--background);
  226. }
  227. div#blob {
  228. border: solid 1px var(--text);
  229. }
  230. div.error {
  231. color: red;
  232. font-weight: bold;
  233. margin: 1em 2em;
  234. }
  235. a.ls-blob, a.ls-dir, a.ls-mod {
  236. font-family: monospace;
  237. }
  238. td.ls-size {
  239. text-align: right;
  240. font-family: monospace;
  241. width: 10em;
  242. }
  243. td.ls-mode {
  244. font-family: monospace;
  245. width: 10em;
  246. }
  247. table.blob {
  248. display: block;
  249. margin-top: 0.5em;
  250. border-top: solid 1px var(--text);
  251. overflow-x: auto;
  252. }
  253. table.blob td.lines {
  254. margin: 0; padding: 0 0 0 0.5em;
  255. vertical-align: top;
  256. color: var(--text);
  257. }
  258. table.blob td.linenumbers {
  259. margin: 0; padding: 0 0.5em 0 0.5em;
  260. vertical-align: top;
  261. text-align: right;
  262. border-right: 1px solid var(--text);
  263. }
  264. table.blob pre {
  265. padding: 0; margin: 0;
  266. }
  267. table.blob a.no {
  268. color: var(--text);
  269. text-align: right;
  270. text-decoration: none;
  271. }
  272. table.blob a.no a:hover {
  273. color: var(--text);
  274. }
  275. table.bin-blob {
  276. margin-top: 0.5em;
  277. border: solid 1px var(--text);
  278. }
  279. table.bin-blob th {
  280. font-family: monospace;
  281. white-space: pre;
  282. border: solid 1px var(--text);
  283. padding: 0.5em 1em;
  284. }
  285. table.bin-blob td {
  286. font-family: monospace;
  287. white-space: pre;
  288. border-left: solid 1px var(--text);
  289. padding: 0em 1em;
  290. }
  291. table.nowrap td {
  292. white-space: nowrap;
  293. }
  294. table.commit-info {
  295. border-collapse: collapse;
  296. margin-top: 1.5em;
  297. }
  298. table.commit-info th {
  299. text-align: left;
  300. font-weight: normal;
  301. padding: 0.1em 1em 0.1em 0.1em;
  302. vertical-align: top;
  303. }
  304. table.commit-info td {
  305. font-weight: normal;
  306. padding: 0.1em 1em 0.1em 0.1em;
  307. }
  308. div.commit-subject {
  309. font-weight: bold;
  310. font-size: 125%;
  311. margin: 1.5em 0em 0.5em 0em;
  312. padding: 0em;
  313. }
  314. div.commit-msg {
  315. white-space: pre;
  316. font-family: monospace;
  317. }
  318. div.notes-header {
  319. font-weight: bold;
  320. padding-top: 1.5em;
  321. }
  322. div.notes {
  323. white-space: pre;
  324. font-family: monospace;
  325. border: solid 1px #ee9;
  326. background-color: var(--background);
  327. padding: 0.3em 2em 0.3em 1em;
  328. float: left;
  329. }
  330. div.notes-footer {
  331. clear: left;
  332. }
  333. div.diffstat-header {
  334. font-weight: bold;
  335. padding-top: 1.5em;
  336. }
  337. table.diffstat {
  338. border-collapse: unset;
  339. background-color: var(--bg-strong);
  340. text-overflow: ellipsis;
  341. overflow: hidden;
  342. padding: .5rem;
  343. margin: .5rem 0;
  344. }
  345. table.diffstat th {
  346. font-weight: normal;
  347. text-align: left;
  348. text-decoration: underline;
  349. padding: 0.1em 1em 0.1em 0.1em;
  350. font-size: 100%;
  351. }
  352. table.diffstat td {
  353. padding: 0.2em 0.2em 0.1em 0.1em;
  354. font-size: 100%;
  355. border: none;
  356. }
  357. table.diffstat td.mode {
  358. white-space: nowrap;
  359. }
  360. table.diffstat td span.modechange {
  361. padding-left: 1em;
  362. color: red;
  363. }
  364. table.diffstat td.add a {
  365. color: var(--add-color);
  366. }
  367. table.diffstat td.del a {
  368. color: red;
  369. }
  370. table.diffstat td.upd a {
  371. /* color: blue; */
  372. }
  373. table.diffstat td.graph {
  374. width: 500px;
  375. vertical-align: middle;
  376. }
  377. table.diffstat td.graph table {
  378. border: none;
  379. }
  380. table.diffstat td.graph td {
  381. padding: 0px;
  382. border: 0px;
  383. height: 7pt;
  384. }
  385. table.diffstat td.graph td.add {
  386. background-color: #5c5;
  387. }
  388. table.diffstat td.graph td.rem {
  389. background-color: #c55;
  390. }
  391. div.diffstat-summary {
  392. color: var(--text);
  393. padding-top: 0.5em;
  394. }
  395. table.diff {
  396. display: block;
  397. width: 100%;
  398. border-collapse: unset;
  399. background-color: var(--bg-strong);
  400. padding: 0.5rem;
  401. margin: .5rem 0;
  402. overflow-x: auto;
  403. }
  404. table.diff td {
  405. font-family: monospace;
  406. white-space: pre;
  407. }
  408. table.diff td div.head {
  409. font-weight: bold;
  410. margin-top: 1em;
  411. color: var(--text);
  412. }
  413. table.diff td div.hunk {
  414. color: #6CC;
  415. }
  416. table.diff td div.add {
  417. color: #00E676;
  418. }
  419. table.diff td div.del {
  420. color: #F44336;
  421. }
  422. .sha1 {
  423. font-family: monospace;
  424. font-size: 90%;
  425. }
  426. .left {
  427. text-align: left;
  428. }
  429. .right {
  430. text-align: right;
  431. }
  432. table.list td.reposection {
  433. font-style: italic;
  434. color: var(--text);
  435. }
  436. a.button {
  437. font-size: 80%;
  438. padding: 0em 0.5em;
  439. }
  440. a.primary {
  441. font-size: 100%;
  442. }
  443. a.secondary {
  444. font-size: 90%;
  445. }
  446. td.toplevel-repo {
  447. }
  448. table.list td.sublevel-repo {
  449. padding-left: 1.5em;
  450. }
  451. div.pager {
  452. text-align: center;
  453. margin: 1em 0em 0em 0em;
  454. }
  455. div.pager a {
  456. color: var(--text);
  457. margin: 0em 0.5em;
  458. }
  459. ul.pager {
  460. list-style-type: none;
  461. text-align: center;
  462. margin: 1em 0em 0em 0em;
  463. padding: 0;
  464. }
  465. ul.pager li {
  466. display: inline-block;
  467. margin: 0.25em 0.5em;
  468. }
  469. span.age-mins {
  470. font-weight: bold;
  471. color: #0c0;
  472. }
  473. span.age-hours {
  474. color: #0c0;
  475. }
  476. span.age-days {
  477. color: #080;
  478. }
  479. span.age-weeks {
  480. color: #bbb;
  481. }
  482. span.age-months {
  483. color: #888;
  484. }
  485. span.age-years {
  486. color: #666;
  487. }
  488. div.footer {
  489. margin-top: 0.5em;
  490. text-align: center;
  491. font-size: 80%;
  492. color: #ccc;
  493. }
  494. table.list td a.branch-deco {
  495. color: var(--text-secondary);
  496. }
  497. .decoration a.branch-deco {
  498. color: #444;
  499. }
  500. .decoration a.deco {
  501. color: var(--text);
  502. }
  503. a.branch-deco {
  504. margin: 0px 0.5em;
  505. padding: 0px 0.25em;
  506. background-color: #00ff00;
  507. border: solid 1px #00ff00;
  508. }
  509. table.list td a.tag-deco {
  510. color: var(--text-secondary);
  511. }
  512. a.tag-annotated-deco {
  513. margin: 0px 0.5em;
  514. padding: 0px 0.25em;
  515. background-color: #ffff00;
  516. border: solid 1px #ffff00;
  517. font-size: 12px;
  518. color: var(--p-color);
  519. }
  520. a.tag-deco {
  521. margin: 0px 0.5em;
  522. padding: 0px 0.25em;
  523. background-color: #ffff00;
  524. border: solid 1px #ffff00;
  525. }
  526. table.list td a.remote-deco {
  527. color: var(--text);
  528. }
  529. a.remote-deco {
  530. margin: 0px 0.5em;
  531. padding: 0px 0.25em;
  532. background-color: #0000ff;
  533. border: solid 1px #0000ff;
  534. }
  535. table.list td a.deco {
  536. color: var(--text);
  537. }
  538. a.deco {
  539. margin: 0px 0.5em;
  540. padding: 0px 0.25em;
  541. background-color: #ff0000;
  542. border: solid 1px #ff0000;
  543. }
  544. div.commit-subject a.branch-deco,
  545. div.commit-subject a.tag-deco,
  546. div.commit-subject a.remote-deco,
  547. div.commit-subject a.deco {
  548. margin-left: 1em;
  549. font-size: 75%;
  550. }
  551. table.stats {
  552. border: solid 1px var(--text);
  553. border-collapse: collapse;
  554. }
  555. table.stats th {
  556. text-align: left;
  557. padding: 1px 0.5em;
  558. background-color: #555;
  559. border: solid 1px var(--text);
  560. }
  561. table.stats td {
  562. text-align: right;
  563. padding: 1px 0.5em;
  564. border: solid 1px var(--text);
  565. }
  566. table.stats td.total {
  567. font-weight: bold;
  568. text-align: left;
  569. }
  570. table.stats td.sum {
  571. color: #c00;
  572. font-weight: bold;
  573. }
  574. table.stats td.left {
  575. text-align: left;
  576. }
  577. table.vgraph {
  578. border-collapse: separate;
  579. border: solid 1px var(--text);
  580. height: 200px;
  581. }
  582. table.vgraph th {
  583. background-color: var(--background);
  584. font-weight: bold;
  585. border: solid 1px var(--text);
  586. padding: 1px 0.5em;
  587. }
  588. table.vgraph td {
  589. vertical-align: bottom;
  590. padding: 0px 10px;
  591. }
  592. table.vgraph div.bar {
  593. background-color: var(--background);
  594. }
  595. table.hgraph {
  596. border: solid 1px var(--text);
  597. width: 800px;
  598. }
  599. table.hgraph th {
  600. background-color: #eee;
  601. font-weight: bold;
  602. border: solid 1px var(--text);
  603. padding: 1px 0.5em;
  604. }
  605. table.hgraph td {
  606. vertical-align: center;
  607. padding: 2px 2px;
  608. }
  609. table.hgraph div.bar {
  610. background-color: var(--background);
  611. height: 1em;
  612. }
  613. table.ssdiff {
  614. width: 100%;
  615. }
  616. table.ssdiff td {
  617. font-size: 75%;
  618. font-family: monospace;
  619. white-space: pre;
  620. padding: 1px 4px 1px 4px;
  621. border-left: solid 1px #aaa;
  622. border-right: solid 1px #aaa;
  623. }
  624. table.ssdiff td.add {
  625. color: var(--text);
  626. background: #cfc;
  627. min-width: 50%;
  628. }
  629. table.ssdiff td.add_dark {
  630. color: var(--text);
  631. background: #aca;
  632. min-width: 50%;
  633. }
  634. table.ssdiff span.add {
  635. background: #cfc;
  636. font-weight: bold;
  637. }
  638. table.ssdiff td.del {
  639. color: var(--text);
  640. background: #fcc;
  641. min-width: 50%;
  642. }
  643. table.ssdiff td.del_dark {
  644. color: var(--text);
  645. background: #caa;
  646. min-width: 50%;
  647. }
  648. table.ssdiff span.del {
  649. background: #fcc;
  650. font-weight: bold;
  651. }
  652. table.ssdiff td.changed {
  653. color: var(--text);
  654. background: #ffc;
  655. min-width: 50%;
  656. }
  657. table.ssdiff td.changed_dark {
  658. color: var(--text);
  659. background: #cca;
  660. min-width: 50%;
  661. }
  662. table.ssdiff td.lineno {
  663. color: var(--text);
  664. background: #eee;
  665. text-align: right;
  666. width: 3em;
  667. min-width: 3em;
  668. }
  669. table.ssdiff td.hunk {
  670. color: var(--text);
  671. background: #ccf;
  672. border-top: solid 1px #aaa;
  673. border-bottom: solid 1px #aaa;
  674. }
  675. table.ssdiff td.head {
  676. border-top: solid 1px #aaa;
  677. border-bottom: solid 1px #aaa;
  678. }
  679. table.ssdiff td.head div.head {
  680. font-weight: bold;
  681. color: var(--text);
  682. }
  683. table.ssdiff td.foot {
  684. border-top: solid 1px #aaa;
  685. border-left: none;
  686. border-right: none;
  687. border-bottom: none;
  688. }
  689. table.ssdiff td.space {
  690. border: none;
  691. }
  692. table.ssdiff td.space div {
  693. min-height: 3em;
  694. }