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

View File

@ -703,10 +703,17 @@ $colour4: #8a89ba
color: $colour4
&:hover
text-decoration: underline
> div
height: 100%
// }}}
// ViewManager common styles
.oe_view_manager
.oe_view_manager_body
height: inherit
.oe_view_manager_view_kanban
height: inherit
// ViewManager.header {{{
.oe_view_manager_header
width: 100%
@ -822,6 +829,7 @@ $colour4: #8a89ba
// ViewManager top header specific style {{{
.oe_view_manager_global
height: 100%
> .oe_view_manager_header
border-top: 1px solid #cacaca
border-bottom: 1px solid #cacaca
@ -1502,9 +1510,6 @@ $colour4: #8a89ba
filter: alpha(opacity=50)
right: 5px
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
input
width: 100%
@ -1536,10 +1541,6 @@ $colour4: #8a89ba
.oe_form_group
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 {{{
.oe_form

View File

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

View File

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