Hi all,

I almost have no problems and doubts with GnuCash, I know enough for what I
need, so I can dedicate myself to the appearance of it.

I'm attaching here my ini (Windows ->
C:\Users\"USER"\AppData\Local\gtk-3.0\settings.ini) and css (Windows ->
C:\Users\"USER"\AppData\Roaming\GnuCash\gtk-3.0.css) files to stylize
GnuCash for dark theme on Windows. This one is with colors and sizes
exaggerated because it was necessary to identify the visual elements,
adjust to your liking.

To view this visual style, just copy these files to the address described
above and close and open GnuCash.

It's incomplete and error-prone, but it can stylize much of the CG and
produce lovely visual effects and fix visual deficiencies.

Here in this my attached css file is a synthesis of this thread and all my
work with the help of colleagues here.

I hope it will be useful to you, I would be satisfied only with thanks.

And we are also looking forward to seeing the updated stylized css of
Adrien and Peter.

It would be a good idea if everyone posted their css here or somewhere more
appropriate so we could appreciate them.

Here is the first GnuCash css styler file, ENJOY!


Regards
GTI

Attachment: settings.ini
Description: Binary data

/* CSS Styler by GTI 08/2018 - Tested on Windows -----------------

   This is an Styler GTK CSS file that can be used with Gnucash.
   
   Simply copy this file to the loaction specified below according
   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 can be seen when the preference setting
  'Register\Use GnuCash built-in color theme' and/or 
  'Account\Show account color as background color' 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.
  
  Help sites:
  https://wiki.gnucash.org/wiki/GTK3#Visual_Styling
  https://developer.gnome.org/gtk3/stable/chap-css-overview.html
  https://www.w3schools.com/cssref/pr_text_color.asp
  https://www.w3schools.com/colors/colors_picker.asp
  
  Events: :hover | :selected | :disable | :focus
--------------------------------------------------------------- */

/* ---Define Defaults Variables--- */
/* @define-color register_fg_color black; */

/* ---Sample of Use of Defaults Variables - Register Font Color--- */
/* *.register-foreground { */
  /* color: @register_fg_color; */
/* } */


/* ---Areas--- */
/* .GncMainWindow { */
  /* background-color: red; */
/* } */

/* .background { */
  /* background-color: red; */
/* } */

/* .horizontal { */
  /* background-color: red; */
/* } */

/* .vertical { */
  /* background-color: red; */
/* } */


/* ---Buttons--- */
/* .button { */
  /* background-color: red; */
  /* color: pink; */
/* } */

/* button:hover */
  /* background-color: red; */
/* } */


/* ---Tab Label Settings--- */
notebook tab {
  color: blue;
  font-size: 14;
  /* ---Reduce Tab--- */
  /* margin-top: -8px; */
  /* margin-bottom: -3px; */
  /* padding-left: 0px; */
  /* padding-right: 0px; */
}

notebook tab:hover {
  color: red;
  font-size: 15;
}

/* ---Reduce Tab--- */
/* notebook tab box { */
  /* padding-top: 0px; */
  /* padding-bottom: 0px; */
/* } */


/* ---Hides Tab Icon--- */
/* .GncMainWindow notebook box > image { */
  /* opacity: 0; */
/* } */

/* ---or--- */

/* tabs box > image { */
  /* opacity: 0; */
/* } */

/* ---and--- */

/* tabs label { */
  /* margin-left: -2em; */
/* } */


/* ---Account Sheet Settings--- */
#account_tree header button {
  background-color: dimgray;
  color: lime;
}

/* ---Area Behind Header Bar--- */
/* .GncAccountPage box { */
  /* background-color: red; */
/* } */

/* ---Area Behind Header Bar Text--- */
/* .GncAccountPage label { */
  /* background-color: red; */
  /* color: red; */
/* } */

#account_tree {
  font-size: 15;
  background-color: #1C2833;
  color: blue;
}

#account_tree:selected {
  background-color: steelblue;
  color: white;
}

/* ---Summary Bar--- */
/* ---Summary Bar Behind Area--- */
.GncAccountPage {
  background-color: dimgray;
}

/* ---Summary Bar Left/Right Small Areas--- */
.summary-bar { 
  background-color: red;
}

/* ---Summary Bar Front/DropDown Menu--- */
.summary-bar cellview {
  /* background-color: dimgray; */
  color: lime;
  font-size: 16; 
}

/* ---Summary Bar Button - Child of Summary Bar Front/DropDown Menu--- */
/* .combo box { */
  /* background-color: red; */
/* } */

/* ---Summary Bar - Child of Summary Bar Front/DropDown Menu--- */
.combo {
  background-image: none;
  background-color: dimgray;
  color: lime;
  /* font-size: 16; */
}


/* ---Status Bar--- */
/* frame { */
  /* margin-top: -10px; */
  /* margin-bottom: -10px; */
  /* padding-bottom: 2px; */
/* } */

/* progressbar { */
  /* border: 1px solid lime; */
  /* background-color: lime; */
  /* margin-top: -10px; */
  /* margin-bottom: 10px; */
  /* padding-top: 20px; */
  /* padding-bottom: 8px; */
/* } */

progressbar progress {
  background-color: lime;
  padding-top: 5px;
  /* padding-bottom: 5px; */
}

statusbar label {
  /* font-size: 20px; */
  font-size: 18px;
  color: lime;
}


/* ---Register Sheet Setting--- */
.header-color {
  background-color: dimgray;
  color: lime;
}

sheet {
  font: 15px arial, sans-serif;
  color: white;
}

.primary-color {
  background-color: Black;
}

.primary-color:disabled {
  background-color: midnightblue;
}

.secondary-color {
  background-color: #1C2833;
}

.secondary-color:disabled {
  background-color: midnightblue;
}

.split-color {
  background-color: steelblue;
}

.split-color:disabled {
  background-color: midnightblue;
}

.cursor-color {
  background-color: deepskyblue;
  color: white;
}

cursor entry {
  background-color: deepskyblue;
  color: white;
  /* margin: 2px 5px 2px 5px; */
  /* padding: 0px 2px 0px 2px;   */
  }

/* cursor button { */
  /* margin: 1px 1px 1px 1px; */
/* } */

.arrow {
  /* background-color: red; */
  color: lime;
}


/* ---Calendar Settings--- */
sheet calendar {
  font: 18px arial, sans-serif;
}

.calendar {
  border-color: white;
}

.calendar.header {
  background-color: lightgreen;
}

.calendar.primary {
  background-color: darksalmon;
}

.calendar.secondary {
  background-color: darkseagreen;
}

.calendar.markers {
  background-color: indianred;
}

#dense-cal-popup treeview {
  background-color: lightcoral;
}

/* ---Register Sheet Total Bar--- */
.GncRegisterPage {
  background-color: dimgray;
  /* color: blue; */
  font-size: 15;
}

.GncRegisterPage label {
  /* background-color: red; */
  margin-top: 10px;
  margin-bottom: 10px;  
}

.default-color {
  color: lime;
}

.negative-numbers {
  color: red;
}


/* ---LOCK MSG Label Box--- */
/* .default label { */
  /* color: lime; */
/* } */
_______________________________________________
gnucash-user mailing list
[email protected]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to