aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main
diff options
context:
space:
mode:
authorKevin Silva <kevin.silva@sonarsource.com>2023-01-10 17:28:01 +0100
committersonartech <sonartech@sonarsource.com>2023-01-13 20:02:46 +0000
commitc285859d047110807e37fc71bfba4150c462577d (patch)
tree488dbb7e5cbbc29a2c51c535b50bd1130e980931 /server/sonar-web/src/main
parentb6cb156530b5012f589d097fbbe84b855391accc (diff)
downloadsonarqube-c285859d047110807e37fc71bfba4150c462577d.tar.gz
sonarqube-c285859d047110807e37fc71bfba4150c462577d.zip
SONAR-17845 [1099483] Elements must have sufficient color contrast
Diffstat (limited to 'server/sonar-web/src/main')
-rw-r--r--server/sonar-web/src/main/js/components/facet/FacetHeader.tsx5
-rw-r--r--server/sonar-web/src/main/js/components/search-navigator.css14
2 files changed, 5 insertions, 14 deletions
diff --git a/server/sonar-web/src/main/js/components/facet/FacetHeader.tsx b/server/sonar-web/src/main/js/components/facet/FacetHeader.tsx
index 9fb79deb1eb..96a00bf418d 100644
--- a/server/sonar-web/src/main/js/components/facet/FacetHeader.tsx
+++ b/server/sonar-web/src/main/js/components/facet/FacetHeader.tsx
@@ -79,7 +79,10 @@ export default class FacetHeader extends React.PureComponent<Props> {
name
);
return (
- <div className="search-navigator-facet-header-wrapper display-flex-center">
+ <div
+ aria-disabled={disabled}
+ className="search-navigator-facet-header-wrapper display-flex-center"
+ >
{this.props.onClick ? (
<span className="search-navigator-facet-header display-flex-center">
<button
diff --git a/server/sonar-web/src/main/js/components/search-navigator.css b/server/sonar-web/src/main/js/components/search-navigator.css
index 0ef0cacc6ca..e7ea7d675df 100644
--- a/server/sonar-web/src/main/js/components/search-navigator.css
+++ b/server/sonar-web/src/main/js/components/search-navigator.css
@@ -59,7 +59,6 @@
.search-navigator-facet-box-forbidden {
background-color: transparent;
- opacity: 0.5;
}
.search-navigator-facet-box-forbidden .search-navigator-facet-list,
@@ -69,19 +68,8 @@
}
.search-navigator-facet-box-forbidden .search-navigator-facet-header {
- color: var(--secondFontColor);
-}
-
-.search-navigator-facet-box-forbidden .search-navigator-facet-header:hover {
- color: var(--blue);
-}
-
-.search-navigator-facet-box-forbidden .search-navigator-facet-header {
cursor: default;
-}
-
-.search-navigator-facet-box-forbidden .search-navigator-facet-header:hover {
- color: var(--secondFontColor);
+ color: var(--gray60);
}
.search-navigator-facet,