Commit 51e98a51 authored by Thomas Bouffard's avatar Thomas Bouffard
Browse files

no more underline in breadcrumbs

refactor the classes of the message blocks
- remove duplication
- apply underline to anchor inside the msg blocks, not in the other toolbar
elements
- introduce a dedicated css class for custom message block for clarity (even if
the definition is the same as the one for next version block)
parent 0dca4841
......@@ -17,7 +17,7 @@
</div>
{{#if page.attributes.next-release}}
<div class="paragraph next-release-block">
<div class="paragraph message-block next-release-block">
<p>This content is dedicated to our next version.
It is work in progress: its content will evolve until the new version is released.
</p>
......@@ -28,13 +28,13 @@
{{/if}}
{{#if page.attributes.custom-message}}
<div class="paragraph next-release-block">
<div class="paragraph message-block custom-message-block">
<p>{{page.attributes.custom-message}}</p>
</div>
{{/if}}
{{#if page.attributes.out-of-support}}
<div class="paragraph out-of-support-block">
<div class="paragraph message-block out-of-support-block">
<p>This documentation is about a version that is <b>out of support</b>, here is the <a
href="{{{page.component.latest.url}}}">latest documentation
version</a>.
......
......@@ -16,7 +16,6 @@
a {
color: inherit;
text-decoration-line: underline;
}
.edit-this-page {
......@@ -79,20 +78,23 @@
}
}
.message-block {
text-align: center;
width:100%;
a {
text-decoration-line: underline;
}
}
.out-of-support-block {
background-color: var(--color-admonition-important-bg);
border-color: var(--color-admonition-important);
color: var(--color-admonition-important-text);
text-align: center;
width:100%;
}
.next-release-block {
.next-release-block,.custom-message-block {
background-color: var(--color-admonition-note-bg);
border-color: var(--color-admonition-note);
color: var(--color-admonition-note-text);
text-align: center;
width:100%;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment