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/_tables.sass

252 lines
5.5 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.
//++
table
td
padding: 3px 6px
p
margin: 0
&.files tr.file td
text-align: center
&.filename
text-align: left
padding-left: 24px
&.digest
font-size: 80%
&.members td.roles, &.memberships td.roles
width: 45%
&.plugins
td
vertical-align: middle
&.configure
text-align: right
padding-right: 1em
span
&.name
font-weight: bold
&.description, &.url
display: block
font-size: 0.9em
&#time-report
tbody tr
font-style: italic
color: #333
&.last-level
font-style: normal
color: #555
&.total
font-style: normal
font-weight: bold
color: #555
background-color: #EEEEEE
.hours-dec
font-size: 0.9em
tr
&.project
td.name a
white-space: nowrap
&.idnt td.project--hierarchy span
padding-left: 16px
&.icon-context:before
padding: 9px 5px 0 10px
&.idnt-1 td.project--hierarchy
padding-left: 0.5em
&.idnt-2 td.project--hierarchy
padding-left: 2em
&.idnt-3 td.project--hierarchy
padding-left: 3.5em
&.idnt-4 td.project--hierarchy
padding-left: 5em
&.idnt-5 td.project--hierarchy
padding-left: 6.5em
&.idnt-6 td.project--hierarchy
padding-left: 8em
&.idnt-7 td.project--hierarchy
padding-left: 9.5em
&.idnt-8 td.project--hierarchy
padding-left: 11em
&.idnt-9 td.project--hierarchy
padding-left: 12.5em
&.issue
white-space: nowrap
&.sum
font-weight: bold
background-color: #f6f7f8
td
&.category
white-space: normal
&.subject
text-align: left
&.idnt td.subject .icon-context:before
padding: 9px 0 0 10px
&.work-package
white-space: nowrap
&.sum
font-weight: bold
td.subject
white-space: normal
text-align: left
td.done_ratio table.progress
margin-left: auto
margin-right: auto
&.idnt td.subject.icon-context
display: inherit
&.issue td.category
white-space: normal
&.entry
border: 1px solid #f8f8f8
td
white-space: nowrap
&.filename
width: 30%
&.size
text-align: right
font-size: 90%
&.revision, &.author
text-align: center
&.age
text-align: right
div.expander
cursor: pointer
float: left
&.open span .expand, &.closed span .collapse
display: none
&.changeset td
&.author, &.committed_on
text-align: center
width: 15%
td[class*=reorder]
.icon-context:before
padding: 0 0 0 0
.up
transform: rotate(90deg)
.down
transform: rotate(270deg)
&.message
height: 2.6em
td
&.created_on, &.last_message
white-space: nowrap
&.version
td
&.closed
text-decoration: line-through
a
text-decoration: line-through
&.name
padding-left: 20px
&.icon-link:before
padding: 10px 10px 0 0
td
&.date, &.status, &.sharing
white-space: nowrap
&.user
td
white-space: nowrap
&.locked, &.registered, &.locked a, &.registered a
color: #aaa
td.hours
font-weight: bold
.hours-dec
font-size: 0.9em
th.hidden
display: none
a.toggle-all:hover
text-decoration: none
#content tr.issue
&.idnt-1 td.subject
padding-left: 0.5em
&.idnt-2 td.subject
padding-left: 2em
&.idnt-3 td.subject
padding-left: 3.5em
&.idnt-4 td.subject
padding-left: 5em
&.idnt-5 td.subject
padding-left: 6.5em
&.idnt-6 td.subject
padding-left: 8em
&.idnt-7 td.subject
padding-left: 9.5em
&.idnt-8 td.subject
padding-left: 11em
&.idnt-9 td.subject
padding-left: 12.5em
#content tr.work-package
&.idnt-1 td.subject
padding-left: 0.5em
&.idnt-2 td.subject
padding-left: 2em
&.idnt-3 td.subject
padding-left: 3.5em
&.idnt-4 td.subject
padding-left: 5em
&.idnt-5 td.subject
padding-left: 6.5em
&.idnt-6 td.subject
padding-left: 8em
&.idnt-7 td.subject
padding-left: 9.5em
&.idnt-8 td.subject
padding-left: 11em
&.idnt-9 td.subject
padding-left: 12.5em
#content table
tr
&.context-menu-selection
background-color: #FFFFB2
&:hover
background-color: #FFFFB2
#issue_tree
table.issues
border: 0
td.checkbox
display: none