Fix icon alignment on drop-downs and on contact type icons
Merge request reports
Activity
added 1 commit
- 4b1a8114 - Fixing overdue activities not displayed in red in Activity tab
- Resolved by cividesk
Thanks for these.. overdue activities in red is a good one but the accordion will need a lot of testing as those same classes are applied to a number of Civi's other accordions (e.g. main dashboard). For a dive into accordions see this issue: dev/user-interface#60.
To only target the transparent-background type accordions, then it would be better to just target the .crm-collapsible pattern, ie just this should do what you want but not impact elsewhere:
.crm-container .crm-collapsible .collapsible-title { font-weight: 600; height: 28px; padding-top: 6px; }
added 1 commit
- c3cbf6f7 - Fixing select display to look like other input fields on all forms
And to make life even more fun, WordPress and Joomla both load a Select2 list for the first and a regular select for the second. Which leaves me wondering how different CMSs are rendering what I assumed were Smarty templates differently.
Edited by nicol
added 1 commit
- 4ea0d680 - Fixing close icon position on select2 widgets in .ui-tabs
added 1 commit
- 29122b5c - Re-scoping accordeon headers on contact page
4723 4723 line-height: 13px; 4724 4724 border-radius: 3px; 4725 4725 } 4726 .crm-container .select2-container-multi .select2-choices .select2-search-choice-close { 4727 padding: 0; 4686 4686 } 4687 4687 .crm-container select { 4688 4688 line-height: 18px; 4689 min-height: 32px; It would be good (ie fewer lines and easier to update all styles at once) to bundle this style info with the line - https://lab.civicrm.org/extensions/finsburypark/-/blob/master/css/civicrm.css#L1468 - that describes all input styles (border colour, radius, etc) - by adding
.crm-container select
to that list.But the minimum height is still needed to be overwritten so we could keep
.crm-container select {min-height: 32px;}
here and nothing else.Sorry to be so particular - hope this makes sense?
Thanks @cividesk for these suggestions - I've had a v quick check across D7, D9, WordPress and Joomla - and all look fine. If you can make the two adjustments above am good to merge.
mentioned in commit 085ba080
Have merged to avoid this becoming stale, and resolved those two issues in this commit. Thanks for the contribution.
@nicol Sorry I got carried away on other tasks and thanks for merging. Did run visual checks on master and all good now.