diff options
author | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2019-10-09 11:42:09 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2019-10-16 11:09:15 +0200 |
commit | f28d76906b92be41c31db5ad06b711ae9cafd063 (patch) | |
tree | 15c696a06c03c31d880db35f024db54d62d43377 /server/sonar-web/src/main | |
parent | 86cc520a254ece5c3e524e51c6505ff5674b55e2 (diff) | |
download | sonarqube-f28d76906b92be41c31db5ad06b711ae9cafd063.tar.gz sonarqube-f28d76906b92be41c31db5ad06b711ae9cafd063.zip |
SONAR-12519 More consistent colors for mandatory fields asterisk
Diffstat (limited to 'server/sonar-web/src/main')
-rw-r--r-- | server/sonar-web/src/main/js/app/styles/init/forms.css | 2 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/app/theme.js | 30 |
2 files changed, 23 insertions, 9 deletions
diff --git a/server/sonar-web/src/main/js/app/styles/init/forms.css b/server/sonar-web/src/main/js/app/styles/init/forms.css index 94d5b98d922..9371a097fb2 100644 --- a/server/sonar-web/src/main/js/app/styles/init/forms.css +++ b/server/sonar-web/src/main/js/app/styles/init/forms.css @@ -181,7 +181,7 @@ select { } em.mandatory { - color: #990000; + color: var(--mandatoryFieldColor); font-style: italic; } diff --git a/server/sonar-web/src/main/js/app/theme.js b/server/sonar-web/src/main/js/app/theme.js index a45577553f8..0914dde4bb6 100644 --- a/server/sonar-web/src/main/js/app/theme.js +++ b/server/sonar-web/src/main/js/app/theme.js @@ -29,18 +29,13 @@ module.exports = { darkBlue: '#236a97', veryDarkBlue: '#0E516F', green: '#00aa00', - lineCoverageGreen: '#b4dd78', lightGreen: '#b0d513', veryLightGreen: '#f5f9fc', yellow: '#eabe06', orange: '#ed7d20', red: '#d4333f', - lineCoverageRed: '#a4030f', purple: '#9139d4', - conciseIssueRed: '#d18582', - conciseIssueRedSelected: '#a4030f', - gray94: '#efefef', gray80: '#cdcdcd', gray71: '#b4b4b4', @@ -59,22 +54,33 @@ module.exports = { barBackgroundColorHighlight: '#f8f8f8', barBorderColor: '#e6e6e6', + globalNavBarBg: '#262626', + + // fonts baseFontColor: '#444', secondFontColor: '#777', + // forms + mandatoryFieldColor: '#a4030f', + + // leak leakColor: '#fbf3d5', leakColorHover: '#f0e7c4', leakBorderColor: '#eae3c7', - globalNavBarBg: '#262626', - snippetFontColor: '#f0f0f0', - //issues + // issues issueBgColor: '#f2dede', hotspotBgColor: '#eeeff4', issueLocationSelected: '#f4b1b0', issueLocationHighlighted: '#e1e1f2', + conciseIssueRed: '#d18582', + conciseIssueRedSelected: '#a4030f', + + // codeviewer + lineCoverageRed: '#a4030f', + lineCoverageGreen: '#b4dd78', // alerts warningIconColor: '#e2bf41', @@ -99,6 +105,14 @@ module.exports = { alertTextInfo: '#0e516f', alertIconInfo: '#0271b9', + // alm + azure: '#0078d7', + bitbucket: '#0052CC', + github: '#e1e4e8', + + // code/pre + codeBackground: '#e6e6e6', + // sonarcloud sonarcloudOrange500: '#fd6a00', sonarcloudOrange600: '#e26003', |