diff options
author | Wouter Admiraal <wouter.admiraal@sonarsource.com> | 2020-05-28 17:56:02 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2020-06-02 20:05:09 +0000 |
commit | 947685909fbdee4146a59c67cc706b5e7f530876 (patch) | |
tree | b2432f20571c6358e7fc7944246ce9ae00c27b0b /server/sonar-web/src/main/js/apps/security-hotspots/styles.css | |
parent | 1e44d80e9c900ac61274c7c3ada3c4c2df3e10ee (diff) | |
download | sonarqube-947685909fbdee4146a59c67cc706b5e7f530876.tar.gz sonarqube-947685909fbdee4146a59c67cc706b5e7f530876.zip |
SONAR-12920 Add product footer to the Hotspots page
Diffstat (limited to 'server/sonar-web/src/main/js/apps/security-hotspots/styles.css')
-rw-r--r-- | server/sonar-web/src/main/js/apps/security-hotspots/styles.css | 64 |
1 files changed, 36 insertions, 28 deletions
diff --git a/server/sonar-web/src/main/js/apps/security-hotspots/styles.css b/server/sonar-web/src/main/js/apps/security-hotspots/styles.css index b0a0f304706..e9095d08038 100644 --- a/server/sonar-web/src/main/js/apps/security-hotspots/styles.css +++ b/server/sonar-web/src/main/js/apps/security-hotspots/styles.css @@ -17,49 +17,57 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#security_hotspots .wrapper { - position: fixed; - /* top is defined programatically */ - bottom: 0; - width: 100%; +#security_hotspots .filter-bar-outer { + height: 62px; } -#security_hotspots .layout-page { - margin: 0 auto; - min-width: var(--minPageWidth); - max-width: 1280px; - height: 100%; +#security_hotspots .filter-bar { + position: fixed; + background-color: var(--barBackgroundColor); + z-index: var(--pageSideZIndex); + left: 0; + right: 0; } -#security_hotspots .filter-bar { +#security_hotspots .filter-bar-inner { max-width: 1280px; - box-sizing: border-box; margin: 0 auto; padding: calc(2 * var(--gridSize)) var(--gridSize); + box-sizing: border-box; border-bottom: 1px solid var(--barBorderColor); } -#security_hotspots .sidebar { - flex: 0 0 300px; - border-right: 1px solid var(--barBorderColor); - height: 100%; - overflow-y: auto; - overflow-x: hidden; +#security_hotspots .layout-page-side, +#security_hotspots .layout-page-side-outer { + width: calc(50vw - 330px); +} + +#security_hotspots .layout-page-side-inner { + margin-left: calc(50vw - 645px); } -#security_hotspots .main { - flex: 1 1 auto; - background-color: white; - /* Force flex to take parent width. */ - overflow-x: auto; +#security_hotspots .layout-page-main { + padding: 0; +} + +@media (max-width: 1320px) { + #security_hotspots .layout-page-side-outer, + #security_hotspots .layout-page-side { + width: 316px; + } + + #security_hotspots .layout-page-side-inner { + margin-left: 0; + } } -#security_hotspots .main .hotspot-content { - overflow-y: auto; - height: 100%; +#security_hotspots .hotspot-content { + max-width: 962px; /* 1280px - 300px - 18px */ + background: white; box-sizing: border-box; } -.invisible { - visibility: hidden; +#security_hotspots .invisible { + height: 0; + overflow: hidden; } |