From 8b23847c2924f8d73f8e151575756f25d7077b87 Mon Sep 17 00:00:00 2001 From: Daniel Scalzi Date: Tue, 8 Feb 2022 21:22:24 -0500 Subject: [PATCH] Add cancel button to login options for later. --- app/assets/css/launcher.css | 37 +++++++++++++++++++++++++++++++------ app/loginOptions.ejs | 3 +++ 2 files changed, 34 insertions(+), 6 deletions(-) diff --git a/app/assets/css/launcher.css b/app/assets/css/launcher.css index b57a8559..e67984e4 100644 --- a/app/assets/css/launcher.css +++ b/app/assets/css/launcher.css @@ -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; +} + /******************************************************************************* * * diff --git a/app/loginOptions.ejs b/app/loginOptions.ejs index 89bcb97f..36af37e0 100644 --- a/app/loginOptions.ejs +++ b/app/loginOptions.ejs @@ -25,6 +25,9 @@ +