]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4681 Differentiate ul/ol in markdown enabled divs
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>
Fri, 9 May 2014 13:15:46 +0000 (15:15 +0200)
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>
Fri, 9 May 2014 13:15:53 +0000 (15:15 +0200)
sonar-server/src/main/less/style.less

index e6309af27db87c4cfe3e5ca73c4a4ecb1b3798ac..53cf45fb7954f0fdd06ab25e2aa2c17e5ee51015 100644 (file)
@@ -900,10 +900,14 @@ th.operations, td.operations {
   vertical-align: sub;
 }
 
-.code-issue-comment li {
+.code-issue-comment ul li {
   list-style: square inside;
 }
 
+.code-issue-comment ol li {
+  list-style: decimal inside;
+}
+
 .code-issue-comment pre {
   padding: 10px;
   border: 1px dashed #DDD;
@@ -1103,26 +1107,30 @@ th.operations, td.operations {
   line-height: 1.5em;
   margin: 0;
   padding: 5px 10px;
-}
 
-.discussionComment h4 {
-  font-size: 90%;
-  margin-bottom: 2px;
-}
+  h4 {
+    font-size: 90%;
+    margin-bottom: 2px;
+  }
 
-.discussionComment h4 img {
-  vertical-align: sub;
-}
+  h4 img {
+    vertical-align: sub;
+  }
 
-.discussionComment li {
-  list-style: square inside;
-}
+  ol li {
+    list-style: decimal inside;
+  }
 
-.discussionComment pre {
-  padding: 10px;
-  border: 1px dashed #DDD;
-  color: #444;
-  font-size: 12px;
+  ul li {
+    list-style: square inside;
+  }
+
+  pre {
+    padding: 10px;
+    border: 1px dashed #DDD;
+    color: #444;
+    font-size: 12px;
+  }
 }
 
 div.comment-excerpt {
@@ -2782,4 +2790,4 @@ div.rule-title {
   font-size: 85%;
   font-weight: normal;
   margin-bottom: 25px;
-}
\ No newline at end of file
+}