114 lines
2.9 KiB
CSS
114 lines
2.9 KiB
CSS
/* Cache Busting Update Notification Styles */
|
|
.update-notification {
|
|
position: fixed !important;
|
|
top: 20px !important;
|
|
right: 20px !important;
|
|
background: linear-gradient(135deg, #4CAF50, #45a049) !important;
|
|
color: white !important;
|
|
padding: 15px !important;
|
|
border-radius: 8px !important;
|
|
box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
|
|
z-index: 15000 !important;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
|
|
animation: slideInFromRight 0.3s ease-out !important;
|
|
max-width: 350px !important;
|
|
border: 1px solid rgba(255,255,255,0.2) !important;
|
|
}
|
|
|
|
@keyframes slideInFromRight {
|
|
from {
|
|
transform: translateX(100%);
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
transform: translateX(0);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.update-notification-content {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 10px !important;
|
|
flex-wrap: wrap !important;
|
|
}
|
|
|
|
.update-message {
|
|
font-size: 14px !important;
|
|
font-weight: 500 !important;
|
|
flex: 1 !important;
|
|
min-width: 150px !important;
|
|
}
|
|
|
|
.update-button {
|
|
background: rgba(255,255,255,0.2) !important;
|
|
border: 1px solid rgba(255,255,255,0.3) !important;
|
|
color: white !important;
|
|
padding: 8px 16px !important;
|
|
border-radius: 4px !important;
|
|
cursor: pointer !important;
|
|
font-size: 12px !important;
|
|
font-weight: 500 !important;
|
|
transition: background-color 0.2s ease !important;
|
|
white-space: nowrap !important;
|
|
}
|
|
|
|
.update-button:hover {
|
|
background: rgba(255,255,255,0.3) !important;
|
|
}
|
|
|
|
.update-dismiss {
|
|
background: none !important;
|
|
border: none !important;
|
|
color: white !important;
|
|
cursor: pointer !important;
|
|
font-size: 18px !important;
|
|
padding: 0 !important;
|
|
margin-left: 5px !important;
|
|
width: 24px !important;
|
|
height: 24px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
border-radius: 50% !important;
|
|
transition: background-color 0.2s ease !important;
|
|
}
|
|
|
|
.update-dismiss:hover {
|
|
background: rgba(255,255,255,0.2) !important;
|
|
}
|
|
|
|
/* Mobile responsive styles for update notification */
|
|
@media (max-width: 768px) {
|
|
.update-notification {
|
|
top: 10px !important;
|
|
right: 10px !important;
|
|
left: 10px !important;
|
|
max-width: none !important;
|
|
padding: 12px !important;
|
|
}
|
|
|
|
.update-notification-content {
|
|
flex-direction: column !important;
|
|
align-items: stretch !important;
|
|
gap: 8px !important;
|
|
}
|
|
|
|
.update-message {
|
|
text-align: center !important;
|
|
min-width: auto !important;
|
|
}
|
|
|
|
.update-button {
|
|
align-self: center !important;
|
|
min-width: 120px !important;
|
|
}
|
|
|
|
.update-dismiss {
|
|
position: absolute !important;
|
|
top: 8px !important;
|
|
right: 8px !important;
|
|
margin: 0 !important;
|
|
}
|
|
}
|