diff --git a/.gitignore b/.gitignore index ec2b36c..e4d4d73 100644 --- a/.gitignore +++ b/.gitignore @@ -78,3 +78,6 @@ fabric.properties .idea/caches/build_file_checksums.ser /Secure/ +/Hidden/ +/AccountCentre/AccountActions/ +/AccountCentre/AccountActions/ diff --git a/Account.php b/Account.php index 26f99d8..08e2c5f 100644 --- a/Account.php +++ b/Account.php @@ -1,3 +1,6 @@ +
diff --git a/AccountApps/AccountManager.html b/AccountApps/AccountManager.html index 50f38c6..fc652d7 100644 --- a/AccountApps/AccountManager.html +++ b/AccountApps/AccountManager.html @@ -9,7 +9,7 @@ NewAppLoaded.onreadystatechange = function () { if (NewAppLoaded.readyState !== 4) return; if (NewAppLoaded.status !== 200) return; - document.getElementById("AppContainer").insertAdjacentHTML("beforeend", NewAppLoaded.responseText); + document.getElementById("AccountManagerBody").insertAdjacentHTML("beforeend", NewAppLoaded.responseText); }; NewAppLoaded.send(); } else { @@ -18,7 +18,7 @@ NewAppLoaded.onreadystatechange = function () { if (NewAppLoaded.readyState !== 4) return; if (NewAppLoaded.status !== 200) return; - document.getElementById("AppContainer").insertAdjacentHTML("beforeend", NewAppLoaded.responseText); + document.getElementById("AccountManagerBody").insertAdjacentHTML("beforeend", NewAppLoaded.responseText); }; NewAppLoaded.send(); } diff --git a/AccountCentre/AccountCentre.css b/AccountCentre/AccountCentre.css new file mode 100644 index 0000000..0dbd6f5 --- /dev/null +++ b/AccountCentre/AccountCentre.css @@ -0,0 +1,217 @@ +body{ + background-image: linear-gradient(to bottom,#245a80 10vh,transparent 90vh ), linear-gradient(to bottom right, #063657,#031d2e ); + background-size: cover; + background-repeat: no-repeat; + margin: 0; + padding: 0; + height: 100vh; +} +.HotbarWrapper{ + overflow-x: clip; + transition: 0.5s; + width: 100vw; + height: 9vh; + display: flex; + justify-content: space-between; + align-items: center; + align-content: center; + box-shadow: #121e29 0 0 5vh; + background-image: linear-gradient(to bottom,rgba(52, 184, 254,0.3) ,rgba(52, 184, 254,0.5),rgba(22, 144, 254,0.25),rgba(12, 64, 124,0.5)); + border-bottom: #8cefff 0.3vh solid; +} +.Logo{ + margin-left:1vh; + transition: 0.25s; + padding-right:1vh; + background-image: url("Logo.png"); + background-repeat: no-repeat; + background-size: contain; + width: 8vh; + height:8vh; + } +.ErrorMessageWrapper{ + display: flex; + position: absolute; + justify-content: center; + align-items: center; + align-content: center; + flex-direction: column; + width: 50vw; + height: 50vh; + top: 50vh; + left:50vw; + transform: translate(-50%,-50%); +} +.ErrorMessageImage{ + background-image: url("../GeneralAssets/mascotchibi/chibilost.png"); + background-repeat: no-repeat; + background-size: 15vh; + transition: 0.25s; + min-width: 15vh !important; + min-height: 16.875vh !important; + image-rendering: pixelated; + +} +.ErrorMessage:hover{ + .ErrorMessageImage{ + transform: scale(1); + max-width: 12.86vh !important; + min-height: 17.875vh !important; + background-position-y: 105%; + background-image: url("../GeneralAssets/mascotchibi/chibiquestion.png"); + } +} +.ErrorMessage{ + padding: 2vh; + filter: drop-shadow(0 0.5vh 3vh #8cefff); + border-top: #8cefff 0.3vh solid; + border-left: #8cefff 0.3vh solid; + border-right: rgba(32,120,155,1) 0.3vh solid; + border-bottom: rgba(32,120,155,1) 0.3vh solid; + text-shadow: #223342 0 0 2vh; + background-image:linear-gradient(to bottom right,rgba(100, 124, 254,0.0),rgba(100, 124, 254,0.3) ,rgba(100, 124, 254,0.0),rgba(100, 124, 254,0.0),rgba(100, 124, 254,0.25)), linear-gradient(to bottom,rgba(52, 184, 254,0.4),rgba(52, 184, 254,0.0) ,rgba(52, 184, 254,0.3),rgba(22, 144, 254,0.15),rgba(12, 64, 124,0.25)); + border-radius: 5vh; + display: flex; + align-content: center; + justify-content: center; + align-items: center; + transition: 0.25s; + user-select: none; + font-family: "Arial", serif; + font-weight: bolder; + color:white; + font-size: 4vh; + text-align: center; +} +.LogInButtonWrapper{ + transform: scale(1.5); + margin-top: 5vh; + display: flex; + justify-content: center; + align-items: center; + align-content: center; + flex-direction: row; +} +.HotbarWrapper:hover{ + .Logo{ + height:9vh; + width: 9vh; + } + .Title{ + font-size: 4.5vh; + } + .HotbarButton{ + height: 7vh; + } + .AccountIcon{ + margin-left:1vh; + transition: 0.25s; + margin-right:1vh; + width: 9vh; + height:9vh; + } + height: 12vh; +} +.AccountIcon:hover{ + transform: scale(1.2) translateY(0); + filter: drop-shadow(0 0 2vh #8cefff); + } +.AccountIcon{ + border-style: inset; + border-top: #8cefff 0.5vh solid; + border-left: #8cefff 0.5vh solid; + border-bottom: none; + border-right: none; + filter: drop-shadow(-1vh -1vh 1vh #8cefff); + margin-left:1vh; + transition: 0.25s; + margin-right:1vh; + border-radius: 4vh; + background-image: linear-gradient(to bottom, rgba(100,200,255,0.5), rgba(100,200,255,0.25), rgba(100,200,255,0.15), rgba(100,200,255,0.35)); + width: 8vh; + height:8vh; +} +.Logo:hover{ + transform: scale(1.2) translateY(0); + filter: drop-shadow(0 0 2vh #8cefff); +} +.HotbarButton:hover{ + cursor: pointer; + margin-right: 2vh; + width:22.5vh; + height: 7vh; + filter: drop-shadow(0 0 2vh #8cefff); + transform: scale(1.1) translateY(1%); + border-top: #8cefff 0.3vh solid; + border-left: #8cefff 0.3vh solid; + border-bottom: none; + border-right: none; +} +.HotbarButton{ + border: none; + user-select: none; + transition: 0.25s; + margin-right: 1vh; + margin-left: 1vh; + display: flex; + justify-content: center; + flex-direction: row; + align-content: center; + align-items: center; + font-family: "Arial", serif; + font-weight: bolder; + font-size: 4vh; + width: 20vh; + height: 6vh; + border-radius: 5vh; + color:white; + text-shadow: #8cefff 0vh 0vh 0vh; + background-image: linear-gradient(to bottom, rgba(100,200,255,0.5), rgba(100,200,255,0.25), rgba(100,200,255,0.15), rgba(100,200,255,0.35)); + border-bottom: #8cefff 0.3vh solid; + border-right: #8cefff 0.3vh solid; +} +.HotbarSection{ + display: flex; + justify-content: center; + flex-direction: row; + height: 8vh; + align-content: center; + align-items: center; +} +.Title:hover{ + text-shadow: #8cefff 0vh 0vh 2vh; +} +.FormWindowContainer{ + background: transparent; + width: 100vw; + height: 100vh; + position: absolute; + top: 0; + left: 0; + padding: 0; + margin: 0; + overflow: hidden; + pointer-events: none; +} +.Title{ + transition: 0.25s; + text-shadow: #8cefff 0vh 0vh 0vh; + user-select: none; + font-family: "Arial", serif; + font-weight: bolder; + color:white; + font-size: 4vh; +} +.Copyright{ + border-radius: 5vh; + position: fixed; + left: 0; + bottom: 0; + z-index: 100; + user-select: none; + transition: ease-in-out .3s; + font-family: "Arial", serif; + font-size: 2vh; + text-align: center; + color: white; +} \ No newline at end of file diff --git a/AccountCentre/AccountCentre.php b/AccountCentre/AccountCentre.php new file mode 100644 index 0000000..83c1e8b --- /dev/null +++ b/AccountCentre/AccountCentre.php @@ -0,0 +1 @@ +