SimpleDesk

SimpleDesk! => SimpleDesk Support => Topic started by: ~DS~ on May 04, 2010, 06:36:35 PM

Title: Titlebg fonts in helpdesk
Post by: ~DS~ on May 04, 2010, 06:36:35 PM
I thought I already did this for all titebg relating to this:
http://www.simplemachines.org/community/index.php?topic=379630.0
But in helpdesk the font is black, I went to helpdesk.css it's not there.


Title: Re: Titlebg fonts in helpdesk
Post by: Gruffen on May 04, 2010, 06:39:07 PM
No, because it should be inheriting from index.css. In fact there are no titlebg definitions in our CSS at all.

Those are links, though, so take care to alter .titlebg a:link and .titlebg a:visited as well.
Title: Re: Titlebg fonts in helpdesk
Post by: ~DS~ on May 04, 2010, 06:49:59 PM
You mean this:
.titlebg a:link and .titlebg a:visited
{
    color: #fff;
Title: Re: Titlebg fonts in helpdesk
Post by: Gruffen on May 04, 2010, 06:54:32 PM
Um, yes.

In that case, whip out something like Firefox+Firebug and inspect the elements to see what style rule is currently overriding it.
Title: Re: Titlebg fonts in helpdesk
Post by: MultiformeIngegno on May 04, 2010, 07:01:45 PM
Firefox + Firebug is the manna from heaven... :D
Title: Re: Titlebg fonts in helpdesk
Post by: ~DS~ on May 04, 2010, 07:05:54 PM
Look like a different class:
class="shd_nowrap

So it would be like this:

.shd_nowrap a:link and .shd_nowrap a:visited
{
    color: #fff;
Title: Re: Titlebg fonts in helpdesk
Post by: Gruffen on May 04, 2010, 07:09:47 PM
Don't look in just the HTML source, look in Firebug, it'd tell you that shd_nowrap is literally just a no-wrapping class and that it's driven by titlebg and titlebg2 classes in index.css?rc3, line 403 in the default theme...
Title: Re: Titlebg fonts in helpdesk
Post by: ~DS~ on May 04, 2010, 07:16:41 PM
Done, if anyone have a dark themes find:

.titlebg, .titlebg2, thead tr.titlebg th, tr.titlebg td, tr.titlebg2 td

and

tr.titlebg td a, tr.titlebg2 td a

and change to any colours you choose.

Thanks Arantor and btw...I did use firebug and that's what it tells me. Maybe I am looking in the wrong place.
Title: Re: Titlebg fonts in helpdesk
Post by: Gruffen on May 04, 2010, 07:17:42 PM
Care to post a screenshot?
Title: Re: Titlebg fonts in helpdesk
Post by: ~DS~ on May 04, 2010, 07:20:24 PM
Quote from: Arantor on May 04, 2010, 07:17:42 PM
Care to post a screenshot?
Sure thing.
Title: Re: Titlebg fonts in helpdesk
Post by: Gruffen on May 04, 2010, 07:28:41 PM
No... I meant of Firebug.

On mine, I have a panel at the right hand side that covers all the CSS in use on the element in question, but judging from what you were saying you didn't seem to have that.
Title: Re: Titlebg fonts in helpdesk
Post by: ~DS~ on May 04, 2010, 07:45:17 PM
Oh, my bad. It does have css which I missed that but it doesn't have the "Inspect" feature which it will show you where exactly.
I like Chrome's firebug lite but doesn't have "Inspect" for css either.
First image using Firefox Firebug
Second Chrome's Firebug Lite
Title: Re: Titlebg fonts in helpdesk
Post by: Gruffen on May 04, 2010, 07:54:09 PM
o.O

Now I'm really confused.

I use Chrome a lot (it's my default browser), and it has Inspect Element in the right click menu which will show you the CSS normally. As will Firebug (normal) on FF.

Try using the HTML tab not the CSS tab. Should give you two panes in the bottom, one is the HTML of the page, the other is the CSS that applies to a given element.
Title: Re: Titlebg fonts in helpdesk
Post by: ~DS~ on May 04, 2010, 08:00:22 PM
lol, you told me to look in css where I am suppose to on html to look for titlebg not css.
Ok, better now?
Title: Re: Titlebg fonts in helpdesk
Post by: Gruffen on May 04, 2010, 08:03:21 PM
Argh, curse me for being brief in terminology.

When I said don't look in the HTML, I meant don't look in *just* the left hand side which is the HTML itself. The right hand side tells you everything you need to know at a glance - that titlebg and friends were the ones responsible for color: #000000 and that currently they state color: #FFFFFF.
Title: Re: Titlebg fonts in helpdesk
Post by: ~DS~ on May 04, 2010, 08:13:06 PM
Quote from: Arantor on May 04, 2010, 08:03:21 PM
Argh, curse me for being brief in terminology.

When I said don't look in the HTML, I meant don't look in *just* the left hand side which is the HTML itself. The right hand side tells you everything you need to know at a glance - that titlebg and friends were the ones responsible for color: #000000 and that currently they state color: #FFFFFF.
Hahah, I know, it's already been taken care of. I am learning how things works. I am just a newbie and will be a junkie one day.  ;)