/* * SonarQube * Copyright (C) 2009-2016 SonarSource SA * mailto:contact 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) "../init/links"; body { display: flex; flex-direction: column; height: 100%; min-height: 100vh; } .page { .clearfix; position: relative; padding: 10px 20px; } .page-limited { max-width: 1280px; margin-left: auto; margin-right: auto; padding-top: 20px; padding-bottom: 20px; } .page-container { min-width: 1080px; } .page-wrapper { box-sizing: border-box; flex: 1 0 auto; } .page-wrapper-simple { display: flex; justify-content: center; align-items: center; margin: 100px 0; } .page-wrapper-global { padding-top: @navbarGlobalHeight; } .page-wrapper-context { padding-top: @navbarGlobalHeight + @navbarContextHeight; } .page-simple { width: 400px; padding: 40px; border: 1px solid @barBorderColor; background-color: #fff; } .page-header { .clearfix; margin-bottom: 20px; .spinner { position: relative; top: 3px; margin-left: 8px; } } .page-title { float: left; margin-bottom: 0; line-height: @formControlHeight; } .page-actions { float: right; margin-bottom: 10px; margin-left: 10px; line-height: @formControlHeight; .badge { margin: 3px 0; } .spinner { top: 0 !important; } } .page-description { float: left; clear: left; max-width: 800px; line-height: 1.5; margin-top: 6px; } .page-footer { min-height: @pageFooterHeight; padding: 10px; line-height: 1.5; border-top: 1px solid @barBorderColor; box-sizing: border-box; background-color: @barBackgroundColor; color: @baseFontColorLight; font-size: @smallFontSize; text-align: center; a { .link-base-color; } } .page-with-sidebar { display: flex; } .page-main { flex-grow: 1; } .page-sidebar { width: 30%; min-width: 300px; flex-shrink: 0; padding-left: 40px; box-sizing: border-box; } .page-sidebar-fixed { .page-sidebar; width: 300px; }