diff options
author | Jeremy Davis <jeremy.davis@sonarsource.com> | 2022-08-08 18:09:35 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-08-09 20:03:19 +0000 |
commit | 07985278b92decd514ff98eee2427f1be5815d75 (patch) | |
tree | 86ac7aab1d4c37e57bdf2e46d977ae9ca25069a8 /server/sonar-web/src/main/js/components | |
parent | cc64f987c9f2bc33a2dd00c8cf91513eadf594d9 (diff) | |
download | sonarqube-07985278b92decd514ff98eee2427f1be5815d75.tar.gz sonarqube-07985278b92decd514ff98eee2427f1be5815d75.zip |
SONAR-16731 [891582] [891583] [891584] [891585] Color contrast
Diffstat (limited to 'server/sonar-web/src/main/js/components')
-rw-r--r-- | server/sonar-web/src/main/js/components/ui/Level.css | 9 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/components/ui/SizeRating.css | 3 |
2 files changed, 5 insertions, 7 deletions
diff --git a/server/sonar-web/src/main/js/components/ui/Level.css b/server/sonar-web/src/main/js/components/ui/Level.css index f711d858103..25a46f2ea78 100644 --- a/server/sonar-web/src/main/js/components/ui/Level.css +++ b/server/sonar-web/src/main/js/components/ui/Level.css @@ -32,7 +32,6 @@ font-size: var(--baseFontSize); font-weight: 400; text-align: center; - text-shadow: 0 0 1px rgba(0, 0, 0, 0.35); } .level-small { @@ -49,7 +48,7 @@ } .level-muted { - background-color: var(--gray60) !important; + background-color: var(--disabledQualityGate) !important; } a > .level { @@ -63,7 +62,7 @@ a > .level:hover { } .level-OK { - background-color: var(--green); + background-color: var(--qualityGatePassedBackground); } .level-WARN { @@ -75,9 +74,9 @@ a > .level:hover { } .level-NONE { - background-color: var(--gray71); + background-color: var(--disabledQualityGate); } .level-NOT_COMPUTED { - background-color: var(--gray40); + background-color: var(--disabledQualityGate); } diff --git a/server/sonar-web/src/main/js/components/ui/SizeRating.css b/server/sonar-web/src/main/js/components/ui/SizeRating.css index b6730dba61e..9de0fe9fc3e 100644 --- a/server/sonar-web/src/main/js/components/ui/SizeRating.css +++ b/server/sonar-web/src/main/js/components/ui/SizeRating.css @@ -24,12 +24,11 @@ height: var(--controlHeight); line-height: var(--controlHeight); border-radius: var(--controlHeight); - background-color: var(--blue); + background-color: var(--sizeRatingBackground); color: #fff; font-size: var(--smallFontSize); font-weight: bold; text-align: center; - text-shadow: 0 0 1px rgba(0, 0, 0, 0.35); } .size-rating-small { |