From: Jean-Baptiste Lievremont Date: Fri, 9 May 2014 13:15:46 +0000 (+0200) Subject: SONAR-4681 Differentiate ul/ol in markdown enabled divs X-Git-Tag: 4.4-RC1~1154 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6c5ef4a81481e912c309c4dcbb614ff81bd7a90d;p=sonarqube.git SONAR-4681 Differentiate ul/ol in markdown enabled divs --- diff --git a/sonar-server/src/main/less/style.less b/sonar-server/src/main/less/style.less index e6309af27db..53cf45fb795 100644 --- a/sonar-server/src/main/less/style.less +++ b/sonar-server/src/main/less/style.less @@ -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 +}