2018-02-03 12:59:40 -06:00
|
|
|
/* This is an example GTK CSS file that can be used with Gnucash.
|
Fix typos for gnuchash/ doc/ bindings/ and misc.
Typos found via `codespell -q 3 -D ~/Projects/codespell/codespell_lib/data/dictionary.txt -S *.po,./po,*.min.js,./ChangeLog*,./NEWS,./doc/README*,./AUTHORS,./libgnucash/tax/us/txf-de*,./data/accounts -L ans,cas,dragable,gae,iff,iif,mut,nd,numer,startd,stoll`
2019-09-13 19:26:03 -05:00
|
|
|
Simply copy this file to the location specified below according
|
2018-02-03 12:59:40 -06:00
|
|
|
to your platform and then restart gnucash.
|
|
|
|
|
|
|
|
- Windows: CSIDL_APPDATA/GnuCash
|
|
|
|
(or the default is users\%USERNAME%\AppData\Roaming\GnuCash)
|
|
|
|
|
|
|
|
- OS X: $HOME/Application Support/GnuCash
|
|
|
|
|
|
|
|
- Linux: $XDG_CONFIG_HOME/gnucash
|
|
|
|
(or the default is $HOME/.config/gnucash)
|
|
|
|
|
|
|
|
These settings are mainly to do with register colors and can be seen
|
|
|
|
when the preference setting 'Register\Use GnuCash built-in color theme'
|
|
|
|
is unset.
|
|
|
|
|
|
|
|
Note: Widgets obtained from Glade files will not be addressable
|
|
|
|
directly by name as these are not brought in when loaded, only
|
|
|
|
the widget type can be configured unless they are named in code.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2020-04-05 07:53:20 -05:00
|
|
|
/* Application wide font setting */
|
|
|
|
* {
|
2018-02-03 12:59:40 -06:00
|
|
|
font: 12px arial, sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-04-05 07:53:20 -05:00
|
|
|
/* Scollbar size */
|
|
|
|
scrollbar slider {
|
|
|
|
/* Size of the slider */
|
|
|
|
min-width: 20px;
|
|
|
|
min-height: 20px;
|
|
|
|
border-radius: 22px;
|
|
|
|
|
|
|
|
/* Padding around the slider */
|
|
|
|
border: 5px solid transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-05-01 05:46:49 -05:00
|
|
|
/* Register sheet font setting */
|
2020-04-05 07:53:20 -05:00
|
|
|
gnc-id-sheet {
|
|
|
|
font: 10px arial, sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-05-01 05:46:49 -05:00
|
|
|
/* Register header font setting */
|
2020-04-05 07:53:20 -05:00
|
|
|
gnc-id-header {
|
|
|
|
background-color: pink;
|
|
|
|
color:blue;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-05-01 05:46:49 -05:00
|
|
|
/* Register cursor font setting */
|
2020-04-05 07:53:20 -05:00
|
|
|
gnc-id-cursor {
|
|
|
|
background-color: #BDB76B;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
gnc-id-cursor button {
|
|
|
|
border-width: 1px;
|
|
|
|
border-color: green;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Register sheet calendar */
|
|
|
|
gnc-id-sheet calendar {
|
|
|
|
font: 13px arial, sans-serif;
|
|
|
|
background-color:lightgreen;
|
|
|
|
border-color: green;
|
|
|
|
border-width: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Register User Colors, remove 'user' for builtin register values */
|
|
|
|
.gnc-class-user-register-header {
|
2018-02-03 12:59:40 -06:00
|
|
|
background-color: seagreen;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
2020-04-05 07:53:20 -05:00
|
|
|
.gnc-class-user-register-primary {
|
2018-02-03 12:59:40 -06:00
|
|
|
background-color: pink;
|
|
|
|
}
|
|
|
|
|
2020-04-05 07:53:20 -05:00
|
|
|
.gnc-class-user-register-primary:disabled {
|
2018-02-03 12:59:40 -06:00
|
|
|
background-color: plum;
|
|
|
|
}
|
|
|
|
|
2020-04-05 07:53:20 -05:00
|
|
|
.gnc-class-user-register-secondary {
|
2018-02-03 12:59:40 -06:00
|
|
|
background-color: lightgreen;
|
|
|
|
}
|
|
|
|
|
2020-04-05 07:53:20 -05:00
|
|
|
.gnc-class-user-register-secondary:disabled {
|
2018-02-03 12:59:40 -06:00
|
|
|
background-color: plum;
|
|
|
|
}
|
|
|
|
|
2020-04-05 07:53:20 -05:00
|
|
|
.gnc-class-user-register-split {
|
2018-02-03 12:59:40 -06:00
|
|
|
background-color: lightblue;
|
|
|
|
}
|
|
|
|
|
2020-04-05 07:53:20 -05:00
|
|
|
.gnc-class-user-register-split:disabled {
|
2018-02-03 12:59:40 -06:00
|
|
|
background-color: plum;
|
|
|
|
}
|
|
|
|
|
2020-04-05 07:53:20 -05:00
|
|
|
.gnc-class-user-register-cursor {
|
2018-02-03 12:59:40 -06:00
|
|
|
background-color: #00BFFF;
|
|
|
|
color: white;
|
2020-04-05 07:53:20 -05:00
|
|
|
border-radius: 0px;
|
2018-02-03 12:59:40 -06:00
|
|
|
}
|
|
|
|
|
2020-04-05 07:53:20 -05:00
|
|
|
|
|
|
|
/* Toolbar Button size and spacing */
|
|
|
|
toolbar {
|
|
|
|
background-color: darkgrey;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Toolbar font size, 0 to remove text */
|
|
|
|
toolbar toolbutton label {
|
|
|
|
font-size: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
toolbar toolbutton button {
|
|
|
|
padding-left: 4px;
|
|
|
|
padding-right: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
toolbar toolbutton label {
|
|
|
|
padding-left: 4px;
|
|
|
|
padding-right: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Negative number color */
|
|
|
|
.gnc-class-negative-numbers {
|
|
|
|
color: orange;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Gnucash Main Window, reduce size */
|
|
|
|
#gnc-id-main-window notebook tab {
|
|
|
|
min-height: 0px;
|
|
|
|
min-width: 0px;
|
|
|
|
padding-top: 3px;
|
|
|
|
padding-bottom: 3px;
|
|
|
|
margin-top: 0px;
|
|
|
|
margin-bottom: 0px;
|
|
|
|
border-top: 0px;
|
|
|
|
border-bottom: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gnc-id-main-window notebook label {
|
|
|
|
font: 14px arial, sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gnc-id-main-window notebook tab button {
|
|
|
|
min-height: 0;
|
|
|
|
min-width: 0;
|
|
|
|
padding: 0px;
|
|
|
|
margin-top: 0px;
|
|
|
|
margin-bottom: 0px;
|
2018-02-03 12:59:40 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-04-05 07:53:20 -05:00
|
|
|
/* Dense Calendar Settings, use widget name gnc-id-dense-calendar
|
|
|
|
* or gtk css name calendar which would also apply to other calendar
|
|
|
|
* widgets */
|
|
|
|
#gnc-id-dense-calendar .frame {
|
|
|
|
border-color: blue;
|
|
|
|
border-width: 1px;
|
2018-02-03 12:59:40 -06:00
|
|
|
}
|
|
|
|
|
2020-04-05 07:53:20 -05:00
|
|
|
calendar .frame {
|
|
|
|
border-color: blue;
|
|
|
|
border-width: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gnc-id-dense-calendar .header {
|
2018-02-03 12:59:40 -06:00
|
|
|
background-color: lightgreen;
|
|
|
|
}
|
|
|
|
|
2020-04-05 07:53:20 -05:00
|
|
|
calendar .header {
|
|
|
|
background-color: lightgreen;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gnc-id-dense-calendar .primary {
|
2018-02-03 12:59:40 -06:00
|
|
|
background-color: darksalmon;
|
|
|
|
}
|
|
|
|
|
2020-04-05 07:53:20 -05:00
|
|
|
#gnc-id-dense-calendar .secondary {
|
2018-02-03 12:59:40 -06:00
|
|
|
background-color: darkseagreen;
|
|
|
|
}
|
|
|
|
|
2020-04-05 07:53:20 -05:00
|
|
|
#gnc-id-dense-calendar .markers {
|
2018-02-03 12:59:40 -06:00
|
|
|
background-color: indianred;
|
|
|
|
}
|
|
|
|
|
2020-04-05 07:53:20 -05:00
|
|
|
#gnc-id-dense-calendar-popup {
|
|
|
|
background-color: darksalmon;
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gnc-id-dense-calendar-popup treeview {
|
2018-02-03 12:59:40 -06:00
|
|
|
background-color: lightcoral;
|
|
|
|
}
|
2020-04-05 07:53:20 -05:00
|
|
|
|
|
|
|
|
|
|
|
/* Progress bar */
|
|
|
|
progressbar progress {
|
|
|
|
background-color: lime;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Status Bar */
|
|
|
|
statusbar frame {
|
|
|
|
margin-top: 0px;
|
|
|
|
margin-bottom: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
statusbar label {
|
|
|
|
font-size: 12px;
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Reconcile Window */
|
|
|
|
#gnc-id-reconcile-totals * {
|
|
|
|
background-color: darkgrey;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gnc-class-credits treeview {
|
|
|
|
background-color: pink;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gnc-class-credits treeview:selected {
|
|
|
|
background-color: cornflowerblue;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gnc-class-debits treeview {
|
|
|
|
background-color: lightblue;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gnc-class-debits treeview:selected {
|
|
|
|
background-color: cornflowerblue;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Highlight Text */
|
|
|
|
.gnc-class-highlight {
|
|
|
|
color: blue;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Summary bar */
|
|
|
|
#gnc-id-summarybar {
|
|
|
|
background-color:lightblue;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gnc-id-summarybar .gnc-class-highlight {
|
|
|
|
color: red;
|
|
|
|
}
|