]> source.dussan.org Git - sonarqube.git/commitdiff
New Issues Page: reduce with of scm data
authorStas Vilchik <vilchiks@gmail.com>
Thu, 6 Feb 2014 10:09:46 +0000 (16:09 +0600)
committerStas Vilchik <vilchiks@gmail.com>
Thu, 6 Feb 2014 10:09:46 +0000 (16:09 +0600)
sonar-server/src/main/webapp/stylesheets/navigator.css
sonar-server/src/main/webapp/stylesheets/navigator/base.css
sonar-server/src/main/webapp/stylesheets/navigator/base.less

index 90c0c33fe9ec484914c4a8e74f042ff1486a7fcb..17854a5680d40c90260a738f95cac58a48f947dd 100644 (file)
   border-bottom: 1px solid #e1e1e1;
   background-color: #fff;
 }
-.navigator-details .code-issue-actions {
-  font-size: 0;
-}
-.navigator-details .code-issue-actions > li {
+.navigator-details .scm .author {
   display: inline-block;
-  vertical-align: middle;
-  height: 14px;
-  line-height: 14px;
-  padding: 0 8px;
-  border-left: 1px solid #fff;
-  border-right: 1px solid #bfbfbf;
-  font-size: 12px;
-}
-.navigator-details .code-issue-actions > li:first-child {
-  padding-left: 0;
-  border-left: 0;
-}
-.navigator-details .code-issue-actions > li:last-child {
-  padding-right: 0;
-  border-right: 0;
-}
-.navigator-details .rule-desc {
-  float: none;
+  max-width: 100px;
+  white-space: nowrap;
+  overflow: hidden;
+  text-overflow: ellipsis;
 }
 .navigator-actions {
   padding: 0 10px 0 0;
index 778972800aab2862909bd1d7e15f60a517fe5e80..a43b8f7c4723eab916c60a905953979adefe0ba7 100644 (file)
   border-bottom: 1px solid #e1e1e1;
   background-color: #fff;
 }
-.navigator-details .code-issue-actions {
-  font-size: 0;
-}
-.navigator-details .code-issue-actions > li {
+.navigator-details .scm .author {
   display: inline-block;
-  vertical-align: middle;
-  height: 14px;
-  line-height: 14px;
-  padding: 0 8px;
-  border-left: 1px solid #fff;
-  border-right: 1px solid #bfbfbf;
-  font-size: 12px;
-}
-.navigator-details .code-issue-actions > li:first-child {
-  padding-left: 0;
-  border-left: 0;
-}
-.navigator-details .code-issue-actions > li:last-child {
-  padding-right: 0;
-  border-right: 0;
-}
-.navigator-details .rule-desc {
-  float: none;
+  max-width: 100px;
+  white-space: nowrap;
+  overflow: hidden;
+  text-overflow: ellipsis;
 }
 .navigator-actions {
   padding: 0 10px 0 0;
index b963d1e212f5664c8102dbc4ea70b2ecdac67719..98bbf93d9f36ab6486c1088cab8f75f107c3edc4 100644 (file)
     background-color: #fff;
   }
 
-  .code-issue-actions {
-    font-size: 0;
-
-    & > li {
-      display: inline-block;
-      vertical-align: middle;
-      height: 14px;
-      line-height: 14px;
-      padding: 0 8px;
-      border-left: 1px solid #fff;
-      border-right: 1px solid #bfbfbf;
-      font-size: 12px;
-
-      &:first-child {
-        padding-left: 0;
-        border-left: 0;
-      }
-
-      &:last-child {
-        padding-right: 0;
-        border-right: 0;
-      }
-    }
-  }
-
-  .rule-desc {
-    float: none;
+  .scm .author {
+    display: inline-block;
+    max-width: 100px;
+    white-space: nowrap;
+    overflow: hidden;
+    text-overflow: ellipsis;
   }
 }