I had already tried some of these, but I've tried again.
I get results with:-

notebook tab {
  color: blue;
  font-size: 15;
  margin-top: -8px;
  margin-bottom:-3px;
  padding-left: 0px;
  padding-right: 0px;
  color: blue;
  font-size: 15;
}

notebook tab:hover {
  color: green;
  font-size: 15;
}
This reduces the size of the tabs, and also affects the Labels on the
Preferences Page. For some reason, the blue appears only when

The above settings, used in "notebook tab label" seem not to do anything.


I am keen to reduce the screen real estate occupied by The Totals Bar and
the Summary Bar, and to customise them.

I attach my css which I have constructed from trial and error using the
samle on the Wiki as a base and help gained from the List.
There are many more items I would like to change, I just wish I knew what I
was doing!

Any ideas?
Peter


On 5 August 2018 at 05:23, GT-I9070 H <gti90...@gmail.com> wrote:

> Em sáb, 4 de ago de 2018 às 14:42, Peter Jackson <jack...@fastmail.net>
> escreveu:
>
>> Dear GTI,
>> Hello again, I'm wondering if you can also tell me how to adjust the
>> height and width of the label box itself.
>> Thanks
>> Peter
>>
>
> *You forgot to copy the list, other people can help too.*
>
> I hope I understand what you want.
>
> In the tab we have, icon, text, button. We do not have much to move about.
> Some size can be varied by changing Preferences>Windows> "Show close
> button in tabs"
>
> Well, as far as I know, in code there is no "label box" object. The
> behavior of the tab suggests that it is set up by code to auto fit to the
> size of the text box and the text box is set to auto fit to text size and
> would be unreadable if the text box was smaller than the text.
>
> So, something that might work would be to adjust the margins of the text
> to vary the size of the text box and maybe even accept negative numbers
> (eg. -2px) to decrease the text box.
>
> As I have not tested it yet, you can try these properties with this
> selectors "notebook tab" and "notebook tab label":
>
> margin: 2px 5px 2px 5px;
>
> or
>
> margin-bottom: 2px;
> margin-left: 4px;
> margin-right: 4px;
> margin-top: 2px;
>
> or
>
> border: 1px solid lightgreen;
>
> or
>
> border-bottom-width: 2px
> border-left-width: 4px;
> border-right-width: 4px
> border-top-width: 2px
>
> or
>
> padding: 0px 2px 0px 2px;
>
> or similar.
>
> Please, report yours results here for all.
>
>
> Regards
> GTI
>
/* This is an example GTK CSS file that can be used with Gnucash.
   Simply copy this file to the location specified below according
   to your platform and then restart gnucash.

  - Windows: CSIDL_APPDATA/GnuCash
    (or the default is users\%USERNAME%\AppData\Roaming\GnuCash)
    C:\Users\pj42u\AppData\Roaming\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.

  With mods and additions by PJ
*/

/*Account Tree and Budget Font Colour*/
#account_tree {   
  background-color: aliceblue;
  color: blue;
}

#account_tree:selected {
  color: black;
}
notebook tab {
  color: blue;
  font-size: 15;		
  margin-top: -8px;
  margin-bottom:-3px;
  padding-left: 0px;
  padding-right: 0px;
  color: blue;
  font-size: 15;	
}

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

 #account_tree label {
      color: purple;
   background-color: pink;
   border: 1px solid red;
}

/* Register sheet font setting */
 sheet {font: 18px arial, sans-serif;
}

sheet calendar {
  font: 12px arial, sans-serif;
}

/* Register User Colors */
.header-color {
  background-color: darkblue;
  color: white;
}

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

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

.secondary-color {
  background-color: powderblue;
}

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

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

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

.cursor-color {
  background-color: #00BFFF;
  color: darkorchid;
}

cursor entry {
  background-color: #00BFFF;
  color: black;
}


/* Dense Calendar Settings */
.calendar {
  border-color: white;
}

.calendar.header {
 background-color: darkblue;
 font: 12px arial, sans-serif; color: white;
}

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

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

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

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

/*notebook tab box {
  padding-top: 0px;
  padding-bottom: 0px;
  }
*/
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
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