CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • patch for easier styling of civicrm action list
Pages: [1]

Author Topic: patch for easier styling of civicrm action list  (Read 1632 times)

tmcnulty1982

  • Guest
patch for easier styling of civicrm action list
December 03, 2008, 07:57:36 am
Hi

I created this patch so that I could more easily change the style of the action list in civi.  It converts the "&nbsp;|&nbsp;" separated items into a real <ul>.  It includes some CSS for backwards compatibility so the action list looks pretty much the same as it used to.  Comments/suggestions welcome.

The patch was created from 2.1.2 and has been tested in Garland and one other theme.  I'd love to see this integrated moving forward.

Thanks
Toby

P.S. Your forum does not allow .patch files to be uploaded so I made it a .txt

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: patch for easier styling of civicrm action list
December 03, 2008, 10:53:45 am
Toby - This seems like a nice improvement. I'd be curious to see how you are changing the style of the action list for your site(s) - maybe you can post a screen snippet graphic here. Also, have you tested this across common browsers? If so, you can post an item to the Issue Tracker w/ the patch attached - we can add it in 2.2.
Protect your investment in CiviCRM by  becoming a Member!

tmcnulty1982

  • Guest
Re: patch for easier styling of civicrm action list
December 03, 2008, 11:00:24 am
We aren't doing anything fancy, I just needed a way to make the list vertical instead of horizontal on the user dashboard.  See attached.

I've tested in IE 6 & 7 and Firefox 2 and 3.  the li:first-child doesn't work in IE6 so you get an extra bar before the first item in the default CSS, but that's a small price to pay for the benefits gained (AFAICT civi doesn't look that great in IE6 anyways).

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: patch for easier styling of civicrm action list
December 03, 2008, 11:05:08 am
Thx for the update - nice bit of flexibility with the change so pls post your patch to the issue tracker for 2.2.
Protect your investment in CiviCRM by  becoming a Member!

tmcnulty1982

  • Guest
Re: patch for easier styling of civicrm action list
December 03, 2008, 11:08:04 am
posted to http://issues.civicrm.org/jira/browse/CRM-3897


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • patch for easier styling of civicrm action list

This forum was archived on 2017-11-26.