Update check-in Location Services requirement

This commit is contained in:
Nguyen Ngo
2025-09-11 16:00:10 -04:00
parent 86d701a86f
commit 04d51144cb
2 changed files with 267 additions and 71 deletions
+104
View File
@@ -843,4 +843,108 @@ body {
--gray-700: #334155 !important;
--gray-800: #1e293b !important;
--gray-900: #0f172a !important;
}
.location-warning-banner {
background: linear-gradient(135deg, #ff6b6b, #ee5a24);
color: white;
padding: 15px;
margin-bottom: 20px;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(238, 90, 36, 0.3);
animation: slideDown 0.3s ease-out;
}
.warning-content {
display: flex;
align-items: flex-start;
gap: 12px;
}
.warning-icon {
font-size: 24px;
color: #fff;
margin-top: 2px;
}
.warning-text {
flex: 1;
}
.warning-message {
display: block;
font-size: 14px;
line-height: 1.4;
margin-bottom: 12px;
}
.warning-actions {
display: flex;
gap: 10px;
flex-wrap: wrap;
}
.warning-retry-btn,
.warning-dismiss-btn {
background: rgba(255, 255, 255, 0.2);
border: 1px solid rgba(255, 255, 255, 0.3);
color: white;
padding: 8px 12px;
border-radius: 5px;
cursor: pointer;
font-size: 12px;
transition: all 0.2s ease;
display: flex;
align-items: center;
gap: 5px;
}
.warning-retry-btn:hover,
.warning-dismiss-btn:hover {
background: rgba(255, 255, 255, 0.3);
transform: translateY(-1px);
}
/* Blocked Form Styling */
.location-blocked {
opacity: 0.6;
pointer-events: none;
position: relative;
}
.location-blocked::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(255, 107, 107, 0.1);
border-radius: 8px;
z-index: 1;
}
/* Animation for warning banner */
@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Mobile responsive adjustments */
@media (max-width: 768px) {
.warning-actions {
flex-direction: column;
}
.warning-retry-btn,
.warning-dismiss-btn {
width: 100%;
justify-content: center;
}
}