aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorFrans de Jonge <fransdejonge@gmail.com>2025-04-05 22:23:54 +0200
committerGitHub <noreply@github.com>2025-04-05 22:23:54 +0200
commit711a14fd9ccea0a5b3c68dfa20fc34e558823f40 (patch)
tree86d5d014df325dc7452a4ad7da38f5b03d33c3ca
parent92c929386575eabcf5a7d02b07ea0d0e2e786d71 (diff)
downloadfreshrss-711a14fd9ccea0a5b3c68dfa20fc34e558823f40.tar.gz
freshrss-711a14fd9ccea0a5b3c68dfa20fc34e558823f40.zip
Add :focus style to .dropdown-menu .item (#7491)
So you can see keyboard focus. In reply to <https://github.com/FreshRSS/FreshRSS/pull/7489#issuecomment-2774759046>.
-rw-r--r--p/themes/Alternative-Dark/adark.css3
-rw-r--r--p/themes/Alternative-Dark/adark.rtl.css3
-rw-r--r--p/themes/Dark/dark.css3
-rw-r--r--p/themes/Dark/dark.rtl.css3
-rw-r--r--p/themes/Flat/flat.css3
-rw-r--r--p/themes/Flat/flat.rtl.css3
-rw-r--r--p/themes/Nord/nord.css3
-rw-r--r--p/themes/Nord/nord.rtl.css3
-rw-r--r--p/themes/Origine/origine.css3
-rw-r--r--p/themes/Origine/origine.rtl.css3
-rw-r--r--p/themes/Pafat/pafat.css3
-rw-r--r--p/themes/Pafat/pafat.rtl.css3
12 files changed, 36 insertions, 0 deletions
diff --git a/p/themes/Alternative-Dark/adark.css b/p/themes/Alternative-Dark/adark.css
index 48c84efe6..5f3b468dd 100644
--- a/p/themes/Alternative-Dark/adark.css
+++ b/p/themes/Alternative-Dark/adark.css
@@ -369,8 +369,11 @@ th {
margin-bottom: 0.5rem;
}
+.dropdown-menu .item > a:focus,
.dropdown-menu .item > a:hover,
+.dropdown-menu .item > button:focus:not([disabled]),
.dropdown-menu .item > button:hover:not([disabled]),
+.dropdown-menu .item > label:focus:not(.noHover),
.dropdown-menu .item > label:hover:not(.noHover) {
background: var(--background-color-hover);
color: var(--font-color-light);
diff --git a/p/themes/Alternative-Dark/adark.rtl.css b/p/themes/Alternative-Dark/adark.rtl.css
index c365ca220..7be9f71a5 100644
--- a/p/themes/Alternative-Dark/adark.rtl.css
+++ b/p/themes/Alternative-Dark/adark.rtl.css
@@ -369,8 +369,11 @@ th {
margin-bottom: 0.5rem;
}
+.dropdown-menu .item > a:focus,
.dropdown-menu .item > a:hover,
+.dropdown-menu .item > button:focus:not([disabled]),
.dropdown-menu .item > button:hover:not([disabled]),
+.dropdown-menu .item > label:focus:not(.noHover),
.dropdown-menu .item > label:hover:not(.noHover) {
background: var(--background-color-hover);
color: var(--font-color-light);
diff --git a/p/themes/Dark/dark.css b/p/themes/Dark/dark.css
index 3f203d908..9ba1bb5a1 100644
--- a/p/themes/Dark/dark.css
+++ b/p/themes/Dark/dark.css
@@ -288,8 +288,11 @@ button.as-link[disabled] {
color: var(--dark-font-color8);
}
+.dropdown-menu .item > a:focus,
.dropdown-menu .item > a:hover,
+.dropdown-menu .item > button:focus:not([disabled]),
.dropdown-menu .item > button:hover:not([disabled]),
+.dropdown-menu .item > label:focus:not(.noHover),
.dropdown-menu .item > label:hover:not(.noHover) {
background-color: var(--dark-background-color-blue);
color: var(--dark-font-color8);
diff --git a/p/themes/Dark/dark.rtl.css b/p/themes/Dark/dark.rtl.css
index f884386b9..7bba4c43e 100644
--- a/p/themes/Dark/dark.rtl.css
+++ b/p/themes/Dark/dark.rtl.css
@@ -288,8 +288,11 @@ button.as-link[disabled] {
color: var(--dark-font-color8);
}
+.dropdown-menu .item > a:focus,
.dropdown-menu .item > a:hover,
+.dropdown-menu .item > button:focus:not([disabled]),
.dropdown-menu .item > button:hover:not([disabled]),
+.dropdown-menu .item > label:focus:not(.noHover),
.dropdown-menu .item > label:hover:not(.noHover) {
background-color: var(--dark-background-color-blue);
color: var(--dark-font-color8);
diff --git a/p/themes/Flat/flat.css b/p/themes/Flat/flat.css
index da055dff8..ae6345e8b 100644
--- a/p/themes/Flat/flat.css
+++ b/p/themes/Flat/flat.css
@@ -333,8 +333,11 @@ th {
margin-bottom: 0.5rem;
}
+.dropdown-menu .item > a:focus,
.dropdown-menu .item > a:hover,
+.dropdown-menu .item > button:focus:not([disabled]),
.dropdown-menu .item > button:hover:not([disabled]),
+.dropdown-menu .item > label:focus:not(.noHover),
.dropdown-menu .item > label:hover:not(.noHover) {
background: #2980b9;
color: #fff;
diff --git a/p/themes/Flat/flat.rtl.css b/p/themes/Flat/flat.rtl.css
index b911f8f56..c3f373137 100644
--- a/p/themes/Flat/flat.rtl.css
+++ b/p/themes/Flat/flat.rtl.css
@@ -333,8 +333,11 @@ th {
margin-bottom: 0.5rem;
}
+.dropdown-menu .item > a:focus,
.dropdown-menu .item > a:hover,
+.dropdown-menu .item > button:focus:not([disabled]),
.dropdown-menu .item > button:hover:not([disabled]),
+.dropdown-menu .item > label:focus:not(.noHover),
.dropdown-menu .item > label:hover:not(.noHover) {
background: #2980b9;
color: #fff;
diff --git a/p/themes/Nord/nord.css b/p/themes/Nord/nord.css
index 9c2701e2b..0d4ae5ed0 100644
--- a/p/themes/Nord/nord.css
+++ b/p/themes/Nord/nord.css
@@ -396,8 +396,11 @@ svg:hover {
margin-bottom: 0.5rem;
}
+.dropdown-menu .item > a:focus,
.dropdown-menu .item > a:hover,
+.dropdown-menu .item > button:focus:not([disabled]),
.dropdown-menu .item > button:hover:not([disabled]),
+.dropdown-menu .item > label:focus:not(.noHover),
.dropdown-menu .item > label:hover:not(.noHover) {
background-color: var(--light-bg);
color: var(--text-default);
diff --git a/p/themes/Nord/nord.rtl.css b/p/themes/Nord/nord.rtl.css
index 138ad12bf..768ea0922 100644
--- a/p/themes/Nord/nord.rtl.css
+++ b/p/themes/Nord/nord.rtl.css
@@ -396,8 +396,11 @@ svg:hover {
margin-bottom: 0.5rem;
}
+.dropdown-menu .item > a:focus,
.dropdown-menu .item > a:hover,
+.dropdown-menu .item > button:focus:not([disabled]),
.dropdown-menu .item > button:hover:not([disabled]),
+.dropdown-menu .item > label:focus:not(.noHover),
.dropdown-menu .item > label:hover:not(.noHover) {
background-color: var(--light-bg);
color: var(--text-default);
diff --git a/p/themes/Origine/origine.css b/p/themes/Origine/origine.css
index 55b92a2db..6460d744a 100644
--- a/p/themes/Origine/origine.css
+++ b/p/themes/Origine/origine.css
@@ -456,8 +456,11 @@ a:hover .icon {
margin-bottom: 0.5rem;
}
+.dropdown-menu .item > a:focus,
.dropdown-menu .item > a:hover,
+.dropdown-menu .item > button:focus:not([disabled]),
.dropdown-menu .item > button:hover:not([disabled]),
+.dropdown-menu .item > label:focus:not(.noHover),
.dropdown-menu .item > label:hover:not(.noHover) {
background-color: var(--contrast-background-color-active);
color: var(--font-color-light);
diff --git a/p/themes/Origine/origine.rtl.css b/p/themes/Origine/origine.rtl.css
index 927b643b0..1b128e367 100644
--- a/p/themes/Origine/origine.rtl.css
+++ b/p/themes/Origine/origine.rtl.css
@@ -456,8 +456,11 @@ a:hover .icon {
margin-bottom: 0.5rem;
}
+.dropdown-menu .item > a:focus,
.dropdown-menu .item > a:hover,
+.dropdown-menu .item > button:focus:not([disabled]),
.dropdown-menu .item > button:hover:not([disabled]),
+.dropdown-menu .item > label:focus:not(.noHover),
.dropdown-menu .item > label:hover:not(.noHover) {
background-color: var(--contrast-background-color-active);
color: var(--font-color-light);
diff --git a/p/themes/Pafat/pafat.css b/p/themes/Pafat/pafat.css
index be8d366c9..e4f940edc 100644
--- a/p/themes/Pafat/pafat.css
+++ b/p/themes/Pafat/pafat.css
@@ -379,8 +379,11 @@ th {
margin-bottom: 0.5rem;
}
+.dropdown-menu .item > a:focus,
.dropdown-menu .item > a:hover,
+.dropdown-menu .item > button:focus:not([disabled]),
.dropdown-menu .item > button:hover:not([disabled]),
+.dropdown-menu .item > label:focus:not(.noHover),
.dropdown-menu .item > label:hover:not(.noHover) {
background-color: var(--background-color-grey-hover);
color: var(--font-color-grey);
diff --git a/p/themes/Pafat/pafat.rtl.css b/p/themes/Pafat/pafat.rtl.css
index 95d98e0db..42ba0eddf 100644
--- a/p/themes/Pafat/pafat.rtl.css
+++ b/p/themes/Pafat/pafat.rtl.css
@@ -379,8 +379,11 @@ th {
margin-bottom: 0.5rem;
}
+.dropdown-menu .item > a:focus,
.dropdown-menu .item > a:hover,
+.dropdown-menu .item > button:focus:not([disabled]),
.dropdown-menu .item > button:hover:not([disabled]),
+.dropdown-menu .item > label:focus:not(.noHover),
.dropdown-menu .item > label:hover:not(.noHover) {
background-color: var(--background-color-grey-hover);
color: var(--font-color-grey);