mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-24 06:18:08 -05:00
Move "close help" link to bottom right corner to match "what's this".
This commit is contained in:
@@ -884,7 +884,7 @@ a.author { margin-right: 0.5em; }
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.help a.open {
|
||||
.help a.open, .help a.close {
|
||||
margin: 0px 5px 5px 0;
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
@@ -893,6 +893,7 @@ a.author { margin-right: 0.5em; }
|
||||
|
||||
|
||||
.help.help-cover {
|
||||
position: relative;
|
||||
background-color: #F8F8F8;
|
||||
border: 1px solid gray;
|
||||
font-size: 110%;
|
||||
|
||||
@@ -51,14 +51,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%
|
||||
fmt = _("Click %(here)s to close help.")
|
||||
title = _("here")
|
||||
link = '<a class="close" href="javascript:void(0)">%s</a>' % title
|
||||
link = (fmt % dict(here = link))
|
||||
link = unsafe(link.replace(" <", " <").replace("> ", "> "))
|
||||
%>
|
||||
|
||||
<div class="help help-cover promoted">
|
||||
<p>
|
||||
This sponsored link is an advertisement generated with our <a href="http://www.reddit.com/help/selfservicepromotion">self-serve advertisement tool.</a> .
|
||||
@@ -66,9 +58,9 @@
|
||||
<p>
|
||||
Use of this tool is open to all members or reddit.com, and for as little as $20 you can advertise in this area. <a href="/ad_inq">Get started »</a>
|
||||
</p>
|
||||
<p>
|
||||
${link}
|
||||
</p>
|
||||
<div class="help">
|
||||
<a class="close" href="javascript:void(0)">${_("close help")}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="help help-cover organic">
|
||||
@@ -83,13 +75,10 @@
|
||||
format = _("Click %(here)s to disable this feature."),
|
||||
format_arg = "here",
|
||||
hidden_data = dict(id="organic"))}
|
||||
%else:
|
||||
<p>
|
||||
%endif
|
||||
${link}
|
||||
%if not c.user_is_loggedin:
|
||||
</p>
|
||||
%endif
|
||||
<div class="help">
|
||||
<a class="close" href="javascript:void(0)">${_("close help")}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
Reference in New Issue
Block a user