Skip to content

Commit

Permalink
New CSS for info text within form container div
Browse files Browse the repository at this point in the history
The existing style defined in login.css has been moved to default.css
and given a class name which is now used in signup_page.php and
lost_pwd_page.php.
  • Loading branch information
dregad committed Apr 5, 2015
1 parent bbe5bb6 commit 692ab72
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
6 changes: 6 additions & 0 deletions css/default.css
Expand Up @@ -651,6 +651,12 @@ div.form-container .file input,
max-width: 98%;
}
div.form-container .spacer { margin-top: .5em; clear: both; }
div.form-container .info-text {
clear: both;
display: block;
padding: 1em;
}

.label-style {
position: absolute;
top: 0em;
Expand Down
5 changes: 0 additions & 5 deletions css/login.css
Expand Up @@ -19,11 +19,6 @@ span.captcha-image {
margin: 0em 0em 0em 1em;
padding: 0em;
}
span#no-password-msg, #signup-info, #lost-password-msg {
clear: both;
display: block;
padding: 1em;
}
#login-links,
#captcha-refresh {
list-style: none;
Expand Down
4 changes: 2 additions & 2 deletions lost_pwd_page.php
Expand Up @@ -80,10 +80,10 @@
<span class="input"><?php print_email_input( 'email', '' ) ?></span>
<span class="label-style"></span>
</div>
<span id="lost-password-msg"><?php echo lang_get( 'lost_password_info' ); ?></span>
<span class="info-text"><?php echo lang_get( 'lost_password_info' ); ?></span>
<span class="submit-button"><input type="submit" class="button" value="<?php echo lang_get( 'submit_button' ) ?>" /></span><?php
} else {
echo '<span id="no-password-msg">';
echo '<span class="info-text">';
echo lang_get( 'no_password_request' );
echo '</span>';
} ?>
Expand Down
4 changes: 2 additions & 2 deletions signup_page.php
Expand Up @@ -136,13 +136,13 @@
<?php
}
if( !$t_allow_passwd_change ) {
echo '<span id="no-password-msg">';
echo '<span class="info-text">';
echo lang_get( 'no_password_request' );
echo '</span>';
}
?>

<span id="signup-info"><?php echo lang_get( 'signup_info' ); ?></span>
<span class="info-text"><?php echo lang_get( 'signup_info' ); ?></span>

<span class="submit-button"><input type="submit" class="button" value="<?php echo lang_get( 'signup_button' ) ?>" /></span>
</fieldset>
Expand Down

0 comments on commit 692ab72

Please sign in to comment.