aboutsummaryrefslogtreecommitdiff
path: root/p/themes/Mapco/_layout.scss
diff options
context:
space:
mode:
authorGravatar maTh <1645099+math-GH@users.noreply.github.com> 2025-01-31 13:58:57 +0100
committerGravatar GitHub <noreply@github.com> 2025-01-31 13:58:57 +0100
commitf72f5e95238a866c39535932c803720d7644a276 (patch)
tree3e8069c5fba45068a6d4f3f99eb3a0d5ba8eb9e5 /p/themes/Mapco/_layout.scss
parentd1eb85e374c064146c0519d4bf6ca7e936a8014c (diff)
Improve notification banner (#7268)
* a -> button * i18n: Close * a.close -> .close * themes * Apply suggestions from code review Co-authored-by: UserRoot-Luca <55756898+UserRoot-Luca@users.noreply.github.com> Co-authored-by: Frans de Jonge <fransdejonge@gmail.com> * Update app/i18n/fr/gen.php --------- Co-authored-by: UserRoot-Luca <55756898+UserRoot-Luca@users.noreply.github.com> Co-authored-by: Frans de Jonge <fransdejonge@gmail.com> Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'p/themes/Mapco/_layout.scss')
-rw-r--r--p/themes/Mapco/_layout.scss10
1 files changed, 6 insertions, 4 deletions
diff --git a/p/themes/Mapco/_layout.scss b/p/themes/Mapco/_layout.scss
index 2bbbbb694..27e3e8413 100644
--- a/p/themes/Mapco/_layout.scss
+++ b/p/themes/Mapco/_layout.scss
@@ -354,15 +354,17 @@ main.prompt {
color: variables.$white;
}
- a.close {
- border-radius: 0 3px 3px 0;
+ .close {
+ .icon {
+ filter: brightness(3);
+ }
}
- &.good a.close:hover {
+ &.good .close:hover {
background: variables.$success-text;
}
- &.bad a.close:hover {
+ &.bad .close:hover {
background: variables.$alert-text;
}