1
0
mirror of https://gitlab.com/lolmam/Phigros-Android-History.git synced 2026-02-04 16:21:11 +00:00

Added DISCLAIMER popup

This commit is contained in:
2025-12-08 16:58:33 +03:00
parent 0ed002c1a1
commit 3144a68112
4 changed files with 327 additions and 1 deletions

View File

@@ -517,4 +517,96 @@ a.back-to-top:hover {
.highlight {
animation: pulse 1.5s ease-out;
}
}
.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;
}