Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Recent changes to the color schemes (plans)

by tye (Cardinal)
on Oct 26, 2005 at 05:23 UTC ( #502950=note: print w/ replies, xml ) Need Help??


in reply to Re: Recent changes to the color schemes (plans)
in thread Recent changes to the color schemes

The chatter's default color stripes have now been removed from the Red and default (Blue) themes (they were never default in any other themes).

You can add colored stripes back in to your chatterbox by going to Display Settings and adding the following to your personal CSS:

td.highlight, tbody.nodelet td.highlight { background-color: #FEE; }

where "#FEE" specifies a soft pink color. The first "td.highlight" controls the 'even' rows in non-nodelet chatter such as fullpage chat while the "tbody.nodelet td.highlight" controls them in the Chatterbox nodelet.

If you want the 'odd' rows to be a non-default color, then you can use

table.cb_table td, tbody.nodelet table.cb_table td { background-color: #EFF; } table.cb_table td.highlight, tbody.nodelet table.cb_table td.highlight + { background-color: #FEE; }

Note that specifying the color for the 'odd' rows in that way meant that the selectors for the 'even' ("highlight") rows had to become more specific.

I'm sure there are also other ways to do these. And feel free to post suggestions on how to customize the spacing, punctuation, etc. (you can all 'view source' to see what CSS classes and such are available for selecting on).

(I'd personally rather have the post-user-name "]" and ":" enclosed in a single 'span' instead of each having their own, but not enough to champion the effort / thrash to change that.)

Update: My prior update claiming that I'd made an mistake was in error.

- tye        


Comment on Re^2: Recent changes to the color schemes (plans)
Select or Download Code
Re^3: Recent changes to the color schemes (plans)
by QM (Vicar) on Oct 26, 2005 at 16:09 UTC
    Thanks. I depend on the CSS hackers here to help me limp along.

    I use the JBlue theme, and I've found that #004 is a useful stripe background color, not too dark, and not to shiny. (My wetware is hardwired to orient to shiny objects at all times :)

    -QM
    --
    Quantum Mechanics: The dreams stuff is made of

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://502950]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (17)
As of 2014-09-17 15:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (90 votes), past polls