diff options
| author | 2025-04-27 22:30:52 +0200 | |
|---|---|---|
| committer | 2025-04-27 22:30:52 +0200 | |
| commit | 9374b7745f92f8f4b0cfc94163d4df9845a1d15c (patch) | |
| tree | 792100d83b6fc73a01979d741ee8cfa548953f38 /p/themes/Pafat | |
| parent | c2ccdf2d1bf12dfc5330c6b622999731199dd62c (diff) | |
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
Diffstat (limited to 'p/themes/Pafat')
| -rw-r--r-- | p/themes/Pafat/pafat.css | 14 | ||||
| -rw-r--r-- | p/themes/Pafat/pafat.rtl.css | 14 |
2 files changed, 18 insertions, 10 deletions
diff --git a/p/themes/Pafat/pafat.css b/p/themes/Pafat/pafat.css index 19cc016fb..ffaff8cf8 100644 --- a/p/themes/Pafat/pafat.css +++ b/p/themes/Pafat/pafat.css @@ -95,7 +95,7 @@ html, body { } /*=== Links */ -a { +a, .as-link, button.as-link { color: var(--font-color-link-general); outline: none; } @@ -302,18 +302,21 @@ th { line-height: 2.5; } -.nav-list .item a:hover { +.nav-list .item a:hover, +.nav-list .item .as-link:hover { color: var(--font-color-link-general-hover); background-color: var(--background-color-grey-hover); } .nav-list .item.active, -.nav-list .item.active a:hover { +.nav-list .item.active a:hover, +.nav-list .item.active .as-link:hover { background-color: var(--background-color-navlist-active); color: var(--font-color-white); } -.nav-list .item.active a { +.nav-list .item.active a, +.nav-list .item.active .as-link { color: var(--font-color-white); } @@ -322,7 +325,8 @@ th { padding: 0 1rem; } -.nav-list a:hover { +.nav-list a:hover, +.nav-list .as-link:hover { text-decoration: none; } diff --git a/p/themes/Pafat/pafat.rtl.css b/p/themes/Pafat/pafat.rtl.css index d3ec1a1ce..1c2e2a299 100644 --- a/p/themes/Pafat/pafat.rtl.css +++ b/p/themes/Pafat/pafat.rtl.css @@ -95,7 +95,7 @@ html, body { } /*=== Links */ -a { +a, .as-link, button.as-link { color: var(--font-color-link-general); outline: none; } @@ -302,18 +302,21 @@ th { line-height: 2.5; } -.nav-list .item a:hover { +.nav-list .item a:hover, +.nav-list .item .as-link:hover { color: var(--font-color-link-general-hover); background-color: var(--background-color-grey-hover); } .nav-list .item.active, -.nav-list .item.active a:hover { +.nav-list .item.active a:hover, +.nav-list .item.active .as-link:hover { background-color: var(--background-color-navlist-active); color: var(--font-color-white); } -.nav-list .item.active a { +.nav-list .item.active a, +.nav-list .item.active .as-link { color: var(--font-color-white); } @@ -322,7 +325,8 @@ th { padding: 0 1rem; } -.nav-list a:hover { +.nav-list a:hover, +.nav-list .as-link:hover { text-decoration: none; } |
