mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[IMP] Add sticky header & footer in list view
This commit is contained in:
committed by
Sergey Shebanin
parent
08f47788b6
commit
5f7134f740
@@ -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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user