Remove use of .font-size11pt and .font-size12pt
authorBradley Taylor <hello@brad-taylor.co.uk>
Thu, 23 Dec 2021 15:49:49 +0000 (15:49 +0000)
committerBradley Taylor <hello@brad-taylor.co.uk>
Mon, 24 Jan 2022 19:27:07 +0000 (19:27 +0000)
14 files changed:
css/civicrm.css
ext/civigrant/templates/CRM/Grant/Form/Search.tpl
templates/CRM/Activity/Form/Search.tpl
templates/CRM/Campaign/Form/Search/Common.tpl
templates/CRM/Case/Form/Activity.tpl
templates/CRM/Case/Form/Case.tpl
templates/CRM/Case/Form/Search.tpl
templates/CRM/Contact/Form/Search/ContactSearchFields.tpl
templates/CRM/Contact/Form/Search/ResultTasks.tpl
templates/CRM/Contribute/Form/AdditionalPayment.tpl
templates/CRM/Event/Form/ParticipantFeeSelection.tpl
templates/CRM/Financial/Form/BatchTransaction.tpl
templates/CRM/Friend/Form.tpl
templates/CRM/common/searchResultTasks.tpl

index bd999d98bb5976a6e47f8266a9335a0506f518c6..3216339b5cb83962de33e6130170011e13e4ed10 100644 (file)
@@ -871,14 +871,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;
index a59ce1db40dd30ce0cda6c1e1cd3e2dc9dd3811a..b6da5cf864caa9b6c07cfbf12b1d5bc1bea5a472 100644 (file)
@@ -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>
index 0be339fb6ffa62e000bbe0e5173f7fcdbf6223d4..9dd7bebde2ef7c06da21e479584558bde61ba588 100644 (file)
@@ -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}
index 35a1c333b8fabcedecb26520bfdbec42db608fdd..2b9a059b432e1eaf0c5a65bd3283016ee6a10f7a 100644 (file)
@@ -23,7 +23,7 @@
     {strip}
       <table class="form-layout">
         <tr>
-          <td class="font-size12pt">
+          <td>
             {$form.campaign_survey_id.label}
           </td>
           <td>
           </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">
         </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>
           </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>
           </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>
           <tr>
             {if $customSearchFields.ward}
               {assign var='ward' value=$customSearchFields.ward}
-              <td class="font-size12pt">
+              <td>
                 {$form.$ward.label}
               </td>
               <td>
 
             {if $customSearchFields.precinct}
               {assign var='precinct' value=$customSearchFields.precinct}
-              <td class="font-size12pt">
+              <td>
                 {$form.$precinct.label}
               </td>
               <td>
index 4e243b3415215134c93e9d63033b5f04ad305eb4..cf24faa2819217731e120daa928cf9a098d3b7ca 100644 (file)
@@ -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}
                 <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>
index ef2bbef2a2f6adf85c1b3c8c1dbb379729bcb7a7..bcbef3b5f72fa7c66583be5e815d54ab4da84ec5 100644 (file)
@@ -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'}
index 0f920c3335087bf8f0b7764c37b69774faef96da..1aae150e0cee97177f05dfca766f0fd8321ba07b 100644 (file)
@@ -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>
index 2941f228ee6ffde2b5ab8ab90ca73bfe581b2ab2..e80a3ceb4e525d8548840f09c00c0b73bf5848ae 100644 (file)
@@ -1,5 +1,5 @@
 <tr>
-  <td class="font-size12pt">
+  <td>
     {$form.sort_name.label}
     <br>
     {$form.sort_name.html|crmAddClass:'twenty'}
index 79bcf3fc582dbf72010cc0af73c42e489cd0d04d..567a415f760d87e0f4480f1709c4c52386209747 100644 (file)
@@ -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>
@@ -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>
index 1f887ffb95f2ceefda124c51dab0fbb7924e9eea..886f43b84d51918eb481baf023eddf56a2ba11cf 100644 (file)
@@ -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>
index f4972c8db2c1d096e06900c36ccbbfd1b1c0c5c2..d721f5f0fd4690b2d06b0747202532d7f7efeacd 100644 (file)
@@ -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>
index 456fdfe7a9bef1b99265dec1766da843fdd3775e..c385088028068930564af8d1ec7160a6667126e9 100644 (file)
@@ -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>
index 3adbc782609a02ae27c56a5979e969c0c109ee13..fcbe4b27ce92aba124b0ddeb606ea949639699e5 100644 (file)
   </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>
 
index be4b9e4a5dd59e04a72e3d07b3b8b7c5b6a03550..c126d858a1f47adde06fe1279a0f5f2eb3959bcb 100644 (file)
@@ -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 ) }
@@ -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>