💄 Updating the UI and style files.

This commit is contained in:
WispX
2020-07-15 11:05:18 +08:00
parent a12ef5fd60
commit 8093181585
3 changed files with 7 additions and 4 deletions
+5 -2
View File
@@ -24,8 +24,11 @@
<script src="https://cdn.jsdelivr.net/npm/jquery@3.3.1/dist/jquery.min.js"></script>
<script>
$('#login-btn').click(function () {
$(this).hide();
$('body').addClass('fade')
$('#login-box').css('display', 'flex')
setTimeout(function () {
$(this).hide();
$('body').addClass('fade')
}.bind(this), 60)
});
$('#login').click(function () {
$.ajax({
+1 -1
View File
@@ -116,7 +116,7 @@ body #mask {
transition: all 1s;
}
#login-box {
display: flex;
display: none;
flex-direction: column;
max-width: 500px;
max-height: 300px;
+1 -1
View File
@@ -89,7 +89,7 @@ body, body #mask {
}
#login-box {
display: flex;
display: none;
flex-direction: column;
max-width: 500px;
max-height: 300px;