Browse Source
[IMP] Add sticky header & footer in list view
pull/1066/head
QS5ELkMu
7 years ago
committed by
Jairo Llopis
No known key found for this signature in database
GPG Key ID: 59564BF1E22F314F
1 changed files with
24 additions and
6 deletions
-
web_responsive/static/src/less/form_view.less
|
|
@ -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 { |
|
|
|
// Form must fill 100% width in any size |
|
|
|
.o_form_sheet_bg { |
|
|
@ -69,6 +87,12 @@ |
|
|
|
border: none; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.o_form_statusbar { |
|
|
|
position: sticky; |
|
|
|
top: 0; |
|
|
|
z-index: 1; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// No overflowing buttons or titles |
|
|
@ -152,10 +176,4 @@ |
|
|
|
.oe_chatter { |
|
|
|
min-width: inherit; |
|
|
|
} |
|
|
|
|
|
|
|
.o_form_statusbar { |
|
|
|
position: sticky; |
|
|
|
top: 0; |
|
|
|
z-index: 1; |
|
|
|
} |
|
|
|
} |