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

126 lines
3.3 KiB

//-- copyright
// OpenProject is a project management system.
// Copyright (C) 2012-2017 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-2017 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.
//++
form.project-filters
display: none
&.-expanded
display: block
.advanced-filters--filter-value
&.hidden
display: none
.multi-select
display: none
.single-select
display: block
&.multi-value
.multi-select
display: block
.single-select
display: none
.advanced-filters--filter
&.hidden
display: none
.advanced-filters--controls
margin-left: 1rem
margin-right: 1rem
margin-top: 1rem
margin-bottom: 1rem
#project-table
tr.basics
&.-expanded
.buttons
.collapse
display: inline
.expand
display: none
&.child
td.name
&.archived,
a
&:before
content: '» '
.buttons
.collapse
display: none
.expand
display: inline
.project-actions
display: inline-block
margin: 0
.dropdown-menu
text-align: left
.archived
color: $gray-dark
span.archived-label
text-transform: uppercase
.project-description
display: none
td
padding-top: 0
padding-bottom: 1rem
p
font-size: inherit
padding-left: 0
max-width: 800px // improve readability
// Hide everything else than text for now to avoid a too large table
.flash, pre
display: none !important
.project-description.-expanded
display: table-row
// Avoid hover effect
.generic-table--sort-header-outer:hover,
.generic-table--header-outer:hover
background: initial
tbody
tr:hover
.buttons .project-actions
visibility: visible
// Ugly hack for now, so expanded more-menus do not get cut off. Actually that
// should be handled from the drop down implementation with absolute positions
// just as in the work package table.
body.controller-projects.action-index
#content
overflow: visible
.generic-table--container
min-height: 1
overflow: visible
// Hide the context menu button outside mobile
html:not(.-browser-mobile)
#project-table
.buttons
.project-actions
visibility: hidden