Files
Modus/src/shared/styles/notification.css
T
sankalp 0c266e9150 refactor(src/shared/styles): replace var(--radius-*) with apply(radius-*) throughout shared styles
Use apply() to align with the updated CSS variable system and ensure consistent radius theming
2026-06-16 22:24:02 +05:45

89 lines
1.7 KiB
CSS

#notification {
padding: 10px;
background-color: alpha(@text-main, 0.03);
border-radius: apply(radius-sm);
margin-top: 10px;
margin-right: 10px;
/* margin: 5px; */
}
#notification-close-button {
background-color: alpha(@text-dim, 0.3);
border-radius: apply(radius-sm);
}
#notification-close-button:hover {
background-color: alpha(@accent, 0.9);
}
#notification-action-buttons button {
background-color: alpha(@text-dim, 0.3);
padding: 4px;
border-radius: apply(radius-sm);
transition: background-color apply(transition-fast);
}
#notification-action-buttons button:hover {
background-color: alpha(@accent, 0.9);
}
#notification-action-buttons button:active {
background-color: var(--primary);
}
#notification-action-buttons button:active #button-label {
color: var(--shadow);
}
#notification-icon {
border-radius: apply(radius-lg);
}
#notification-image {
border-radius: apply(radius-lg);
color: var(--on-surface);
}
#notification-summary,
#button-label {
}
#notification-summary {
font-weight: bold;
font-size: 16px;
/* color: var(--primary); */
}
#notification-app-name {
color: var(--outline);
font-weight: bold;
}
#action-button {
margin-top: 8px;
}
#notif-close-button {
background-color: var(--surface);
border-radius: apply(radius-lg);
padding: 4px;
transition: background-color apply(transition-fast);
}
#notif-close-button:hover,
#notif-close-button:focus {
background-color: var(--surface-bright);
}
#notif-close-button:active {
background-color: var(--red-dim);
}
#notif-close-label {
color: var(--red-dim);
font-size: 20px;
}
#notif-close-button:active #notif-close-label {
color: var(--shadow);
}