🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
52 lines
1.3 KiB
SCSS
Executable File
52 lines
1.3 KiB
SCSS
Executable File
/**
|
|
* Flash Alert Styles
|
|
*
|
|
* Styles for the floating alert notification system.
|
|
* Alerts appear centered at the top (60px down) or bottom and stack vertically.
|
|
*
|
|
* @SCSS-ANIM-01-EXCEPTION: Hover lift effect acceptable for transient notifications
|
|
*/
|
|
|
|
.floating-alert-container {
|
|
position: fixed;
|
|
top: 60px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
z-index: 1200; // Flash alerts layer - see rsx:man zindex
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center; // Center alerts horizontally
|
|
gap: 12px;
|
|
max-width: 500px;
|
|
pointer-events: none; // Allow clicks through container
|
|
|
|
.alert-wrapper {
|
|
pointer-events: auto; // But allow clicks on individual alerts
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
width: auto; // Size to content, not container
|
|
min-width: 300px; // Minimum width for alerts
|
|
|
|
.alert {
|
|
margin-bottom: 0;
|
|
cursor: pointer;
|
|
|
|
// Icon spacing
|
|
i {
|
|
vertical-align: middle;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Mobile responsive adjustments
|
|
@media (max-width: 768px) {
|
|
.floating-alert-container {
|
|
left: 10px;
|
|
right: 10px;
|
|
transform: none;
|
|
max-width: none;
|
|
min-width: 0;
|
|
top: 10px;
|
|
}
|
|
}
|