WordPress.org

Plugin Directory

Changeset 337705


Ignore:
Timestamp:
01/27/11 05:40:53 (3 years ago)
Author:
lessbloat
Message:

Couple final tweaks to CSS.

Location:
grunion-contact-form/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • grunion-contact-form/trunk/grunion-contact-form.php

    r337531 r337705  
    8484            $r .= "\t\t<input type='radio' name='".esc_attr($field_id)."' value='".esc_attr($option)."' class='".esc_attr($field['type'])."' ".( $option == $field_value ? "checked='checked' " : "")." />\n"; 
    8585            $r .= "\t\t<label class='".esc_attr($field['type']) . ( contact_form_is_error($field_id) ? ' form-error' : '' ) . "'>". htmlspecialchars( $option ) . "</label>\n"; 
    86             $r .= "\t\t<div class='clear'></div>\n"; 
     86            $r .= "\t\t<div class='clear-form'></div>\n"; 
    8787        } 
    8888        $r .= "\t\t</div>\n"; 
     
    9292        $r .= "\t\t<label class='".esc_attr($field['type']) . ( contact_form_is_error($field_id) ? ' form-error' : '' ) . "'>\n"; 
    9393        $r .= "\t\t". htmlspecialchars( $field['label'] ) . ( $field['required'] ? '<span>'. __("(required)") . '</span>' : '' ) . "</label>\n"; 
    94         $r .= "\t\t<div class='clear'></div>\n"; 
     94        $r .= "\t\t<div class='clear-form'></div>\n"; 
    9595        $r .= "\t</div>\n"; 
    9696    } elseif ( $field['type'] == 'select' ) { 
     
    257257     
    258258    $r .= "\n<style>\n"; 
    259     $r .= "\t\t .textwidget input[type='text'], .textwidget textarea { width: 100% }\n"; 
    260     $r .= "\t\t .contact-form .clear { clear: both; }\n"; 
     259    $r .= "\t\t .textwidget input[type='text'], .textwidget textarea { width: 100% !important; }\n"; 
     260    $r .= "\t\t .contact-form .clear-form { clear: both; }\n"; 
    261261    $r .= "\t\t .contact-form input[type='text'] { width: 300px; margin-bottom: 13px; }\n"; 
    262262    $r .= "\t\t .contact-form select { margin-bottom: 13px; }\n"; 
    263     $r .= "\t\t .contact-form textarea { height: 200px; width: 400px; float: none; margin-bottom: 13px; }\n"; 
     263    $r .= "\t\t .contact-form textarea { height: 200px; width: 80%; float: none; margin-bottom: 13px; }\n"; 
    264264    $r .= "\t\t .contact-form input[type='radio'], .contact-form input[type='checkbox'] { float: none; margin-bottom: 13px; }\n"; 
    265265    $r .= "\t\t .contact-form label { margin-bottom: 3px; float: none; font-weight: bold; display: block; }\n"; 
  • grunion-contact-form/trunk/grunion-form-view.php

    r326767 r337705  
    1414    var ajax_nonce_json = '<?php echo wp_create_nonce( 'grunion_shortcode_to_json' ); ?>'; 
    1515</script> 
    16 <script type="text/javascript" src="<?php echo GRUNION_PLUGIN_URL; ?>js/grunion.js?00001"></script> 
     16<script type="text/javascript" src="<?php echo GRUNION_PLUGIN_URL; ?>js/grunion.js?00002"></script> 
    1717<script type="text/javascript"> 
    1818    jQuery(document).ready(function () { 
Note: See TracChangeset for help on using the changeset viewer.