diff --git a/addons/web/static/src/search/search_panel/search_panel.scss b/addons/web/static/src/search/search_panel/search_panel.scss index 7e5dd5ad550ff..c72ddfb20499c 100644 --- a/addons/web/static/src/search/search_panel/search_panel.scss +++ b/addons/web/static/src/search/search_panel/search_panel.scss @@ -21,30 +21,29 @@ // ------- SearchPanel ------- .o_search_panel { + --treeEntry-padding-h: #{map-get($spacers, 3)}; + width: var(--SearchPanel-width, #{$o-search-panel-width}); font-size: var(--SearchPanel-fontSize, #{$o-search-panel-font-size}); - + @include media-breakpoint-up(md) { border-right: $border-width solid $border-color; } - .o_search_panel_category_value, - .o_search_panel_filter_value input, - .o_search_panel_filter_value .o_search_panel_label_title, - .o_search_panel_group_header input, - .o_search_panel_group_header .o_search_panel_label_title - { - cursor: pointer; + .o_toggle_fold { + width: map-get($spacers, 3); } - .o_toggle_fold { - width: map-get($spacers, 4); + .o_search_panel_counter { + font-variant-numeric: tabular-nums; } } .o_mobile_search_content { --SearchPanel-width: 100%; --SearchPanel-fontSize: 1.1em; + + --treeEntry-padding-v: #{$list-group-item-padding-y * 2}; } @include media-breakpoint-down(md) { diff --git a/addons/web/static/src/search/search_panel/search_panel.variables.scss b/addons/web/static/src/search/search_panel/search_panel.variables.scss index deca4c5b8bac9..19715ac99763f 100644 --- a/addons/web/static/src/search/search_panel/search_panel.variables.scss +++ b/addons/web/static/src/search/search_panel/search_panel.variables.scss @@ -1,7 +1,7 @@ // = Search Panel Variables // ============================================================================ -$o-search-panel-width: 200px; +$o-search-panel-width: 220px; $o-search-panel-font-size: 1em; @mixin o-details-modal($top: 0, $bottom: 0) { diff --git a/addons/web/static/src/search/search_panel/search_panel.xml b/addons/web/static/src/search/search_panel/search_panel.xml index cf15d2267f9f2..404eb3ebc1c9d 100644 --- a/addons/web/static/src/search/search_panel/search_panel.xml +++ b/addons/web/static/src/search/search_panel/search_panel.xml @@ -11,7 +11,10 @@ -
+

No quick filter available.

Update the filters in the search bar to display more records.

@@ -54,7 +57,7 @@ />