From 2f2995fd8c6f60c5b3a05eeac5af1433e6af2eaf Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Thu, 6 Feb 2014 16:48:07 +0600 Subject: [PATCH] New Issues Page: latest redesign --- .../main/webapp/javascripts/navigator/issues.js | 2 +- .../src/main/webapp/stylesheets/navigator.css | 14 ++++++++++++-- .../main/webapp/stylesheets/navigator/base.css | 14 ++++++++++++-- .../main/webapp/stylesheets/navigator/base.less | 17 ++++++++++++++++- .../src/main/webapp/stylesheets/style.css | 1 + 5 files changed, 42 insertions(+), 6 deletions(-) diff --git a/sonar-server/src/main/webapp/javascripts/navigator/issues.js b/sonar-server/src/main/webapp/javascripts/navigator/issues.js index e2680c54472..a04259a9b6a 100644 --- a/sonar-server/src/main/webapp/javascripts/navigator/issues.js +++ b/sonar-server/src/main/webapp/javascripts/navigator/issues.js @@ -818,7 +818,7 @@ jQuery(function() { onDomRefresh: function() { var sourceTitleHeight = this.$('.source_title').outerHeight(); - jQuery('.navigator-details').css('padding-top', (sourceTitleHeight + 10) + 'px');sho + jQuery('.navigator-details').css('padding-top', (sourceTitleHeight + 10) + 'px'); }, diff --git a/sonar-server/src/main/webapp/stylesheets/navigator.css b/sonar-server/src/main/webapp/stylesheets/navigator.css index 17854a5680d..52d9819c33b 100644 --- a/sonar-server/src/main/webapp/stylesheets/navigator.css +++ b/sonar-server/src/main/webapp/stylesheets/navigator.css @@ -102,14 +102,18 @@ right: 0; background: #ffffff url(../images/loading.gif) no-repeat 4px 4px; } -.navigator-fetching.code-issue-actions, .navigator-fetching#tab-issue-rule { position: relative; } -.navigator-fetching.code-issue-actions:before, .navigator-fetching#tab-issue-rule:before { background-color: #EFEFEF; } +.navigator-fetching.code-issue-actions { + position: relative; +} +.navigator-fetching.code-issue-actions:before { + background-color: #E4ECF3; +} .navigator-header { padding: 0 10px; border-bottom: 1px solid #cdcdcd; @@ -243,6 +247,12 @@ .navigator-details.loading { background: #ffffff url("../images/loading.gif") no-repeat 4px 2px; } +.navigator-details .code-issue-name { + border-bottom: none; +} +.navigator-details .code-issue-actions { + background-color: #E4ECF3; +} .navigator-details .source_title { position: fixed; z-index: 3; diff --git a/sonar-server/src/main/webapp/stylesheets/navigator/base.css b/sonar-server/src/main/webapp/stylesheets/navigator/base.css index a43b8f7c472..ea143f18623 100644 --- a/sonar-server/src/main/webapp/stylesheets/navigator/base.css +++ b/sonar-server/src/main/webapp/stylesheets/navigator/base.css @@ -102,14 +102,18 @@ right: 0; background: #ffffff url(../images/loading.gif) no-repeat 4px 4px; } -.navigator-fetching.code-issue-actions, .navigator-fetching#tab-issue-rule { position: relative; } -.navigator-fetching.code-issue-actions:before, .navigator-fetching#tab-issue-rule:before { background-color: #EFEFEF; } +.navigator-fetching.code-issue-actions { + position: relative; +} +.navigator-fetching.code-issue-actions:before { + background-color: #E4ECF3; +} .navigator-header { padding: 0 10px; border-bottom: 1px solid #cdcdcd; @@ -243,6 +247,12 @@ .navigator-details.loading { background: #ffffff url("../images/loading.gif") no-repeat 4px 2px; } +.navigator-details .code-issue-name { + border-bottom: none; +} +.navigator-details .code-issue-actions { + background-color: #E4ECF3; +} .navigator-details .source_title { position: fixed; z-index: 3; diff --git a/sonar-server/src/main/webapp/stylesheets/navigator/base.less b/sonar-server/src/main/webapp/stylesheets/navigator/base.less index 98bbf93d9f3..c1119c5d855 100644 --- a/sonar-server/src/main/webapp/stylesheets/navigator/base.less +++ b/sonar-server/src/main/webapp/stylesheets/navigator/base.less @@ -103,7 +103,6 @@ background: #fff url(../images/loading.gif) no-repeat 4px 4px; } - &.code-issue-actions, &#tab-issue-rule { position: relative; @@ -111,6 +110,14 @@ background-color: #EFEFEF; } } + + &.code-issue-actions { + position: relative; + + &:before { + background-color: #E4ECF3; + } + } } @@ -290,6 +297,14 @@ background: @white url("../images/loading.gif") no-repeat 4px 2px; } + .code-issue-name { + border-bottom: none; + } + + .code-issue-actions { + background-color: #E4ECF3; + } + .source_title { position: fixed; z-index: 3; diff --git a/sonar-server/src/main/webapp/stylesheets/style.css b/sonar-server/src/main/webapp/stylesheets/style.css index a442dd7da10..2edc06c0cb0 100644 --- a/sonar-server/src/main/webapp/stylesheets/style.css +++ b/sonar-server/src/main/webapp/stylesheets/style.css @@ -943,6 +943,7 @@ th.operations, td.operations { .code-issue-list { font-size: 0; + white-space: nowrap; } .code-issue-list > li { -- 2.39.5