kanbanworkflowstimelinescrumrubyroadmapproject-planningproject-managementopenprojectangularissue-trackerifcgantt-chartganttbug-trackerboardsbcf
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.
161 lines
3.9 KiB
161 lines
3.9 KiB
11 years ago
|
/*-- copyright
|
||
|
* OpenProject is a project management system.
|
||
11 years ago
|
* Copyright (C) 2012-2014 the OpenProject Foundation (OPF)
|
||
11 years ago
|
*
|
||
|
* 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. ++*/
|
||
|
|
||
11 years ago
|
@import global/all
|
||
11 years ago
|
@import fonts/openproject_icon_font
|
||
11 years ago
|
|
||
11 years ago
|
@mixin input-style
|
||
|
width: $content_from_input_width
|
||
11 years ago
|
line-height: 30px
|
||
11 years ago
|
border: $content_form_input_border
|
||
11 years ago
|
padding: 0 0 0 10px
|
||
|
@include border-radius(2px)
|
||
11 years ago
|
font-family: $font_family_normal
|
||
|
font-weight: bold
|
||
11 years ago
|
font-size: $global_font_size
|
||
11 years ago
|
line-height: 30px
|
||
11 years ago
|
height: 32px
|
||
11 years ago
|
margin: 0
|
||
11 years ago
|
&:hover, &:focus
|
||
11 years ago
|
border: $content_form_input_hover_border
|
||
11 years ago
|
|
||
|
float: none
|
||
|
display: inline-block
|
||
11 years ago
|
vertical-align: middle
|
||
11 years ago
|
|
||
|
@mixin select-style
|
||
|
@include input-style
|
||
|
margin: 0
|
||
11 years ago
|
min-width: $content_from_input_width + 10
|
||
|
max-width: $content_from_input_width + 10
|
||
11 years ago
|
padding: 7px 10px 7px 10px
|
||
|
option
|
||
|
padding-left: 10px
|
||
11 years ago
|
|
||
|
@mixin label-style
|
||
11 years ago
|
width: 155px
|
||
11 years ago
|
margin-left: 0
|
||
|
text-align: left
|
||
|
font-weight: normal
|
||
|
float: none
|
||
|
display: inline-block
|
||
11 years ago
|
padding-right: 5px
|
||
|
vertical-align: middle
|
||
11 years ago
|
|
||
11 years ago
|
%form-style
|
||
11 years ago
|
padding: 30px 20px
|
||
11 years ago
|
background-color: $content_form_bg_color
|
||
11 years ago
|
display: block
|
||
11 years ago
|
border: $content_form_border
|
||
11 years ago
|
|
||
11 years ago
|
div.attribute_wrapper
|
||
|
position: relative
|
||
11 years ago
|
padding: 0
|
||
|
margin-bottom: 10px
|
||
|
font-size: 14px
|
||
11 years ago
|
line-height: 30px
|
||
11 years ago
|
label
|
||
|
@include label-style
|
||
|
|
||
11 years ago
|
.short
|
||
|
width: 100px
|
||
|
margin-right: 200px
|
||
|
|
||
11 years ago
|
&.indented
|
||
|
margin-left: 160px
|
||
|
|
||
11 years ago
|
select
|
||
|
@include select-style
|
||
|
|
||
|
input
|
||
|
&[type=password], &[type=text]
|
||
|
@include input-style
|
||
11 years ago
|
&#work_package_subject, &#work_package_time_entry_comments
|
||
11 years ago
|
width: 50%
|
||
|
textarea
|
||
11 years ago
|
font-family: $font_family_normal
|
||
|
font-weight: bold
|
||
11 years ago
|
font-size: $global_font_size
|
||
11 years ago
|
border: $content_form_input_border
|
||
|
&:hover, &:focus
|
||
|
border: $content_form_input_hover_border
|
||
11 years ago
|
|
||
11 years ago
|
table
|
||
|
border: 0 none
|
||
|
background: none
|
||
|
margin: 0
|
||
|
td
|
||
|
padding: 6px
|
||
11 years ago
|
label
|
||
|
@include label-style
|
||
|
display: inline
|
||
11 years ago
|
&.label
|
||
11 years ago
|
vertical-align: middle
|
||
11 years ago
|
width: 160px
|
||
11 years ago
|
|
||
11 years ago
|
// A general CSS class to be applied to forms using the above defined form style.
|
||
|
// We can't define this on form itself as this would break a lot of existing forms.
|
||
|
//
|
||
|
// Using this form class allows to easily override defaults defined here with a more
|
||
|
// specific definition.
|
||
|
.form
|
||
|
@extend %form-style
|
||
|
|
||
11 years ago
|
hr.form_separator
|
||
|
border: 0
|
||
11 years ago
|
border-bottom: 1px solid $content_form_separator_color
|
||
11 years ago
|
margin: 0 0 30px
|
||
|
background: none
|
||
|
|
||
11 years ago
|
.form-space
|
||
|
padding-top: 10px
|
||
|
|
||
11 years ago
|
fieldset.with-legend-control
|
||
|
legend
|
||
|
float: left
|
||
|
background-color: white
|
||
|
margin-top: -15px
|
||
|
|
||
|
div.legend-control
|
||
|
margin-top: -15px
|
||
|
padding-bottom: 5px
|
||
|
|
||
|
span
|
||
|
padding-left: 5px
|
||
|
background-color: white
|
||
11 years ago
|
|
||
11 years ago
|
.ui-widget
|
||
|
font-family: $font_family_normal
|
||
|
font-size: $global_font_size - 1px
|
||
11 years ago
|
|
||
|
#content
|
||
|
.tabular
|
||
|
label.inline-label
|
||
|
width: auto
|
||
|
margin-left: 0
|
||
|
font-weight: normal
|