Changing Colours - In the CSS File

The recommended method of customizing your AppGini-generated application is through hooks. But sometimes you might need to add functionality not accessible through hooks. You can discuss this here.
Post Reply
djb2002
Posts: 20
Joined: 2013-09-14 09:49

Changing Colours - In the CSS File

Post by djb2002 » 2013-12-27 16:55

Hi,

I'm looking to change the colours of several parts of the generated page. In particular:

1) The bar that appears when you move the mouse over a row.
2) The bar that shows when a row is clicked on (ie, selected).
3) The font colour of all rows.
4) The font colour of the select rows.

I believe this would need to be changed in the .css file, but I can't find which line represents which of these.

Does anyone know, and can anyone assist please ?

Thanks in advance,

Daniel

AhmedBR
AppGini Super Hero
AppGini Super Hero
Posts: 327
Joined: 2013-09-19 10:23

Re: Changing Colours - In the CSS File

Post by AhmedBR » 2013-12-27 17:00

It depends on the CSS file you are using.

The best tool is to use Firebug of Firefox.

You will be able to see the exact line you should change, I use it all the time, would be lost without it:
https://addons.mozilla.org/en-US/firefox/addon/firebug/
AppGini 22.14 - xampp 3.3.0 - PHP 7.4.30 - Summary reports - Calendar - Mass update - Messages - AppGiniHelper

djb2002
Posts: 20
Joined: 2013-09-14 09:49

Re: Changing Colours - In the CSS File

Post by djb2002 » 2013-12-27 17:03

It is the 'Bootstrap Compact' theme that I'm currently using.

I will download Firefox and Firebug and give that a try - Thank you.

djb2002
Posts: 20
Joined: 2013-09-14 09:49

Re: Changing Colours - In the CSS File

Post by djb2002 » 2013-12-27 18:03

Got the software installed, but unfortunately not managing to track these down :(

Any ideas ?

Thanks
Daniel

artemisia
Veteran Member
Posts: 59
Joined: 2013-10-01 15:50

Re: Changing Colours - In the CSS File

Post by artemisia » 2013-12-31 19:42

By examining the bootstrap_compact.css file and experimenting with different colors, I found some of what you're looking for:

1) The bar that appears when you move the mouse over a row.
a:hover,
a:focus {
color: #XXXXXX

2) The bar that shows when a row is clicked on (ie, selected).
I couldn't find this, may be tied to another form control.

3) The font colour of all rows.
textarea {......... color: #XXXXXX

4) The font colour of the select rows.
I couldn't find this, may be tied to another form control. (related to #2)

and two that I found useful, the alternate row colors:
header and first row:
table {
background-color: #XXXXXX

other alternate row:
.table-striped > tbody > tr:nth-child(odd) > th {
background-color: #XXXXXX

djb2002
Posts: 20
Joined: 2013-09-14 09:49

Re: Changing Colours - In the CSS File

Post by djb2002 » 2014-01-01 09:27

Thanks artemisia for your help - That is really appreciated.

Daniel

Post Reply