Merge branch '12.0-one-doc-edi' of github.com:odoo/documentation-user into 12.0-one-doc-edi
This commit is contained in:
commit
a31aec82b9
29
conf.py
29
conf.py
@ -132,12 +132,12 @@ locale_dirs = ['locale/']
|
||||
supported_languages = {
|
||||
'de': 'Deutsch',
|
||||
'en': 'English',
|
||||
'es': 'Espanol',
|
||||
'es': 'Español',
|
||||
'fr': 'Français',
|
||||
'nl': 'Nederlands',
|
||||
'pt_BR': 'Português (BR)',
|
||||
'uk': 'Ukrainian',
|
||||
'zh_CN': 'Chinese',
|
||||
'uk': 'українська',
|
||||
'zh_CN': '简体中文',
|
||||
}
|
||||
|
||||
# The specifications of redirect rules used by the redirects extension.
|
||||
@ -250,8 +250,6 @@ def setup(app):
|
||||
|
||||
app.connect('html-page-context', _generate_alternate_urls)
|
||||
|
||||
app.connect('doctree-resolved', tag_toctrees) # TODO ANVFE review + typo
|
||||
|
||||
|
||||
def _generate_alternate_urls(app, pagename, templatename, context, doctree):
|
||||
""" Add keys of required alternate URLs for the current document in the rendering context.
|
||||
@ -325,24 +323,3 @@ def _generate_alternate_urls(app, pagename, templatename, context, doctree):
|
||||
_canonicalize()
|
||||
_versionize()
|
||||
_localize()
|
||||
|
||||
|
||||
def tag_toctrees(app, doctree, docname):
|
||||
"""Add a 'has_only_toc' metadata entry to all documents containing only a toctree node"""
|
||||
# document
|
||||
# section
|
||||
# title
|
||||
# compound@toctree-wrapper
|
||||
# ....
|
||||
if not len(doctree.children) <= 1:
|
||||
return
|
||||
section = doctree.children[0]
|
||||
if len(section.children) < 2:
|
||||
return
|
||||
compound = section.children[1]
|
||||
if 'toctree-wrapper' not in compound['classes']:
|
||||
return
|
||||
|
||||
if 'show_content' not in app.env.metadata[docname]:
|
||||
# If page contains custom content: we have to show github link and local toc
|
||||
app.env.metadata[docname]['has_only_toc'] = True
|
||||
|
@ -1,4 +1,5 @@
|
||||
:show_content:
|
||||
:hide_page_toc:
|
||||
|
||||
============
|
||||
Applications
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
:show_content:
|
||||
:hide_page_toc:
|
||||
|
||||
=================================
|
||||
Contributing to the documentation
|
||||
|
@ -63,13 +63,13 @@ This matrix shows the support status of every version.
|
||||
🏁 Future version, not released yet
|
||||
|
||||
|
||||
.. |green| image:: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3hpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDphNmMxNWY4YS00NjY3LTQ3MWEtOTJhMy05ZDdmN2NkM2M5YmEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MDFGNDhDMjZGODREMTFFOUFCRkRBRDVFRERCQzYwOEEiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MDFGNDhDM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
||||
.. |orange| image:: data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMzIuMTkgMjMyLjE5Ij48Y2lyY2xlIGN4PSIxMTYuMDkiIGN5PSIxMTYuMDkiIHI9IjExNi4wOSIgc3R5bGU9ImZpbGw6I2ZmYTcwMCIvPjwvc3ZnPg==
|
||||
:width: 15
|
||||
|
||||
I run an older version of Odoo/OpenERP/TinyERP
|
||||
|
@ -55,6 +55,11 @@
|
||||
|
||||
{% block header %}
|
||||
{# shown when js has properly set all the classes on the toc elements #}
|
||||
<noscript>
|
||||
<nav class="o_side_nav border-end">
|
||||
{% include "layout_templates/menu.html" %}
|
||||
</nav>
|
||||
</noscript>
|
||||
<nav id="o_main_toctree" class="o_side_nav border-end" hidden>
|
||||
{% include "layout_templates/menu.html" %}
|
||||
</nav>
|
||||
@ -72,7 +77,7 @@
|
||||
</nav>
|
||||
{% set main_classes = [] %}
|
||||
{% if pagename == master_doc %} {# The current page is the homepage #}
|
||||
{% set main_classes = main_classes + ['index'] %} {# TODO ANVFE should be 'o_index' #}
|
||||
{% set main_classes = main_classes + ['index'] %} {# TODO EDI should be 'o_index' #}
|
||||
{% endif %}
|
||||
|
||||
{% if 'code-column' in meta %} {# The page contains a 'memento' (side dynamic block) #}
|
||||
@ -83,31 +88,26 @@
|
||||
{% set main_classes = main_classes + meta['classes'].split() %}
|
||||
{% endif %}
|
||||
|
||||
{% if 'has_only_toc' in meta or 'hide_page_toc' in meta %}
|
||||
{# The page only contains a toctree or the page toc is hidden #}
|
||||
{# TODO EDI rename doc-toc class to sthg more meaningful explaining the result (body taking full page) #}
|
||||
{% set main_classes = main_classes + ['doc-toc'] %} {# Increase body width, taking the place of the page toc #}
|
||||
{% if 'hide_page_toc' in meta %}
|
||||
{% set main_classes = main_classes + ['o_fullwidth_page'] %}
|
||||
{% endif %}
|
||||
|
||||
<main class="container-fluid {{ ' '.join(main_classes) }}">
|
||||
<div id="o_content">
|
||||
{% if pagename == master_doc %}
|
||||
{# Custom landing page on the root of the documentation #}
|
||||
{% include "layout_templates/homepage.html" %}
|
||||
{% else %}
|
||||
<article class="doc-body">
|
||||
<!-- Beacon used by the Sphinx search to know where to look for a string -->
|
||||
<div role="main">
|
||||
{% block body %} {% endblock %}
|
||||
</div>
|
||||
{# Do not show the edition link for pages without content #}
|
||||
{% if github_link and 'has_only_toc' not in meta and pagename != 'search' %}
|
||||
<a href="{{ github_link(mode='edit') }}" class="o_git_link"><i class="i-edit"></i> Edit on GitHub</a>
|
||||
{% endif %}
|
||||
</article>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div id="mask"></div>
|
||||
{% if pagename == master_doc %}
|
||||
{# Custom landing page on the root of the documentation #}
|
||||
{% include "layout_templates/homepage.html" %}
|
||||
{% else %}
|
||||
<article id="o_content" class="doc-body">
|
||||
<!-- Beacon used by the Sphinx search to know where to look for a string -->
|
||||
<div role="main">
|
||||
{% block body %} {% endblock %}
|
||||
</div>
|
||||
{# Do not show the edition link for pages without content #}
|
||||
{% if github_link and pagename != 'search' %}
|
||||
<a href="{{ github_link(mode='edit') }}" class="o_git_link"><i class="i-edit"></i> Edit on GitHub</a>
|
||||
{% endif %}
|
||||
</article>
|
||||
{% endif %}
|
||||
</main>
|
||||
{# VFE TODO Check if this condition is still needed ??? #}
|
||||
{% if pagename not in toc and 'hide_page_toc' not in meta %}
|
||||
|
@ -3,7 +3,7 @@
|
||||
<h5><i class="i-o-help me-2"></i>Get Help</h5>
|
||||
<div>
|
||||
<a href="https://odoo.com/help" target="_blank" class="btn btn-outline-secondary">Contact Support</a>
|
||||
<a href="" target="_blank" class="btn btn-outline-secondary">Ask the Odoo Community</a>
|
||||
<a href="https://www.odoo.com/forum/help-1" target="_blank" class="btn btn-outline-secondary">Ask the Odoo Community</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-lg-2 mt-5 mt-lg-0">
|
||||
|
@ -7,11 +7,7 @@
|
||||
</div>
|
||||
{% include "layout_templates/searchbox.html" %}
|
||||
<div class="d-none d-lg-flex">
|
||||
{#{% if alternate_languages %}#}
|
||||
{% include "layout_templates/language_switcher.html" %}
|
||||
{#{% endif %}#}
|
||||
{#{% if alternate_versions %}#}
|
||||
{% include "layout_templates/version_switcher.html" %}
|
||||
{#{% endif %}#}
|
||||
{% include "layout_templates/language_switcher.html" %}
|
||||
{% include "layout_templates/version_switcher.html" %}
|
||||
<a class="btn btn-primary fw_semibold" href="https://odoo.com/trial">Try Odoo for FREE</a>
|
||||
</div>
|
@ -1,118 +1,120 @@
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-4">
|
||||
<h2 class="text-center o_title_start">Getting Started</h2>
|
||||
<ul class="list-unstyled">
|
||||
<li>
|
||||
<a href="" class="stretched-link">Overview of Odoo</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="" class="stretched-link">Requirements</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="" class="stretched-link">New to Odoo – Where to start </a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="" class="stretched-link">Version 14</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="" class="stretched-link">History</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="o_content">
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-4">
|
||||
<h2 class="text-center o_title_start">Getting Started</h2>
|
||||
<ul class="list-unstyled">
|
||||
<li>
|
||||
<a href="" class="stretched-link">Overview of Odoo</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="" class="stretched-link">Requirements</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="" class="stretched-link">New to Odoo – Where to start </a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="" class="stretched-link">Version 14</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="" class="stretched-link">History</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-12 col-md-4">
|
||||
<h2 class="text-center o_title_install">Installing Odoo</h2>
|
||||
<ul class="list-unstyled">
|
||||
<li>
|
||||
<a href="" class="stretched-link">Before you install</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ pathto('administration/install') }}" class="stretched-link">How to install</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ pathto('administration/deployment') }}" class="stretched-link">Deploying Odoo</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ pathto('administration/db_management') }}" class="stretched-link">Database Management</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-12 col-md-4">
|
||||
<h2 class="text-center o_title_basic">Basic Usage</h2>
|
||||
<ul class="list-unstyled">
|
||||
<li>
|
||||
<a href="" class="stretched-link">Odoo in your own language</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="" class="stretched-link">Add users and manage access rights</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="" class="stretched-link">Import data to Odoo </a>
|
||||
<p>The button is under "Favorites" ... Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
|
||||
eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="" class="stretched-link">Get support</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="" class="stretched-link">History</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-md-4">
|
||||
<h2 class="text-center o_title_install">Installing Odoo</h2>
|
||||
<ul class="list-unstyled">
|
||||
<li>
|
||||
<a href="" class="stretched-link">Before you install</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ pathto('administration/install') }}" class="stretched-link">How to install</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ pathto('administration/deployment') }}" class="stretched-link">Deploying Odoo</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ pathto('administration/db_management') }}" class="stretched-link">Database Management</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-4">
|
||||
<h2 class="text-center o_title_tutorial">Tutorials</h2>
|
||||
<ul class="list-unstyled">
|
||||
<li>
|
||||
<a href="{{ pathto('developer/howtos/website') }}" class="stretched-link">Building a website</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ pathto('developer/howtos/backend') }}" class="stretched-link">Building a module</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ pathto('developer/howtos/web') }}" class="stretched-link">Customizing the web client</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-12 col-md-4">
|
||||
<h2 class="text-center o_title_advanced">Advanced Usage</h2>
|
||||
<ul class="list-unstyled">
|
||||
<li>
|
||||
<a href="" class="stretched-link">External API</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="" class="stretched-link">In-app purchases</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="" class="stretched-link">Creating a localisation</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="" class="stretched-link">Database upgrade</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="" class="stretched-link">Odoo email gateway</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-md-4">
|
||||
<h2 class="text-center o_title_basic">Basic Usage</h2>
|
||||
<ul class="list-unstyled">
|
||||
<li>
|
||||
<a href="" class="stretched-link">Odoo in your own language</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="" class="stretched-link">Add users and manage access rights</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="" class="stretched-link">Import data to Odoo </a>
|
||||
<p>The button is under "Favorites" ... Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
|
||||
eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="" class="stretched-link">Get support</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="" class="stretched-link">History</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-4">
|
||||
<h2 class="text-center o_title_tutorial">Tutorials</h2>
|
||||
<ul class="list-unstyled">
|
||||
<li>
|
||||
<a href="{{ pathto('developer/howtos/website') }}" class="stretched-link">Building a website</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ pathto('developer/howtos/backend') }}" class="stretched-link">Building a module</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ pathto('developer/howtos/web') }}" class="stretched-link">Customizing the web client</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-12 col-md-4">
|
||||
<h2 class="text-center o_title_advanced">Advanced Usage</h2>
|
||||
<ul class="list-unstyled">
|
||||
<li>
|
||||
<a href="" class="stretched-link">External API</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="" class="stretched-link">In-app purchases</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="" class="stretched-link">Creating a localisation</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="" class="stretched-link">Database upgrade</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="" class="stretched-link">Odoo email gateway</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -28,7 +28,7 @@
|
||||
/**
|
||||
* Entirely hide the local tree of contents.
|
||||
*/
|
||||
const _hidePageToc = () => this.pageToc.style.visibility = 'hidden';
|
||||
const _hidePageToc = () => this.pageToc.style.display = 'none';
|
||||
|
||||
/**
|
||||
* Add the relevant classes on the TOC entries (and lists) whose section is focused.
|
||||
|
@ -17,6 +17,12 @@ body {
|
||||
dd {
|
||||
margin-left: 1rem;
|
||||
}
|
||||
// This fixes the scroll position on all elements, including refs
|
||||
:target {
|
||||
&:before {
|
||||
@include scroll-padding()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.hidden {
|
||||
@ -320,7 +326,7 @@ header.o_main_header{
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
&.index, &.doc-toc, &.has_code_col {
|
||||
&.index, &.o_fullwidth_page, &.has_code_col {
|
||||
@include media-breakpoint-up(lg) {
|
||||
max-width: calc(100vw - (#{$o-side-nav-width} + var(--bs-gutter-x, 1.5rem)) );
|
||||
}
|
||||
@ -374,7 +380,7 @@ header.o_main_header{
|
||||
|
||||
// "in between" pages (Applications / Contributing)
|
||||
|
||||
&.doc-toc {
|
||||
&.o_fullwidth_page {
|
||||
.toctree-wrapper {
|
||||
margin-top: 1.5rem;
|
||||
> ul {
|
||||
@ -493,7 +499,7 @@ header.o_main_header{
|
||||
|
||||
.o_git_link {
|
||||
@include font-size($font-size-secondary);
|
||||
@include o-position-absolute($top: calc(#{$o-header-height} + 1rem), $right: 1rem);
|
||||
@include o-position-absolute($top: 10px, $right: 1rem);
|
||||
i {
|
||||
margin-right: .2rem;
|
||||
}
|
||||
@ -528,19 +534,11 @@ header.o_main_header{
|
||||
}
|
||||
|
||||
section {
|
||||
// This fixes the scroll position // BUT creates issues when buttons or links from the previous section are behind it
|
||||
// padding-top: $o-header-height;
|
||||
// margin-top: -$o-header-height; */
|
||||
// adding a :before works better;
|
||||
&:before {
|
||||
@include scroll-padding()
|
||||
}
|
||||
|
||||
> h1 {
|
||||
color: $o-violet-dark;
|
||||
font-weight: $fw_bold;
|
||||
max-width: calc(100% - 120px);
|
||||
+ *:not(h2) {
|
||||
+ * {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
}
|
||||
@ -548,17 +546,21 @@ header.o_main_header{
|
||||
> h2 {
|
||||
font-family: $font-family-serif;
|
||||
color: $gray-darker;
|
||||
margin-top: .5rem;
|
||||
margin-bottom: 1.5rem;
|
||||
margin-top: 3rem;
|
||||
margin-bottom: 1rem;
|
||||
padding-bottom: .3rem;
|
||||
border-bottom: 1px solid $gray-light;
|
||||
}
|
||||
|
||||
> h3 {
|
||||
color: $gray-darkest;
|
||||
margin-top: 2rem;
|
||||
font-weight: $fw_bold;
|
||||
}
|
||||
|
||||
> h4 {
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
> h4, > h5, > h6 {
|
||||
font-weight: $fw_semibold;
|
||||
}
|
||||
@ -608,12 +610,10 @@ header.o_main_header{
|
||||
@include o-transition(all, .1s)
|
||||
}
|
||||
}
|
||||
h1, h2, h3, h4, h5, h6, dt, caption, p.caption, div.code-block-caption {
|
||||
&:hover > a.headerlink:after{
|
||||
*:hover > a.headerlink:after{
|
||||
// This makes permalinks only visible on hover.
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -660,6 +660,7 @@ header.o_main_header{
|
||||
text-align: center;
|
||||
color: $white;
|
||||
font-weight: $fw_extrabold;
|
||||
font-style: normal;
|
||||
margin: 0 .2rem;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user