]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5820 Improve rule description ui
authorStas Vilchik <vilchiks@gmail.com>
Wed, 7 Jan 2015 14:27:46 +0000 (15:27 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Wed, 7 Jan 2015 14:27:46 +0000 (15:27 +0100)
server/sonar-web/src/main/hbs/coding-rules/coding-rules-rule-details.hbs
server/sonar-web/src/main/less/components/rules.less

index bfe4d7721e1b5315f877fa1cbd71e8dbacbc7533..c4eca54f63dd8f9d7c54d68bbed6834c8049d484 100644 (file)
@@ -15,6 +15,6 @@
   </div>
 {{/if}}
 
-<div class="js-rule-custom-rules"></div>
-<div class="js-rule-profiles"></div>
-<div class="js-rule-issues"></div>
+<div class="js-rule-custom-rules coding-rule-section"></div>
+<div class="js-rule-profiles coding-rule-section"></div>
+<div class="js-rule-issues coding-rule-section"></div>
index 41793326f449a6b006271142c665e73c21497cc9..681f54f1b96fe012b32314c5169b2816b4a0e578 100644 (file)
@@ -58,6 +58,9 @@
   }
 }
 
-.coding-rule-details {
+.coding-rule-section > div {
   max-width: 1020px;
+  margin: 0 -10px;
+  padding: 0 10px;
+  border-top: 10px solid @barBackgroundColor;
 }