Clicking outisde popup dialog box closes it. Grow() time is now based on hacking level

This commit is contained in:
Daniel Xie
2017-05-24 08:49:52 -05:00
parent f756f09dbe
commit 5c16759908
5 changed files with 34 additions and 16 deletions
+2 -1
View File
@@ -4,7 +4,7 @@
#dialog-box-container {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
z-index: 2; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
@@ -15,6 +15,7 @@
}
#dialog-box-content {
z-index: 2;
background-color: black;
margin: 20% auto; /* 20% from the top and centered */
padding: 10px;