diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-10-02 15:51:15 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-10-14 10:28:59 +0200 |
commit | 15b2160babc5c35ede960b7d0e133acbec8c6c51 (patch) | |
tree | 6475ad0602bbe4d6dae895aae43d331726ab8c33 /server/sonar-web/src/main/less | |
parent | e51e9c9eb0145ea5e9d40453554c456585b79936 (diff) | |
download | sonarqube-15b2160babc5c35ede960b7d0e133acbec8c6c51.tar.gz sonarqube-15b2160babc5c35ede960b7d0e133acbec8c6c51.zip |
improve the web build system, introduce gulp and browserify
Diffstat (limited to 'server/sonar-web/src/main/less')
-rw-r--r-- | server/sonar-web/src/main/less/components/page.less | 39 |
1 files changed, 15 insertions, 24 deletions
diff --git a/server/sonar-web/src/main/less/components/page.less b/server/sonar-web/src/main/less/components/page.less index fd6f2f7f756..0e69b19f819 100644 --- a/server/sonar-web/src/main/less/components/page.less +++ b/server/sonar-web/src/main/less/components/page.less @@ -2,6 +2,11 @@ @import (reference) "../mixins"; @import (reference) "../init/links"; +body { + min-height: 100vh; + display: flex; + flex-direction: column; +} .page { .clearfix; @@ -14,8 +19,14 @@ } .page-wrapper { - min-height: ~"calc(100vh - @{pageFooterHeight})"; - .box-sizing(border-box); + box-sizing: border-box; + flex: 1; +} + +.page-wrapper-simple { + display: flex; + justify-content: center; + align-items: center; } .page-wrapper-global { @@ -27,12 +38,10 @@ } .page-simple { - max-width: 400px; - margin: 10vh auto; + width: 400px; padding: 40px; border: 1px solid @barBorderColor; background-color: #fff; - text-align: left; } .page-header { @@ -76,22 +85,4 @@ a { .link-base-color; } -} - -@supports (display: flex) { - body { - min-height: 100vh; - display: flex; - flex-flow: column nowrap; - justify-content: space-between; - } - - .page-wrapper { - flex: 1; - min-height: 0 !important; - } - - .page-simple { - margin-bottom: 0; - } -} +}
\ No newline at end of file |