mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[stylesheet-css] reflect recent changes to default CSS
default css contains changes: * td.highlight * dark color schemes
This commit is contained in:
parent
555a467aba
commit
c60555e9c5
@ -132,6 +132,8 @@
|
||||
(gnc:html-document-set-style-text!
|
||||
ssdoc
|
||||
(string-append
|
||||
;; Note: any changes in the default CSS *should* be duplicated in
|
||||
;; stylesheet-css.scm
|
||||
"@media (prefers-color-scheme: dark) {body {color: #000; background-color: #fff;}}\n"
|
||||
"h3 { " title-info " }\n"
|
||||
"a { " account-link-info " }\n"
|
||||
|
@ -29,6 +29,12 @@
|
||||
(gnc:module-load "gnucash/report/report-system" 0)
|
||||
|
||||
(define default-css "/* default style */
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body {
|
||||
color: #000; background-color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
html, body {
|
||||
height: 100vh;
|
||||
margin: 0;
|
||||
@ -90,6 +96,10 @@ td.neg {
|
||||
td.number-cell, td.total-number-cell, td.anchor-cell, td.date-cell {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
td.highlight {
|
||||
background-color: #e1e1e1
|
||||
}
|
||||
")
|
||||
|
||||
(define (css-options)
|
||||
|
Loading…
Reference in New Issue
Block a user