//-- 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. //++ @mixin legacy-actions-defaults($margin-top: 7px) float: right margin-top: $margin-top font-size: 0.9rem > li float: left position: relative list-style: none @mixin contextual($margin-top: 8px) float: right white-space: nowrap line-height: 1.4em margin-top: $margin-top padding-left: 10px ul.legacy-actions-main @include legacy-actions-defaults margin-left: 20px ul.legacy-actions-specific, .nosidebar ul.legacy-actions-specific @include legacy-actions-defaults(-7px) p.subtitle + ul.legacy-actions-specific @include legacy-actions-defaults(-57px) #lower-title-bar ul.legacy-actions-specific @include legacy-actions-defaults padding-top: 10px #lower-title-bar ul.legacy-actions-more bottom: 0 right: 0 margin-bottom: 25px top: auto > li.drop-down position: relative .message-reply-menu @include contextual(-60px) > .button margin-right: 0 .legacy-actions--inline-label @extend .inline-label margin-bottom: 1rem height: 1.5em .form-label color: $content-icon-link-color input, select font-size: 1em select padding: 0 1.5rem 0.0 0.5rem