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

145 lines
3.3 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)
html
min-width: 0
body.controller-work_packages.action-show
overflow: auto
overflow-y: scroll /* has to be scroll, not auto */
-webkit-overflow-scrolling: touch
#main,
#content
position: relative
top: 0
#header
min-width: 0
#wrapper
background: #fff
#content
height: 100%
margin: 0
padding: 20px
width: 100%
#main-menu,
#breadcrumb,
#toolbar-items
display: none
#top-menu
position: relative
#top-menu-items
display: none
.toolbar-container
min-height: 0
.work-packages--show-view
padding: 0
.work-packages--split-view
display: block
left: 0
padding: 0
position: relative
right: 0
top: 0
.tabrow
display: block
height: auto
margin: 0.75rem 0 2.5rem 0
a
color: $content-link-color
li
border-top: 2px solid $gray
margin: 0
padding: 8px 0
font-size: 0.75rem
&.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
padding: 0
width: 100%
.work-packages--panel-inner
padding: 0
.attributes-key-value
display: block
.attributes-key-value--key,
.attributes-key-value--value-container
max-width: none
.inplace-edit--read-value
padding: 0
.attributes-key-value--key
margin: 0
padding: 0
.attributes-key-value--value-container
margin-bottom: 20px
div[class*='work-packages--details--']
width: 100%
// Stretch description to fullwidth
.inplace-edit--icon-wrapper
display: none
.work-package-details-activities-messages
font-size: 0.9rem
.notification-box--wrapper
left: 20px
margin: 0
right: 20px
width: calc(100% - 40px)