mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-29 00:38:11 -05:00
Move "close window" button to top of in-page popups.
As requested by the vertical-space challenged users of the world. Also moves the title to the left because it looks better and because the floated close link was making it off-center.
This commit is contained in:
@@ -2198,10 +2198,9 @@ li.searchfacet {
|
||||
}
|
||||
|
||||
.popup h1 {
|
||||
text-align: center;
|
||||
font-size: large;
|
||||
font-size: large;
|
||||
font-weight: normal;
|
||||
color: orangered;
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
.popup h2 {
|
||||
@@ -2212,9 +2211,9 @@ li.searchfacet {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.popup .close-popup {
|
||||
text-align: center;
|
||||
margin-top: 10px;
|
||||
.popup .hidecover {
|
||||
float: right;
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
.usertable { margin-left: 10px;}
|
||||
|
||||
@@ -146,25 +146,21 @@
|
||||
<div class="login-popup cover-overlay" style="display: none">
|
||||
<div class="cover" onclick="return hidecover(this)"></div>
|
||||
<div class="popup">
|
||||
<a href="#" onclick="return hidecover(this)" class="hidecover">
|
||||
${_("close this window")}
|
||||
</a>
|
||||
<h1 class="cover-msg">${strings.cover_msg}</h1>
|
||||
${login_panel(login_form)}
|
||||
<div class="close-popup">
|
||||
<a href="#" onclick="return hidecover(this)">
|
||||
${_("close this window")}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
%endif
|
||||
<div class="lang-popup cover-overlay" style="display: none">
|
||||
<div class="cover" onclick="return hidecover(this)"></div>
|
||||
<div class="popup">
|
||||
<a href="#" onclick="return hidecover(this)" class="hidecover">
|
||||
${_("close this window")}
|
||||
</a>
|
||||
<%include file="prefoptions.html" />
|
||||
<div style="text-align:center; clear:both;">
|
||||
<a href="#" onclick="return hidecover(this)">
|
||||
${_("close this window")}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
%endif
|
||||
|
||||
Reference in New Issue
Block a user