From f72f5e95238a866c39535932c803720d7644a276 Mon Sep 17 00:00:00 2001 From: maTh <1645099+math-GH@users.noreply.github.com> Date: Fri, 31 Jan 2025 13:58:57 +0100 Subject: 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 * Update app/i18n/fr/gen.php --------- Co-authored-by: UserRoot-Luca <55756898+UserRoot-Luca@users.noreply.github.com> Co-authored-by: Frans de Jonge Co-authored-by: Alexandre Alapetite --- p/themes/Swage/swage.css | 10 +++++----- p/themes/Swage/swage.rtl.css | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'p/themes/Swage') diff --git a/p/themes/Swage/swage.css b/p/themes/Swage/swage.css index 64e0770a9..28c6a8644 100644 --- a/p/themes/Swage/swage.css +++ b/p/themes/Swage/swage.css @@ -812,7 +812,7 @@ form th { .notification.bad a.close:hover { background-color: var(--color-background-bad); } -.notification a.close { +.notification .close { display: none; } @@ -1027,15 +1027,15 @@ a.signin { .notification { width: 100%; } - .notification a.close { + .notification .close { background: transparent; display: block; left: 0; } - .notification a.close:hover { + .notification .close:hover { opacity: 0.5; } - .notification a.close .icon { + .notification .close .icon { display: none; } #nav_entries { @@ -1168,4 +1168,4 @@ button.as-link { #slider label { min-height: initial; -} \ No newline at end of file +} diff --git a/p/themes/Swage/swage.rtl.css b/p/themes/Swage/swage.rtl.css index d87d97e68..705beae31 100644 --- a/p/themes/Swage/swage.rtl.css +++ b/p/themes/Swage/swage.rtl.css @@ -812,7 +812,7 @@ form th { .notification.bad a.close:hover { background-color: var(--color-background-bad); } -.notification a.close { +.notification .close { display: none; } @@ -1027,15 +1027,15 @@ a.signin { .notification { width: 100%; } - .notification a.close { + .notification .close { background: transparent; display: block; right: 0; } - .notification a.close:hover { + .notification .close:hover { opacity: 0.5; } - .notification a.close .icon { + .notification .close .icon { display: none; } #nav_entries { @@ -1168,4 +1168,4 @@ button.as-link { #slider label { min-height: initial; -} \ No newline at end of file +} -- cgit v1.2.3