Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??

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        


In reply to Re^2: Recent changes to the color schemes (plans) by tye
in thread Recent changes to the color schemes by Roy Johnson

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others taking refuge in the Monastery: (6)
    As of 2014-12-28 07:40 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      Is guessing a good strategy for surviving in the IT business?





      Results (179 votes), past polls