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/content/_work_packages.sass

128 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.
//++
.work-packages--details-content
font-size: 0.875rem
@mixin details-pane--form-field
overflow: visible
overflow-y: visible
padding: 0
.work-packages--details--title
@include grid-block
@include details-pane--form-field
align-items: center
font-size: 1.125rem
font-weight: bold
.work-packages--details--subject
@include grid-content
@include grid-size(expand)
@include details-pane--form-field
// overriding default in place editing padding
// because the heigt will otherwise be too much
// and the change from read to write will flicker
.inplace-edit--text-field
padding: 0.15625rem 0.375rem
.report-category-actions
margin-top: -28px
width: 100%
text-align: right
.detail-panel-description
margin: 0
line-height: 18px
.comments-form
float: left
width: 100%
margin: 10px 0 100px 0
textarea
border: 1px solid #dddddd
padding: 8px
border-radius: 2px
font-size: 0.8125rem
width: 100%
button
float: right
font-size: 0.8125rem
background: linear-gradient(to bottom, white 0%, #eeeeee 74%, #eeeeee 100%) repeat scroll 0 0 rgba(0, 0, 0, 0)
border: 1px solid #CCCCCC
border-radius: 2px
color: #222222
margin: 10px 0 0 0
padding: 4px 10px 2px
cursor: pointer
height: 32px
i
&.icon-left
padding: 0 5px 0 0
&.icon-right
vertical-align: -2px
padding: 0 0 0 4px
#tabs
position: relative
width: 100%
$work-package-details--tab-height: 40px
.tabrow
text-align: left
list-style: none
margin: 0 0 0 10px
padding: 4px 0 0 0
line-height: $work-package-details--tab-height - 10px
height: $work-package-details--tab-height
overflow: hidden
position: relative
width: 97.5%
li
background: #ffffff
display: inline-block
position: relative
margin: 0
padding: 0
text-align: center
width: 18.6%
cursor: pointer
a
color: #333
text-decoration: none
&:hover
text-decoration: none
li.selected
color: #999
border-bottom: 2px solid $content-link-color
a
color: $content-link-color