Improvements to dropdown menu, form view buttons and kanban vignette

bzr revid: mit@openerp.com-20120709170807-f9x3v147bqamg7wd
This commit is contained in:
Minh Tran 2012-07-09 19:08:07 +02:00
parent d6100f371f
commit 3c67b48a2a
4 changed files with 30 additions and 10 deletions

View File

@ -386,8 +386,11 @@
visibility: hidden; visibility: hidden;
} }
.openerp .oe_button_box { .openerp .oe_button_box {
width: 200px; width: 38%;
text-align: center; text-align: right;
}
.openerp .oe_button_box button {
margin: 4px;
} }
.openerp .oe_avatar { .openerp .oe_avatar {
margin: 0 16px 0 0; margin: 0 16px 0 0;
@ -536,7 +539,7 @@
cursor: pointer; cursor: pointer;
} }
.openerp .oe_dropdown_toggle { .openerp .oe_dropdown_toggle {
color: #888888; color: #404040;
font-weight: normal; font-weight: normal;
} }
.openerp .oe_dropdown_hover:hover .oe_dropdown_menu, .openerp .oe_dropdown_menu.oe_opened { .openerp .oe_dropdown_hover:hover .oe_dropdown_menu, .openerp .oe_dropdown_menu.oe_opened {
@ -545,7 +548,8 @@
.openerp .oe_dropdown_menu { .openerp .oe_dropdown_menu {
display: none; display: none;
position: absolute; position: absolute;
top: 32px; top: 26px;
left: 0;
z-index: 1; z-index: 1;
border: 1px solid #afafb6; border: 1px solid #afafb6;
background: white; background: white;

View File

@ -329,8 +329,10 @@ $colour4: #8a89ba
clear: both clear: both
visibility: hidden visibility: hidden
.oe_button_box .oe_button_box
width: 200px width: 38%
text-align: center text-align: right
button
margin: 4px
.oe_avatar .oe_avatar
margin: 0 16px 0 0 margin: 0 16px 0 0
img img
@ -431,14 +433,15 @@ $colour4: #8a89ba
position: relative position: relative
cursor: pointer cursor: pointer
.oe_dropdown_toggle .oe_dropdown_toggle
color: #888 color: #404040
font-weight: normal font-weight: normal
.oe_dropdown_hover:hover .oe_dropdown_menu, .oe_dropdown_menu.oe_opened .oe_dropdown_hover:hover .oe_dropdown_menu, .oe_dropdown_menu.oe_opened
display: block display: block
.oe_dropdown_menu .oe_dropdown_menu
display: none display: none
position: absolute position: absolute
top: 32px top: 26px
left: 0
z-index: 1 z-index: 1
border: 1px solid #afafb6 border: 1px solid #afafb6
background: white background: white

View File

@ -375,8 +375,11 @@
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); -box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
} }
.openerp .oe_kanban_view .oe_kanban_footer_left {
margin-top: 2px;
}
.openerp .oe_kanban_view .oe_kanban_footer_left > span { .openerp .oe_kanban_view .oe_kanban_footer_left > span {
margin-top: 4px; margin-top: 2px;
display: inline-block; display: inline-block;
background: #e6e6e6; background: #e6e6e6;
border: 1px solid #b9b9b9; border: 1px solid #b9b9b9;
@ -385,6 +388,11 @@
-webkit-border-radius: 3px; -webkit-border-radius: 3px;
border-radius: 3px; border-radius: 3px;
} }
.openerp .oe_kanban_view .oe_kanban_bottom_right {
float: right;
position: relative;
top: 1px;
}
.openerp .oe_kanban_view .oe_kanban_status { .openerp .oe_kanban_view .oe_kanban_status {
display: inline-block; display: inline-block;
height: 12px; height: 12px;

View File

@ -319,13 +319,18 @@
@include radius(3px) @include radius(3px)
@include box-shadow(0 1px 2px rgba(0,0,0,0.2)) @include box-shadow(0 1px 2px rgba(0,0,0,0.2))
.oe_kanban_footer_left .oe_kanban_footer_left
margin-top: 2px
> span > span
margin-top: 4px margin-top: 2px
display: inline-block display: inline-block
background: #E6E6E6 background: #E6E6E6
border: 1px solid #B9B9B9 border: 1px solid #B9B9B9
padding: 1px 2px padding: 1px 2px
@include radius(3px) @include radius(3px)
.oe_kanban_bottom_right
float: right
position: relative
top: 1px
.oe_kanban_status .oe_kanban_status
display: inline-block display: inline-block