Browse Source
Merge pull request #973 from Tardo/sticky_toolbar
[IMP][11.0][web_responsive] Sticky Statusbar & List View Header-Footer
pull/979/head
Guewen Baconnier
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
24 additions and
0 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 |
|
|
|