mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-08 06:55:26 +02:00
improvements
This commit is contained in:
parent
112314e8eb
commit
32d2e366c2
3 changed files with 11 additions and 13 deletions
2
public/dist/main.css
vendored
2
public/dist/main.css
vendored
File diff suppressed because one or more lines are too long
|
@ -63,6 +63,10 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__current {
|
||||
color: var(--color-page-active) !important;
|
||||
}
|
||||
}
|
||||
|
||||
.docs-aside-toggler {
|
||||
|
@ -79,7 +83,3 @@
|
|||
margin-right: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.current-page {
|
||||
color: var(--color-page-active)!important;
|
||||
}
|
||||
|
|
|
@ -5,12 +5,10 @@
|
|||
{% for firstLevelPage in menu %}
|
||||
<section class="docs-aside__section">
|
||||
<a
|
||||
{% if page %}}
|
||||
{% if page._id == firstLevelPage._id%}
|
||||
class="current-page docs-aside__section-title "
|
||||
{% else %}
|
||||
class="docs-aside__section-title "
|
||||
{% endif %}
|
||||
{% if page is defined and page._id == firstLevelPage._id%}
|
||||
class="docs-aside__section-title docs-aside__current"
|
||||
{% else %}
|
||||
class="docs-aside__section-title"
|
||||
{% endif %}
|
||||
{% if firstLevelPage.uri %}
|
||||
href="/{{ firstLevelPage.uri }}"
|
||||
|
@ -24,8 +22,8 @@
|
|||
{% for child in firstLevelPage.children %}
|
||||
<li>
|
||||
<a
|
||||
{% if page._id == child._id %}
|
||||
class="current-page"
|
||||
{% if page is defined and page._id == child._id %}
|
||||
class="docs-aside__current"
|
||||
{% endif %}
|
||||
{% if child.uri %}
|
||||
href="/{{ child.uri }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue