From e16024ff43a89c1c19887c08792596f4175ef9b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Tue, 6 Feb 2024 19:23:06 +0100 Subject: [PATCH 01/51] test --- assets/style.css | 8 ++++---- templates/footer.html | 4 +++- templates/skeleton.html | 6 +++--- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/assets/style.css b/assets/style.css index f84989a..e7831f3 100644 --- a/assets/style.css +++ b/assets/style.css @@ -251,11 +251,11 @@ table.list-table > tbody, table.list-table > tbody > th, table.list-table > tbod width: 175px; } -#pagearea { +#pagearea_container { flex-grow: 1; } -#navbar, #footer { +nav, footer { padding: 1.2rem 1rem; background-color: rgba(0, 0, 0, 0.2); -webkit-box-shadow: 0 20px 28px 0 rgba(0,0,0,0.2); @@ -263,12 +263,12 @@ table.list-table > tbody, table.list-table > tbody > th, table.list-table > tbod box-shadow: 0 20px 28px 0 rgba(0,0,0,0.2); } -#navbar { +#navbar_container { height: 75px !important; position: relative; z-index: 500; } -#navbar, #pagearea, #footer { +#navbar_container, #pagearea_container, #footer_container { width: 100%; } \ No newline at end of file diff --git a/templates/footer.html b/templates/footer.html index f95b076..f4a3e6a 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -1 +1,3 @@ -

Toto nie je oficiálna stránka Adlerky, jedná sa o neoficiálnu študentskú stránku

