diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2017-04-27 10:18:02 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2017-04-27 11:44:56 +0200 |
commit | fd3934ccca6b674b44d51b34d3c2488f920fd8eb (patch) | |
tree | 9dbaa0e13e47b1dd344f469f3b2f65a0d70485c0 /server/sonar-web/src/main/less | |
parent | c4787c85599d0f9db0b2a7be05560229e36e376e (diff) | |
download | sonarqube-fd3934ccca6b674b44d51b34d3c2488f920fd8eb.tar.gz sonarqube-fd3934ccca6b674b44d51b34d3c2488f920fd8eb.zip |
clean up issues css
Diffstat (limited to 'server/sonar-web/src/main/less')
-rw-r--r-- | server/sonar-web/src/main/less/pages/issues.less | 235 | ||||
-rw-r--r-- | server/sonar-web/src/main/less/sonar.less | 1 |
2 files changed, 0 insertions, 236 deletions
diff --git a/server/sonar-web/src/main/less/pages/issues.less b/server/sonar-web/src/main/less/pages/issues.less deleted file mode 100644 index c5cd4913063..00000000000 --- a/server/sonar-web/src/main/less/pages/issues.less +++ /dev/null @@ -1,235 +0,0 @@ -/* - * SonarQube - * Copyright (C) 2009-2017 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ -@import (reference) "../variables"; -@import (reference) "../mixins"; -@import (reference) "../components/ui"; - -@sideWidth: 300px; - - -.issues { - - &.sticky { - - .issues-workspace-list, - .issues-workspace-component-viewer { - padding-top: 22px + 5px + 5px + 1px + 10px; - } - - } - - .issue-meta-locations { - position: absolute; - visibility: hidden; - } - - .search-navigator-facet-header, - .search-navigator-facet-list { - padding-left: 0; - padding-right: 0; - } - - .search-navigator-facet-header { - padding-top: 8px; - padding-bottom: 8px; - } - - .search-navigator-facet-box:not(.hidden) + .search-navigator-facet-box { - border-top: none; - } - - .search-navigator-facet-footer { - padding: 0 0 10px 0; - } - - .issue-list { - /* no math, just a good guess */ - min-width: 640px; - width: 800px; - - @media (max-width: 1320px) { - & { - width: ~"calc(60vw - 40px)"; - } - } - } - - .issue { - cursor: pointer; - - &:hover { - border-color: @issueBorderColor; - } - } -} - -.issues-workspace-list-component { - padding: 10px 10px 6px; -} - -.issues-workspace-list-item + .issues-workspace-list-item { - margin-top: 5px; -} - -.issues-workspace-list-component + .issues-workspace-list-item { - margin-top: 10px; -} - -.issues-workspace-list-item:first-child .issues-workspace-list-component { - padding-top: 0; -} - -.issues-workspace-list-component + .issues-workspace-list-item { - margin-top: 0; -} - -.issues-workspace-component-viewer { - display: none; - padding: 1px 10px 10px; - min-height: 100vh; - - .code-issue-modern { - margin: 5px 0; - } -} - -.issues-workspace-component-viewer-header { - position: relative; -} - -.issues-workspace-component-viewer-close { - position: absolute; - top: 50%; - right: 10px; - margin-top: -8px; -} - -.issues-extended-view { - - .search-navigator-workspace-list { - display: none; - } - - .issues-workspace-component-viewer { - display: block; - } -} - -.issues-header-component { - padding: 3px 0 3px 10px; -} - -.issue-box { - .clearfix; - outline: 1px solid @barBorderColor; - border-left: 2px solid transparent; - overflow: hidden; - - &.selected { - outline-color: @blue; - border-color: @blue; - } - - .code-issue { - border: none; - outline: none; - } -} - -.issue-box + .issue-box { - margin-top: 12px; -} - -.issue-box-details { - -} - -.code-issue-modern { - outline: 1px solid @barBorderColor; - border-left: 2px solid transparent; - - .code-issue-name, - .code-issue-actions, - .code-issue-details, - .code-issue-comment { - border: none; - background: transparent; - } - - &.selected { - outline-color: @blue; - border-color: @blue; - } -} - -.issue-box-snippet { - padding: 3px 0; - overflow: hidden; - cursor: pointer; - - .code { - border: none; - } -} - -.issue-box-component { - padding: 5px; -} - -.code .has-issues > pre { - display: inline-block; - background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAGCAYAAAAPDoR2AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo1M0M2Rjk4M0M3QUYxMUUzODkzRUREMUM5OTNDMjY4QSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo1M0M2Rjk4NEM3QUYxMUUzODkzRUREMUM5OTNDMjY4QSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjUzQzZGOTgxQzdBRjExRTM4OTNFREQxQzk5M0MyNjhBIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjUzQzZGOTgyQzdBRjExRTM4OTNFREQxQzk5M0MyNjhBIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+bcqJtQAAAEhJREFUeNpi+G+swwDGDAwgbAWlwZiJAQFCgfgwEIfDRaC67ID4NRDnQ2kQnwFZwgFqnANMAQOUYY9sF0wBiCGH5CBkrAgQYACuWi4sSGW8yAAAAABJRU5ErkJggg==); - background-repeat: repeat-x; - background-size: 4px; - background-position: bottom; -} - -.issues-home-view { - .search-navigator-workspace-list, - .issues-workspace-component-viewer { - display: none; - } - - .issues-header-component, - .search-navigator-header-actions { - visibility: hidden; - } - - .issues-workspace-home { - display: block; - } -} - -.issues-workspace-home { - display: none; - padding-top: 180px; - text-align: center; -} - -.issues-workspace-home-inner { - display: inline-block; - vertical-align: top; - max-width: 600px; -} - -.issues-facet-mode { - padding: 8px 0; - text-align: center; -} diff --git a/server/sonar-web/src/main/less/sonar.less b/server/sonar-web/src/main/less/sonar.less index abc173cbe84..7d819138a74 100644 --- a/server/sonar-web/src/main/less/sonar.less +++ b/server/sonar-web/src/main/less/sonar.less @@ -59,7 +59,6 @@ @import "components/react-select"; @import "pages/coding-rules"; -@import "pages/issues"; @import "pages/quality-gates"; @import "pages/maintenance"; @import "pages/login"; |