From: Stas Vilchik Date: Thu, 6 Feb 2014 10:09:46 +0000 (+0600) Subject: New Issues Page: reduce with of scm data X-Git-Tag: 4.2~224 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=42f969e3ab38d2c11b3fc2ddab83e1e8cd551639;p=sonarqube.git New Issues Page: reduce with of scm data --- diff --git a/sonar-server/src/main/webapp/stylesheets/navigator.css b/sonar-server/src/main/webapp/stylesheets/navigator.css index 90c0c33fe9e..17854a5680d 100644 --- a/sonar-server/src/main/webapp/stylesheets/navigator.css +++ b/sonar-server/src/main/webapp/stylesheets/navigator.css @@ -253,29 +253,12 @@ 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; diff --git a/sonar-server/src/main/webapp/stylesheets/navigator/base.css b/sonar-server/src/main/webapp/stylesheets/navigator/base.css index 778972800aa..a43b8f7c472 100644 --- a/sonar-server/src/main/webapp/stylesheets/navigator/base.css +++ b/sonar-server/src/main/webapp/stylesheets/navigator/base.css @@ -253,29 +253,12 @@ 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; diff --git a/sonar-server/src/main/webapp/stylesheets/navigator/base.less b/sonar-server/src/main/webapp/stylesheets/navigator/base.less index b963d1e212f..98bbf93d9f3 100644 --- a/sonar-server/src/main/webapp/stylesheets/navigator/base.less +++ b/sonar-server/src/main/webapp/stylesheets/navigator/base.less @@ -301,33 +301,12 @@ 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; } }