]> source.dussan.org Git - sonarqube.git/commitdiff
Change the monospace font
authorStas Vilchik <vilchiks@gmail.com>
Tue, 25 Nov 2014 10:22:12 +0000 (11:22 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Tue, 25 Nov 2014 10:22:23 +0000 (11:22 +0100)
server/sonar-web/src/main/less/coding-rules.less
server/sonar-web/src/main/less/component-viewer-source-colorizer.less
server/sonar-web/src/main/less/component-viewer.less
server/sonar-web/src/main/less/style.less
server/sonar-web/src/main/less/variables.less
server/sonar-web/src/main/webapp/fonts/sourcecodepro-regular.woff [deleted file]
server/sonar-web/src/main/webapp/fonts/sourcecodepro-semibold.woff [deleted file]

index 93a858dd9bc5dec9d186d4327093dc182765a2c7..f8bd0a43811811c6e24e2a64c3a80fabdab5eec1 100644 (file)
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
-    font-family: monospace;
+    font-family: @monoFontFamily;
     vertical-align: baseline;
   }
 }
index c53557a89c5b7439f19953788849e4988ccdd8f8..8ca1788ef74e9741cb625c2dce1137eab2d48794 100644 (file)
@@ -3,7 +3,7 @@
 
 .code pre {
   padding: 0;
-  font-family: 'Source Code Pro', monospace;
+  font-family: @monoFontFamily;
   font-size: 12px;
   line-height: 16px;
 }
index e2e7beb6b305ab1c098b3d22d6ada6e9b0f4ec67..71958756200463206d589bd27b187a7f31998ade 100644 (file)
   padding-right: 6px;
   font-weight: 500;
 }
-
-
-
-@font-face {
-  font-family: 'Source Code Pro';
-  src: url('../fonts/sourcecodepro-regular.woff') format('woff');
-  font-weight: normal;
-  font-style: normal;
-}
-
-@font-face {
-  font-family: 'Source Code Pro';
-  src: url('../fonts/sourcecodepro-semibold.woff') format('woff');
-  font-weight: 600;
-  font-style: normal;
-}
index 004ce6498268d9909c754be55bd1ef638a114657..b5a56227c9a2850d13d174e9e72f9c1d6748c8df 100644 (file)
@@ -721,7 +721,7 @@ th.operations, td.operations {
 
 .sources2 td.line pre {
   font-size: 12px;
-  font-family: monospace;
+  font-family: @monoFontFamily;
 }
 
 .sources2 td.ind {
@@ -1750,7 +1750,7 @@ ul.bullet li {
   border: 1px dashed #aaa;
   .box-sizing(border-box);
   font-size: 12px;
-  font-family: monospace;;
+  font-family: @monoFontFamily;
 }
 
 .rule-desc blockquote, .property blockquote, .bubble-popup blockquote, .coding-rules-detail-parameter blockquote {
@@ -2002,7 +2002,7 @@ table.nowrap td.small, td.nowrap.small, th.nowrap.small {
 
 /* Profile diff */
 .diffParam {
-  font-family: 'Bitstream Vera Sans Mono', 'Courier', monospace;
+  font-family: @monoFontFamily;
 }
 
 .yellowHighlight {
index 4137abb24b7be8abdf6466303b5d1213cbbb8069..6df9374e5e87ad99229956f7682f81b6d816fcc1 100644 (file)
@@ -9,6 +9,8 @@
 @secondFontColor: #777;
 @headerFontSize: 16px;
 
+@monoFontFamily: Consolas, "Liberation Mono", Menlo, Courier, monospace;
+
 
 
 /*
diff --git a/server/sonar-web/src/main/webapp/fonts/sourcecodepro-regular.woff b/server/sonar-web/src/main/webapp/fonts/sourcecodepro-regular.woff
deleted file mode 100755 (executable)
index 23d72d2..0000000
Binary files a/server/sonar-web/src/main/webapp/fonts/sourcecodepro-regular.woff and /dev/null differ
diff --git a/server/sonar-web/src/main/webapp/fonts/sourcecodepro-semibold.woff b/server/sonar-web/src/main/webapp/fonts/sourcecodepro-semibold.woff
deleted file mode 100644 (file)
index 2a99bab..0000000
Binary files a/server/sonar-web/src/main/webapp/fonts/sourcecodepro-semibold.woff and /dev/null differ