diff options
Diffstat (limited to 'server/sonar-web')
4 files changed, 11 insertions, 8 deletions
diff --git a/server/sonar-web/src/main/js/app/theme.js b/server/sonar-web/src/main/js/app/theme.js index 2cf92ed634c..7f786d2a4c9 100644 --- a/server/sonar-web/src/main/js/app/theme.js +++ b/server/sonar-web/src/main/js/app/theme.js @@ -45,6 +45,11 @@ module.exports = { gray52: '#525252', gray40: '#404040', + disabledQualityGate: '#757575', + qualityGatePassedBackground: '#008900', + + sizeRatingBackground: '#297BAE', + transparentWhite: 'rgba(255,255,255,0.62)', transparentGray: 'rgba(200, 200, 200, 0.5)', transparentBlack: 'rgba(0, 0, 0, 0.25)', diff --git a/server/sonar-web/src/main/js/apps/overview/styles.css b/server/sonar-web/src/main/js/apps/overview/styles.css index e4c8ed2f32d..24c0c252d2b 100644 --- a/server/sonar-web/src/main/js/apps/overview/styles.css +++ b/server/sonar-web/src/main/js/apps/overview/styles.css @@ -107,7 +107,7 @@ } .overview-quality-gate-badge-large.success { - background: var(--green); + background: var(--qualityGatePassedBackground); height: 160px; } 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 { |