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

133 lines
3.0 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.
//++
/***** Tabular forms *****
.tabular p
margin: 0
padding: 5px 10px 8px 0
padding-left: 180px
/*width of left column containing the label elements
height: auto
clear: left
html > body .tabular p
overflow: hidden
.tabular
label
font-weight: bold
float: left
text-align: right
margin-left: -180px
/*width of left column
width: 175px
/* width of labels. Should be smaller than left column to create some right
* margin
td label
font-weight: normal
float: none
text-align: left
margin-left: 0
/*width of left column
width: auto
/* width of labels. Should be smaller than left column to create some right
* margin
p.email_notification
margin: 18px 10px 6px
padding: 87px
.tabular label
&.floating
font-weight: normal
margin-left: 0
text-align: left
width: 270px
&.block
font-weight: normal
margin-left: 0 !important
text-align: left
float: none
display: block
width: auto
&.inline
float: none
margin-left: 5px !important
width: auto
label.no-css
font-weight: inherit
float: none
text-align: left
margin-left: 0
width: auto
input#time_entry_comments
width: 90%
#preview fieldset
margin-top: 1em
background: image-url("draft.png")
.tabular.settings
p
padding-left: 300px
label
margin-left: -300px
width: 295px
textarea
width: 99%
fieldset
&.settings label
display: block
&#notified_events .parent
padding-left: 20px
.required
color: #bb0000
#content
.box
fieldset.tabular
border-style: none
margin:
top: -20px
bottom: -20px
> legend
float: left
text-align: right
margin-left: -21px
padding-right: 4px
width: 175px
label.floating
width: 150px