From adabd5f0b2d7326958126dc960bf4ef09c9a4e4f Mon Sep 17 00:00:00 2001 From: Minteck <46352972+Minteck@users.noreply.github.com> Date: Wed, 7 Jul 2021 17:01:51 +0200 Subject: Update! --- views/common/blur.css | 3 + views/common/compatibilityMode.css | 10 ++++ views/common/fonts.css | 2 +- views/credits.html | 2 + views/game.html | 2 + views/intro.html | 2 + views/loader.html | 3 +- views/menu.html | 24 ++++++-- views/online.html | 2 + views/script/core_chart.js | 19 +----- views/script/core_compatlayer.js | 89 ++++++++++++++++++++++++++++ views/script/core_music.js | 1 + views/script/global_compatlayer.js | 89 ++++++++++++++++++++++++++++ views/script/menu_gpuinfo.js | 115 ++++++++++++++++++++++++++++++++++++- views/settings.html | 2 + views/stats.html | 2 + views/win.html | 2 + 17 files changed, 343 insertions(+), 26 deletions(-) create mode 100644 views/common/blur.css create mode 100644 views/common/compatibilityMode.css create mode 100644 views/script/core_compatlayer.js create mode 100644 views/script/global_compatlayer.js (limited to 'views') diff --git a/views/common/blur.css b/views/common/blur.css new file mode 100644 index 0000000..f904c12 --- /dev/null +++ b/views/common/blur.css @@ -0,0 +1,3 @@ +#intro, #laps-inner-car0, #laps-inner-car1, #paused, #credits, #gpuinfo, #warning { + backdrop-filter: blur(10px); +} \ No newline at end of file diff --git a/views/common/compatibilityMode.css b/views/common/compatibilityMode.css new file mode 100644 index 0000000..a436549 --- /dev/null +++ b/views/common/compatibilityMode.css @@ -0,0 +1,10 @@ +*:not(#gpuinfo-outer):not(#gpuinfo-inner) { + backdrop-filter: none !important; + transition: none !important; + opacity: 1 !important; + animation: none !important; +} + +.rain { + display: none !important; +} \ No newline at end of file diff --git a/views/common/fonts.css b/views/common/fonts.css index 190dd75..5aa99e0 100644 --- a/views/common/fonts.css +++ b/views/common/fonts.css @@ -14,7 +14,7 @@ font-family: "Comfortaa", -apple-system, sans-serif; } -#gpuinfo, #gpuinfo * { +#gpuinfo-inner, #gpuinfo-inner * { font-family: monospace !important; } diff --git a/views/credits.html b/views/credits.html index edd4a2d..ece63a3 100644 --- a/views/credits.html +++ b/views/credits.html @@ -6,9 +6,11 @@ + Kartik + + Kartik + + -

+

diff --git a/views/menu.html b/views/menu.html index 661d397..d00107c 100644 --- a/views/menu.html +++ b/views/menu.html @@ -6,9 +6,11 @@ + Kartik + +
+ GPU Support Status +
+
+ 0% +
Generic GPU
+
0 MiB VRAM
+ +
↓ Hold Shift for details
+
+ +
+
diff --git a/views/online.html b/views/online.html index ab8e61d..ac90e7e 100644 --- a/views/online.html +++ b/views/online.html @@ -7,7 +7,9 @@ Kartik + + + Kartik + + +