diff --git a/SampleBase/src/Emscripten/resources/emscripten_template.html.in b/SampleBase/src/Emscripten/resources/emscripten_template.html.in index 71071fd3..de49623a 100644 --- a/SampleBase/src/Emscripten/resources/emscripten_template.html.in +++ b/SampleBase/src/Emscripten/resources/emscripten_template.html.in @@ -128,6 +128,7 @@ transform: scale(0.95); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); } + .emscripten { display: none; position: absolute; @@ -148,6 +149,36 @@ image-rendering: pixelated; -ms-interpolation-mode: nearest-neighbor; } + + #browser-warning { + display: none; + color: #ffffff; + background-color: rgba(255, 69, 0, 0.8); + border: 2px solid #ff4500; + border-radius: 10px; + padding: 15px 20px; + text-align: center; + margin: 20px auto; + width: 80%; + max-width: 500px; + box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); + font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; + position: relative; + animation: fadeIn 1s ease-in-out; + } + + @keyframes fadeIn { + from { opacity: 0; } + to { opacity: 1; } + } + + #browser-warning::before { + content: '⚠️'; + font-size: 1.5em; + position: absolute; + top: 10px; + left: 10px; + } @@ -164,9 +195,19 @@
0%
+
+ The application may not run properly on this browser. For best results, we recommend using Chrome. +
-