Files
BreakEscape/css/notifications.css

81 lines
1.4 KiB
CSS
Raw Normal View History

/* Notification System Styles */
#notification-container {
position: fixed;
top: 20px;
right: 20px;
width: 600px;
max-width: 90%;
z-index: 2000;
font-family: 'Press Start 2P';
pointer-events: none;
}
.notification {
background-color: rgba(0, 0, 0, 0.8);
color: white;
padding: 15px 20px;
margin-bottom: 10px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
transition: all 0.3s ease;
opacity: 0;
transform: translateY(-20px);
pointer-events: auto;
position: relative;
overflow: hidden;
}
.notification.show {
opacity: 1;
transform: translateY(0);
}
.notification.info {
border-left: 4px solid #3498db;
}
.notification.success {
border-left: 4px solid #2ecc71;
}
.notification.warning {
border-left: 4px solid #f39c12;
}
.notification.error {
border-left: 4px solid #e74c3c;
}
.notification-title {
font-weight: bold;
margin-bottom: 5px;
font-size: 18px;
}
.notification-message {
font-size: 20px;
font-family: 'VT323', monospace;
line-height: 1.4;
}
.notification-close {
position: absolute;
top: 10px;
right: 10px;
cursor: pointer;
font-size: 18px;
color: #aaa;
}
.notification-close:hover {
color: white;
}
.notification-progress {
position: absolute;
bottom: 0;
left: 0;
height: 3px;
background-color: rgba(255, 255, 255, 0.5);
width: 100%;
}