From: Stas Vilchik Date: Thu, 15 Sep 2016 13:50:24 +0000 (+0200) Subject: SONAR-8068 Bold font does not render properly on linux and windows X-Git-Tag: 6.1-RC1~56 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=330558a3c4490b60941357f4aac4f167947d4118;p=sonarqube.git SONAR-8068 Bold font does not render properly on linux and windows --- diff --git a/server/sonar-web/src/main/js/apps/web-api/styles/web-api.css b/server/sonar-web/src/main/js/apps/web-api/styles/web-api.css index e5b572953b1..121d9b55a35 100644 --- a/server/sonar-web/src/main/js/apps/web-api/styles/web-api.css +++ b/server/sonar-web/src/main/js/apps/web-api/styles/web-api.css @@ -40,7 +40,7 @@ } .web-api-action-title { - font-weight: 500; + font-weight: 600; } .web-api-action-description { diff --git a/server/sonar-web/src/main/less/components/graphics.less b/server/sonar-web/src/main/less/components/graphics.less index 8d041052c27..2770b062541 100644 --- a/server/sonar-web/src/main/less/components/graphics.less +++ b/server/sonar-web/src/main/less/components/graphics.less @@ -106,7 +106,7 @@ color: @secondFontColor; .legend-text + .legend-text { margin-left: 15px; } - .legend-text-main { font-weight: 500; } + .legend-text-main { font-weight: 600; } } .sonar-d3 .details-color-indicator { diff --git a/server/sonar-web/src/main/less/components/issues.less b/server/sonar-web/src/main/less/components/issues.less index 30d69d5ac39..26b541b65f3 100644 --- a/server/sonar-web/src/main/less/components/issues.less +++ b/server/sonar-web/src/main/less/components/issues.less @@ -86,7 +86,7 @@ padding-right: @rightPadding; line-height: 1.5; font-size: @baseFontSize; - font-weight: 500; + font-weight: 600; } .issue-rule { @@ -185,7 +185,7 @@ width: 1px; line-height: 18px; color: @secondFontColor; - font-weight: 500; + font-weight: 600; .text-ellipsis; } diff --git a/server/sonar-web/src/main/less/components/search-navigator.less b/server/sonar-web/src/main/less/components/search-navigator.less index 33a84b5f6a2..34485d9f112 100644 --- a/server/sonar-web/src/main/less/components/search-navigator.less +++ b/server/sonar-web/src/main/less/components/search-navigator.less @@ -225,7 +225,7 @@ padding: 6px 10px; border-bottom: none; color: @baseFontColor; - font-weight: 500; + font-weight: 600; } .search-navigator-facet-list { diff --git a/server/sonar-web/src/main/less/components/select-list.less b/server/sonar-web/src/main/less/components/select-list.less index c1ff2cce108..de507a4481f 100644 --- a/server/sonar-web/src/main/less/components/select-list.less +++ b/server/sonar-web/src/main/less/components/select-list.less @@ -154,7 +154,7 @@ z-index: @above-normal-z-index; background-color: @darkBlue; color: #fff; - font-weight: 500; + font-weight: 600; } .select-list-control-button + .select-list-control-button { diff --git a/server/sonar-web/src/main/less/components/source.less b/server/sonar-web/src/main/less/components/source.less index 777d3b23a2e..7d798f7e76a 100644 --- a/server/sonar-web/src/main/less/components/source.less +++ b/server/sonar-web/src/main/less/components/source.less @@ -287,7 +287,7 @@ } .source-viewer-header-component-name { - font-weight: 500; + font-weight: 600; } .source-viewer-header-favorite { diff --git a/server/sonar-web/src/main/less/components/typography.less b/server/sonar-web/src/main/less/components/typography.less index eb5f4086f13..bb703b4417d 100644 --- a/server/sonar-web/src/main/less/components/typography.less +++ b/server/sonar-web/src/main/less/components/typography.less @@ -35,7 +35,7 @@ h3, h4, h5, h6 { font-size: @baseFontSize; - font-weight: 500; + font-weight: 600; } pre, code { @@ -95,7 +95,7 @@ padding: 5px 10px; border: 1px solid @barBorderColor; background-color: @barBackgroundColor; - font-weight: 500; + font-weight: 600; text-align: center; } diff --git a/server/sonar-web/src/main/less/components/ui.less b/server/sonar-web/src/main/less/components/ui.less index 9156682be88..e70d45c0294 100644 --- a/server/sonar-web/src/main/less/components/ui.less +++ b/server/sonar-web/src/main/less/components/ui.less @@ -177,7 +177,7 @@ box-shadow: inset 0 1px 0 #fff, 0 1px 0 #ccc; color: @secondFontColor; font-size: @baseFontSize; - font-weight: 500; + font-weight: 600; text-align: center; } diff --git a/server/sonar-web/src/main/less/deprecated.less b/server/sonar-web/src/main/less/deprecated.less index e9b7173022b..c63f07efa0b 100644 --- a/server/sonar-web/src/main/less/deprecated.less +++ b/server/sonar-web/src/main/less/deprecated.less @@ -196,7 +196,7 @@ th.operations, td.operations { .rulename, .rulename a { color: #444; - font-weight: 500; + font-weight: 600; } .rulename a:hover { diff --git a/server/sonar-web/src/main/less/init/forms.less b/server/sonar-web/src/main/less/init/forms.less index e67f6f56c12..5945dd593b9 100644 --- a/server/sonar-web/src/main/less/init/forms.less +++ b/server/sonar-web/src/main/less/init/forms.less @@ -98,7 +98,7 @@ input[type=button] { background: transparent; color: @darkBlue; - font-weight: 500; + font-weight: 600; font-size: @smallFontSize; text-align: center; text-decoration: none; @@ -314,7 +314,7 @@ label[for] { input[type="radio"]:checked + label { background-color: @darkBlue; color: #fff; - font-weight: 500; + font-weight: 600; } input[type="radio"]:disabled + label { diff --git a/server/sonar-web/src/main/less/init/tables.less b/server/sonar-web/src/main/less/init/tables.less index f4ad6add927..427536371bb 100644 --- a/server/sonar-web/src/main/less/init/tables.less +++ b/server/sonar-web/src/main/less/init/tables.less @@ -50,7 +50,7 @@ table.data > thead > tr > th { line-height: 18px; padding: 8px 10px; border-bottom: 1px solid @barBorderColor; - font-weight: 500; + font-weight: 600; & > .small { display: block; diff --git a/server/sonar-web/src/main/less/init/type.less b/server/sonar-web/src/main/less/init/type.less index dc62037b49e..3469f833598 100644 --- a/server/sonar-web/src/main/less/init/type.less +++ b/server/sonar-web/src/main/less/init/type.less @@ -63,7 +63,7 @@ sub { vertical-align: text-bottom; } // Emphasising em { font-style: italic; } -strong { font-weight: 500; } +strong { font-weight: 600; } .emphasised-measure { font-size: 24px; diff --git a/server/sonar-web/src/main/less/pages/coding-rules.less b/server/sonar-web/src/main/less/pages/coding-rules.less index 2e1015b2fc4..9f0b59ec5f5 100644 --- a/server/sonar-web/src/main/less/pages/coding-rules.less +++ b/server/sonar-web/src/main/less/pages/coding-rules.less @@ -305,7 +305,7 @@ vertical-align: top; width: 1px; padding: 8px 5px 8px 0; - font-weight: 500; + font-weight: 600; white-space: nowrap; } diff --git a/server/sonar-web/src/main/less/variables.less b/server/sonar-web/src/main/less/variables.less index 527468a46b1..57871ac69c2 100644 --- a/server/sonar-web/src/main/less/variables.less +++ b/server/sonar-web/src/main/less/variables.less @@ -119,10 +119,10 @@ @h1-font-weight: 400; @h2-font-weight: 400; -@h3-font-weight: 500; -@h4-font-weight: 500; -@h5-font-weight: 500; -@h6-font-weight: 500; +@h3-font-weight: 600; +@h4-font-weight: 600; +@h5-font-weight: 600; +@h6-font-weight: 600;