Skip to content

Commit

Permalink
add css to volunteer module that makes form bigger and friendlier; fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
eads committed Jun 2, 2012
1 parent 31c6cf7 commit 6bf530c
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#main-content {
max-width: 500px;
float: none;
margin-left: auto;
margin-right: auto;
}
.form-horizontal .form-item .control-label {
width: 160px;
}
#main-content .form-item label {
font-size: 20px;
}
#main-content .form-item input {
font-size: 18px;
width: 281px;
}
#main-content .form-actions {
border: none;
text-align: right;
}
#main-content .form-actions button {
font-size: 18px;
font-weight: bold;
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ function freegeek_townsquare_volunteer_signup_form($form, &$form_state) {
drupal_get_path('module', 'freegeek_townsquare_volunteer')
.'/js/freegeek-townsquare-volunteer.js'
),
'css' => array(
drupal_get_path('module', 'freegeek_townsquare_volunteer')
.'/css/freegeek-townsquare-volunteer.css'
),
);

// Set and hide form values
Expand Down

0 comments on commit 6bf530c

Please sign in to comment.