Make text on form smaller. and remove underlines
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 20 Apr 2018 15:02:57 +0000 (11:02 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 20 Apr 2018 15:02:57 +0000 (11:02 -0400)
Removing underlines and adjust the text size.
Moving css for the form into contactform.css
adding cache busting to both styles.css and contactform.css

Toolkit/Contacts/ServiceRequest.php
Toolkit/FormBuilder.php
css/contactform.css
styles.css
templates/template.html

index 1eee5eb..57d02a3 100755 (executable)
@@ -324,11 +324,11 @@ class Toolkit_Contacts_ServiceRequest
             services you require by checking the space in the left hand column.  We have standard procedures
             allocated to each of these items, so please <b>be specific</b> if there is something you <b>do not</b> want done.
             Additional instructions or notes can be added on the back of this form.
-            <br> We would also be happy to discuss anticipated work and offer recommendations.<b>
+            <br><br> We would also be happy to discuss anticipated work and offer recommendations.<b>
             '
         );
         $workTypes = array(
-            '<center><u>Boat</u></center>' => array(
+            '<center>Boat</center>' => array(
                 array(
                     'type' => 'checkbox',
                     'req'  => false,
@@ -354,7 +354,7 @@ class Toolkit_Contacts_ServiceRequest
                     'opts' => '<div class="service-checkbox"><b>Inspection</b> - Check (and replace as needed) lights, bilge pump, blower, fire extinguisher, horn, and dock lines. Dock lines will only be replaced if chaffed or frayed.</div>'
                 ),
             ),
-            '<center><u>Engine Care</u></center>' => array(
+            '<center>Engine Care</center>' => array(
                 array(
                     'type' => 'checkbox',
                     'req'  => false,
@@ -388,7 +388,7 @@ class Toolkit_Contacts_ServiceRequest
                     'opts' => '<div class="service-checkbox"><b>Fuel Injection</b> - Completely clean fuel injection system on applicable sterndrives and outboard motors.</div>',
                 ),
             ),
-            '<center><u>Outdrive & Gearcase</u></center>' => array(
+            '<center>Outdrive & Gearcase</center>' => array(
                 array(
                     'type' => 'checkbox',
                     'req'  => false,
@@ -402,7 +402,7 @@ class Toolkit_Contacts_ServiceRequest
                     'opts' => '<div class="service-checkbox"><b>General Check</b> - Inspect bellows for weather checking / holes, examine anodes (replace if necessary), and test trim and tilt.</div>'
                 ),
             ),
-            '<center><u>Special Services</u></center><br><center>Please note that special services must be scheduled prior to our standard two-week launch request period.</center>' => array(
+            '<center>Special Services</center><br><center>Please note that special services must be scheduled prior to our standard two-week launch request period.</center>' => array(
                 array(
                     'type' => 'checkbox',
                     'req'  => false,
@@ -440,7 +440,7 @@ class Toolkit_Contacts_ServiceRequest
             'type'    => 'textarea',
             'req'     => false,
             'name'    => 'comments',
-            'display' => '<center><u>Additional Notes, & Instructions</u></center> <br> <center>Include any special comments for CM staff below</center>'
+            'display' => '<center>Additional Notes, & Instructions</center> <br> <center>Include any special comments for CM staff below</center>'
         );
         $e[] = array(
             'type'    => 'CAPTCHA_Image',
index f8cc80f..6253aa0 100644 (file)
@@ -264,7 +264,7 @@ abstract class Toolkit_FormBuilder extends HTML_QuickForm
 
         if ($this->includeContactStyleSheet) {
             $baseURL = MEDIA_BASE_URL;
-            $GLOBALS['styleSheets'][] = $baseURL . 'css/contactform.css';
+            $GLOBALS['styleSheets'][] = $baseURL . 'css/contactform.css?v=1.0.0';
         }
     }
 
index 669f2de..9db3df9 100644 (file)
@@ -24,6 +24,7 @@
 .webform td {
     padding: 3px;
     font-family: arial, helvetica, sans-serif;
+    font-size: 1.2rem;
     color: #000;
     border: 1px solid #eee;
     border-collapse: collapse;
@@ -106,3 +107,10 @@ table tr.req td.instructioncell {
     width: auto;
     float: none;
 }
+/* Contact form */
+.service-checkbox {
+    width: 95%;
+    float: right;
+    display: inline;
+    margin-bottom: 2px;
+}
index c01765a..e6f0d8c 100644 (file)
@@ -494,9 +494,3 @@ span.phototitle {
 .gallery li {\r
     background-image: none !important;\r
     }\r
-/* Contact form */\r
-.service-checkbox {\r
-    width: 95%;\r
-    float: right;\r
-    display: inline;\r
-}\r
index 25861a8..f2e243b 100644 (file)
@@ -6,7 +6,7 @@
 <meta name="description" content="{metaTags:h}">
 <!-- css -->
         {styles:h}
-<link rel="stylesheet" href="{mediaBaseURL:h}styles.css?v=1.0.11">
+<link rel="stylesheet" href="{mediaBaseURL:h}styles.css?v=1.0.12">
 <link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro" rel="stylesheet" type="text/css">
 <link href='http://fonts.googleapis.com/css?family=Rokkitt:700' rel='stylesheet' type='text/css'>
 <link rel="stylesheet" href="{mediaBaseURL:h}superfish.css">