From 3144a6811246ac410d7f35607a23e7e446ff492b Mon Sep 17 00:00:00 2001 From: lolmam Date: Mon, 8 Dec 2025 16:58:33 +0300 Subject: [PATCH] Added DISCLAIMER popup --- docs/style/style.css | 94 ++++++++++++++++++++++++++- docs/versions/versions_1.x/index.html | 78 ++++++++++++++++++++++ docs/versions/versions_2.x/index.html | 78 ++++++++++++++++++++++ docs/versions/versions_3.x/index.html | 78 ++++++++++++++++++++++ 4 files changed, 327 insertions(+), 1 deletion(-) diff --git a/docs/style/style.css b/docs/style/style.css index 106886a..65e804c 100644 --- a/docs/style/style.css +++ b/docs/style/style.css @@ -517,4 +517,96 @@ a.back-to-top:hover { .highlight { animation: pulse 1.5s ease-out; -} \ No newline at end of file +} + +.license-popup { + position: fixed; + inset: 0; + background: rgba(0, 0, 0, 0.75); + backdrop-filter: blur(10px); + display: flex; + justify-content: center; + align-items: center; + z-index: 9999; + padding: 20px; +} + +.hidden { + display: none; +} + +.license-popup-content { + background: #1a1a1a; + border: 1px solid #333; + border-radius: 12px; + padding: 25px 30px; + width: 100%; + max-width: 520px; + max-height: 85vh; + overflow: hidden; + color: #ddd; + box-shadow: 0 0 20px rgba(0,0,0,0.5); + animation: popupFade 0.22s ease-out; +} + +.highlight { + animation: pulse 1.5s ease-out; +} + +.license-popup-content h2 { + margin-bottom: 15px; + font-size: 1.7rem; + color: #fff; + text-align: center; +} + +.license-text { + background: #111; + border: 1px solid #333; + border-radius: 8px; + padding: 12px 15px; + max-height: 300px; + overflow-y: auto; + margin-bottom: 22px; + font-size: 0.92rem; + line-height: 1.45; + color: #ccc; + + -ms-overflow-style: none; + scrollbar-width: none; +} + +.license-text::-webkit-scrollbar { + display: none; +} + +.license-text p { + margin-bottom: 12px; + font-size: 14px; +} + +.license-buttons { + display: flex; + justify-content: center; + gap: 14px; +} + +@keyframes popupFade { + from { opacity: 0; transform: scale(0.94); } + to { opacity: 1; transform: scale(1); } +} + +@keyframes pulse { + 0% { box-shadow: 0 0 0 0 rgba(0, 150, 255, 0.7); } + 70% { box-shadow: 0 0 0 15px rgba(0, 150, 255, 0); } + 100% { box-shadow: 0 0 0 0 rgba(0, 150, 255, 0); } +} + +.body-locked { + overflow: hidden !important; + pointer-events: none; +} + +.body-locked #license-popup { + pointer-events: auto; +} diff --git a/docs/versions/versions_1.x/index.html b/docs/versions/versions_1.x/index.html index 4f3889d..c3827a9 100644 --- a/docs/versions/versions_1.x/index.html +++ b/docs/versions/versions_1.x/index.html @@ -2313,9 +2313,87 @@ NC SA + + + + +