//-- copyright // OpenProject is a project management system. // Copyright (C) 2012-2015 the OpenProject Foundation (OPF) // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License version 3. // // OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows: // Copyright (C) 2006-2013 Jean-Philippe Lang // Copyright (C) 2010-2013 the ChiliProject Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // 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 General Public License for more details. // // You should have received a copy of the GNU 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. // // See doc/COPYRIGHT.rdoc for more details. //++ html min-width: 1100px &.in_modal min-width: 0 body &%absolute-layout-mode overflow: x: auto y: hidden #wrapper @include default-transition +background-image(linear-gradient(to bottom, $main-menu-bg-color 0%, $main-menu-bg-color 100%)) background-repeat: no-repeat background-size: $main-menu-width 100% min-height: 100% height: auto position: relative &.nosidebar, &.nomenus background: none &.hidden-navigation background-size: $main-menu-folded-width 100% #main width: 100% z-index: 20 overflow: auto padding-bottom: $footer-height %absolute-layout-mode & position: absolute top: 55px bottom: 0 overflow: hidden border: bottom: 5px solid $footer-bg-color &.nomenus padding-bottom: 0 overflow: hidden %absolute-layout-mode & top: 0 #content @include default-transition margin: 0 0 0 $main-menu-width padding: 10px 20px width: auto overflow: hidden height: auto background-color: #fff z-index: 10 %absolute-layout-mode & position: absolute width: calc(100% - #{$main-menu-width}) height: calc(100% - 40px) padding: 10px 0 0 20px &.hidden-navigation margin-left: $main-menu-folded-width %absolute-layout-mode & width: calc(100% - #{$main-menu-folded-width}) &.nosidebar margin-left: 0 padding: 20px 40px %absolute-layout-mode & width: 100% &.nomenus margin: 0 padding: 0 %absolute-layout-mode & width: 100% height: 100% &:after content: "." display: block height: 0 clear: both visibility: hidden