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) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Custom "View" link color for Search Profile results pages
Pages: [1]

Author Topic: Custom "View" link color for Search Profile results pages  (Read 714 times)

mdlueck

  • Ask me questions
  • ****
  • Posts: 382
  • Karma: 4
  • CiviCRM version: 4.7.24
  • CMS version: Drupal 6.x
  • MySQL version: 5.5.54
  • PHP version: 5.3.10
Custom "View" link color for Search Profile results pages
May 09, 2012, 06:04:24 am
We were interested in drawing attention to the "View" links in Search Profile results pages. Looking at the View link, I saw that it had two CSS classes upon it. The .action-item-first class seemed unique to the "View" links, so I focused on hitting that with custom CSS in our Drupal theme CSS file, as follows:

Code: [Select]
/*
** Customizing CiviCRM Search Profile Results
*/

#crm-container a, #crm-container a:link, .action-item-first {
  text-decoration: blink;
}
#crm-container a, #crm-container a:link, .action-item-first a {
  text-decoration: blink;
}
#crm-container a, #crm-container a:link, .action-item-first a:link {
  color: #CC0000;
}
#crm-container a, #crm-container a:link, .action-item-first a:visited {
  color: #CC0000;
}
#crm-container a, #crm-container a:link, .action-item-first a:hover {
  color: #CC0000;
  text-decoration: underline;
}

Unfortunately that turned ALL Civi links red, not just the View links. And the View link would not blink.

That is CSS that I have implemented to make the Drupal core pager that same red color, and the Drupal core pager does blink.

Any thoughts why all Civi links ended up getting hit (even links without the .action-item-first CSS class) and why the blink does not work in Civi's case?
--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Custom "View" link color for Search Profile results pages

This forum was archived on 2017-11-26.