Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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

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!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • 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
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            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?

    What's my password?
    Create A New User
    [shmem]: all else leads to trouble, even if the third argument depends on the existence of the second. That may become brittle.
    [Discipulus]: but if have case like subname(15,undef,3 ) maybe bettere named parameters
    [Lady_Aleena]: I don't want to have to do: alpha_menu($hash, undef, $type);
    [Lady_Aleena]: Or what Discipulus said.
    [shmem]: Lady_Aleena: geany supports ctags.
    [Discipulus]: a good compromise can be my ($need, $opts_ref) = @_ a scalar and an hash reference
    [Discipulus]: see you monks!
    [Lady_Aleena]: shmem, let me get this sub rewritten, then I will look into how to use ctags in geany. Deal? 8)
    [shmem]: Discipulus: yeah, that might eventually prepare the path for OO ;-)
    [Lady_Aleena]: See you, Discipulus.

    How do I use this? | Other CB clients
    Other Users?
    Others meditating upon the Monastery: (8)
    As of 2017-04-27 12:25 GMT
    Find Nodes?
      Voting Booth?
      I'm a fool:

      Results (506 votes). Check out past polls.