1
0

Styling the captchabox.

This commit is contained in:
Matthias Mees
2013-07-06 00:53:35 +02:00
parent f6ba7f0e0e
commit 7a94df491a
4 changed files with 12 additions and 10 deletions

View File

@ -779,9 +779,9 @@ var $filter_defaults;
} }
function example() { function example() {
echo '<div id="captchabox" style="margin: 10px; padding: 5px; border: 1px solid black">' . PLUGIN_EVENT_SPAMBLOCK_LOOK . '<br />'; echo '<p id="captchabox" class="msg_hint">' . PLUGIN_EVENT_SPAMBLOCK_LOOK;
$this->show_captcha(); $this->show_captcha();
echo '</div>'; echo '</p>';
} }
function show_captcha($use_gd = false) { function show_captcha($use_gd = false) {

View File

@ -213,12 +213,12 @@
{/if} {/if}
{if ($is_doDelete || $is_doMultiDelete )} {if ($is_doDelete || $is_doMultiDelete )}
{foreach $del_entry AS $delent} {foreach $del_entry AS $delent}
<span class="msg_dialogue"><span class="icon-help-circled"></span> {$delent}</span> <span class="msg_hint"><span class="icon-help-circled"></span> {$delent}</span>
{/foreach} {/foreach}
{/if} {/if}
{if ( $is_delete || $is_multidelete )} {if ( $is_delete || $is_multidelete )}
{foreach $rip_entry AS $ripent} {foreach $rip_entry AS $ripent}
<span class="msg_dialogue"><span class="icon-help-circled"></span> {$ripent}</span> <span class="msg_hint"><span class="icon-help-circled"></span> {$ripent}</span>
{/foreach} {/foreach}
<div class="form_buttons"> <div class="form_buttons">
<a class="button_link state_cancel icon_link" href="{$smarty.server.HTTP_REFERER|escape}">{$CONST.NOT_REALLY}</a> <a class="button_link state_cancel icon_link" href="{$smarty.server.HTTP_REFERER|escape}">{$CONST.NOT_REALLY}</a>

View File

@ -64,7 +64,7 @@
{if ( $is_delete || $is_multidelete )} {if ( $is_delete || $is_multidelete )}
<span class="msg_notice"><span class="icon-info-circled"></span> {$CONST.ABOUT_TO_DELETE_FILES}</span> <span class="msg_notice"><span class="icon-info-circled"></span> {$CONST.ABOUT_TO_DELETE_FILES}</span>
{foreach $rip_image AS $ripimg} {foreach $rip_image AS $ripimg}
<span class="msg_dialogue"><span class="icon-help-circled"></span> {$ripimg}</span> <span class="msg_hint"><span class="icon-help-circled"></span> {$ripimg}</span>
{/foreach} {/foreach}
<div class="form_buttons"> <div class="form_buttons">
<a class="button_link icon_link" href="{$newLoc}">{$CONST.DUMP_IT}</a> <a class="button_link icon_link" href="{$newLoc}">{$CONST.DUMP_IT}</a>

View File

@ -448,7 +448,7 @@ legend > span > span,
.msg_error, .msg_error,
.msg_success, .msg_success,
.msg_notice, .msg_notice,
.msg_dialogue, .msg_hint,
#serendipity_category .form_multiselect label, #serendipity_category .form_multiselect label,
#image_directory_edit_form .form_select label, #image_directory_edit_form .form_select label,
#uploadform label, #uploadform label,
@ -457,7 +457,8 @@ legend > span > span,
.configuration_group .form_select label, .configuration_group .form_select label,
.configuration_group .form_multiselect label, .configuration_group .form_multiselect label,
.configuration_group .form_field label, .configuration_group .form_field label,
.configuration_group .form_area label { .configuration_group .form_area label,
#captchabox .captcha {
display: block; display: block;
} }
@ -976,7 +977,7 @@ summary {
.msg_error, .msg_error,
.msg_success, .msg_success,
.msg_notice, .msg_notice,
.msg_dialogue { .msg_hint {
margin: 1.5em 0; margin: 1.5em 0;
padding: 10px; padding: 10px;
} }
@ -999,7 +1000,7 @@ summary {
color: #c09853; color: #c09853;
} }
.msg_dialogue { .msg_hint {
background: #eee; background: #eee;
border: 1px solid #aaa; border: 1px solid #aaa;
color: #777; color: #777;
@ -1370,7 +1371,8 @@ fieldset p,
} }
#entries_list .actions, #entries_list .actions,
.serendipityCommentForm { .serendipityCommentForm,
#captchabox .captcha {
margin-top: .75em; margin-top: .75em;
} }