]> source.dussan.org Git - sonarqube.git/commitdiff
apply web service api page feedback
authorStas Vilchik <vilchiks@gmail.com>
Fri, 20 Feb 2015 09:19:06 +0000 (10:19 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Fri, 20 Feb 2015 09:19:06 +0000 (10:19 +0100)
server/sonar-web/src/main/hbs/api-documentation/api-documentation-layout.hbs
server/sonar-web/src/main/less/pages/api-documentation.less

index 7e0e7c42a31ed36691403158a3e90b521f594cad..1d9d56e7be60095f5567bc2f97c72dd4f9ae345f 100644 (file)
@@ -1,6 +1,6 @@
 <div class="search-navigator-side search-navigator-side-light">
   <div class="search-navigator-filters">
-    <h1 class="page-title">API Documentation</h1>
+    <h1 class="page-title">Web Service API</h1>
   </div>
   <div class="api-documentation-results panel"></div>
 </div>
index 174adcf2d945cea92a1eaaef41608a9ba818f412..747166ffe31571350d50acd0207153723ab3db60 100644 (file)
     }
   }
 
-  .api-documentation-action {
-    margin-top: 30px;
+}
 
-    & > p, & > h3 {
-      margin-top: 5px;
-    }
+.api-documentation-action {
+  padding: 0 5px;
 
-    table {
-      width: 100%;
+  & > p {
+    margin-top: 5px;
+  }
 
-      tr {
-        border-top: 1px solid @navigatorBorderLightColor;
+  table {
+    width: 100%;
 
-        td {
-          padding: 10px 0 10px 5px;
-          margin: 5px;
-          vertical-align: top;
+    tr {
+      border-top: 1px solid @navigatorBorderLightColor;
 
-          ul {
-            li {
-              list-style: square;
-              margin-left: 2em;
-            }
+      td {
+        padding: 10px 0 10px 5px;
+        margin: 5px;
+        vertical-align: top;
+
+        ul {
+          li {
+            list-style: square;
+            margin-left: 2em;
           }
+        }
 
-          ul.possible-values {
-            display: inline;
+        ul.possible-values {
+          display: inline;
 
-            li {
-              display: inline;
-              margin: 0;
+          li {
+            display: inline;
+            margin: 0;
 
-              &:before {
-                content: ', '
-              }
+            &:before {
+              content: ', '
+            }
 
-              &:first-child:before {
-                content: ''
-              }
+            &:first-child:before {
+              content: ''
             }
           }
         }
       }
     }
+  }
 
-    .example-response-content {
-      margin: 10px 0;
-      padding: 5px;
-      background-color: @navigatorBarBackground;
-      border: 1px solid @navigatorBorderLightColor;
+  .example-response-content {
+    margin: 10px 0;
+    padding: 5px;
+    background-color: @navigatorBarBackground;
+    border: 1px solid @navigatorBorderLightColor;
 
-      code {
-        white-space: pre-wrap;
-      }
+    code {
+      white-space: pre-wrap;
     }
   }
 }
+
+.api-documentation-action + .api-documentation-action {
+  margin-top: 30px;
+}