drupal 7 ( https://drupal.org/project/modal_forms ) にモーダル フォーム モジュールをインストールして、モーダル ウィンドウのログイン フォームを作成しました。しかし、今、私はcssで外観を変更しようとしていますが、その方法がわかりません。
たとえば、1 つの css クラスを適用する入力送信ボタンの外観を変更する方法を知っている人はいますか?
これは私のコードです:
function get_output_ajax(){
$output = array();
ctools_add_js('ajax-responder');
$output[] = ctools_modal_command_dismiss(t('Login success'));
if (isset($_GET['destination'])) {
$output[] = ctools_ajax_command_redirect($_GET['destination']);
}
elseif(module_exists('login_destination')) {
$destination = login_destination_get_destination('login');
$output[] = ctools_ajax_command_redirect($destination['path']);
}
else {
$output[] = ctools_ajax_command_reload();
}
return $output;
}
function modal_forms_login($js = NULL) {
// Fall back if $js is not set.
if (!$js) {
return drupal_get_form('user_login');
}
$output = get_output_ajax();
}
}
else{
$output = get_output_ajax();
}
print ajax_render($output);
} global $user;
if ($user->uid == 0) {
$output = ctools_modal_form_wrapper('user_login', $form_state);
if (!empty($form_state['executed'])) {
$output = get_output_ajax();
}
}
else{
$output = get_output_ajax();
}
print ajax_render($output);
}
前もって感謝します。