Consider removing the font-size12pt, font-size11pt classes
civicrm.css
contains the following CSS:
.crm-container .font-size11pt {
font-size: 1.1em;
}
.crm-container .font-size12pt {
font-size: 1.2em;
}
These are used, but rarely and inconsistently, throughout the CiviCRM codebase. I see the following issues with these classes:
- These classes are used inconsistently, and I can't imendiately see what the rules are that decided their use.
- Then these classes are used, just the font-size is adjusted, which can lead to the area around that label appearing cramped.
- Using font-size alone to pull attention to a label is fairly lazy design, and can look like a UI mistake rather than a feature.
- These classes are treated inconsistently in different CiviCRM themes.
- These class names are not semantic, and also are not strictly accurate given we're using
em
notpt
.
I've looked through the Git hsitory and I can only find one occurance of someone having used one of these classes since the migration from SVN 9 years ago. So I suspect I'm not the only one unsure when and why these classes should be used!
Therefore I'd like to propose that these two classes, along with any references to them, are removed.