forked from Techsystech/web
[IMP] Add sticky header & footer in list view
parent
81bf8bfd65
commit
db6f7a84b1
|
@ -52,6 +52,24 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Sticky Header & Footer in List View
|
||||||
|
.o_view_manager_content {
|
||||||
|
>div {
|
||||||
|
>.table-responsive {
|
||||||
|
>.o_list_view {
|
||||||
|
thead {
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
tfoot {
|
||||||
|
position: sticky;
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.o_form_view {
|
.o_form_view {
|
||||||
// Form must fill 100% width in any size
|
// Form must fill 100% width in any size
|
||||||
.o_form_sheet_bg {
|
.o_form_sheet_bg {
|
||||||
|
@ -69,6 +87,12 @@
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.o_form_statusbar {
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// No overflowing buttons or titles
|
// No overflowing buttons or titles
|
||||||
|
@ -152,10 +176,4 @@
|
||||||
.oe_chatter {
|
.oe_chatter {
|
||||||
min-width: inherit;
|
min-width: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.o_form_statusbar {
|
|
||||||
position: sticky;
|
|
||||||
top: 0;
|
|
||||||
z-index: 1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue