aboutsummaryrefslogtreecommitdiff
path: root/p/themes/Swage
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/Swage
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/Swage')
-rw-r--r--p/themes/Swage/swage.css10
-rw-r--r--p/themes/Swage/swage.rtl.css10
2 files changed, 10 insertions, 10 deletions
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
+}