OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/assets/stylesheets/layout/_work_package_mobile.sass

121 lines
3.2 KiB

//-- 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.
//++
@media only screen and (max-width: 480px)
body.controller-work_packages.action-show
.toolbar-container
min-height: 0
.work-packages--show-view
padding: 0
#toolbar-items
float: none
margin-bottom: 20px
#work-packages-view-mode-selection,
#action-show-more-dropdown-menu
display: none
.work-packages--split-view
display: block
left: 0
padding: 0
position: relative
right: 0
top: 0
.tabrow
height: auto
margin: 0.75rem 0 2.5rem 0
a
color: $content-link-color
li
border-top: 2px solid $gray
font-size: 0.75rem
margin: 0
padding: 8px 0
width: 33.33%
&.selected
border-bottom: 2px solid $content-link-color
.subject-header
float: none
margin: 0
padding: 0
.work-packages--left-panel,
.work-packages--right-panel
border: none
margin: 0
min-width: 0
overflow: visible
width: 100%
// Fix for iOS: Otherwise the edit actions toolbar is misplaced
padding: 0 0 50px 0
.work-packages--panel-inner
padding: 0
&.edit-all-mode
.work-packages--right-panel
display: none
.attributes-key-value--key,
.attributes-key-value--value-container
@include grid-size(6)
font-size: 1rem
margin-bottom: 20px
.inplace-edit--read-value
padding: 0
.inplace-editing--container
border: none
.attributes-key-value--key
padding: 0 !important
div[class*='work-packages--details--']
width: 100%
.work-packages--left-panel
.work-packages--edit-actions
width: calc(100vw + 20px)
bottom: -20px
// Stretch description to fullwidth
.inplace-edit--icon-wrapper
display: none
.work-package-details-activities-messages
font-size: 0.9rem