From 42f969e3ab38d2c11b3fc2ddab83e1e8cd551639 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Thu, 6 Feb 2014 16:09:46 +0600 Subject: [PATCH] New Issues Page: reduce with of scm data --- .../src/main/webapp/stylesheets/navigator.css | 27 +++------------ .../webapp/stylesheets/navigator/base.css | 27 +++------------ .../webapp/stylesheets/navigator/base.less | 33 ++++--------------- 3 files changed, 16 insertions(+), 71 deletions(-) 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; } } -- 2.39.5