.details{
margin: 0px 10px 15px 20px;
}
.mosaic-overlay p {
text-shadow: 0px 1px 1px #000000;
font:12px verdana, 'Lucida Grande', Tahoma, Verdana, sans-serif;
color:#ddd;
}
.mosaic-overlay h2 {
text-shadow: 0px 1px 1px #000000;
font:14px arial black, 'Lucida Grande', Tahoma, Verdana, sans-serif;
color:#ddd;
}
.mosaic-block {
position:relative;
overflow:hidden;
width:840px;
margin:0px 0px 0px 20px;
padding-bottom: 15px;
}
{xen:helper clearfix, '.mosaic-block'}
.mosaic-overlay {
display:none;
z-index:5;
position:absolute;
width:840px;
margin-left: 0px;
height:100%;
opacity:0;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=00)";
filter:alpha(opacity=00);
background: #000;
padding: 10px 5px;
}
.quickReply { padding: 10px 0px 30px 0px; border-top: 1px dashed @primaryLighterStill; }
.submitUnit.qrGuest { width: 840px; text-align: right; margin: 10px 10px 10px 0px; }
.qrLogin, .qrLogin dt, .qrLogin dd { float: left; padding: 0px 3px; color: #fff;}
.qrLogin { margin-left: 5px; }
.qrLogin .textCtrl { width: 150px; }
.qrLogin.qrsubmitUnit { clear:right; }
.qrLogin .button { min-width: 85px; margin-right: 5px; }
.mosaic-block form { }
.mosaic-block .guestMessage { float: left; width: 310px; }
.mosaic-block #SignupButton { width: 170px; float: left; margin:0px !important; }
.qrLogin #ctrl_pageLogin_remember { margin: 5px 0; }
.quickLogin p, .quickLogin a { font-weight:bold; text-shadow: 0px 1px 1px #000000; float:right; margin-top: 25px; margin-right:5px; color: @mutedTextColor; }
<xen:require css="qr_guest.css" />
<script type="text/javascript">
jQuery(function($){
$('.cover').mosaic({
animation:'fade',
opacity:'0.7',
speed:'slow'
});
});
</script>
<div class="quickReply message">
<xen:include template="message_user_info">
<xen:map from="$visitor" to="$user" />
<xen:set var="$isQuickReply">1</xen:set>
</xen:include>
<div class="mosaic-block cover">
<div class="mosaic-overlay">
<div class="details">
<div class="guestMessage">
<h2>We hope you're enjoying our forum!</h2>
<p>Only registered Members have access to posting priviledges. Registration here is <span class="text-decoration:underline !important; font-weight:bold !important;">100% FREE</span>. Use the button below to begin registration or the form on the right to login to your account.<br /><br />
<label for="LoginControl" id="SignupButton"><a href="{xen:link login}" class="inner">{xen:if $xenOptions.registrationSetup.enabled, {xen:phrase sign_up_now}, {xen:phrase log_in}}</a></label></p>
</div>
<form action="{xen:link 'login/login'}" method="post" id="quickLogin">
<dl class="qrLogin">
<dt><label for="ctrl_pageLogin_login">Name or Email Address:</label></dt>
<dd><input type="text" name="login" value="{$defaultLogin}" id="ctrl_pageLogin_login" class="textCtrl" /></dd>
</dl>
<dl class="qrLogin">
<dt><label for="ctrl_pageLogin_password">{xen:phrase password}:</label></dt>
<dd>
<input type="password" name="password" class="textCtrl" id="ctrl_pageLogin_password" />
</dd>
</dl>
<dl class="qrLogin qrsubmitUnit">
<dt>
<input type="submit" class="button primary" value="{xen:phrase log_in}" data-loginPhrase="{xen:phrase log_in}" data-signupPhrase="{xen:phrase sign_up}" />
</dt>
<dd><label for="ctrl_pageLogin_remember" class="rememberPassword"><input type="checkbox" checked="checked" name="remember" value="1" id="ctrl_pageLogin_remember" /> {xen:phrase stay_logged_in}</label></dd>
</dl>
</form>
<dl class="qrLogin qrsubmitUnit">
<dt>
<p class="quickLogin"><a href="{xen:link lost-password}" class="OverlayTrigger OverlayCloser">{xen:phrase forgot_your_password}</a></p>
</dt>
<dd></dd>
</dl>
</div>
</div>
<textarea class="textCtrl Elastic mosaic-block cover" rows="5" name="message" style="overflow: hidden; "></textarea>
<div class="submitUnit qrGuest">
<a href="login/" class="button primary">Post Reply</a>
<a href="login/" class="button primary">Preview...</a>
<a href="register/" class="button DisableOnSubmit">Register To Post</a>
</div>
</div>
</div>
<div style="float:right;"><label for="LoginControl"><a href="{xen:link login}" class="concealed">({xen:phrase log_in_or_sign_up_to_reply})</a></label></div>
I see you wrap the signup button inside the p and use br twice to add spacing. You can close the paragraph after the text, and use css .details p { margin-bottom: 15px; } or larger. I know a few cringes with excessive use of br
I also see a empty css rule you can delete. Really nice, will link to this in the description so people can see an example of fixed width implementation.
Oops, this code remove quick reply for guest and member. My member can't post comment on responsive design.Code:<xen:if is="@enableResponsive"> @media (max-width:800px) { .quickReply { display: none; } } </xen:if>
Untested, but some sort of variation of that I guess..
It's working now.Do not use extra.css, but add it in the same css template you created for this modification (qr_guest.css)
Hello Guys I want only quick reply for guest and need not any signup (without captcha and singup) so how to do thisCode:<xen:if is="@enableResponsive"> @media (max-width:800px) { .quickReply { display: none; } } </xen:if>
Untested, but some sort of variation of that I guess..
We use essential cookies to make this site work, and optional cookies to enhance your experience.