File tree Expand file tree Collapse file tree 7 files changed +140
-159
lines changed Expand file tree Collapse file tree 7 files changed +140
-159
lines changed Original file line number Diff line number Diff line change 6565 < nav id ="o_menu " class ="o_side_nav border-end ">
6666 {%- if 'hide-page-toc' not in meta %}
6767 {# Shown when the JS has properly set all the classes on the TOC elements #}
68- < aside id ="o_page_toc_in_nav " class ="o_page_toc o_in_nav_toc border-bottom pb -3 mb-4 " hidden >
68+ < aside id ="o_page_toc_in_nav " class ="o_page_toc o_in_nav_toc border-bottom pt -3 pb-3 " hidden >
6969 {%- include "layout_templates/page_toc.html" %}
7070 </ aside >
7171 {%- endif %}
72- < div id ="o_main_toctree " class ="o_main_toc " hidden >
72+ < div id ="o_main_toctree " class ="o_main_toc mt-3 " hidden >
7373 {%- include "layout_templates/menu.html" %}
7474 </ div >
7575 </ nav >
76- < header class ="o_main_header border-bottom navbar navbar-light navbar-expand-lg ">
76+ < header class ="o_headers ">
7777 {%- include "layout_templates/header.html" %}
78- < button class ="navbar-toggler p-0 border-0 " type ="button " data-bs-toggle ="collapse " data-bs-target ="#o_menu " aria-label ="Toggle navigation ">
79- < span class ="icon-bar "> </ span >
80- < span class ="icon-bar "> </ span >
81- < span class ="icon-bar "> </ span >
82- </ button >
8378 </ header >
8479{%- endblock %}
8580
Original file line number Diff line number Diff line change 1- < div class ="o_logo_wrapper ">
1+ < div class ="o_main_header border-bottom d-flex align-items-center ">
2+ < div class ="o_logo_wrapper ">
23 < a href ="{{ pathto(master_doc) }} " class ="o_logo ">
34 < img src ="{{ pathto('_static/img/logos/odoo_logo.svg', 1) }} " height ="20 " alt ="Odoo "/>
45 < span > docs</ span >
56 </ a >
7+ </ div >
8+ < div class ="d-flex flex-grow-1 ">
9+ {%- include "layout_templates/searchbox.html" %}
10+ < a class ="btn btn-primary fw_semibold ms-auto d-none d-lg-inline-block " href ="https://odoo.com/trial "> {{ _('Try Odoo for FREE') }}</ a >
11+ </ div >
612</ div >
7- {%- include "layout_templates/searchbox.html" %}
8- < div class ="d-none d-lg-flex ms-auto ">
9- {%- include "layout_templates/language_switcher.html" %}
10- {%- include "layout_templates/version_switcher.html" %}
11- < a class ="btn btn-primary fw_semibold " href ="https://odoo.com/trial "> {{ _('Try Odoo for FREE') }}</ a >
13+ < div class ="o_subheader border-bottom d-flex ">
14+ < div class ="o_side_nav_toggler_wrapper border-end d-flex d-lg-none ">
15+ < button class ="h-100 border-0 " type ="button " data-bs-toggle ="collapse " data-bs-target ="#o_menu " aria-label ="Toggle navigation ">
16+ < i class ="i-sidepanel "> </ i >
17+ </ button >
18+ </ div >
19+ < div class ="d-flex justify-content-end ms-auto ">
20+ {%- include "layout_templates/language_switcher.html" %}
21+ {%- include "layout_templates/version_switcher.html" %}
22+ </ div >
1223</ div >
Original file line number Diff line number Diff line change 1- < div class ="o_languages me-3 ">
1+ < div class ="o_languages ">
22 < div class ="dropdown ">
33 {%- if alternate_languages|length > 0 %}
4- < button class ="btn border dropdown-toggle "
4+ < button class ="btn btn-sm dropdown-toggle "
55 id ="languages "
66 data-bs-toggle ="dropdown ">
77 {{ language }} {# The current language #}
88 </ button >
99 {%- else %}
10- < button class ="btn border dropdown-toggle "
10+ < button class ="btn btn-sm dropdown-toggle "
1111 id ="languages "
1212 disabled ="">
1313 {{ language }} {# The current language #}
Original file line number Diff line number Diff line change 11{# NOTE: the 'searchbox' id is used to hook the "Hide Search Matches" button #}
2- < div id ="searchbox " class ="o_search_wrapper pe-lg-2 " role ="search ">
2+ < div id ="searchbox " class ="o_search_wrapper d-flex flex-grow-1 " role ="search ">
33 < form class ="o_search " action ="{{ pathto('search') }} " method ="get ">
44 < input type ="text " name ="q " id ="q " class ="form-control rounded-pill " placeholder ="What are you looking for? ">
55 < input type ="hidden " name ="area " value ="default ">
Original file line number Diff line number Diff line change 1- < div class ="o_versions row gx-2 me-3 ">
2- < div class ="col align-self-center ">
3- < label class ="fw_bold small ms-2 "> Version</ label >
4- </ div >
5- < div class ="col ">
6- < div class ="dropdown ">
7- {%- if alternate_versions|length > 0 %}
8- < button class ="btn border dropdown-toggle "
9- id ="versions "
10- data-bs-toggle ="dropdown ">
11- {{ version_display_name }} {# The current version #}
12- </ button >
13- {%- else %}
14- < button class ="btn border dropdown-toggle "
15- id ="versions "
16- disabled ="">
17- {{ version_display_name }} {# The current version #}
18- </ button >
19- {%- endif %}
20- < ul class ="dropdown-menu dropdown-menu-end " aria-labelledby ="versions ">
21- {%- for alternate_version, url in alternate_versions %}
22- < li > < a class ="dropdown-item " href ="{{ url }} "> {{ alternate_version }}</ a > </ li >
23- {%- endfor %}
24- </ ul >
25- </ div >
1+ < div class ="o_versions row ">
2+ < div class ="dropdown ">
3+ {%- if alternate_versions|length > 0 %}
4+ < button class ="btn btn-sm dropdown-toggle "
5+ id ="versions "
6+ data-bs-toggle ="dropdown ">
7+ {{ version_display_name }} {# The current version #}
8+ </ button >
9+ {%- else %}
10+ < button class ="btn btn-sm dropdown-toggle "
11+ id ="versions "
12+ disabled ="">
13+ {{ version_display_name }} {# The current version #}
14+ </ button >
15+ {%- endif %}
16+ < ul class ="dropdown-menu dropdown-menu-end " aria-labelledby ="versions ">
17+ {%- for alternate_version, url in alternate_versions %}
18+ < li > < a class ="dropdown-item " href ="{{ url }} "> {{ alternate_version }}</ a > </ li >
19+ {%- endfor %}
20+ </ ul >
2621 </ div >
2722</ div >
Original file line number Diff line number Diff line change @@ -231,9 +231,13 @@ $doc_cyan: $color-alpha;
231231
232232// Header
233233$o-header-mobile-height : 50px ;
234- $o-header-height : 90 px ;
234+ $o-header-height : 80 px ;
235235$o-header-white : #ffffff ;
236236
237+ $o-subheader-height : calc (#{$o-header-height } / 2.5 );
238+
239+ $o-headers-mobile-height : calc (#{$o-header-mobile-height } + (#{$o-subheader-height } ));
240+ $o-headers-height : calc (#{$o-header-height } + #{$o-subheader-height } );
237241// Navigation
238242$o-side-nav-width : 350px ;
239243$o-on-page-width : 20% ;
You can’t perform that action at this time.
0 commit comments