437 lines
12 KiB
Sass
437 lines
12 KiB
Sass
@charset "utf-8"
|
|
|
|
// Mixins {{{
|
|
@mixin radial-gradient($gradient)
|
|
background-position: center center
|
|
background-image: -webkit-radial-gradient(circle, $gradient)
|
|
background-image: -moz-radial-gradient($gradient)
|
|
background-image: -ms-radial-gradient($gradient)
|
|
background-image: radial-gradient($gradient)
|
|
|
|
@mixin radius($radius: 5px)
|
|
-moz-border-radius: $radius
|
|
-webkit-border-radius: $radius
|
|
border-radius: $radius
|
|
|
|
@mixin box-shadow($bsval: 0px 1px 4px #777)
|
|
-moz-box-shadow: $bsval
|
|
-webkit-box-shadow: $bsval
|
|
-box-shadow: $bsval
|
|
// }}}
|
|
|
|
.openerp .oe_kanban_view
|
|
// KanbanView {{{
|
|
height: inherit
|
|
.ui-sortable-placeholder
|
|
border: 1px dotted black
|
|
visibility: visible !important
|
|
height: 60px !important
|
|
.oe_kanban_left
|
|
float: left
|
|
.oe_kanban_right
|
|
float: right
|
|
.oe_kanban_clear
|
|
clear: both
|
|
.oe_kanban_content
|
|
.oe_star_on, .oe_star_off
|
|
color: #ccc
|
|
text-shadow: 0 0 2px black
|
|
vertical-align: top
|
|
position: relative
|
|
top: -5px
|
|
&:hover
|
|
text-decoration: none
|
|
.oe_star_on
|
|
color: gold
|
|
div:first-child
|
|
margin-right: 16px
|
|
.oe_kanban_button_new
|
|
color: white
|
|
background: #DC5F59
|
|
// }}}
|
|
// KanbanGroups {{{
|
|
.oe_kanban_groups
|
|
height: inherit
|
|
width: 100%
|
|
.oe_kanban_header
|
|
&:hover
|
|
.oe_dropdown_kanban
|
|
display: inline-block
|
|
.oe_dropdown_menu
|
|
font-weight: normal
|
|
font-size: 13px
|
|
.oe_kanban_group_title
|
|
font-size: 16px
|
|
font-weight: bold
|
|
min-height: 30px
|
|
color: #333333
|
|
text-shadow: 0 1px 0 white
|
|
> span
|
|
float: left
|
|
margin-right: 4px
|
|
|
|
.oe_kanban_column, .oe_kanban_group_header
|
|
vertical-align: top
|
|
padding: 6px 6px 6px 5px
|
|
|
|
.oe_kanban_column.oe_kanban_grouped, .oe_kanban_group_header
|
|
background: #f0eeee
|
|
|
|
.oe_kanban_column.oe_kanban_grouped, .oe_kanban_group_header
|
|
border-left: 1px solid #f0f8f8
|
|
border-right: 1px solid #b9b9b9
|
|
|
|
.oe_form
|
|
.oe_kanban_column
|
|
padding: 0px
|
|
background: #ffffff
|
|
|
|
.oe_kanban_column
|
|
height: 100%
|
|
.oe_kanban_aggregates
|
|
padding: 0
|
|
.oe_kanban_group_header
|
|
position: relative
|
|
.oe_kanban_group_folded
|
|
.oe_kanban_group_title, &.oe_kanban_column > *, .oe_kanban_aggregates, .oe_kanban_add
|
|
display: none
|
|
.oe_kanban_group_title_vertical
|
|
display: block
|
|
.oe_kanban_group_title_undefined
|
|
color: #666666
|
|
.oe_kanban_group_title_vertical
|
|
writing-mode: tb-rl
|
|
-webkit-transform: rotate(90deg)
|
|
-moz-transform: rotate(90deg)
|
|
-o-transform: rotate(90deg)
|
|
-ms-transform: rotate(90deg)
|
|
transform: rotate(90deg)
|
|
width: 30px
|
|
height: 20px
|
|
font-size: 24px
|
|
white-space: nowrap
|
|
display: none
|
|
position: absolute
|
|
top: 10px
|
|
.oe_kanban_fold_icon
|
|
cursor: pointer
|
|
float: left
|
|
padding: 2px
|
|
width: 16px
|
|
height: 16px
|
|
background: url(/web_kanban/static/src/img/minus-icon.png) no-repeat
|
|
// }}}
|
|
// KanbanQuickCreate {{{
|
|
.oe_kanban_add, .oe_kanban_header .oe_dropdown_toggle
|
|
margin-left: 4px
|
|
cursor: pointer
|
|
position: relative
|
|
top: -8px
|
|
.oe_kanban_add
|
|
float: right
|
|
|
|
.oe_kanban_quick_create
|
|
margin-bottom: 4px
|
|
.oe_kanban_quick_create_buttons
|
|
margin: 4px 0
|
|
.oe_kanban_no_group .oe_kanban_quick_create
|
|
width: 200px
|
|
padding: 10px
|
|
.oe_kanban_quick_create input
|
|
display: block
|
|
margin: 0 0 8px 0
|
|
font-size: 13px
|
|
box-sizing: border-box
|
|
width: 100%
|
|
// }}}
|
|
// KanbanRecords {{{
|
|
.oe_kanban_vignette
|
|
padding: 8px
|
|
min-height: 100px
|
|
.oe_kanban_image
|
|
display: inline-block
|
|
vertical-align: top
|
|
width: 64px
|
|
height: 64px
|
|
text-align: center
|
|
overflow: hidden
|
|
@include radius(3px)
|
|
@include box-shadow(0 1px 4px rgba(0, 0, 0, 0.4))
|
|
.oe_kanban_details
|
|
display: inline-block
|
|
vertical-align: top
|
|
width: 240px
|
|
font-size: 13px
|
|
padding: 0 5px
|
|
color: #4c4c4c
|
|
min-height: 120px
|
|
h4
|
|
margin: 0 0 4px 0
|
|
.oe_kanban_record
|
|
position: relative
|
|
display: block
|
|
min-height: 50px
|
|
margin: 0
|
|
display: block
|
|
@include radius(4px)
|
|
&:last-child
|
|
margin-bottom: 0
|
|
.oe_kanban_title
|
|
font-weight: bold
|
|
margin: 2px 4px
|
|
.oe_kanban_grouped .oe_kanban_record
|
|
margin-bottom: 6px
|
|
.oe_kanban_gravatar
|
|
display: block
|
|
width: 20px
|
|
height: 20px
|
|
@include radius(3px)
|
|
@include box-shadow(0 1px 2px rgba(0,0,0,0.2))
|
|
.oe_kanban_avatar_toto
|
|
height: 40px
|
|
width: 40px
|
|
border: 1px solid
|
|
border-color: #e5e5e5 #dbdbdb #d2d2d2
|
|
@include radius(3px)
|
|
@include box-shadow(0 1px 2px rgba(0,0,0,0.2))
|
|
.oe_kanban_box
|
|
background: #FFF
|
|
border: 2px solid #CCC
|
|
border-radius: 4px
|
|
-moz-border-radius: 4px
|
|
-webkit-border-radius: 4px
|
|
margin-bottom: 5px
|
|
.oe_kanban_box_header
|
|
background: #EEE
|
|
border-bottom: 1px solid #CCC
|
|
.oe_kanban_title
|
|
font-size: 95%
|
|
font-weight: bold
|
|
padding: 0 4px 0 4px
|
|
.oe_kanban_small
|
|
font-size: 80%
|
|
font-weight: normal
|
|
.oe_kanban_show_more
|
|
clear: both
|
|
text-align: center
|
|
.oe_kanban_grouped .oe_kanban_show_more .oe_button
|
|
width: 100%
|
|
.oe_kanban_ungrouped .oe_kanban_record
|
|
float: left
|
|
padding: 2px
|
|
box-sizing: border-box
|
|
-moz-box-sizing: border-box
|
|
-webkit-box-sizing: border-box
|
|
.oe_kanban_action_button
|
|
height: 22px
|
|
margin: 0
|
|
.oe_kanban_action_a
|
|
text-decoration: none
|
|
.oe_kanban_table
|
|
width: 100%
|
|
border: none
|
|
border-collapse: collapse
|
|
margin: 0
|
|
padding: 0
|
|
.oe_kanban_table tr td
|
|
padding: 0
|
|
.oe_kanban_table tr td.oe_kanban_title
|
|
padding: 2px
|
|
.oe_kanban_box_content
|
|
padding: 4px
|
|
font-size: 90%
|
|
.oe_kanban_button
|
|
border: 1px solid #8ec1da
|
|
background-color: #ddeef6
|
|
border-radius: 3px
|
|
-moz-border-radius: 3px
|
|
-webkit-border-radius: 3px
|
|
color: #000000
|
|
text-shadow: 0 1px #fff
|
|
padding: 0 4px
|
|
font-size: 85%
|
|
margin: 1px
|
|
a.oe_kanban_button:hover, .openerp button.oe_kanban_button:hover
|
|
background-color: #eeddf6
|
|
.oe_kanban_buttons_set
|
|
border-top: 1px dotted
|
|
white-space: nowrap
|
|
padding-top: 2px
|
|
position: relative
|
|
clear: both
|
|
a
|
|
padding: 2px
|
|
.oe_kanban_box_show_onclick
|
|
display: none
|
|
.oe_kanban_draghandle
|
|
cursor: move
|
|
.oe_kanban_color_border
|
|
border-color: #CCCCCC
|
|
.oe_kanban_color_border
|
|
border-color: #CCCCCC
|
|
.oe_kanban_tooltip ul, ul.oe_kanban_tooltip
|
|
padding: 0 0 4px 0
|
|
margin: 5px 0 0 15px
|
|
list-style: circle
|
|
.oe_kanban_highlight
|
|
border-radius: 2px
|
|
-moz-border-radius: 2px
|
|
-webkit-border-radius: 2px
|
|
padding: 1px 5px
|
|
margin: 1px 4px
|
|
white-space: nowrap
|
|
display: inline-block
|
|
line-height: 1em
|
|
.oe_kanban_card
|
|
position: relative
|
|
display: block
|
|
min-height: 50px
|
|
background: white
|
|
border: 1px solid #d8d8d8
|
|
border-bottom-color: #b9b9b9
|
|
padding: 6px
|
|
display: block
|
|
@include radius(4px)
|
|
&:last-child
|
|
margin-bottom: 0
|
|
&:hover
|
|
@include box-shadow(0 0 3px rgba(0,0,0,0.6))
|
|
.oe_dropdown_kanban > span
|
|
visibility: visible
|
|
h3
|
|
margin: 0 16px 0 0
|
|
color: #4c4c4c
|
|
text-decoration: none
|
|
h3:hover
|
|
text-decoration: none
|
|
.oe_dropdown_kanban
|
|
margin-top: 4px
|
|
.oe_kanban_star
|
|
float: left
|
|
position: inline-block
|
|
margin: 0 4px 0 0
|
|
.oe_kanban_avatar
|
|
@include radius(3px)
|
|
@include box-shadow(0 1px 2px rgba(0,0,0,0.2))
|
|
.oe_kanban_footer_left
|
|
margin-top: 2px
|
|
> span
|
|
margin-top: 2px
|
|
display: inline-block
|
|
background: #E6E6E6
|
|
border: 1px solid #B9B9B9
|
|
color: #666
|
|
padding: 0 2px
|
|
line-height: 16px
|
|
@include radius(3px)
|
|
.oe_e
|
|
line-height: 12px
|
|
font-size: 22px
|
|
.oe_kanban_mail_new
|
|
line-height: 18px
|
|
position: relative
|
|
top: -1px
|
|
.oe_kanban_bottom_right
|
|
float: right
|
|
position: relative
|
|
top: 2px
|
|
|
|
.oe_kanban_status
|
|
display: inline-block
|
|
height: 12px
|
|
width: 12px
|
|
margin: 4px auto
|
|
@include radius(6px)
|
|
@include box-shadow(0 1px 3px rgba(0,0,0,0.6))
|
|
.oe_kanban_status_green
|
|
background: green
|
|
@include radial-gradient((#55dd55 0%, #44aa44 40%, #339933 100%))
|
|
.oe_kanban_status_red
|
|
background: red
|
|
@include radial-gradient((#ee7777 0%, #cc3333 40%, #bb0808 100%))
|
|
.oe_kanban_text_red
|
|
color: #A61300
|
|
font-weight: bold
|
|
@include radius(4px)
|
|
.oe_kanban_ellipsis
|
|
overflow: hidden
|
|
text-overflow: ellipsis
|
|
white-space: nowrap
|
|
// }}}
|
|
// KanbanDropDown {{{
|
|
.oe_dropdown_kanban
|
|
position: absolute
|
|
top: -8px
|
|
right: 3px
|
|
cursor: pointer
|
|
> span
|
|
visibility: hidden
|
|
&:hover
|
|
text-decoration: none
|
|
.oe_dropdown_menu
|
|
left: 0
|
|
top: 28px
|
|
min-width: 160px
|
|
.oe_dropdown_kanban.oe_opened > span
|
|
visibility: visible
|
|
// }}}
|
|
// KanbanColorPicker {{{
|
|
.oe_kanban_colorpicker
|
|
padding: 3px 6px
|
|
white-space: nowrap
|
|
.oe_kanban_colorpicker li
|
|
float: left
|
|
a
|
|
display: inline-block
|
|
width: 18px
|
|
height: 18px
|
|
border: 1px solid white
|
|
a:hover
|
|
border: 1px solid gray !important
|
|
.oe_kanban_colorpicker li:first-child a
|
|
margin-top: 1px
|
|
height: 16px
|
|
border: 1px solid #ccc
|
|
&:hover
|
|
margin-top: 0px
|
|
height: 18px
|
|
// }}}
|
|
// KanbanColors {{{
|
|
.oe_kanban_color_0
|
|
background-color: #FFFFFF
|
|
|
|
.oe_kanban_color_1
|
|
background-color: #CCCCCC
|
|
|
|
.oe_kanban_color_2
|
|
background-color: #FFC7C7
|
|
|
|
.oe_kanban_color_3
|
|
background-color: #FFF1C7
|
|
|
|
.oe_kanban_color_4
|
|
background-color: #E3FFC7
|
|
|
|
.oe_kanban_color_5
|
|
background-color: #C7FFD5
|
|
|
|
.oe_kanban_color_6
|
|
background-color: #C7FFFF
|
|
|
|
.oe_kanban_color_7
|
|
background-color: #C7D5FF
|
|
|
|
.oe_kanban_color_8
|
|
background-color: #E3C7FF
|
|
|
|
.oe_kanban_color_9
|
|
background-color: #FFC7F1
|
|
|
|
.openerp .oe_form .oe_kanban_view
|
|
.oe_kanban_column, .oe_kanban_group_header
|
|
padding: 0px
|
|
background: #ffffff
|
|
|
|
// au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers <afile> > "%:p:r.css"
|
|
// vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker:
|