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:
Neil Williams
2012-12-09 13:10:19 -08:00
parent f01095c5a3
commit 0776e39668
2 changed files with 11 additions and 16 deletions

View File

@@ -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;}

View File

@@ -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