From: Steve Sutton Date: Fri, 20 Apr 2018 15:02:57 +0000 (-0400) Subject: Make text on form smaller. and remove underlines X-Git-Tag: v1.0.13^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=21d7ef07fcaa84ac9063cd74a5b2df3f6b4f7f2b;p=web%2FCedarvilleMarine.git Make text on form smaller. and remove underlines 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 --- diff --git a/Toolkit/Contacts/ServiceRequest.php b/Toolkit/Contacts/ServiceRequest.php index 1eee5eb..57d02a3 100755 --- a/Toolkit/Contacts/ServiceRequest.php +++ b/Toolkit/Contacts/ServiceRequest.php @@ -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 be specific if there is something you do not want done. Additional instructions or notes can be added on the back of this form. -
We would also be happy to discuss anticipated work and offer recommendations. +

We would also be happy to discuss anticipated work and offer recommendations. ' ); $workTypes = array( - '
Boat
' => array( + '
Boat
' => array( array( 'type' => 'checkbox', 'req' => false, @@ -354,7 +354,7 @@ class Toolkit_Contacts_ServiceRequest 'opts' => '
Inspection - 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.
' ), ), - '
Engine Care
' => array( + '
Engine Care
' => array( array( 'type' => 'checkbox', 'req' => false, @@ -388,7 +388,7 @@ class Toolkit_Contacts_ServiceRequest 'opts' => '
Fuel Injection - Completely clean fuel injection system on applicable sterndrives and outboard motors.
', ), ), - '
Outdrive & Gearcase
' => array( + '
Outdrive & Gearcase
' => array( array( 'type' => 'checkbox', 'req' => false, @@ -402,7 +402,7 @@ class Toolkit_Contacts_ServiceRequest 'opts' => '
General Check - Inspect bellows for weather checking / holes, examine anodes (replace if necessary), and test trim and tilt.
' ), ), - '
Special Services

Please note that special services must be scheduled prior to our standard two-week launch request period.
' => array( + '
Special Services

Please note that special services must be scheduled prior to our standard two-week launch request period.
' => array( array( 'type' => 'checkbox', 'req' => false, @@ -440,7 +440,7 @@ class Toolkit_Contacts_ServiceRequest 'type' => 'textarea', 'req' => false, 'name' => 'comments', - 'display' => '
Additional Notes, & Instructions

Include any special comments for CM staff below
' + 'display' => '
Additional Notes, & Instructions

Include any special comments for CM staff below
' ); $e[] = array( 'type' => 'CAPTCHA_Image', diff --git a/Toolkit/FormBuilder.php b/Toolkit/FormBuilder.php index f8cc80f..6253aa0 100644 --- a/Toolkit/FormBuilder.php +++ b/Toolkit/FormBuilder.php @@ -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'; } } diff --git a/css/contactform.css b/css/contactform.css index 669f2de..9db3df9 100644 --- a/css/contactform.css +++ b/css/contactform.css @@ -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; +} diff --git a/styles.css b/styles.css index c01765a..e6f0d8c 100644 --- a/styles.css +++ b/styles.css @@ -494,9 +494,3 @@ span.phototitle { .gallery li { background-image: none !important; } -/* Contact form */ -.service-checkbox { - width: 95%; - float: right; - display: inline; -} diff --git a/templates/template.html b/templates/template.html index 25861a8..f2e243b 100644 --- a/templates/template.html +++ b/templates/template.html @@ -6,7 +6,7 @@ {styles:h} - +