From 9374b7745f92f8f4b0cfc94163d4df9845a1d15c Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 27 Apr 2025 22:30:52 +0200 Subject: Themes fix CSS .as-link (#7526) * Themes fix CSS .as-link Add missing rules. fix https://github.com/FreshRSS/FreshRSS/pull/7489#issuecomment-2781146577 * More fixes --- p/themes/Swage/swage.css | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'p/themes/Swage/swage.css') diff --git a/p/themes/Swage/swage.css b/p/themes/Swage/swage.css index 302659e00..1d42e9160 100644 --- a/p/themes/Swage/swage.css +++ b/p/themes/Swage/swage.css @@ -269,7 +269,8 @@ form th { background: var(--color-background-nav-darker); color: var(--color-text-light); } -.nav-list .item.active a { +.nav-list .item.active a, +.nav-list .item.active .as-link { color: var(--color-text-light); } .nav-list .item > a, @@ -283,7 +284,8 @@ form th { padding: 3px; text-align: center; } -.nav-list a:hover { +.nav-list a:hover, +.nav-list .as-link:hover { text-decoration: none; } @@ -300,12 +302,14 @@ form th { font-weight: bold; color: var(--color-text-light); } -.dropdown-menu .dropdown-header a { +.dropdown-menu .dropdown-header a, +.dropdown-menu .dropdown-header .as-link { padding: 0 5px; position: absolute; right: 5px; } -.dropdown-menu .dropdown-header a:hover { +.dropdown-menu .dropdown-header a:hover, +.dropdown-menu .dropdown-header .as-link:hover { background-color: var(--color-background-nav); } .dropdown-menu .dropdown-section .dropdown-section-title { @@ -314,10 +318,12 @@ form th { font-weight: bold; color: var(--color-text-light); } -.dropdown-menu .dropdown-section .item a { +.dropdown-menu .dropdown-section .item a, +.dropdown-menu .dropdown-section .item .as-link { padding: 0 22px; } -.dropdown-menu .dropdown-section .item a:hover { +.dropdown-menu .dropdown-section .item a:hover, +.dropdown-menu .dropdown-section .item .as-link:hover { background-color: var(--color-background-nav); } .dropdown-menu > .item { @@ -706,7 +712,8 @@ form th { display: none; } -.nav a { +.nav a, +.nav .as-link { color: var(--color-text-light); } -- cgit v1.2.3