[IMP] fixing absolute problems on kanban and clean one2many kanban

bzr revid: fp@openerp.com-20120615201030-8h6htqs1x8j9re5z
This commit is contained in:
Fabien Pinckaers 2012-06-15 22:10:30 +02:00
parent ff1e444ef8
commit 4ce44b0b93
4 changed files with 539 additions and 539 deletions

View File

@ -48,7 +48,7 @@
background: white; background: white;
/* http://www.quirksmode.org/dom/inputfile.html /* http://www.quirksmode.org/dom/inputfile.html
* http://stackoverflow.com/questions/2855589/replace-input-type-file-by-an-image * http://stackoverflow.com/questions/2855589/replace-input-type-file-by-an-image
*/ */ */
} }
.openerp a { .openerp a {
text-decoration: none; text-decoration: none;
@ -866,6 +866,15 @@
.openerp .oe_application a:hover { .openerp .oe_application a:hover {
text-decoration: underline; text-decoration: underline;
} }
.openerp .oe_application > div {
height: 100%;
}
.openerp .oe_view_manager .oe_view_manager_body {
height: inherit;
}
.openerp .oe_view_manager .oe_view_manager_view_kanban {
height: inherit;
}
.openerp .oe_view_manager .oe_view_manager_header { .openerp .oe_view_manager .oe_view_manager_header {
width: 100%; width: 100%;
} }
@ -1008,6 +1017,9 @@
.openerp .oe_view_manager .oe_view_manager_switch .oe_vm_switch_diagram:after { .openerp .oe_view_manager .oe_view_manager_switch .oe_vm_switch_diagram:after {
content: "f"; content: "f";
} }
.openerp .oe_view_manager_global {
height: 100%;
}
.openerp .oe_view_manager_global > .oe_view_manager_header { .openerp .oe_view_manager_global > .oe_view_manager_header {
border-top: 1px solid #cacaca; border-top: 1px solid #cacaca;
border-bottom: 1px solid #cacaca; border-bottom: 1px solid #cacaca;
@ -1884,9 +1896,6 @@
right: 5px; right: 5px;
top: 3px; top: 3px;
} }
.openerp .oe_form .oe_form_field_one2many .oe_kanban_view {
position: static;
}
.openerp .oe_form .oe_form_field_with_button input { .openerp .oe_form .oe_form_field_with_button input {
width: 100%; width: 100%;
} }
@ -1921,9 +1930,6 @@
.openerp .oe_form .oe_form_group { .openerp .oe_form .oe_form_group {
margin: 5px 0px 5px 0px; margin: 5px 0px 5px 0px;
} }
.openerp .oe_form .oe_form_group_cell .oe_kanban_view {
position: static;
}
.openerp .oe_form .oe_form_button.oe_button { .openerp .oe_form .oe_form_button.oe_button {
height: 22px; height: 22px;
white-space: nowrap; white-space: nowrap;

View File

@ -703,10 +703,17 @@ $colour4: #8a89ba
color: $colour4 color: $colour4
&:hover &:hover
text-decoration: underline text-decoration: underline
> div
height: 100%
// }}} // }}}
// ViewManager common styles // ViewManager common styles
.oe_view_manager .oe_view_manager
.oe_view_manager_body
height: inherit
.oe_view_manager_view_kanban
height: inherit
// ViewManager.header {{{ // ViewManager.header {{{
.oe_view_manager_header .oe_view_manager_header
width: 100% width: 100%
@ -822,6 +829,7 @@ $colour4: #8a89ba
// ViewManager top header specific style {{{ // ViewManager top header specific style {{{
.oe_view_manager_global .oe_view_manager_global
height: 100%
> .oe_view_manager_header > .oe_view_manager_header
border-top: 1px solid #cacaca border-top: 1px solid #cacaca
border-bottom: 1px solid #cacaca border-bottom: 1px solid #cacaca
@ -1502,9 +1510,6 @@ $colour4: #8a89ba
filter: alpha(opacity=50) filter: alpha(opacity=50)
right: 5px right: 5px
top: 3px top: 3px
.oe_form_field_one2many .oe_kanban_view
// Hack due to absolute positioning of kanban view messing with o2m
position: static
.oe_form_field_with_button .oe_form_field_with_button
input input
width: 100% width: 100%
@ -1536,10 +1541,6 @@ $colour4: #8a89ba
.oe_form_group .oe_form_group
margin: 5px 0px 5px 0px margin: 5px 0px 5px 0px
.oe_form_group_cell .oe_kanban_view
// Hack due to absolute positioning of kanban view messing with o2m
position: static
// }}} // }}}
// FormView.buttons {{{ // FormView.buttons {{{
.oe_form .oe_form

View File

@ -1,9 +1,6 @@
@charset "utf-8";
.openerp .oe_kanban_view { .openerp .oe_kanban_view {
position: absolute; height: inherit;
top: 118px;
bottom: 0;
left: 221px;
right: 0;
} }
.openerp .oe_kanban_view .ui-sortable-placeholder { .openerp .oe_kanban_view .ui-sortable-placeholder {
border: 1px dotted black; border: 1px dotted black;
@ -20,7 +17,7 @@
clear: both; clear: both;
} }
.openerp .oe_kanban_view .oe_kanban_groups { .openerp .oe_kanban_view .oe_kanban_groups {
height: 100%; height: inherit;
width: 100%; width: 100%;
} }
.openerp .oe_kanban_view .oe_kanban_group_title { .openerp .oe_kanban_view .oe_kanban_group_title {
@ -106,8 +103,8 @@
box-sizing: border-box; box-sizing: border-box;
width: 100%; width: 100%;
} }
.openerp .oe_kanban_view .oe_kanban_quick_create .oe_kanban_quick_create_buttons { .openerp .oe_kanban_view .oe_kanban_quick_create button {
margin-bottom: 10px; float: right;
} }
.openerp .oe_kanban_view .oe_kanban_vignette { .openerp .oe_kanban_view .oe_kanban_vignette {
padding: 8px; padding: 8px;

View File

@ -21,11 +21,7 @@
.openerp .oe_kanban_view .openerp .oe_kanban_view
// KanbanView {{{ // KanbanView {{{
position: absolute height: inherit
top: 118px
bottom: 0
left: 221px
right: 0
.ui-sortable-placeholder .ui-sortable-placeholder
border: 1px dotted black border: 1px dotted black
visibility: visible !important visibility: visible !important
@ -39,7 +35,7 @@
// }}} // }}}
// KanbanGroups {{{ // KanbanGroups {{{
.oe_kanban_groups .oe_kanban_groups
height: 100% height: inherit
width: 100% width: 100%
.oe_kanban_group_title .oe_kanban_group_title
margin: 1px 1px 4px margin: 1px 1px 4px