feat(ags/notifications): add support to actions in floating notifications(popups)

This commit is contained in:
retrozinndev
2025-03-11 16:16:07 -03:00
parent 55a2a9c545
commit 12e4cf58b6
12 changed files with 162 additions and 109 deletions
+29 -2
View File
@@ -57,7 +57,7 @@ window.ask-popup {
}
.notification {
background: colors.$bg-primary;
background: colors.$bg-translucent-secondary;
border-radius: 16px;
& > .top {
@@ -87,8 +87,9 @@ window.ask-popup {
}
& .content {
padding: 4px;
padding: 6px;
padding-top: 0;
& .image {
$size: 78px;
min-width: $size;
@@ -110,6 +111,32 @@ window.ask-popup {
font-weight: 400;
}
}
& .actions {
padding: 6px;
& button.action {
@include mixins.hover-shadow;
border-radius: 4px;
background: colors.$bg-secondary;
padding: 6px;
& label {
font-size: 14px;
font-weight: 600;
}
&:first-child {
border-top-left-radius: 12px;
border-bottom-left-radius: 12px;
}
&:last-child {
border-top-right-radius: 12px;
border-bottom-right-radius: 12px;
}
}
}
}
tooltip {