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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.1 Release Testing »
  • civicrm.css in Joomla
Pages: [1]

Author Topic: civicrm.css in Joomla  (Read 2014 times)

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
civicrm.css in Joomla
January 05, 2010, 05:37:20 am
civicrm.css, line 44, unnecessarily shrinks the font in Joomla installs. can we move that to drupal.css so that it doesn't impact Joomla?

Code: [Select]
#crm-container tr {
  font-size: .95em;
}
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

kylejaster

  • I’m new here
  • *
  • Posts: 13
  • Karma: 2
Re: civicrm.css in Joomla
January 05, 2010, 08:50:10 am
My preference would be to leave it in (as it's a 1 line override for anybody who hates it) - but it fits with the general typographic convention to use slightly smaller text in tables/blockquotes etc... for legibility reasons. I've discussed with a local typographic guru, and he agress that slightly smaller is slightly better :)

This fits (in my mind) with the stated goal of sensible defaults+easy overrides.

So I guess I'm arguing that it "necessarily enough" shrinks the font (in all versions).ß

That said, I'm not married to it.

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: civicrm.css in Joomla
January 05, 2010, 09:24:46 am
Joomla has a standard admin interface (it's a great concept for you Drupalers out there) -- and Civi fonts are already sized pretty small -- 8 or 9px in many cases. Not that this line of css makes a huge difference, but it definitely makes some difference.

Actually, what we did in previous versions was reset the font in joomla.css -- see line 36. But the content id has been renamed so it's not kicking in. Can you change that to:

Code: [Select]
#crm-container #crm-content tr, #crm-container #crm-content tr td {
  font-size: 1em;
}

And I would still argue that rather than set this style in civicrm.css and override it in joomla.css, we should move it to drupal.css, since that's the only place it's desired.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

kylejaster

  • I’m new here
  • *
  • Posts: 13
  • Karma: 2
Re: civicrm.css in Joomla
January 05, 2010, 01:22:16 pm
agreed on the standard admin interface (people are working on it for drupal7).

it's proper CSS "form" to set a default body text size, which is what the .95em is calculated off of.

after a quick discussion with lcdweb offline, i've committed a quick fix in joomla.css, that returns the text-size fix functionality that was omitted by other fixes in 3.1.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.1 Release Testing »
  • civicrm.css in Joomla

This forum was archived on 2017-11-26.