improved style of kanban vignette dropdown menu

bzr revid: mit@openerp.com-20120718142708-5okzuclspou6khot
This commit is contained in:
Minh Tran 2012-07-18 16:27:08 +02:00
parent bfe3afcbd8
commit e72f791b13
4 changed files with 17 additions and 25 deletions

View File

@ -599,6 +599,7 @@
float: none;
display: block;
position: relative;
padding: 2px 12px;
}
.openerp .oe_dropdown_menu > li:hover {
background-color: #f0f0fa;
@ -615,7 +616,6 @@
.openerp .oe_dropdown_menu > li > a {
white-space: nowrap;
display: block;
padding: 4px 15px;
color: #4c4c4c;
text-decoration: none;
}

View File

@ -483,10 +483,10 @@ $sheet-max-width: 860px
float: none
display: block
position: relative
padding: 2px 12px
> a
white-space: nowrap
display: block
padding: 4px 15px
color: #4c4c4c
text-decoration: none
&:hover

View File

@ -359,6 +359,9 @@
.openerp .oe_kanban_view .oe_kanban_card .oe_dropdown_kanban {
margin-top: 4px;
}
.openerp .oe_kanban_view .oe_kanban_card .oe_dropdown_kanban .oe_kanban_project_times li {
float: left;
}
.openerp .oe_kanban_view .oe_kanban_star {
float: left;
position: inline-block;
@ -401,9 +404,6 @@
position: relative;
top: 2px;
}
.openerp .oe_kanban_view .oe_kanban_project_times li {
float: left;
}
.openerp .oe_kanban_view .oe_kanban_status {
position: relative;
top: 4px;
@ -471,30 +471,25 @@
visibility: hidden;
}
.openerp .oe_kanban_view .oe_kanban_colorpicker {
padding: 3px 6px;
white-space: nowrap;
}
.openerp .oe_kanban_view .oe_kanban_colorpicker li {
float: left;
margin: 0;
padding: 0;
}
.openerp .oe_kanban_view .oe_kanban_colorpicker li a {
display: inline-block;
width: 18px;
height: 18px;
width: 16px;
height: 16px;
border: 1px solid white;
}
.openerp .oe_kanban_view .oe_kanban_colorpicker li a:hover {
border: 1px solid gray !important;
}
.openerp .oe_kanban_view .oe_kanban_colorpicker li:first-child a {
margin-top: 1px;
height: 16px;
border: 1px solid #cccccc;
}
.openerp .oe_kanban_view .oe_kanban_colorpicker li:first-child a:hover {
margin-top: 0px;
height: 18px;
}
.openerp .oe_kanban_view .oe_kanban_color_0 {
background-color: white;
}

View File

@ -307,6 +307,10 @@
text-decoration: none
.oe_dropdown_kanban
margin-top: 4px
.oe_kanban_project_times
li
float: left
.oe_kanban_star
float: left
position: inline-block
@ -337,9 +341,6 @@
position: relative
top: 2px
.oe_kanban_project_times li
float: left
.oe_kanban_status
position: relative
top: 4px
@ -387,24 +388,20 @@
// }}}
// KanbanColorPicker {{{
.oe_kanban_colorpicker
padding: 3px 6px
white-space: nowrap
.oe_kanban_colorpicker li
float: left
margin: 0
padding: 0
a
display: inline-block
width: 18px
height: 18px
width: 16px
height: 16px
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