Skip to content

Commit

Permalink
Remove use of .font-size11pt and .font-size12pt
Browse files Browse the repository at this point in the history
  • Loading branch information
braders committed Dec 23, 2021
1 parent 16332a7 commit 551b9aa
Show file tree
Hide file tree
Showing 14 changed files with 31 additions and 39 deletions.
8 changes: 0 additions & 8 deletions css/civicrm.css
Original file line number Diff line number Diff line change
Expand Up @@ -870,14 +870,6 @@ input.crm-form-entityref {
font-style: italic;
}

.crm-container .font-size11pt {
font-size: 1.1em;
}

.crm-container .font-size12pt {
font-size: 1.2em;
}

.crm-container .qill {
font-weight: normal;
line-height: 1.1em;
Expand Down
2 changes: 1 addition & 1 deletion templates/CRM/Activity/Form/Search.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{strip}
<table class="form-layout">
<tr>
<td class="font-size12pt" colspan="2">
<td colspan="2">
{$form.sort_name.label}&nbsp;&nbsp;{$form.sort_name.html|crmAddClass:'twenty'}
<div>
<div class="description font-italic">{ts}Complete OR Partial Name{/ts}
Expand Down
24 changes: 12 additions & 12 deletions templates/CRM/Campaign/Form/Search/Common.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,25 @@
{strip}
<table class="form-layout">
<tr>
<td class="font-size12pt">
<td>
{$form.campaign_survey_id.label}
</td>
<td>
{$form.campaign_survey_id.html}
</td>

{if $showInterviewer}
<td class="font-size12pt">
<td>
{$form.survey_interviewer_id.label}
</td>
<td class="font-size12pt ">
<td>
{$form.survey_interviewer_id.html}
</td>
{/if}

</tr>
<tr>
<td class="font-size12pt">
<td>
{$form.sort_name.label}
</td>
<td colspan="3">
Expand All @@ -64,42 +64,42 @@
</tr>

<tr>
<td class="font-size12pt">
<td>
{$form.street_address.label}
</td>
<td>
{$form.street_address.html}
</td>
<td class="font-size12pt">
<td>
{$form.street_name.label}
</td>
<td>
{$form.street_name.html}
</td>
</tr>
<tr>
<td class="font-size12pt">
<td>
{$form.street_unit.label}
</td>
<td>
{$form.street_unit.html}
</td>
<td class="font-size12pt">
<td>
{$form.city.label}
</td>
<td>
{$form.city.html}
</td>
</tr>
<tr>
<td class="font-size12pt">
<td>
{$form.street_number.label}
</td>
<td>
{$form.street_number.html}
</td>

<td class="font-size12pt">
<td>
{$form.postal_code.label}
</td>
<td>
Expand All @@ -110,7 +110,7 @@
<tr>
{if $customSearchFields.ward}
{assign var='ward' value=$customSearchFields.ward}
<td class="font-size12pt">
<td>
{$form.$ward.label}
</td>
<td>
Expand All @@ -120,7 +120,7 @@

{if $customSearchFields.precinct}
{assign var='precinct' value=$customSearchFields.precinct}
<td class="font-size12pt">
<td>
{$form.$precinct.label}
</td>
<td>
Expand Down
6 changes: 3 additions & 3 deletions templates/CRM/Case/Form/Activity.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@
<table class="form-layout-compressed">
<tbody>
<tr id="with-clients" class="crm-case-activity-form-block-client_name">
<td class="label font-size12pt">{ts}Client{/ts}</td>
<td class="label">{ts}Client{/ts}</td>
<td class="view-value">
<span class="font-size12pt">
<span>
{foreach from=$client_names item=client name=clients key=id}
{foreach from=$client_names.$id item=client1}
{$client1.display_name}
Expand Down Expand Up @@ -131,7 +131,7 @@
<td class="view-value">
{$form.activity_date_time.html}
{if $action eq 2 && $activityTypeFile eq 'OpenCase'}
<div class="description">Use a <a class="open-inline" href="{$changeStartURL}">Change Start Date</a> activity to change the date</div>
<div class="description">{ts}Use a <a class="open-inline" href="{$changeStartURL}">Change Start Date</a> activity to change the date{/ts}</div>
{/if}
</td>
</tr>
Expand Down
4 changes: 2 additions & 2 deletions templates/CRM/Case/Form/Case.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
{/if}
{if !empty($clientName)}
<tr class="crm-case-form-block-clientName">
<td class="label font-size12pt">{ts}Client{/ts}</td>
<td class="font-size12pt bold view-value">{$clientName}</td>
<td class="label">{ts}Client{/ts}</td>
<td class="bold view-value">{$clientName}</td>
</tr>
{elseif empty($clientName) and $action eq 1}
{if $context eq 'standalone'}
Expand Down
2 changes: 1 addition & 1 deletion templates/CRM/Case/Form/Search.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{strip}
<table class="form-layout">
<tr class="crm-case-search-form-block-sort_name">
<td class="font-size12pt" colspan="2">
<td colspan="2">
{$form.sort_name.label}&nbsp;&nbsp;{$form.sort_name.html|crmAddClass:'twenty'}
</td>
<td>{include file="CRM/common/formButtons.tpl" location="top"}</td>
Expand Down
2 changes: 1 addition & 1 deletion templates/CRM/Contact/Form/Search/ContactSearchFields.tpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<tr>
<td class="font-size12pt">
<td>
{$form.sort_name.label}
<br>
{$form.sort_name.html|crmAddClass:'twenty'}
Expand Down
4 changes: 2 additions & 2 deletions templates/CRM/Contact/Form/Search/ResultTasks.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

<table class="form-layout-compressed">
<tr>
<td class="font-size12pt" style="width: 30%;">
<td style="width: 30%;">
{if !empty($savedSearch.name)}{$savedSearch.name} ({ts}smart group{/ts}) - {/if}
{ts count=$pager->_totalItems plural='%count Contacts'}%count Contact{/ts}
</td>
Expand All @@ -51,7 +51,7 @@
</td>
</tr>
<tr>
<td class="font-size11pt"> {ts}Select Records{/ts}:</td>
<td> {ts}Select Records{/ts}:</td>
<td class="nowrap">
{assign var="checked" value=$selectedContactIds|@count}
{$form.radio_ts.ts_all.html} <label for="{$ts_all_id}">{ts count=$pager->_totalItems plural='All %count records'}The found record{/ts}</label>
Expand Down
2 changes: 1 addition & 1 deletion templates/CRM/Contribute/Form/AdditionalPayment.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</div>
<table class="form-layout-compressed">
<tr>
<td class="font-size12pt label"><strong>{if $component eq 'event'}{ts}Participant{/ts}{else}{ts}Contact{/ts}{/if}</strong></td><td class="font-size12pt"><strong>{$displayName}</strong></td>
<td class="label"><strong>{if $component eq 'event'}{ts}Participant{/ts}{else}{ts}Contact{/ts}{/if}</strong></td><td><strong>{$displayName}</strong></td>
</tr>
{if $eventName}
<tr>
Expand Down
2 changes: 1 addition & 1 deletion templates/CRM/Event/Form/ParticipantFeeSelection.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ CRM.$(function($) {
{/if}
<table class="form-layout">
<tr>
<td class="font-size12pt label"><strong>{ts}Participant{/ts}</strong></td><td class="font-size12pt"><strong>{$displayName}</strong></td>
<td class="label"><strong>{ts}Participant{/ts}</strong></td><td><strong>{$displayName}</strong></td>
</tr>
<tr>
<td class='label'>{ts}Event{/ts}</td><td>{$eventName}</td>
Expand Down
2 changes: 1 addition & 1 deletion templates/CRM/Financial/Form/BatchTransaction.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
<table class="form-layout-compressed">
<tr>
<td class="font-size12pt" colspan="2">
<td colspan="2">
{$form.sort_name.label}<br>
{$form.sort_name.html|crmAddClass:'twenty'}
</td>
Expand Down
6 changes: 3 additions & 3 deletions templates/CRM/Friend/Form.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@
</tr>

<tr>
<td class="right font-size12pt">{$form.from_name.label}&nbsp;&nbsp;</td>
<td class="font-size12pt">{$form.from_name.html} &lt;{$form.from_email.html}&gt;</td>
<td class="right">{$form.from_name.label}&nbsp;&nbsp;</td>
<td>{$form.from_name.html} &lt;{$form.from_email.html}&gt;</td>
</tr>
<tr>
<td class="label font-size12pt">{$form.suggested_message.label}</td>
<td class="label">{$form.suggested_message.label}</td>
<td>{$form.suggested_message.html}</td>
</tr>

Expand Down
2 changes: 1 addition & 1 deletion templates/CRM/Grant/Form/Search.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</div>
<table class="form-layout">
<tr>
<td class="font-size12pt" colspan="3">
<td colspan="3">
{$form.sort_name.label}&nbsp;&nbsp;{$form.sort_name.html}&nbsp;&nbsp;&nbsp;{$form.buttons.html}<br />
</td>
</tr>
Expand Down
4 changes: 2 additions & 2 deletions templates/CRM/common/searchResultTasks.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<div id="search-status">
<table class="form-layout-compressed">
<tr>
<td class="font-size12pt" style="width: 40%;">
<td style="width: 40%;">
{if !empty($savedSearch.name)}{$savedSearch.name} ({ts}smart group{/ts}) - {/if}
{ts count=$pager->_totalItems plural='%count Results'}%count Result{/ts}{if !empty($selectorLabel)}&nbsp;-&nbsp;{$selectorLabel}{/if}
{if $context == 'Event' && $participantCount && ( $pager->_totalItems ne $participantCount ) }
Expand All @@ -34,7 +34,7 @@
</tr>
{/if}
<tr>
<td class="font-size11pt"> {ts}Select Records{/ts}:</td>
<td> {ts}Select Records{/ts}:</td>
<td class="nowrap">
{$form.radio_ts.ts_all.html} <label for="{$ts_all_id}">{ts count=$pager->_totalItems plural='All %count records'}The found record{/ts}</label> &nbsp; {if $pager->_totalItems > 1} {$form.radio_ts.ts_sel.html} <label for="{$ts_sel_id}">{ts 1="<span></span>"}%1 Selected records only{/ts}</label>{/if}
</td>
Expand Down

0 comments on commit 551b9aa

Please sign in to comment.