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/legacy/_02_tabular_forms.sass

187 lines
4.7 KiB

//-- copyright
// OpenProject is a project management system.
// Copyright (C) 2012-2014 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 0 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: 0px
text-align: left
width: 270px
&.block
font-weight: normal
margin-left: 0px !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: 0px
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
.summary
font-style: italic
input.attachment_choose_file
float: left
margin-right: 10px
div.attachment_field
height: 30px
#attachments
font-size: 1em
#attachments_fields input[type=text]
margin-left: 8px
div.attachments
margin-top: 12px
p
margin: 4px 0 2px 0
img
vertical-align: middle
span.author
font-size: 0.9em
color: #888
p.other-formats
font-size: 0.9em
color: #666
.other-formats span + span:before
content: "| "
/* Project members tab
div
&#tab-content-members .splitcontentleft, &#tab-content-memberships .splitcontentleft, &#tab-content-users .splitcontentleft
margin-right: 1em
&#tab-content-members .splitcontentleft, &#tab-content-memberships .splitcontentleft, &#tab-content-users .splitcontentleft, &#tab-content-members .splitcontentright, &#tab-content-memberships .splitcontentright, &#tab-content-users .splitcontentright
margin-bottom: 1em
&#tab-content-members fieldset, &#tab-content-memberships fieldset, &#tab-content-users fieldset
padding: 1em
&#tab-content-members fieldset, &#tab-content-memberships fieldset, &#tab-content-users fieldset, &#tab-content-members fieldset p
margin-bottom: 1em
&#tab-content-info fieldset legend, &#tab-content-members fieldset legend, &#tab-content-memberships fieldset legend, &#tab-content-users fieldset legend
font-weight: bold
&#tab-content-members
.user.status_registered, label.status_registered
filter: alpha(opacity = 80)
-khtml-opacity: 0.8
opacity: 0.8
-moz-opacity: 0.8
input#user_search
width: 100%
* html div#tab-content-members fieldset div
height: 450px
div#tab-content-members fieldset div
&.select-boxes label
display: inline-block
width: 350px
/* max-width of select2boxes
&#principal_results div
&.roles, &.principals
display: inline-block
width: 350px
/* max-width of select2boxes
&.select-boxes .select2-container
float: left
font-weight: normal