mirror of
https://bitbucket.org/grumdrig/pq-web.git
synced 2026-09-29 16:54:04 -06:00
Use image-base windows style close box
This commit is contained in:
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 187 B |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 196 B |
@@ -15,8 +15,8 @@
|
|||||||
|
|
||||||
<div id="titlebar">
|
<div id="titlebar">
|
||||||
<img src="swords.gif">
|
<img src="swords.gif">
|
||||||
<span>Progress Quest</span>
|
<span id="title">Progress Quest</span>
|
||||||
<a id="quit"><div>X</div></a>
|
<a id="quit"><img src="closeup.png"></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="jquery.js"></script>
|
<script src="jquery.js"></script>
|
||||||
|
|||||||
@@ -998,7 +998,7 @@ function LoadCharacter() {
|
|||||||
LoadGame(sheet);
|
LoadGame(sheet);
|
||||||
}
|
}
|
||||||
|
|
||||||
$("#titlebar span").text("Progress Quest - " + GameSaveName());
|
$("#title").text("Progress Quest - " + GameSaveName());
|
||||||
|
|
||||||
if (window.location.href.indexOf("?quit#") > 0)
|
if (window.location.href.indexOf("?quit#") > 0)
|
||||||
$("#quit").click(); // TODO: cheesy
|
$("#quit").click(); // TODO: cheesy
|
||||||
|
|||||||
+1
-1
@@ -23,7 +23,7 @@ input, button { display: inline; }
|
|||||||
<div id="titlebar">
|
<div id="titlebar">
|
||||||
<img src="swords.gif">
|
<img src="swords.gif">
|
||||||
<span>Progress Quest - New Character</span>
|
<span>Progress Quest - New Character</span>
|
||||||
<button id="Cancel">X</button>
|
<a id="quit"><img src="closeup.png"></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="client">
|
<div class="client">
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ $(document).ready(function () {
|
|||||||
$("#Unroll").click(UnrollClick);
|
$("#Unroll").click(UnrollClick);
|
||||||
$("#RandomName").click(GenClick);
|
$("#RandomName").click(GenClick);
|
||||||
$('#Sold').click(sold);
|
$('#Sold').click(sold);
|
||||||
$('#Cancel').click(cancel);
|
$('#quit').click(cancel);
|
||||||
|
|
||||||
//var caption = 'Progress Quest - New Character';
|
//var caption = 'Progress Quest - New Character';
|
||||||
//if (MainForm.GetHostName != '')
|
//if (MainForm.GetHostName != '')
|
||||||
|
|||||||
+6
-23
@@ -86,31 +86,14 @@ th:first-child {
|
|||||||
|
|
||||||
#quit {
|
#quit {
|
||||||
float: right;
|
float: right;
|
||||||
border: solid 1px white;
|
background: url(closedown.png);
|
||||||
border-color: white grey grey white;
|
text-decoration: none;
|
||||||
height: 15px;
|
border: none 0;
|
||||||
text-align: center;
|
margin: 2px 2px 0 0;
|
||||||
background-color: #e7e7e7;
|
|
||||||
color: black;
|
|
||||||
margin: 2px;
|
|
||||||
padding: 1px 3px 1px 3px;
|
|
||||||
cursor: pointer;
|
|
||||||
|
|
||||||
position: relative;
|
|
||||||
display: table;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* http://www.jakpsatweb.cz/css/css-vertical-center-solution.html */
|
#quit:active img {
|
||||||
|
opacity: 0;
|
||||||
#quit div {
|
|
||||||
display: table-cell;
|
|
||||||
vertical-align: middle;
|
|
||||||
width: 100%
|
|
||||||
}
|
|
||||||
|
|
||||||
#quit:active {
|
|
||||||
border-color: #e7e7e7;
|
|
||||||
padding: 2px 2px 0px 4px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.window {
|
.window {
|
||||||
|
|||||||
Reference in New Issue
Block a user