\ No newline at end of file + \ No newline at end of file diff --git a/templates/skeleton.html b/templates/skeleton.html index d01550c..89ffb06 100644 --- a/templates/skeleton.html +++ b/templates/skeleton.html @@ -12,13 +12,13 @@ Adlerka __TEMPLATE_PAGE_TITLE__ - \ No newline at end of file From 30ead7c46965ff1d3dd5873f348306238babe7ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Tue, 6 Feb 2024 20:52:27 +0100 Subject: [PATCH 21/51] Fix error pages --- lib/page.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/page.php b/lib/page.php index f9a380a..df1a4db 100644 --- a/lib/page.php +++ b/lib/page.php @@ -99,11 +99,12 @@ function renderPage($page_name = null, $site_name = null): array else{ $page_tmp = file_get_contents($routerConfig["template_dir"] . "403.html"); $pageMetadata = parsePageTag($page_tmp); - $page = str_replace("__DEFAULT_LINK__", "/" . $routerConfig["default_site"] . "/" . $routerConfig["default_page"], $pageMetadata["output"]); + $page = $pageMetadata["output"]; http_response_code(403); } } + $page = str_replace("__DEFAULT_LINK__", "/" . $routerConfig["default_site"] . "/" . $routerConfig["default_page"], $page); if(!is_string($page)){ $page = ""; } From 6fe20be1875b69c8d70e38e416b807e2f6af827e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Tue, 6 Feb 2024 20:53:57 +0100 Subject: [PATCH 22/51] Fix js --- assets/script.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/assets/script.js b/assets/script.js index 4c72c00..176843c 100644 --- a/assets/script.js +++ b/assets/script.js @@ -5,8 +5,7 @@ const navLinks = document.getElementById("navsite_list") toggleButton.addEventListener('click', () => { navLinks.classList.toggle("active") }) -async -function handleResponse(data, successMessage, failureMessage) { +async function handleResponse(data, successMessage, failureMessage) { const statusMessageContainer = document.getElementById("statusMessageContainer"); const statusMessage = document.createElement("div"); @@ -344,7 +343,7 @@ async function getUserInfo() { doAction('/account', data, "User info retrieved Successfully!", "User info retrieval failed.", true) .then((result) => { if (result && result.Status === "Success") { UserInfo = result.UserInfo; - UserInfo.forEach(function callback(value, index) { + result.UserInfo.forEach(function callback(value, index) { localStorage.setItem("UserInfo_" + index, value); }); } From 34fbecdbad0d8a841eaf641d512c7eacfa023009 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Tue, 6 Feb 2024 20:55:33 +0100 Subject: [PATCH 23/51] Fix js --- lib/page.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/page.php b/lib/page.php index df1a4db..a9e8b91 100644 --- a/lib/page.php +++ b/lib/page.php @@ -146,11 +146,11 @@ function getPage($site_name_in = null, $page_name_in = null): string ]; if(isLoggedIn()){ $dynamic_script_data += [ - "UserInfo_FirstName" => $_SESSION["FirstName"], - "UserInfo_LastName" => $_SESSION["LastName"], - "UserInfo_Nickname" => $_SESSION["Nickname"], - "UserInfo_Email" => $_SESSION["Email"], - "UserInfo_MinecraftNick" => $_SESSION["MinecraftNick"], + "UserInfo_FirstName" => $_SESSION["first_name"], + "UserInfo_LastName" => $_SESSION["last_name"], + "UserInfo_Nickname" => $_SESSION["nickname"], + "UserInfo_Email" => $_SESSION["email"], + "UserInfo_MinecraftNick" => $_SESSION["minecraft_nickname"], ]; } $dynamic_script = generateScriptData($dynamic_script_data); From 77e8cfe3ea1d28bba35c8ef289a45634de274d72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Tue, 6 Feb 2024 20:57:25 +0100 Subject: [PATCH 24/51] Fix js --- assets/script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/script.js b/assets/script.js index 176843c..584a07d 100644 --- a/assets/script.js +++ b/assets/script.js @@ -1,4 +1,4 @@ -let UserInfo; +let UserInfo = {}; const toggleButton = document.getElementById("toggle_button") const navLinks = document.getElementById("navsite_list") @@ -342,9 +342,9 @@ async function getUserInfo() { doAction('/account', data, "User info retrieved Successfully!", "User info retrieval failed.", true) .then((result) => { if (result && result.Status === "Success") { - UserInfo = result.UserInfo; result.UserInfo.forEach(function callback(value, index) { localStorage.setItem("UserInfo_" + index, value); + UserInfo[index] = value; }); } }); From ee3d2810c0e6f3cafc0d24be5a7e5c7e77b9bcd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Tue, 6 Feb 2024 20:58:14 +0100 Subject: [PATCH 25/51] Fix js --- assets/script.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/assets/script.js b/assets/script.js index 584a07d..8173a66 100644 --- a/assets/script.js +++ b/assets/script.js @@ -1,10 +1,4 @@ let UserInfo = {}; -const toggleButton = document.getElementById("toggle_button") -const navLinks = document.getElementById("navsite_list") - -toggleButton.addEventListener('click', () => { - navLinks.classList.toggle("active") -}) async function handleResponse(data, successMessage, failureMessage) { const statusMessageContainer = document.getElementById("statusMessageContainer"); @@ -154,6 +148,12 @@ async function initAjax() { } }); }); + const toggleButton = document.getElementById("toggle_button") + const navLinks = document.getElementById("navsite_list") + + toggleButton.addEventListener('click', () => { + navLinks.classList.toggle("active") + }) await onPageLoad(); } From d9fbd61cddfcdc96f6198e93eba194bb8566f3c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Tue, 6 Feb 2024 20:59:03 +0100 Subject: [PATCH 26/51] Fix js --- assets/script.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/assets/script.js b/assets/script.js index 8173a66..a162963 100644 --- a/assets/script.js +++ b/assets/script.js @@ -25,8 +25,7 @@ async function handleResponse(data, successMessage, failureMessage) { } async function showDashboardGreeting() { - let FirstName = localStorage.getItem("FirstName"); - document.getElementById("welcomeMsg").innerText = `Ahoj, ${FirstName}.`; + document.getElementById("welcomeMsg").innerText = `Ahoj, ${UserInfo.FirstName}.`; } async function doAction(url, requestData, successMessage, failureMessage, silent = false) { From d2a057d10559b9e2faec64774f2d711501017e0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Tue, 6 Feb 2024 21:07:11 +0100 Subject: [PATCH 27/51] add favicon --- assets/images/favicon.png | Bin 0 -> 11633 bytes templates/skeleton.html | 1 + 2 files changed, 1 insertion(+) create mode 100644 assets/images/favicon.png diff --git a/assets/images/favicon.png b/assets/images/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..8b314a5680f2050ce2f37713c46e4030e6b8fef6 GIT binary pat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9|t6w5HT@A$_=7XJSyNV@zha8x!>XTU`Xv9X)>WV7@#pxmG)rO+`&1UT4fvKWMeAs42JOF&g#w|qy5*QH8O;r2@pvx vZ_RxfBavib94b#Yc=&!j;LrV@57_??mV-G~f%00000NkvXXu0mjfZBHga literal 0 HcmV?d00001 diff --git a/templates/skeleton.html b/templates/skeleton.html index fec4d33..054136a 100644 --- a/templates/skeleton.html +++ b/templates/skeleton.html @@ -5,6 +5,7 @@ + __TEMPLATE__DYNAMIC__SCRIPT__ __TEMPLATE__DYNAMIC__STYLE__ From e369d2f4de2111453358edd014c4ea7a66e58fa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Tue, 6 Feb 2024 21:09:33 +0100 Subject: [PATCH 28/51] Make first one silent --- assets/script.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/assets/script.js b/assets/script.js index a162963..fee1bf8 100644 --- a/assets/script.js +++ b/assets/script.js @@ -167,8 +167,8 @@ async function onPageLoad(){ await populateUserInfoFields(UserInfo); } if(document.getElementById("admin-settings")){ - await listActivationCodes(); - await listUsers(); + await listActivationCodes(true); + await listUsers(true); } } if(currentSite === "home" && currentPage === "account") { @@ -367,12 +367,12 @@ async function addActivationCodes() { }); } -async function listUsers() { +async function listUsers(silent=false) { const data = { action: "list_users", }; - doAction('/account', data, "User list retrieved Successfully!", "User list retrieval failed.").then((result) => { + doAction('/account', data, "User list retrieved Successfully!", "User list retrieval failed.", silent).then((result) => { if (result && result.Status === "Success") { displayList(result.Users, "userListTable", deleteUser); @@ -380,12 +380,12 @@ async function listUsers() { }); } -async function listActivationCodes() { +async function listActivationCodes(silent=false) { const data = { action: "list_activation_codes", }; - doAction('/account', data, "Activation code list retrieved Successfully!", "Activation code list retrieval failed.").then((result) => { + doAction('/account', data, "Activation code list retrieved Successfully!", "Activation code list retrieval failed.", silent).then((result) => { displayList(result.ActivationCodes, "codeListTable", deleteActivationCode); }); } From e6de882141024bef3fe4867c1295b2cb78296a8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Tue, 6 Feb 2024 21:10:35 +0100 Subject: [PATCH 29/51] Fix statusmessages --- assets/style.css | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/assets/style.css b/assets/style.css index 24e9b67..51ff740 100644 --- a/assets/style.css +++ b/assets/style.css @@ -232,11 +232,16 @@ ul.navpage_list } } -.status-message { +#statusMessageContainer{ position: fixed; top: 20px; right: 20px; - z-index: 9999; + z-index: 10; + display: flex; + flex-direction: column; +} + +.status-message { background-color: #dff0d8; /* Success background color */ border: 1px solid #3c763d; /* Success border color */ color: #3c763d; /* Success text color */ From 6458ab82a1af21eea578fbecfbe16cbe02380118 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Tue, 6 Feb 2024 21:11:37 +0100 Subject: [PATCH 30/51] Make statusmessage disappear sooner --- assets/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/script.js b/assets/script.js index fee1bf8..c68b6ec 100644 --- a/assets/script.js +++ b/assets/script.js @@ -21,7 +21,7 @@ async function handleResponse(data, successMessage, failureMessage) { setTimeout(() => { statusMessage.remove(); }, 500); - }, 3000); + }, 2000); } async function showDashboardGreeting() { From a9a04f3300caad5fb477d5701ea11bd13939fd17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Tue, 6 Feb 2024 21:13:37 +0100 Subject: [PATCH 31/51] Fix input styling --- assets/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/style.css b/assets/style.css index 51ff740..1fe4c0c 100644 --- a/assets/style.css +++ b/assets/style.css @@ -299,9 +299,9 @@ header a,.error-code color:var(--primary); } -#loginForm input,#register_Form input +input { - background:none; + background-color: var(--secondary-bg); border:2px solid var(--primary); border-radius:50px; width:175px; From e9d64554c1941c727093b4c96cd1166a95e1f5ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Tue, 6 Feb 2024 21:13:59 +0100 Subject: [PATCH 32/51] Fix input styling --- assets/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/style.css b/assets/style.css index 1fe4c0c..8530551 100644 --- a/assets/style.css +++ b/assets/style.css @@ -301,7 +301,7 @@ header a,.error-code input { - background-color: var(--secondary-bg); + background-color: var(--third-bg); border:2px solid var(--primary); border-radius:50px; width:175px; From 53f673c651177643cb2f23892ccbf19b7b23a656 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Tue, 6 Feb 2024 21:14:17 +0100 Subject: [PATCH 33/51] Fix input styling --- assets/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/style.css b/assets/style.css index 8530551..5255fdf 100644 --- a/assets/style.css +++ b/assets/style.css @@ -299,7 +299,7 @@ header a,.error-code color:var(--primary); } -input +input, button { background-color: var(--third-bg); border:2px solid var(--primary); From b090c40747c4e94e215f3c39a5470dffb88d795f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Tue, 6 Feb 2024 21:14:55 +0100 Subject: [PATCH 34/51] Fix input styling --- assets/style.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/assets/style.css b/assets/style.css index 5255fdf..709881c 100644 --- a/assets/style.css +++ b/assets/style.css @@ -304,5 +304,9 @@ input, button background-color: var(--third-bg); border:2px solid var(--primary); border-radius:50px; +} + +input +{ width:175px; } \ No newline at end of file From 2a8cf98e5f89ea54554bd55bc10fa028b0320811 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Tue, 6 Feb 2024 21:15:49 +0100 Subject: [PATCH 35/51] Fix input styling --- assets/style.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/assets/style.css b/assets/style.css index 709881c..957af72 100644 --- a/assets/style.css +++ b/assets/style.css @@ -299,13 +299,18 @@ header a,.error-code color:var(--primary); } -input, button +input { background-color: var(--third-bg); border:2px solid var(--primary); border-radius:50px; } +button{ + background-color: var(--third-bg); + color: var(--primary-text); +} + input { width:175px; From bfbdfac8a35f565f7621904a472eefc0aaa7529e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Tue, 6 Feb 2024 21:16:30 +0100 Subject: [PATCH 36/51] Fix input styling --- assets/style.css | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/style.css b/assets/style.css index 957af72..7196494 100644 --- a/assets/style.css +++ b/assets/style.css @@ -309,6 +309,7 @@ input button{ background-color: var(--third-bg); color: var(--primary-text); + border:2px solid var(--primary); } input From 808848250b41ef154f1d77260df3cc5d63f10c8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Tue, 6 Feb 2024 21:49:59 +0100 Subject: [PATCH 37/51] Test CSS --- assets/style.css | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/style.css b/assets/style.css index 7196494..b9b131b 100644 --- a/assets/style.css +++ b/assets/style.css @@ -214,6 +214,7 @@ ul.navpage_list } #navsite_list { display: none; + position: fixed; flex-direction: column; } From 74f249f5e05baca7e40a13026c4c41fae9f2b9ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Tue, 6 Feb 2024 21:50:55 +0100 Subject: [PATCH 38/51] Test CSS --- assets/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/style.css b/assets/style.css index b9b131b..d032d47 100644 --- a/assets/style.css +++ b/assets/style.css @@ -104,7 +104,7 @@ nav justify-content:space-between; } -nav,footer +nav,footer, #navsite_list { -moz-box-shadow:0 20px 28px 0 rgba(0,0,0,0.2); -webkit-box-shadow:0 20px 28px 0 rgba(0,0,0,0.2); From 564dde301cc6354fded934e283680d73f7162cab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Tue, 6 Feb 2024 21:52:09 +0100 Subject: [PATCH 39/51] Test CSS --- assets/style.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/assets/style.css b/assets/style.css index d032d47..8399323 100644 --- a/assets/style.css +++ b/assets/style.css @@ -104,7 +104,7 @@ nav justify-content:space-between; } -nav,footer, #navsite_list +nav,footer { -moz-box-shadow:0 20px 28px 0 rgba(0,0,0,0.2); -webkit-box-shadow:0 20px 28px 0 rgba(0,0,0,0.2); @@ -209,6 +209,12 @@ ul.navpage_list } @media (max-width: 1050px) { + #navsite_list.active{ + -moz-box-shadow:0 20px 28px 0 rgba(0,0,0,0.2); + -webkit-box-shadow:0 20px 28px 0 rgba(0,0,0,0.2); + background-color:rgba(0,0,0,0.2); + box-shadow:0 20px 28px 0 rgba(0,0,0,0.2); + } #toggle_button { display: flex; } From 87e1c884452b42c6e30a0916b205bc621cf42346 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Tue, 6 Feb 2024 21:56:13 +0100 Subject: [PATCH 40/51] Test CSS --- assets/style.css | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/assets/style.css b/assets/style.css index 8399323..57863f7 100644 --- a/assets/style.css +++ b/assets/style.css @@ -102,6 +102,7 @@ nav display:flex; flex-direction:row; justify-content:space-between; + height: 55px; } nav,footer @@ -209,12 +210,6 @@ ul.navpage_list } @media (max-width: 1050px) { - #navsite_list.active{ - -moz-box-shadow:0 20px 28px 0 rgba(0,0,0,0.2); - -webkit-box-shadow:0 20px 28px 0 rgba(0,0,0,0.2); - background-color:rgba(0,0,0,0.2); - box-shadow:0 20px 28px 0 rgba(0,0,0,0.2); - } #toggle_button { display: flex; } @@ -230,6 +225,10 @@ ul.navpage_list #navsite_list.active { display: flex; + -moz-box-shadow:0 20px 28px 0 rgba(0,0,0,0.2); + -webkit-box-shadow:0 20px 28px 0 rgba(0,0,0,0.2); + background-color:rgba(0,0,0,0.2); + box-shadow:0 20px 28px 0 rgba(0,0,0,0.6); } nav { From 4bd066e7555bd4b7ab23a3a61c4eaca68b986a57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Tue, 6 Feb 2024 21:57:53 +0100 Subject: [PATCH 41/51] Test CSS --- assets/style.css | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/assets/style.css b/assets/style.css index 57863f7..846263b 100644 --- a/assets/style.css +++ b/assets/style.css @@ -107,10 +107,10 @@ nav nav,footer { - -moz-box-shadow:0 20px 28px 0 rgba(0,0,0,0.2); - -webkit-box-shadow:0 20px 28px 0 rgba(0,0,0,0.2); - background-color:rgba(0,0,0,0.2); - box-shadow:0 20px 28px 0 rgba(0,0,0,0.2); + -moz-box-shadow:0 20px 28px 0 rgba(0,0,0,0.6); + -webkit-box-shadow:0 20px 28px 0 rgba(0,0,0,0.6); + background-color:rgba(0,0,0,0.6); + box-shadow:0 20px 28px 0 rgba(0,0,0,0.6); padding:1.2rem 1rem; } @@ -225,10 +225,12 @@ ul.navpage_list #navsite_list.active { display: flex; - -moz-box-shadow:0 20px 28px 0 rgba(0,0,0,0.2); - -webkit-box-shadow:0 20px 28px 0 rgba(0,0,0,0.2); - background-color:rgba(0,0,0,0.2); + -moz-box-shadow:0 20px 28px 0 rgba(0,0,0,0.6); + -webkit-box-shadow:0 20px 28px 0 rgba(0,0,0,0.6); + background-color:rgba(0,0,0,0.6); box-shadow:0 20px 28px 0 rgba(0,0,0,0.6); + top: 80px; + width: 100%; } nav { From da52afa2ff452b8a41e57ea24d35dfb890909d32 Mon Sep 17 00:00:00 2001 From: AkisYTB3 Date: Wed, 7 Feb 2024 08:00:11 +0100 Subject: [PATCH 42/51] test --- assets/style.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/assets/style.css b/assets/style.css index 846263b..9531d9d 100644 --- a/assets/style.css +++ b/assets/style.css @@ -320,7 +320,9 @@ button{ border:2px solid var(--primary); } -input -{ - width:175px; +.form-container input { + border-radius: 50px; + background: none; + border: 2px solid var(--primary); + width: 175px; } \ No newline at end of file From dfefcd2f51bf186a61cc0f4efaedbfc864ad4e6e Mon Sep 17 00:00:00 2001 From: AkisYTB3 Date: Wed, 7 Feb 2024 08:01:02 +0100 Subject: [PATCH 43/51] testsadf --- assets/style.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/assets/style.css b/assets/style.css index 9531d9d..3dfd344 100644 --- a/assets/style.css +++ b/assets/style.css @@ -315,9 +315,10 @@ input } button{ - background-color: var(--third-bg); - color: var(--primary-text); - border:2px solid var(--primary); + border-radius: 50px; + background: none; + border: 2px solid var(--primary); + width: 175px; } .form-container input { From 36bde74d239c7a2f3038b9825994c372946bc63e Mon Sep 17 00:00:00 2001 From: AkisYTB3 Date: Wed, 7 Feb 2024 08:06:55 +0100 Subject: [PATCH 44/51] test --- assets/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/style.css b/assets/style.css index 3dfd344..390cce6 100644 --- a/assets/style.css +++ b/assets/style.css @@ -242,9 +242,9 @@ ul.navpage_list #statusMessageContainer{ position: fixed; - top: 20px; + top: 50px; right: 20px; - z-index: 10; + z-index: 510; display: flex; flex-direction: column; } From cb4f476c51b3ce69d6b420c3175419a4c29194ca Mon Sep 17 00:00:00 2001 From: AkisYTB3 Date: Wed, 7 Feb 2024 08:07:45 +0100 Subject: [PATCH 45/51] adf --- assets/style.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/assets/style.css b/assets/style.css index 390cce6..5aef16a 100644 --- a/assets/style.css +++ b/assets/style.css @@ -242,7 +242,7 @@ ul.navpage_list #statusMessageContainer{ position: fixed; - top: 50px; + top: 80px; right: 20px; z-index: 510; display: flex; @@ -316,7 +316,6 @@ input button{ border-radius: 50px; - background: none; border: 2px solid var(--primary); width: 175px; } From 206f2d9f3b6509f3501f4f0eb4d9c3fcb9790a20 Mon Sep 17 00:00:00 2001 From: AkisYTB3 Date: Wed, 7 Feb 2024 08:27:55 +0100 Subject: [PATCH 46/51] asd --- assets/style.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/style.css b/assets/style.css index 5aef16a..b6c972a 100644 --- a/assets/style.css +++ b/assets/style.css @@ -317,6 +317,8 @@ input button{ border-radius: 50px; border: 2px solid var(--primary); + background: none; + color: var(--primary-text); width: 175px; } From 7455607455c29486abf5665938d14092b4c7cbcd Mon Sep 17 00:00:00 2001 From: AkisYTB3 Date: Wed, 7 Feb 2024 08:29:48 +0100 Subject: [PATCH 47/51] test --- assets/style.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/assets/style.css b/assets/style.css index b6c972a..34eb0a7 100644 --- a/assets/style.css +++ b/assets/style.css @@ -317,9 +317,15 @@ input button{ border-radius: 50px; border: 2px solid var(--primary); - background: none; + background: #38383800; color: var(--primary-text); width: 175px; + transition-duration: 0.3s; +} + +button:hover { + background: #383838; + transition-duration: 0.3s; } .form-container input { From a536b8dfb6f5c3b0743fac595aa58488dd0d718a Mon Sep 17 00:00:00 2001 From: AkisYTB3 Date: Wed, 7 Feb 2024 08:30:53 +0100 Subject: [PATCH 48/51] asdf --- assets/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/style.css b/assets/style.css index 34eb0a7..ed91cd9 100644 --- a/assets/style.css +++ b/assets/style.css @@ -317,14 +317,14 @@ input button{ border-radius: 50px; border: 2px solid var(--primary); - background: #38383800; + background: var(--third-bg); color: var(--primary-text); width: 175px; transition-duration: 0.3s; } button:hover { - background: #383838; + background: var(--primary); transition-duration: 0.3s; } From 279c152e39d615a451c4b6eb010e2e0c1dc0024c Mon Sep 17 00:00:00 2001 From: AkisYTB3 Date: Wed, 7 Feb 2024 08:39:55 +0100 Subject: [PATCH 49/51] pls fix --- assets/style.css | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/style.css b/assets/style.css index ed91cd9..acfc5e2 100644 --- a/assets/style.css +++ b/assets/style.css @@ -196,6 +196,7 @@ ul.navpage_list { display:flex; flex-direction:row; + width: inherit; gap:3.25rem; } From 9134b8fe72be9157bcd386722fcc6a7983a4b7ee Mon Sep 17 00:00:00 2001 From: AkisYTB3 Date: Wed, 7 Feb 2024 08:41:20 +0100 Subject: [PATCH 50/51] asdf --- assets/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/style.css b/assets/style.css index acfc5e2..ecc299a 100644 --- a/assets/style.css +++ b/assets/style.css @@ -192,7 +192,7 @@ ul.navpage_list max-height:0; transition-delay:.1s; } -#navsite_list +#navsite_list, .navsite_list { display:flex; flex-direction:row; @@ -231,7 +231,7 @@ ul.navpage_list background-color:rgba(0,0,0,0.6); box-shadow:0 20px 28px 0 rgba(0,0,0,0.6); top: 80px; - width: 100%; + width: inherit; } nav { From 457bdfae7ba8d04668f6d85be537982b9fcb96ac Mon Sep 17 00:00:00 2001 From: AkisYTB3 Date: Wed, 7 Feb 2024 08:42:30 +0100 Subject: [PATCH 51/51] wre --- assets/style.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/assets/style.css b/assets/style.css index ecc299a..84a0b4e 100644 --- a/assets/style.css +++ b/assets/style.css @@ -196,7 +196,7 @@ ul.navpage_list { display:flex; flex-direction:row; - width: inherit; + width: 100%; gap:3.25rem; } @@ -218,10 +218,12 @@ ul.navpage_list display: none; position: fixed; flex-direction: column; + width: 100%; } #navsite_list li { text-align: center; + width: 100%; } #navsite_list.active { @@ -231,7 +233,7 @@ ul.navpage_list background-color:rgba(0,0,0,0.6); box-shadow:0 20px 28px 0 rgba(0,0,0,0.6); top: 80px; - width: inherit; + width: 100%; } nav {