diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2017-06-19 06:31:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-19 06:31:21 -0700 |
commit | 2772ae13b3ff735d5866b7ffd481b40f3867a031 (patch) | |
tree | ae4a500a61dd90fa7fb88968cb0727602224943c /server/sonar-web/src/main/js/apps/issues | |
parent | 89c38a3abb4b8a81632840be01d4b9a6d7a91108 (diff) | |
download | sonarqube-2772ae13b3ff735d5866b7ffd481b40f3867a031.tar.gz sonarqube-2772ae13b3ff735d5866b7ffd481b40f3867a031.zip |
update projects page layout (#2182)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/issues')
3 files changed, 9 insertions, 51 deletions
diff --git a/server/sonar-web/src/main/js/apps/issues/components/App.js b/server/sonar-web/src/main/js/apps/issues/components/App.js index 144f2f2b682..d827a0d1f1f 100644 --- a/server/sonar-web/src/main/js/apps/issues/components/App.js +++ b/server/sonar-web/src/main/js/apps/issues/components/App.js @@ -804,8 +804,8 @@ export default class App extends React.PureComponent { {this.renderSide(openIssue)} <div className="layout-page-main"> - <div className="issues-header-panel issues-main-header"> - <div className="issues-header-panel-inner issues-main-header-inner"> + <div className="layout-page-header-panel layout-page-main-header issues-main-header"> + <div className="layout-page-header-panel-inner layout-page-main-header-inner"> <div className="layout-page-main-inner"> {this.renderBulkChange(openIssue)} {openIssue != null diff --git a/server/sonar-web/src/main/js/apps/issues/conciseIssuesList/ConciseIssuesListHeader.js b/server/sonar-web/src/main/js/apps/issues/conciseIssuesList/ConciseIssuesListHeader.js index e6a5f1c24b3..aed9b836953 100644 --- a/server/sonar-web/src/main/js/apps/issues/conciseIssuesList/ConciseIssuesListHeader.js +++ b/server/sonar-web/src/main/js/apps/issues/conciseIssuesList/ConciseIssuesListHeader.js @@ -36,8 +36,8 @@ export default function ConciseIssuesListHeader(props: Props) { const { paging, selectedIndex } = props; return ( - <header className="issues-header-panel concise-issues-list-header"> - <div className="issues-header-panel-inner concise-issues-list-header-inner"> + <header className="layout-page-header-panel concise-issues-list-header"> + <div className="layout-page-header-panel-inner concise-issues-list-header-inner"> <BackButton className="pull-left" onClick={props.onBackClick} /> {props.loading ? <i className="spinner pull-right" /> diff --git a/server/sonar-web/src/main/js/apps/issues/styles.css b/server/sonar-web/src/main/js/apps/issues/styles.css index 95f6f533b22..b2041786cf7 100644 --- a/server/sonar-web/src/main/js/apps/issues/styles.css +++ b/server/sonar-web/src/main/js/apps/issues/styles.css @@ -1,55 +1,13 @@ -.issues-header-panel, -.issues-header-panel-inner { - height: 56px; - box-sizing: border-box; -} - -.issues-header-panel { - margin-top: -20px; -} - -.issues-header-panel-inner { - position: fixed; - z-index: 30; - line-height: 24px; - padding-top: 16px; - padding-bottom: 16px; - border-bottom: 1px solid #e6e6e6; - background-color: #f3f3f3; -} - -.issues-main-header { - margin-bottom: 20px; -} - .issues-main-header .component-name { line-height: 24px; } -.issues-main-header-inner { - left: calc(50vw - 360px + 1px); - right: 0; - padding-left: 20px; - padding-right: 20px; -} - -@media (max-width: 1320px) { - .issues-main-header-inner { - left: 301px; - } +.concise-issues-list-header, .concise-issues-list-header-inner { } -.issues-main-header-spinner { - margin-left: 1px; - margin-right: 9px; - margin-top: -1px; +.concise-issues-list-header { } -.concise-issues-list-header, -.concise-issues-list-header-inner {} - -.concise-issues-list-header {} - .concise-issues-list-header-inner { width: 260px; text-align: center; @@ -156,8 +114,7 @@ text-align: right; } -.issues .search-navigator-facet-header, -.issues .search-navigator-facet-list { +.issues .search-navigator-facet-header, .issues .search-navigator-facet-list { padding-left: 0; padding-right: 0; } @@ -167,7 +124,8 @@ padding-bottom: 8px; } -.issues .search-navigator-facet-box:not(.hidden):not(.leak-facet-box) + .search-navigator-facet-box:not(.leak-facet-box) { +.issues .search-navigator-facet-box:not(.hidden):not(.leak-facet-box) + + .search-navigator-facet-box:not(.leak-facet-box) { border-top: none; } |