Add cancel button to login options for later.

This commit is contained in:
Daniel Scalzi 2022-02-08 21:22:24 -05:00
parent 2e0ece9d0b
commit 8b23847c29
No known key found for this signature in database
GPG Key ID: 9E3E2AFE45328AA5
2 changed files with 34 additions and 6 deletions

View File

@ -970,19 +970,15 @@ body, button {
}
#loginOptionsContent {
background: rgba(0, 0, 0, 0.50);
border-radius: 3px;
height: 450px;
width: 350px;
position: relative;
top: -5%;
}
.loginOptionsMainContent {
display: flex;
flex-direction: column;
align-items: center;
position: relative;
height: 100%;
padding-top: 25px;
}
.loginOptionActions {
@ -1016,6 +1012,35 @@ body, button {
text-shadow: 0px 0px 20px white;
}
#loginOptionCancelContainer {
position: absolute;
bottom: -100px;
}
#loginOptionCancelButton {
background: none;
border: none;
padding: 2px 0px;
font-size: 16px;
font-weight: bold;
color: lightgrey;
cursor: pointer;
outline: none;
transition: 0.25s ease;
}
#loginOptionCancelButton:hover,
#loginOptionCancelButton:focus {
text-shadow: 0px 0px 20px lightgrey;
}
#loginOptionCancelButton:active {
text-shadow: 0px 0px 20px rgba(211, 211, 211, 0.75);
color: rgba(211, 211, 211, 0.75);
}
#loginOptionCancelButton:disabled {
color: rgba(211, 211, 211, 0.75);
pointer-events: none;
}
/*******************************************************************************
* *

View File

@ -25,6 +25,9 @@
</button>
</div>
</div>
<div id="loginOptionCancelContainer" style="display: none;">
<button id="loginOptionCancelButton">Cancel</button>
</div>
</div>
</div>
<script src="./assets/js/scripts/loginOptions.js"></script>