//-- copyright // OpenProject is a project management system. // Copyright (C) 2012-2017 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-2017 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. //++ /***** Tabs **** #content .tabs position: relative height: 2.6em margin-bottom: 1.2em z-index: 1 overflow: hidden // necessary to overwrite foundations styling of .tabs display: block ul position: relative white-space: nowrap margin-top: 0.75rem margin-left: 0 bottom: 0 padding-left: 1em border-bottom: 1px solid #bbbbbb overflow: hidden li display: inline-block list-style-type: none white-space: nowrap margin-right: 4px background: #fff margin-bottom: -1px a display: block font-size: 0.9em text-decoration: none line-height: 1.3em padding: 4px 6px 4px 6px border: 1px solid #ccc background-color: #eeeeee color: #333 font-weight: bold &:hover background-color: #ffffdd text-decoration: none &.selected background-color: #fff #content .tab-content overflow-x: auto overflow-y: hidden min-height: 0 // overflows in a flexbox layout want that. div.tabs-buttons position: absolute right: 0 bottom: 4px button &.tab-left, &.tab-right font-size: 0.9em cursor: pointer height: 24px border: 1px solid #ccc border-bottom: 1px solid #bbbbbb position: absolute padding: 4px width: 20px bottom: -1px &.tab-left right: 20px &.tab-right right: 0