From 93b89020529a989650ca374185108475f0b826cb Mon Sep 17 00:00:00 2001 From: xbubbo Date: Sun, 11 Feb 2024 14:34:19 -0500 Subject: [PATCH 01/61] Made Topbar smaller + Hidden on fullscreen --- static/assets/scripts/frame.js | 4 + static/assets/styles/frame.css | 16 +++- static/go.html | 4 +- static/now.html | 132 --------------------------------- 4 files changed, 20 insertions(+), 136 deletions(-) delete mode 100644 static/now.html diff --git a/static/assets/scripts/frame.js b/static/assets/scripts/frame.js index d1be2ec14..6f98e937f 100644 --- a/static/assets/scripts/frame.js +++ b/static/assets/scripts/frame.js @@ -68,3 +68,7 @@ window.onload = function () { iframe.src = GoUrl } } +document.addEventListener('fullscreenchange', function () { + const isFullscreen = Boolean(document.fullscreenElement); + document.body.classList.toggle('fullscreen', isFullscreen); +}); diff --git a/static/assets/styles/frame.css b/static/assets/styles/frame.css index b766252b1..85922a28e 100644 --- a/static/assets/styles/frame.css +++ b/static/assets/styles/frame.css @@ -10,7 +10,7 @@ iframe { height: 100vh; width: 100vw; position: absolute; - top: 10vh; + top: 8%; bottom: 0; left: 0; right: 0; @@ -22,7 +22,7 @@ iframe { top: 0%; left: 0; right: 0; - min-height: 10vh; + min-height: 8%; padding: 0 25px; background: var(--main); box-sizing: border-box; @@ -98,3 +98,15 @@ iframe { font-size: 3vh; transform: translateX(-20%); } + +.fullscreen .nav-bar { + display: none; +} + +.fullscreen #ifra { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; +} \ No newline at end of file diff --git a/static/go.html b/static/go.html index af3b5ad19..de4889b60 100644 --- a/static/go.html +++ b/static/go.html @@ -43,7 +43,6 @@ + allowfullscreen + > diff --git a/static/now.html b/static/now.html deleted file mode 100644 index 09694ef69..000000000 --- a/static/now.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - Home - - - - - - - - - - - - - - - - - From ed6d3f20681ba9419c5c7b2862b35c38b5e01d7c Mon Sep 17 00:00:00 2001 From: xbubbo Date: Sun, 11 Feb 2024 14:35:30 -0500 Subject: [PATCH 02/61] Cache --- static/go.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/go.html b/static/go.html index de4889b60..966a9b7b9 100644 --- a/static/go.html +++ b/static/go.html @@ -6,7 +6,7 @@ Home - + @@ -53,7 +53,7 @@ width="100%" allowfullscreen > - + From 916bba25f2aae2529a3a6a570b78116f36b81071 Mon Sep 17 00:00:00 2001 From: incognitotgt Date: Sun, 11 Feb 2024 17:33:46 -0500 Subject: [PATCH 03/61] css --- .replit | 3 --- static/assets/scripts/frame.js | 6 ++--- static/assets/styles/frame.css | 6 ++--- .../styles/themes/catppuccin/frappe.css | 2 ++ .../assets/styles/themes/catppuccin/latte.css | 2 ++ .../styles/themes/catppuccin/macchiato.css | 2 ++ .../assets/styles/themes/catppuccin/mocha.css | 2 ++ static/go.html | 27 +++++++++---------- static/index.html | 3 ++- static/settings.html | 1 - 10 files changed, 29 insertions(+), 25 deletions(-) delete mode 100644 .replit diff --git a/.replit b/.replit deleted file mode 100644 index 2eb268a16..000000000 --- a/.replit +++ /dev/null @@ -1,3 +0,0 @@ -language = "nodejs" -run = "npm run start" - diff --git a/static/assets/scripts/frame.js b/static/assets/scripts/frame.js index 6f98e937f..b1aefe891 100644 --- a/static/assets/scripts/frame.js +++ b/static/assets/scripts/frame.js @@ -69,6 +69,6 @@ window.onload = function () { } } document.addEventListener('fullscreenchange', function () { - const isFullscreen = Boolean(document.fullscreenElement); - document.body.classList.toggle('fullscreen', isFullscreen); -}); + const isFullscreen = Boolean(document.fullscreenElement) + document.body.classList.toggle('fullscreen', isFullscreen) +}) diff --git a/static/assets/styles/frame.css b/static/assets/styles/frame.css index 85922a28e..d1a7e33c5 100644 --- a/static/assets/styles/frame.css +++ b/static/assets/styles/frame.css @@ -69,14 +69,14 @@ iframe { position: absolute; top: 50%; transform: translateY(-50%); - left: 0.5%; + left: 1%; } .nav-right { position: absolute; top: 50%; transform: translateY(-50%); - right: 2%; + right: 1%; } .nav-right .nav-btn:hover { @@ -109,4 +109,4 @@ iframe { left: 0; width: 100%; height: 100%; -} \ No newline at end of file +} diff --git a/static/assets/styles/themes/catppuccin/frappe.css b/static/assets/styles/themes/catppuccin/frappe.css index f5fd31a55..71f0a972e 100644 --- a/static/assets/styles/themes/catppuccin/frappe.css +++ b/static/assets/styles/themes/catppuccin/frappe.css @@ -14,6 +14,8 @@ --text-primary: var(--ctp-frappe-text) /*text*/; --text-secondary: var(--ctp-frappe-subtext1) /*subtext1*/; --text-placeholder: var(--ctp-frappe-subtext0) /*subtext0*/; + --main: var(--ctp-frappe-base) /* base */; + --accent-color: var(--ctp-frappe-mantle) /* mantle */; } input, diff --git a/static/assets/styles/themes/catppuccin/latte.css b/static/assets/styles/themes/catppuccin/latte.css index f5a419f8f..56dbc4986 100644 --- a/static/assets/styles/themes/catppuccin/latte.css +++ b/static/assets/styles/themes/catppuccin/latte.css @@ -13,6 +13,8 @@ --text-primary: var(--ctp-latte-text) /*text*/; --text-secondary: var(--ctp-latte-subtext1) /*subtext1*/; --text-placeholder: var(--ctp-latte-subtext0) /*subtext0*/; + --main: var(--ctp-latte-base) /* base */; + --accent-color: var(--ctp-latte-mantle) /* mantle */; } input, diff --git a/static/assets/styles/themes/catppuccin/macchiato.css b/static/assets/styles/themes/catppuccin/macchiato.css index 8c0b00e80..47245d27e 100644 --- a/static/assets/styles/themes/catppuccin/macchiato.css +++ b/static/assets/styles/themes/catppuccin/macchiato.css @@ -14,6 +14,8 @@ --text-primary: var(--ctp-macchiato-text) /*text*/; --text-secondary: var(--ctp-macchiato-subtext1) /*subtext1*/; --text-placeholder: var(--ctp-macchiato-subtext0) /*subtext0*/; + --main: var(--ctp-macchiato-base) /* base */; + --accent-color: var(--ctp-macchiato-mantle) /* mantle */; } input, diff --git a/static/assets/styles/themes/catppuccin/mocha.css b/static/assets/styles/themes/catppuccin/mocha.css index 528fb5af9..b9ff39df6 100644 --- a/static/assets/styles/themes/catppuccin/mocha.css +++ b/static/assets/styles/themes/catppuccin/mocha.css @@ -14,6 +14,8 @@ --text-primary: var(--ctp-mocha-text) /*text*/; --text-secondary: var(--ctp-mocha-subtext1) /*subtext1*/; --text-placeholder: var(--ctp-mocha-subtext0) /*subtext0*/; + --main: var(--ctp-mocha-base) /* base */; + --accent-color: var(--ctp-mocha-mantle) /* mantle */; } input, diff --git a/static/go.html b/static/go.html index 966a9b7b9..48a8d0065 100644 --- a/static/go.html +++ b/static/go.html @@ -17,26 +17,26 @@ @@ -51,8 +51,7 @@ marginwidth="0px" height="100%" width="100%" - allowfullscreen - > + allowfullscreen> diff --git a/static/index.html b/static/index.html index fefe7ca5e..4c7174101 100644 --- a/static/index.html +++ b/static/index.html @@ -10,6 +10,7 @@ Home +
@@ -34,7 +35,7 @@

Interstellar

@@ -74,5 +55,21 @@

+ From ea5de8bb8995bb3041b29d4defb3ab22d1328fc4 Mon Sep 17 00:00:00 2001 From: Madjik Date: Thu, 15 Feb 2024 15:46:53 +0000 Subject: [PATCH 28/61] Homepage and Navbar Update --- static/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/index.html b/static/index.html index 590ff410e..049beaea2 100644 --- a/static/index.html +++ b/static/index.html @@ -34,9 +34,9 @@

Interstellar

-
+
From 205ac4be6b763e46697105435478dac31c076433 Mon Sep 17 00:00:00 2001 From: xbubbo Date: Thu, 15 Feb 2024 18:39:26 -0500 Subject: [PATCH 29/61] Bump file version --- static/apps.html | 4 ++-- static/games.html | 4 ++-- static/go.html | 4 ++-- static/index.html | 4 ++-- static/settings.html | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/static/apps.html b/static/apps.html index c067b98c3..a791602a5 100644 --- a/static/apps.html +++ b/static/apps.html @@ -10,8 +10,8 @@ - - + + diff --git a/static/games.html b/static/games.html index 78c6fd61e..8920f1e67 100644 --- a/static/games.html +++ b/static/games.html @@ -8,8 +8,8 @@ Home - - + + diff --git a/static/go.html b/static/go.html index 01770f277..884aa5264 100644 --- a/static/go.html +++ b/static/go.html @@ -6,8 +6,8 @@ Home - - + + diff --git a/static/index.html b/static/index.html index 049beaea2..8152fc0e9 100644 --- a/static/index.html +++ b/static/index.html @@ -8,8 +8,8 @@ Home - - + + diff --git a/static/settings.html b/static/settings.html index d1a515e1e..0fbf4b214 100644 --- a/static/settings.html +++ b/static/settings.html @@ -9,9 +9,9 @@ Home - + - + From ccb67a7a3d48a804baf923c97929abeaa81216be Mon Sep 17 00:00:00 2001 From: xbubbo Date: Thu, 15 Feb 2024 22:05:16 -0500 Subject: [PATCH 30/61] Merge Home Script + Remove Input:Focus + Added back Input box url --- static/assets/scripts/home.js | 11 +++++++++++ static/assets/styles/frame.css | 6 +++--- static/assets/styles/main.css | 21 ++++++++++----------- static/go.html | 29 +++++++++++++++++++++++++---- static/index.html | 22 +++------------------- 5 files changed, 52 insertions(+), 37 deletions(-) diff --git a/static/assets/scripts/home.js b/static/assets/scripts/home.js index f9589972c..c3912c8f8 100644 --- a/static/assets/scripts/home.js +++ b/static/assets/scripts/home.js @@ -50,3 +50,14 @@ window.addEventListener('visibilitychange', () => { ) else document.querySelector('#hider')?.remove() }) + +document.onkeydown = function (evt) { + evt = evt || window.event + if (evt.keyCode == 27) { + document.getElementById('is').blur() + } +} + +let splashtext = ['Over 5 Million Users in 2023!', 'Fastest growing proxy server!', 'Made by Bubbo!', 'Check out discord.gg/interstellar :)'] + +document.getElementById('splash').innerText = splashtext[Math.floor(Math.random() * splashtext.length)] \ No newline at end of file diff --git a/static/assets/styles/frame.css b/static/assets/styles/frame.css index 17460d0eb..c96708cdf 100644 --- a/static/assets/styles/frame.css +++ b/static/assets/styles/frame.css @@ -122,7 +122,7 @@ iframe { width: 60vw; height: 30px; border-radius: 5px; - transition: .3s; + transition: 0.3s; } .navsearch:focus { @@ -131,7 +131,7 @@ iframe { border: none; outline: none; color: #fff; - transition: .3s; + transition: 0.3s; } .navpost { @@ -141,4 +141,4 @@ iframe { color: #fff; height: 30px; border-radius: 5px; -} +} \ No newline at end of file diff --git a/static/assets/styles/main.css b/static/assets/styles/main.css index 13451a254..b6c572ded 100644 --- a/static/assets/styles/main.css +++ b/static/assets/styles/main.css @@ -353,15 +353,15 @@ input { border: none; outline: none; color: var(--text-primary); - transition: .4s; + transition: 0.4s; } -input:focus { - width: 100vw; - height: 100vh; - margin-top: -75vh; - transition: .4s; -} +/* input:focus { + width: 100vw; + height: 100vh; + margin-top: -75vh; + transition: 0.4s; +} */ select { padding: 20px; @@ -518,13 +518,13 @@ select { background-size: cover; } -#splash { + #splash { color: var(--text-dark); margin-bottom: 1em; margin-top: -2em; padding: 0; font-family: 'Poppins', sans-serif; -} +} #suggestions { display: none; @@ -541,7 +541,6 @@ select { margin-top: 1em; align-items: center; justify-content: center; - } .sugelement { @@ -561,4 +560,4 @@ select { .sugelement:hover { cursor: pointer; -} +} \ No newline at end of file diff --git a/static/go.html b/static/go.html index 884aa5264..f8f4f7330 100644 --- a/static/go.html +++ b/static/go.html @@ -6,14 +6,34 @@ Home - - - + + + +